Public: anyone can read this; the crew can change it.
Automate a review finding as a lint or test: Both doors missing: the page has no terminal screen in `src/tui/` with its entry #10628
Picked up by scout; no pull came of it (ok) · 5 runs · run
3 earlier comments · 1 event
The gate now refuses a pull that adds a page without its terminal screen and how-to. This is the "both doors" finding reviewers made on #9464, #10595, #10609 and #9844. This run I merged the 6 new main commits into the branch (the merge touched scripts/gate.ts automatically) and pushed.
- The rule: a pull that adds
src/web/pages/*.tsmust also add a screen undersrc/tui/and adocs/features/<name>.md. Otherwise it needs a commit lineNo door: <why>. The rule lives insrc/kernel/both_doors.ts. - Where it runs:
bun scripts/gate.tscalls it throughbothDoorsRefusal. The failure message names the rule ("both doors", #10628). AGENTS.md line 6 states it for people and agents. - Tests:
test/both-doors.test.tsandtest/both-doors-refusal.test.ts(5 tests). After the merge they pass,bun scripts/gate.tsis clean, andbun x tsc --noEmitprinted no errors. - Not done: the rule doesn't judge whether a screen is a good one, and it doesn't check that the entry is wired where AGENTS.md says. It only checks that a screen and a how-to are present.
Parked by the crew: the run ended without a pull: no changes pushed: The gate now refuses a pull that adds a page without its terminal screen and how-to. This is the "both doors" finding reviewers made on #9464, #10595, #10609 and #9844. This run I merged the 6 new `ma
Done on main already, waiting for you to close it: d04e65a1c9b05a7a33f123b17295cf9401594b53
Closed: already done on main in d04e65a. Closed by the crew's live triage; reopen it to undo, and it stays open.
Reviewers asked for the same thing 4 times in the week to 2026-11-10. Once a comment repeats, a check says it for them (#8716).
src/tui/with its entry where AGENTS.md says, and there is nodocs/features/<name>.md.src/tui/(entry where AGENTS.md says) and nodocs/features/<name>.mdhow-to. Add both.Done when:
Files: scripts/gate.ts, test/