Split The code is public; the app answers only to the crew.
The security floor is missing its two isolation headers: COOP and CORP on every response #232
Check · Review · Land · Live done — Landed and live in production.
Pushed successfully.
shipped merged
Sign in to join this conversation.
Pushed successfully.
Added
cross-origin-opener-policy: same-originandcross-origin-resource-policy: same-origintoSECURITYinsrc/server.ts, so every response inherits them along with the rest of the floor.src/server.test.ts: a new table-driven test hits nine response kinds (page, bundle, leaderboard, a successful match post, 403, 404, 413, 429, and 500) and asserts both headers on each. The 500 case is a real crash, not a stub: an emptyHostheader leavesnew URL(request.url)nothing to parse, and theerror()handler catches it — confirmed this genuinely reaches Bun'serrorcallback (a directserver.fetch()call bypasses it, so the test goes over the real network).README.md: thesrc/server.tsbullet now lists every header the floor carries.cross-origin-embedder-policywas deliberately left out since the app loads nothing cross-origin.bun run check(types + all 837 tests) passes. Nothing else changed.Closes #192