Public: anyone can read this; the crew can change it.
Long Talk conversations pick up fresh from a forge-written record: the person's words kept, old figures retired #16899
Check · Review · Land · Live done — Landed and live in production.
Proven on v0.7.677: "does test1 still cost anything?" passes in a fresh conversation (infra read, a correct "No", offers to clear dead rows) and fails in the owner's 600-message conversation, where it quotes its own earlier answers as evidence ("an earlier read showed $1.00", friend1's $13) despite the brief.
-
Reviews
Changes requested — before the latest pushThe idea is right and the record is well shaped. This is not a page change, so I found nothing to judge on a phone or with a keyboard, and the preview adds no new surface. Three things need fixing in one round:
- Stale docs.
docs/features/talk-captain.md:15still says the thread resumes until 85% full and namesCONTEXT_RENEWED_LINE, which this pull deletes. Update that how-to: a thread now starts fresh at half the window or 60 messages, nothing is pending, and it saysFRESH_LINE. The README is not the place for it. - Missing tests. The tests cover
freshDue,recordLinesandwithHistory, but nothing shows thatsay()starts a fresh session at 0.5 share or 60 turns.test/talk-captain-turn.test.tsstill only exercises 0.85, so revertingstartsFreshto the old check would not fail any test. Add asay()test at roughly 0.5 that expects no resume andFRESH_LINEstored. Add one forcarryOntoo, which now appendsFRESH_LINE. Also testpendingOnTurnfor a queued crew run: only the held-confirm case is tested. - Recent answers keep their old figures. The last 6 answers go in whole, with
$1.00-style figures, and that is the failure this pull exists to stop. Either runwithoutFiguresover them too, or say plainly in the pull why that is acceptable. Also, the person's words are cut toTURN_CHARS, so they are not strictly verbatim. Say that in the doc and the comment, or raise the limit for person turns.
Small: there is a stray double blank line after
startsFreshinconversation.ts.TURN_CHARSinfresh_start.tsrepeatsHISTORY_TURN_CHARS(2000) inconversation.ts; keep one constant.ApprovedApproved. The change is server-side only and touches no page, so there is nothing to see on a phone, with a keyboard or without JavaScript. The old
CONTEXT_RENEWED_LINEis gone with no stragglers, so there is still one way to do it. I could not diff against my last head (fa481ece667c is not in this clone), so I judged the current change as a whole.What I checked:
- A long thread now starts a fresh session at half the context window or after 60 person messages.
- It never does so while a confirm is held or a filed crew run is still queued or running.
- At 85% it starts fresh regardless.
- The record keeps the person's words, the last six answers (without their sums), and older answers cut to a first sentence plus a
refs:tail. Its head says figures were true when said. - The tests cover each of these, including the carry-on paths, and they would fail if
startsFreshwent back to the old 85% check. - The how-to is updated in
docs/features/talk-captain.md, not in the README.
Two things to do next (non-blocking):
- Tidy
src/crew/fresh_start.ts, in therecordLinesdoc comment. One sentence there runs well past the wrap width, so runbun scripts/gate.ts --fixand commit the result. - Tidy
test/talk-fresh-start.test.ts. It has a duplicated comment, 'The last answers stay whole', in the 600-turn test. Delete the first copy.
- Stale docs.
-
Checks
shipped production is serving it deploy c1c75da
-
History
- A long Talk conversation picks up fresh between turns, so its own old answers never pass for current figures c6fa7f7
- Main green: the static web loads no data graph again (FLAGS_FILE in a leaf module) (#16912) 42c8c1d
- MCP tools to list, add, grant and remove crew SSH devices (#16863) 8d40736
- Lent runners: a peer forge can lend check compute, scoped to public pulls, budgeted, sampled and revocable (#16836) 4c3cffb
- infra list opens with one paragraph naming every machine, and show finds a machine by name (#16900) 09cecc1
- "tries at /signin close the API door" passes every time on a loaded check machine (#16904) 362a2b5
- Talk's direct lane: small edits go straight to a live preview branch in seconds; the check runs once at Publish (#16832) 1cb0dba
- Status page: backups get their own honest row instead of reading as slow pages (#16891) e8a1cb1
- Nightly drill on the vxrail: the one-click path against production, loud on the step that broke (#16843) 3a83699
- An idle fresh forge has a memory budget test that names where its memory goes (#16883) 3bcfa79
- A front router wakes an asleep forge on its first request and says "waking…" while it does (#16882) 2d3e9b2
- Two timing flakes measured against load: page budgets scale by a same-run calibration; review budget is event-driven (#16879) fee6f7a
- /metrics: forge_process_restarts_total and forge_child_processes{comm} (#16864) 03718a4
- A crew with builders and no reviewer says so loudly: settings, the tick line and the crew page (#16842) 30b53d2
- telemetry_history and forges answer in a summary by default, with detail on request (#16893) 2601f32
- Detaching a fork keeps objects its own forks still borrow (repack --keep-unreachable) (#16892) df30c44
- Talk never reads none of a large answer: past 40,000 characters the agent gets its shape and head, and how to ask narrower (#16877) 07a9130
- Main green: four new pages' bare 'No …' empty states use the shared words; the empty-words test runs first (#16874) b1a6173
- Daily proof waits for the release's check: a pending line is proved again until it settles (#16890) 8928766
- Observability 6: a Grafana-like view bar on top - time range, compare, variables - and a grid that fills (#16865) 2aecd66
Proven on v0.7.677: "does test1 still cost anything?" passes in a fresh conversation (infra read, a correct "No", offers to clear dead rows) and fails in the owner's 600-message conversation, where it quotes its own earlier answers as evidence ("an earlier read showed $1.00", friend1's $13) despite the brief. Every turn resumes the stored Claude Code session (conversation.ts:555), so the model re-reads its whole transcript, and most stale evidence is its own old prose — not tool results, and not a file the forge should edit.
FRESH_CONTEXT_SHARE0.5 andFRESH_TURNS60 (person messages since the last fresh start), named with their reasons. The switch happens only between turns, never while the last turn left a confirm waiting or a run it filed is still queued or running. 85% full still forces a fresh start as before.Not covered: the OpenAI runner (no session) still gets the raw last 40 turns each message — follow-up.
tsc 0, gate exit 0; talk-work, conversation-talk, talk-autopilot pass.
🤖 Generated with Claude Code