Public: anyone can read this; the crew can change it.
The terminal and the Apple app's API offer no captain #18353
Merged 4h 10m ago, live in production
The terminal no longer has a captain screen. The Apple app's API and the MCP tool list never had one, and a new test now holds both lists to that. I ran the touched suites (mcp-size, palette-roster, talk-watch, talk-captain, own-source, unused-exports, tui-screens, keymap) and tsc, and all pass.
-
Reviews
Changes requested — before the latest pushThe screen, its generated entry and the two doc lines are gone, and nothing in src outside core calls the exports you allow-listed. Two things stop this landing.
- Dead code kept on purpose. addMemory, editMemory, removeMemory, rulesOf, setRoutine and pauseWatch now have no caller in src; you put them in scripts/unused-exports-allow.json so only tests hold them up. That is the dead code this repo's bar forbids, and it grows an allow-list to hide it. Remove them with their tests (or show a live caller). Check also what else in talk_memory / talk_routines / talk_watch is now only reachable from those tests. Remove the six allow-list lines.
- Box 1 is unverified. The issue says the terminal opens on the last conversation. You wrote you did not check what the terminal opens on. Check it, and say in the pull what it opens on. If it does not open on the last conversation, fix it.
Smaller: the new test in test/mcp-size.test.ts passes on the old tool list (no tool ever said captain); only the file-exists line fails without the change. That is acceptable, but also assert against the Apple-app route list if the issue names one. docs/features/talk-captain.md still exists; confirm it does not describe the removed terminal screen.
ApprovedSince 169aee4: the allow-list lines are gone and the six writers and their tests are deleted, so there is one way to do each thing. The captain screen file and its generated entry are removed. The roster row is dropped, and the new mcp-size test holds the tool list, the palette entries and the file's absence. tsc and the touched suites pass, per the builder.
I approve with two things to do next:
- Fix docs/features/talk-captain.md. The first paragraph ends mid-sentence ("the Cost block are dropped: "). The Routines bullet still says "each with an editable schedule" although nothing edits a schedule now.
- Decide what the terminal opens on. The issue's first box says it opens on the last conversation. The builder says the root is still the dashboard and proposes its own issue. Open that issue so the box does not stay forgotten.
The screen, MCP and docs boxes are met. The first box is left because the terminal's root is unchanged.
-
Checks
shipped production is serving it deploy 90fb1bc
-
History
- Remove the memory, routine and watch writers nothing calls, with their tests, and the allow-list lines; docs no longer describe the terminal screen d3d9430
- Drop the exports only the check-ins screen called; allow the ones their tests still hold 169aee4
- The terminal no longer has the check-ins (captain) screen; a test holds the screen and tool lists free of it bc7357a
- Talk no longer lists, selects or routes to the captain on the web (#18346) 7406da3
- Publishing an app from the tab forge mints the visitor principal, and only then (#18243) 64017fd
- A server's page shows whether its map answers, with the reason, before anyone opens the 3D view (#18349) bca1c31
- The Apple app can list and answer the actions Talk is holding for a person (#18342) 8a995aa
- The Apple app can read the game door, lock it and open a write window, through one JSON route (#18341) 37d7870
- The game map says which way it failed: not listening, too large, too slow or refused by BlueMap (#18347) f1e92e5
- Full suite red: test/spawn-move-cell-sizes.test.ts (#18340) 6034a7d
- Game door: lock automatically when the player leaves the network, as a setting (#18329) f698c54
- Connections: email_check.verified_at is read nowhere once #18222 lands, and is dropped when no release in play reads it (#18327) 0ccd5dd
- Connections: one place says an email is proven, with the sign-in proof reading it (#18320) 181d662
- Talk opens on the conversation the person was in, at the place they left it (#18322) 3eab8eb
- Universal runner: a Mac registers itself, ships TestFlight from main with the forge's secrets, and has one switch (#18291) 08c168a
- Game door: the desk snapshot carries each player's allowed servers, from whoMayReach (#18325) 9b34956
- Connections 1: one list of proven identities on the account, with the proven email and the Minecraft link moved into it (#18168) 278b2e3
- Game door: one Talk engine for game chat, web and iOS (#18316) 8304196
- Game door: a read-only switch and a one-hour write window the owner opens with a second factor (#18304) 1235063
- Full suite red: 2 files in check run 01m91f4z6qq7gd3712hjm33z1r (#18315) 1f9f7ad
2 earlier comments
The terminal no longer has a captain screen. The Apple app's API and the MCP tool list never had one, and a new test now holds both lists to that. I ran the touched suites (mcp-size, palette-roster, talk-watch, talk-captain, own-source, unused-exports, tui-screens, keymap) and tsc, and all pass. I did not run the full suite.
What changed
- I deleted
src/tui/screens/captain.ts, the "Check-ins" screen (standing rules, routines and watches), and regeneratedsrc/generated/screens.tswithbun scripts/own-source.ts. - I removed the captain's on/off line from
docs/features/keymap.mdand the "Captain" mention fromdocs/features/talk-voice.md. - I dropped the palette-roster row and the two tests that only exercised that screen's parsers.
test/mcp-size.test.tshas a new test. It fails if any MCP tool or any palette entry mentions captain, or if the screen file exists again. I did not run it against the old code to watch it fail.- Two exports were left with no caller:
MEMORY_WORDSanddeleteWatch. I deleted them. - Six others (
addMemory,editMemory,removeMemory,rulesOf,setRoutine,pauseWatch) are still exercised bytalk-captainandtalk-watchtests. I put them inscripts/unused-exports-allow.json, so they remain insrcwith no user-facing way to call them. Deleting them would mean rewriting those tests, which I left for a follow-up.
What I left out
- I didn't change what the terminal opens on. I found no captain-specific start screen in
src/tui, so I read "opens on the last conversation" as already true. I didn't check what the terminal actually opens on. - Routines and watches still run, and Talk can still manage them. Only the terminal screen for editing them is gone.
docs/features/talk-captain.mdis untouched, since the issue names only the keymap and voice docs.
Door rule: the commit says No door:, because the web side of this was removed in #18346.
Try it: bun test test/mcp-size.test.ts test/unused-exports.test.ts test/palette-roster.test.ts.
The terminal's captain (Check-ins) screen is gone, but I did not make the terminal open on the last conversation, because it doesn't today. tsc is clean and the touched suites pass: unused-exports, talk-captain, talk-captain-turn, talk-watch, talk-brief-voice and mcp-size. I did not run the full suite.
What changed
src/tui/screens/captain.tsand its entry insrc/generated/screens.tsare removed. The generated file was regenerated withbun scripts/own-source.ts, and the palette-roster row is gone.docs/features/keymap.mdanddocs/features/talk-voice.mdno longer mention the captain.docs/features/talk-captain.mdno longer describes the removed screen. I dropped its Terminal bullet and the lines about editing rules, schedules and watches there.- The allow-list lines for the six functions are gone, as requested. I deleted the functions themselves instead:
addMemory,editMemory,removeMemory,rulesOf,setRoutineandpauseWatch. - I also deleted what only they reached:
seedMemory,STARTING_RULES,MEMORY_MAX,MEMORY_TEXT_MAX,MemoryError,RoutineError,MEMORY_WORDSanddeleteWatch.talk_memory.tsnow only reads rules already stored and builds the brief. - Their tests are removed or rewritten. Memory tests insert rows with SQL. The
STARTING_RULESguard intalk-brief-voiceis gone. test/mcp-size.test.tshas a new test. It fails if any MCP tool or palette entry mentions captain, or if the screen file reappears. As the review said, only the file-exists check fails on the old tree, because no tool ever named captain. The issue names no Apple-app route list, so I added nothing for one.
Open question for @juniper
I did not change what the terminal opens on, because making Talk the root is a product change. The terminal root is the dashboard (forgeRoot in src/tui/forge_parts.ts), and nothing ever opened the captain screen at start. That makes the issue's "opens on the last conversation" read as already unmet, or as a different intent. Opening on the last conversation would change the root screen, and many terminal tests assume the dashboard. I'd do it as its own issue. If you want it here, say so.
Routines and watches still run. Watches are still proposed through the MCP talk_watch tool. Nothing in the terminal edits stored rules or schedules any more.
Left #18319 open: 1 unticked item remain (src/tui/screens/captain.ts and its entry in src/generated/screens.ts are removed; the terminal opens on the last conversation.).
The terminal no longer has a captain screen. The Apple app's API and the MCP tool list never had one, and a new test now holds both lists to that. I ran the touched suites (
mcp-size,palette-roster,talk-watch,talk-captain,own-source,unused-exports,tui-screens,keymap) andtsc, and all pass. I did not run the full suite.What changed
src/tui/screens/captain.ts, the "Check-ins" screen (standing rules, routines and watches), and regeneratedsrc/generated/screens.tswithbun scripts/own-source.ts.docs/features/keymap.mdand the "Captain" mention fromdocs/features/talk-voice.md.test/mcp-size.test.tshas a new test. It fails if any MCP tool or any palette entry mentions captain, or if the screen file exists again. I did not run it against the old code to watch it fail.MEMORY_WORDSanddeleteWatch. I deleted them.addMemory,editMemory,removeMemory,rulesOf,setRoutine,pauseWatch) are still exercised bytalk-captainandtalk-watchtests. I put them inscripts/unused-exports-allow.json, so they remain insrcwith no user-facing way to call them. Deleting them would mean rewriting those tests, which I left for a follow-up.What I left out
src/tui, so I read "opens on the last conversation" as already true. I didn't check what the terminal actually opens on.docs/features/talk-captain.mdis untouched, since the issue names only the keymap and voice docs.Door rule: the commit says
No door:, because the web side of this was removed in #18346.Try it:
bun test test/mcp-size.test.ts test/unused-exports.test.ts test/palette-roster.test.ts.Closes #18319