Give conversation runs the intent journal via JournalOnly sessions (N3 WP2) #92

Merged
weichen merged 1 commits from feature/n3-session-wp2 into main 2026-10-07 15:27:47 +00:00
Owner

Why: the product conversation path had zero mid-turn durability (llm_direct ran without Session). Transcript-as-authority would have frozen the assembled prefix, so the journal is wired in JournalOnly mode: recovery runs against the transcript, the context stays on the ctxasm pipeline, recovered outcomes inject as a system note.

Evidence: go test -count=1 ./... green; TestDirectRunPairsAfterKillSeed (acceptance ① product side), TestDirectRunSeedsStoreHistoryOnce (no loss, no duplication); existing suites unchanged.

Impact: conversation runs journal tool intents and recover them on the next run; no transparent resume; transcript open fails soft.

Refs: Agent-Native#31, Agent-Squad#35, Agent-System-Documents#43

Why: the product conversation path had zero mid-turn durability (llm_direct ran without Session). Transcript-as-authority would have frozen the assembled prefix, so the journal is wired in JournalOnly mode: recovery runs against the transcript, the context stays on the ctxasm pipeline, recovered outcomes inject as a system note. Evidence: go test -count=1 ./... green; TestDirectRunPairsAfterKillSeed (acceptance ① product side), TestDirectRunSeedsStoreHistoryOnce (no loss, no duplication); existing suites unchanged. Impact: conversation runs journal tool intents and recover them on the next run; no transparent resume; transcript open fails soft. Refs: Agent-Native#31, Agent-Squad#35, Agent-System-Documents#43
weichen added 1 commit 2026-10-07 15:26:40 +00:00
Why: the product conversation path had zero mid-turn durability
(llm_direct ran without Session — intents, recovery pairing, and
side-effect replay semantics never applied). Transcript-as-authority
would have frozen the assembled prefix, so the journal is wired in
JournalOnly mode: recovery runs against the transcript, the context
stays on the ctxasm pipeline, and recovered outcomes inject as a
system note.
Evidence: go test -count=1 ./... green;
TestDirectRunPairsAfterKillSeed (crash-window transcript gets the
crashInterrupted pair, run proceeds) and
TestDirectRunSeedsStoreHistoryOnce (history appears exactly once in
every request, never enters the journal); the forged-marker and
harness suites pass unchanged.
Impact: conversation runs now journal tool intents and recover them on
the next run; no transparent resume (sealed interrupted stays; the
user keeps chatting). Opening the transcript fails soft (falls back to
the old no-session behavior).
Refs: Agent-Native#31, Agent-Squad#35, N3 plan WP2
weichen merged commit dcd7c9a444 into main 2026-10-07 15:27:47 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Backend#92