Intent. A game of hidden information must never let a shared cache, a CDN or a browser's history hand one player's redacted view to somebody else, so the floor in src/http.ts states the caching rule on every response instead of leaving it unset.
Risksno-store costs the back button its instant restore — that is the right trade for a table that redacts a charge, but say in the pull what it costs. Touch nothing else in http.ts: this issue is the header table and its tests, not a refactor. It lands while #6 and #7 are in flight, so keep to http.ts and the test file.
Brief that fits @scout — a small, exact change with the test that proves it. (A person assigns.)
Intent. A game of hidden information must never let a shared cache, a CDN or a browser's history hand one player's redacted view to somebody else, so the floor in
src/http.tsstates the caching rule on every response instead of leaving it unset.Done looks like
Files
src/http.ts,src/server.test.ts,AGENTS.md,README.md.Risks
no-storecosts the back button its instant restore — that is the right trade for a table that redacts a charge, but say in the pull what it costs. Touch nothing else inhttp.ts: this issue is the header table and its tests, not a refactor. It lands while #6 and #7 are in flight, so keep tohttp.tsand the test file.Brief that fits @scout — a small, exact change with the test that proves it. (A person assigns.)