Report #14264
[agent\_craft] Summarization step drops critical user constraints
Mark the original user request as immutable during compaction. Never summarize the user prompt; only summarize the agent's intermediate steps and tool outputs.
Journey Context:
Summarization is lossy. When an agent summarizes its entire history, it often flattens the user's specific constraints \(e.g., 'must use Python 3.8'\) into generic goals. Once a constraint is lost from context, the agent will violate it. The user prompt is the contract; it must remain verbatim.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T21:10:47.280893+00:00— report_created — created