Talk runs the captain (#11011)
Talk is where the forge's owner steers it. What the owner used to do in a Claude Code session runs here.
- Instructions. In Talk a message that asks for work is an instruction acted on at once, with the person's own powers through the MCP and within what their role allows: file issues, assign, steer, reopen parked pulls, merge, lend credit. How the agent answers (the answer first, depth when asked, results shown, how each thing is known) is in
docs/features/talk-voice.md. Real money, DNS and a dark roll are held as a write with Do it and Not now buttons in the thread (crew/conversation_brief.ts,crew/conversation_confirm.ts). - Memory (
core/talk_memory.ts, Settings › Captain,/settings/captain). Short durable rules and decisions, up to 60 of 400 characters. Every Talk turn carries them in its system prompt (memoryBrief). The first visit offers the starting rules (neverrm, tokens off argv, never dark without a go, ask first on money, DNS and a dark roll); delete them and they stay gone. - Routines (
core/talk_routines.ts,crew/routines.ts,crew/routine_report.ts). The hourly forge check-in, the friends watch and the morning paper, each with an editable schedule: every 15 to 1440 minutes, or daily at an hour (UTC). Each posts at most three lines into the owner's Captain thread; only a report that says something new needs the owner reaches the phone (the notify URL,crew/notify.ts). The lines are computed, not written by a model, so a routine costs no spend. A forge that was down runs an owed routine once on waking. Post now on the settings page runs one at once, and says so when there is nothing new. - Said once (
crew/routine_once.ts, thesaidcolumn oftalk_routine). Each need has a key (a vitals cause, a red trunk's repository,stuckfor every stuck run) and the routine keeps what it last said under it. The check-in and the friends watch post only what is new (Needs you:), worse (its measure, a number with a unit such as GiB, % or runs, moved the bad way by a tenth or more, with the old one:Worse: The database is 5.1 GiB. (was 4.6); less free disk is worse, a smaller database is not, and words that change with no measure, a time say, are never worse) or cleared (Cleared:), what shipped and who joined since the last run; nothing new posts nothing. A need the crew can fix that still stands a day after it was first said is filed once as an issue on the forge's own repository (FORGE_REPO) with its evidence, and the thread saysFiled #N for the crew. The issue stays open for the crew; the need is silent until it closes (said once again if it remains) or gets worse. A need whose control is a settings page is the admin's alone and never filed. "I've seen it" (or "got it", "noted") in the thread keeps every need said so far quiet until it gets worse. - Cost (
crew/captain_cost.ts). Each post ends with, and the Captain page (first, under Cost) and the terminal screen show, the last 24 hours:check-in and friends: no model, $0 · watches $X (N wakes) · your turns here $Y, read fromconversation_run. - Watches (
core/talk_watch.ts,crew/watches.ts,http/mcp/tools/talk_watch.ts, #16557). A fourth routine kind: a short brief the agent leaves itself and what it waits for, as data the forge reads without a model: a pull is green, landed or changed (pull_green,pull_landed,pull_changed), a run ended (run_ended), an issue gained a comment (issue_comment), a check on main turned green (main_green), a pull merged (merge_since). "Done" is stated up front (pull trevato/forge#16532 landed). Each look (every 5 minutes by default, on the routines' minute clock) is free: nothing changed means nothing happens and nothing is spent. A change starts one ordinary Talk turn as the owner throughtalk()in the Captain thread, with the brief, the change and the memory, so the same limits apply (12 a minute, the account's budget, resting); a refused turn is tried again at the next look. A forge that was down looks once on waking, so it wakes once. The forge, not the agent, ends a watch: when its condition is met, at 7 days ("ran out"), or at its spend cap (default $2, at most $20; what its wake turns cost, found by the[Watch <id>]mark each starts with); each says so in one line in the thread. Safety: only the owner (a site admin who is a person) has one; at most 5 live; the agent may only propose one with thetalk_watchtool, which is held for a Do it like money (crew/conversation_confirm.ts); a watch's own turn cannot start another (wakeRunning); a watch's turn has the owner's role at most and every write stays held as before. The owner lists, adds, pauses, deletes and ends them in Settings › Captain and in the terminal screen (waddspull_green owner/name#123: brief,ppauses,eis Ends now,ddeletes), each showing what it waits for, when it last looked, its wakes and what it has spent. - Resume. A thread resumes its Claude session (#10457). When the last turn left the context 85% full, the next turn starts a fresh session from the thread's stored record and the memory, and the thread says so (
CONTEXT_RENEWED_LINE). - Terminal (
tui/screens/captain.ts, palette › Captain, owner only). The day's cost, the rules, then the three routines, in one list.aadds a rule;enteredits the rule or the routine's schedule under the cursor;ddeletes a rule;spaceturns a routine on or off;pposts a routine now;rreads again. A schedule is typed as minutes,45for every 45 minutes (15 to 1440), orat 7(alsodaily 7) for daily at 07:00 UTC.
The check-in also names the releases cut since the last one and the pillars that merged work (crew/routine_facts_story.ts), in one line, since the last check-in (lastAt; the git changelog is cached by head oid, so this costs a rev-parse between releases); it never reaches the phone for that alone.
Not here yet: child forges stuck; a watch on a kind of change not listed above.