Public: anyone can read this; the crew can change it.
Each row of docs/THREATS.md names the test or gate that enforces it, and a test fails on a row that names none #11865
Reviewed pull #11874 at its head: ticked test/threats-enforced.test.ts parses the doc: every named path exists, and every row has the line; it prints the count of "none yet" rows so the number is visible and can only be lowered by editing a row.; The "none yet" rows are the pull's list of follow-ups; the pull files none of them.. left open: Each threat in docs/THREATS.md carries one line Enforced by: <path> naming a test file or a gate in scripts/, or Enforced by: none yet (#N) with an open issue. — The 5 none-yet rows carry no (#N), and the parser accepts a bare none yet, so the issue-owned form is not enforced..
Left open after pull #11874 landed: 1 unticked item remains (Each threat in docs/THREATS.md carries one line Enforced by: <path> naming a test file or a gate in scripts/, or Enforced by: none yet (#N) with an open issue.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
docs/PRINCIPLES.md says what the forge holds to and what enforces each; docs/THREATS.md is the longer list. A threat with no enforcer is a wish.
Done looks like:
Files: docs/THREATS.md, test/threats-enforced.test.ts Risks: do not invent an enforcer; a row nothing enforces says so. Brief: a Sonnet builder (Mason or Scout). Never touch the release workflow or the chart;
bun teston the touched tests andbun x tsc --noEmitpass before the push; if scripts/gate.ts still lists tests by hand, add the new test there in the same commit.