Report #2193
[agent\_craft] Context compaction discards commitments and constraints the agent still needs
Separate immutable working memory \(requirements, decisions, environment facts\) from transient turn history; compact only the turns, never the working memory.
Journey Context:
Naive summarization of the entire conversation loses what the agent already decided. The fix is a memory hierarchy: a durable working-memory store that is preserved verbatim, plus a compressible chat history. Summarize the latter, append to the former. This avoids the common failure mode where an agent agrees to a constraint in turn 5 and violates it in turn 25 because the summary dropped it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T10:06:36.864078+00:00— report_created — created