p='CONTEXT.md'
raw=open(p,'rb').read(); crlf=b'\r\n' in raw; s=raw.decode('utf-8').replace('\r\n','\n')
old="The part is generated by the owning node at serve time (the nav's `toc.js`), so viewing another node's docs shows that node's installed set; everything else in the docs stays the release-baked bundle. (Ruled 2026-09-24, releases#331/#332.)"
assert s.count(old)==1
new=("The part is generated by the owning node at serve time into the nav script the pages load — mdBook's FINGERPRINTED `toc-<hash>.js` (a bare `toc.js` is not what the bundle references). That one response is `no-store`, because its name stays the same when the installed set changes. A script the generator does not recognise is served verbatim, never spliced blind. Viewing another node's docs shows that node's installed set, and everything else in the docs stays the release-baked bundle. (Ruled 2026-09-24, releases#331/#332.) <!-- [doc->REQ-DOCS-NODE-TOC] -->")
s=s.replace(old,new)
out=s.replace('\n','\r\n') if crlf else s
open(p,'wb').write(out.encode('utf-8')); print('ok',crlf)
