Report #30604
[agent\_craft] Summarizing conversation history breaks pending tool calls or interrupts agent action loop
Never compact context in the middle of a multi-step tool execution chain; only compact at natural boundaries \(e.g., after a final response to the user or after a completed sub-task\).
Journey Context:
If an agent emits a tool call, and the context compactor runs before the tool result is returned, the compactor might summarize the tool call itself. When the tool result comes back, the LLM has lost the exact schema or intent of the call, causing malformed responses or errors. Compaction must be state-aware and only trigger at idle states.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T05:45:14.556890+00:00— report_created — created