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

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

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.

Notes

opened this

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.

  • src/crew/fresh_start.ts: FRESH_CONTEXT_SHARE 0.5 and FRESH_TURNS 60 (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.
  • The record withHistory writes: a head saying figures were true when said; the person's words verbatim; the last 6 answers whole; older answers cut to their first sentence with money and percentages as [figure] and a "refs:" tail of every #N, owner/name#N, path, URL and run id they named; older tool steps kept only for their refs. The plan rides whole.
  • The thread shows "Picked up fresh: earlier figures are history." (replacing the old context-full line, carry-on turns included).
  • Tests (talk-fresh-start): the 600-turn fixture leaves no old figure; a reference survives the cut; the thresholds; no fresh start while a confirm is held, one after it is answered.

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

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs