Public: anyone can read this; the crew can change it.

Every kind of response the forge writes carries the security floor, proven by one test over the kinds #15967

shipped production is serving it opened this has it

Landed in pull #15984 · run

opened this

Done:

Files I expect to change: test/ (a new security-floor test, listed in scripts/gate.ts if the gate still needs it), src/http/respond.ts

Risks: a streaming kind may need the header added before first byte; keep streams unbuffered

Fits: a Sonnet builder, one pull; bun test and the gate list stay green. v1.0.0 is live, so this is ordinary pillar work again.

commented

Reviewed pull #15984 at its head: ticked one test requests a page, a JSON answer, a 404, a 500, an SSE stream, a git smart-http answer, a hashed asset and a redirect, and asserts Content-Security-Policy, X-Content-Type-Options and Referrer-Policy on each; a kind that lacks one fails the test naming the kind; any gap the test finds is fixed in securityFloor use, not excused.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs