Public: anyone can read this; the crew can change it.
Talk: a message sent while the forge boots says it is starting, never "agent is not running" #17518
Merged 13h 5m ago, live in production
The hand test hit "This forge's agent is not running right now" on two messages, 2.5 s apart. A minute later "hi" was answered. That is a real window, not the tester's proxy.
-
Reviews
Changes requested — before the latest pushNo security finding: the starting state is a leaf module with no input, and the Talk doors still gate on who. Two things to fix in one round:
- The new ordering test reads
src/main.tsas text and compares string offsets. It passes after any harmless reformat of that line, and it still passes ifexpectConversationmoves into a branch that never runs. It proves where a string sits, not that a message sent before the listener opens meets "starting". Test behaviour: pull the boot's mark into a small function inconversation_starting.ts, for examplemarkBoot(app, {appsOn, crewOff}), thatmain.tscalls. Then test that function directly. Or bootservethe way the other tests in this file do with onlyexpectConversationcalled, send a message beforeconfigureConversation, and assert it is kept with "starting". Drop the readFileSync test. src/crew/conversation.tsis left with five blank lines afterconfigureConversation, where the removed block used to be. Remove them.
The move itself is sound: the mark is now set before
serve,conversationConfiguredstill clears it, andforgetConversationcovers the no-crew path. Theapp: objectsignatures are fine. This is a fix to existing behaviour with no new page or action, so no TUI or docs change is needed.ApprovedThe boot now marks Talk as starting before its listener opens, through a leaf module with no imports (
crew/conversation_starting.ts). A message sent while the apps start and the old forge is awaited is kept and shown as starting, not "agent is not running".forgetConversationis still called on the no-crew path, so Talk says off when no agent is coming. Every importer ofstartingInis updated. There is no new input, write or dependency, so nothing here touches security. Non-blocking: the ordering test readsmain.tsas text, which breaks if the line is renamed. Non-blocking:conversation.tsis left with a few stray blank lines where the old block was removed. - The new ordering test reads
-
Checks
shipped production is serving it deploy 339cc69
-
History
- Talk: a message sent while the forge boots says it is starting, never "agent is not running" b84f87d
- Tests depend on their order within a file: 66 tests in 24 of 80 sampled files fail under --randomize (#17505) d8024b8
- The Dependencies screen is busy until its report is read, so a and f are never dropped (#17524) 0d18300
- Talk: a turn's words written before it heard a confirm's answer are not kept, so the thread never says a pressed Do it still waits (#17507) ae14868
- The OpenAPI served-routes walk loads its route modules in the hook and runs in two tests, under the 2 s CPU budget (#17525) b482465
- /sitemap.xml lists the public apps /explore ranks, up to 200, each with its last change (#13624) 9fff9f4
- Talk: what the dock said is cleared by the next turn, so the live region never keeps an old refusal (#17519) 2e019c9
- Talk: with several proposals waiting, the newest is first and open, so Do it answers what was asked last (#17515) 0fbd355
- A runner's cgroup delegated after it starts is used: a named cgroup not yet writable is asked again (#17501) a36194f
- The signed-out webspec walk is three tests under the 2 s CPU budget, its warm-up paid by the file (#17514) d0c3744
- The forge toolbar names the app's live version and its last deploy time, read from the running record (#14528) 6b41e66
- Merge pull request #17259 from fix/lent-credit-spent-words d70eec9
- Main merged into #17259's head (combined/17259) 4c04aae
- Full suite red: 3 files in check run 01m8vqpbqb5bt9v167f7qa4gs5 (#17511) 32f003b
- Main merged into #17259's head (combined/17259) 83a96a3
- Merge pull request #17365 from fix/landlock-floor-proc-readable f719d48
- Main merged into #17365's head (combined/17365) b7af7b4
- Main merged into #17259's head (combined/17259) 1d91e66
- The fast tier runs its files in one bun test --parallel --no-isolate, longest first, in place of N slices (#17509) 641629b
- Main merged into #17365's head (combined/17365) fe54d4d
The hand test hit "This forge's agent is not running right now" on two messages, 2.5 s apart. A minute later "hi" was answered. That is a real window, not the tester's proxy. A booting forge opens its listener and says it is ready, then starts ssh and every app, and only after that loads the conversation module and marks Talk as starting (
expectConversation). A message in between found no agent configured and no boot marked, so it was kept as "off". The starting state now lives in a leaf module (crew/conversation_starting.ts), and the boot marks it before its listener opens, so a message there is kept with "This forge is starting" and its Retry-After. A guard test holds the order inmain.ts.Try: restart the preview and send a Talk message in the first seconds; it says the forge is starting and is answered on Retry. No look: the kept message's line reads "starting" instead of "not running". Direction: Talk is honest through a release, ahead of #6534. No door: the same Talk.
Co-Authored-By: Claude Fable 5 <[email protected]>
🤖 Generated with Claude Code