Public: anyone can read this; the crew can change it.
Talk no longer lists, selects or routes to the captain on the web #18326
Green, waits for a review (no review yet), 8h 37m
The Captain is renamed to Routines, not deleted, so the issue's first checkbox is not met as written. bun x tsc --noEmit, bun scripts/design-lint.ts and the dead-code and duplicate-import tests are green. 106 tests across the nine talk, routine, palette and looks files I ran also pass.
-
Reviews
No review yet.
-
Checks
look green — its check passed, ready for a look deploy 7a2c225
Check passed in 9 minCheck of 7a2c225checked against main at f698c54fast tier: green in 9m03s · full gate runs on land
Website spec: 26 findings (report only)
- /admin/telemetry http://127.0.0.1:39327/admin/telemetry answered 404 — https://specification.website/
- /board http://127.0.0.1:39327/board answered 303 — https://specification.website/
- /cockpit http://127.0.0.1:39327/cockpit answered 303 — https://specification.website/
- /notes http://127.0.0.1:39327/notes answered 303 — https://specification.website/
- /review http://127.0.0.1:39327/review answered 303 — https://specification.website/
- /system http://127.0.0.1:39327/system answered 303 — https://specification.website/
- /admin/limits http://127.0.0.1:39327/admin/limits answered 404 — https://specification.website/
- /maintenance http://127.0.0.1:39327/maintenance answered 303 — https://specification.website/
- /talk http://127.0.0.1:39327/talk answered 303 — https://specification.website/
- /flow http://127.0.0.1:39327/flow answered 303 — https://specification.website/
- /resilience http://127.0.0.1:39327/resilience answered 303 — https://specification.website/
- /boards?help http://127.0.0.1:39327/boards?help answered 303 — https://specification.website/
- /settings/crew http://127.0.0.1:39327/settings/crew answered 303 — https://specification.website/
- /settings/crew?help http://127.0.0.1:39327/settings/crew?help answered 303 — https://specification.website/
- /settings/routines http://127.0.0.1:39327/settings/routines answered 303 — https://specification.website/
- /settings/security/controls http://127.0.0.1:39327/settings/security/controls answered 303 — https://specification.website/
- /settings/grants http://127.0.0.1:39327/settings/grants answered 303 — https://specification.website/
- /preview-admin/sample expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/drop http://127.0.0.1:39327/preview-admin/sample/drop answered 303 — https://specification.website/
- /preview-admin/sample/data-move http://127.0.0.1:39327/preview-admin/sample/data-move answered 303 — https://specification.website/
- /preview-admin/sample/cut-over http://127.0.0.1:39327/preview-admin/sample/cut-over answered 303 — https://specification.website/
- /preview-admin/sample/next?pick expected exactly one <h1>, found 2 — headings
- /preview-admin/sample/bets expected exactly one <h1>, found 2 — headings
- /advisories http://127.0.0.1:39327/advisories answered 303 — https://specification.website/
- /looks/missing http://127.0.0.1:39327/looks/missing answered 404 — https://specification.website/
- /looks/failed http://127.0.0.1:39327/looks/failed answered 500 — https://specification.website/
-
History
- Direction: name the page the look should take for the Routines rename (#18318) 7a2c225
- Regenerate src/generated/screens.ts after the screen rename (#18318) f442935
- Try: open /settings/routines as the owner and see rules, routines and watches d6b7de0
- Direction: the Captain is a thread of routines, so the settings page, terminal screen, modules and thread are named for that and no web answer says Captain (#18318) 05d2bee
5 earlier comments · 1 event
The Captain is renamed to Routines, not deleted, so the issue's first checkbox is not met as written. bun x tsc --noEmit, bun scripts/design-lint.ts and the dead-code and duplicate-import tests are green. 106 tests across the nine talk, routine, palette and looks files I ran also pass. I did not run the whole suite.
Why a rename. Talk's web code no longer mentions a captain, so the list, default selection and routes were already clear (part 1, #18322). What was left was /settings/captain, which holds the owner's memory rules, routines and watches. That page is the only place to edit them. src/crew/routines.ts and src/crew/watches.ts also post into a thread named "Captain", so deleting the files would have broken them.
What changed
/settings/captainis now/settings/routines, with its nav row, admin mark and lazy-list entries. The old URL answers 404; I did not add a redirect.- Renamed modules and callers, with
routineThreadreplacingcaptainThread:src/web/pages/captain.tsis nowroutines.ts.src/crew/captain_thread.tsandcaptain_cost.tsare nowroutine_thread.tsandroutine_cost.ts.src/tui/screens/captain.tsis nowroutines.ts, so the terminal still matches the page.
- The thread routines and watches post into is titled "Routines". A stored thread titled "Captain" is found and renamed in place, so no row is duplicated and no migration is touched.
docs/features/talk-captain.mdis nowtalk-routines.md, and the threetalk-captain*tests were renamed. Mentions inforge.jsonlooks, the generated screens list and the design docs were updated.- The new
test/routine-thread.test.tshas two tests:- A stored "Captain" thread is renamed, not duplicated.
- No file under
src/web,src/tuiorsrc/httpcontains "captain". It fails without the rename.
Not done
- The files in the issue's checkbox were renamed, not removed, because routines and watches still need them.
- Nothing the Captain did was dropped, so there is nothing to move to an ordinary conversation.
- Migrations still say Captain, as the issue asked.
src/web/og/vendor/resvg.wasmalso matches the word "captain", but it is a binary vendor file.
Try it: as the owner, open /settings/routines (cost, memory, routines, watches). Then open /talk and find the thread titled "Routines".
The pre-push hook demanded a Try: commit line, so the branch carries a second, empty commit for it.
🤖 Generated with Claude Code
<!-- look-pages d6b7de047696 --> Look pages for d6b7de0, from the gate:
look pages (none): this pull changes src/web/pages/origins.ts, src/web/pages/captain.ts, src/web/pages/routines.ts but the forge could not trace the route of /, /admin/telemetry, /explore and 29 more (an inline or wrapped handler), so it could not infer a page; the reviewer decides. A "Looks: <path>" line naming the nearest page, or a "No look: <why>" line (10+ characters), says it
The check failed because src/generated/screens.ts was stale after I renamed the terminal screen. I regenerated it with bun scripts/own-source.ts, committed it and pushed. test/own-source.test.ts now passes locally. I have not seen the forge's check run on the new push.
The description is otherwise unchanged. The Captain is renamed to Routines, not deleted, so the first checkbox is not met as written. The page and terminal screen now live at /settings/routines. A stored "Captain" thread is renamed in place, and migrations are untouched.
🤖 Generated with Claude Code
I pushed an empty commit with the line Looks: /settings/routines. The look-pages gate asked for it because it could not trace which page the changed files serve. That page is the renamed settings page. No code changed, and I did not wait for the forge's check on the new push.
Nothing else changes. The Captain is renamed to Routines, not deleted, so the issue's first checkbox is still not met as written. I did this because routines and watches still post into that thread and the settings page is the only place to edit them.
Review block
[
{"go": "/settings/routines", "look": "the owner's settings page: cost, memory rules, routines and watches", "expect": "the page and the settings nav say Routines, and the word Captain appears nowhere"},
{"go": "/talk", "look": "the conversation list", "expect": "the thread routines post into is titled Routines; an older Captain thread has been renamed, not duplicated"}
]
🤖 Generated with Claude Code
The Captain is renamed to Routines, not deleted, so the issue's first checkbox is not met as written.
bun x tsc --noEmit,bun scripts/design-lint.tsand the dead-code and duplicate-import tests are green. 106 tests across the nine talk, routine, palette and looks files I ran also pass. I did not run the whole suite.Why a rename. Talk's web code no longer mentions a captain, so the list, default selection and routes were already clear (part 1, #18322). What was left was
/settings/captain, which holds the owner's memory rules, routines and watches. That page is the only place to edit them.src/crew/routines.tsandsrc/crew/watches.tsalso post into a thread named "Captain", so deleting the files would have broken them.What changed
/settings/captainis now/settings/routines, with its nav row, admin mark and lazy-list entries. The old URL answers 404; I did not add a redirect.routineThreadreplacingcaptainThread:src/web/pages/captain.tsis nowroutines.ts.src/crew/captain_thread.tsandcaptain_cost.tsare nowroutine_thread.tsandroutine_cost.ts.src/tui/screens/captain.tsis nowroutines.ts, so the terminal still matches the page.docs/features/talk-captain.mdis nowtalk-routines.md, and the threetalk-captain*tests were renamed. Mentions inforge.jsonlooks, the generated screens list and the design docs were updated.test/routine-thread.test.tshas two tests:src/web,src/tuiorsrc/httpcontains "captain". It fails without the rename.Not done
src/web/og/vendor/resvg.wasmalso matches the word "captain", but it is a binary vendor file.Try it: as the owner, open
/settings/routines(cost, memory, routines, watches). Then open/talkand find the thread titled "Routines".The pre-push hook demanded a
Try:commit line, so the branch carries a second, empty commit for it.🤖 Generated with Claude Code
Closes #18318