Public: anyone can read this; the crew can change it.
No terminal screen is added to the server: a test freezes src/tui/screens to its present list #18559
Merged 2h 44m ago, live in production
I added a test that freezes src/tui/screens to today's list of files. It passes, the type check is clean, and bun scripts/gate.ts --fix changed nothing. Rule: test/terminal-screens-frozen.test.ts fails when a file appears in src/tui/screens that isn't on the list.
-
Reviews
ApprovedApproved. The list holds 367 names and matches src/tui/screens exactly. I ran the two tests and they pass. The first fails when a file is added, and its message names the rule and says to build it in src/cli over the public API. The second makes removals legal and keeps the list sorted and free of repeats. It only touches tests, so there is no page, terminal or security surface to review. The pull adds no new feature, so it needs no README entry or how-to.
Two things I would do next:
- The test only reads top-level
*.tsfiles. A screen added assrc/tui/screens/sub/x.tsor as a.tsxfile would get past it. Walk the directory recursively and accept any extension. - Say in AGENTS.md, in the section on adding a terminal screen, that this test now holds the directory. That section still tells builders to add a screen under
src/tui/screens/, which will now fail, so it should point to src/cli instead.
- The test only reads top-level
-
Checks
shipped production is serving it deploy ec4798c
-
History
- No terminal screen is added to the server: a test freezes src/tui/screens to its present list 8ec6d67
- An account's link to an outside identity is one table keyed by kind, with a prover per kind (#18536) 718f6d1
- Opening an invite link signs the person in, proves the account and applies the bundle, in every sign-up mode including closed (#18520) f42bd09
- forge.json declares jobs: steps, needs (macos, xcode, docker), on (pull, land) and secrets, read and validated at the boundary (#18512) 85e7b4f
- Lending speaks the versioned agent protocol, and each machine's page shows when it last used the old sync route (#18521) 7db7ea2
- A pull that changes an MCP tool's schema runs mcp-size.test.ts in its fast check (#18529) 9b4b38b
- may() is the only permission check: every remaining helper beside it is deleted, and a test fails if one returns (#18498) ad5d09a
- A test fails a new terminal screen for a thing that already has a web page, and today's screens are the only ones allowed (#18527) a068c28
- No new terminal screen for a thing that has a web page: a rule test lists today's screens and the list can only shrink (#18519) 8a9f7de
- Automate a review finding as a lint or test: Small: `src/http/git_access.ts` ends with a stray blank line. (#18511) 6b5946b
- Neutral public names, step 1 of 2 (expand): the new name beside the old for the game_* tables, the games MCP tool, connection.kind and the game and design: minecraft plan options (#18513) 6368d15
- The runners page is live: connected, busy, the run it holds, its log and last seen, updated as they change (#18497) 24da6e3
- A rule test fails any page whose form answers with a full page, and the list of today's pages can only shrink (#18495) c10b305
- A new account's home offers three things it can do, each one click away, and an empty page says what goes there and how (#18496) bf74994
- An invite carries a bundle: the owner picks Use, Host or Build, each with a line saying what it allows (#18473) d231856
- A machine agent that does not check in after its update goes back to the version before, and the forge says so (#18483) 49c1b5a
- A machine stays trustworthy under load: power cycle, live status, a memory check, a patient healer (#18472) a7825b4
- Main red: plan tool's `owner` description is 91 bytes, over mcp-size's 60-byt… (#18494) 09902a4
- A repository's crew page adds a member to a slot in place: no reload, and the scroll position stays (#18474) 99ed63c
- A list is one line a row and detail opens on demand: crew member descriptions first (#18481) 324c098
I added a test that freezes
src/tui/screensto today's list of files. It passes, the type check is clean, andbun scripts/gate.ts --fixchanged nothing.test/terminal-screens-frozen.test.tsfails when a file appears insrc/tui/screensthat isn't on the list. The message names the rule, which is that the terminal belongs to the CLI. It says to build the command insrc/cliover the public API, and not to add the file to the list.test/terminal-screens-frozen.jsonis a plain file next to the test, holding every file there now.The existing
terminal-screens-rule.test.tsonly blocks screens that have a web page. This new test blocks every new screen. A pull that adds a screen and is still open will need to move it tosrc/cli.I made no change to a page, action, API route or MCP tool, so no terminal-side or how-to change was needed. I didn't run the full suite, only the new test. The forge runs the whole check on the push.
🤖 Generated with Claude Code
Closes #18554