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

Each threat section of docs/THREATS.md lives in its own file under docs/threats/, so security pulls stop colliding on one 523-line document #15005

shipped production is serving it opened this has it

Landed in pull #15022 · run

opened this

Intent: eight open pulls and a dozen ready deepsec issues are all held because each appends to docs/THREATS.md; give each section its own file so two pulls rarely touch the same one.

Done looks like:

Files: docs/THREATS.md, docs/threats/*.md, one new test in test/ (name it for the check), any test or module that reads THREATS.md.

Risks: the eight open pulls that edit THREATS.md will conflict with this move; land it right after they merge or rebase them onto it, and do not rewrite their text. Do not change what any section says.

Suggested: a Sonnet builder; docs and one test.

commented

Reviewed pull #15022 at its head: ticked Each ## section of docs/THREATS.md (a snooper on the network, a stolen token, a compromised vendor, a hostile agent inside a run, an automated attacker at scale, internal calls, a child forge running its own code, honeypots) is a file in docs/threats/, in the same words.; docs/THREATS.md becomes a short index linking each file, in the same order; no section text is lost (diff of the concatenation shows only headings moved).; Every place that reads or links THREATS.md (docs index, llms.txt budget, any test that greps it, the design/docs lints) still passes: find them with grep before editing.; A test fails if a section heading appears in the index without its file, or a file in docs/threats/ is not linked from the index.; bun test passes..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs