Report #77761
[agent\_craft] Sudden loss of detail when agent hits context limit and forces summarization
Trigger compaction proactively when context reaches 60-70% of the window limit, or after a logical sub-task is completed, not when the window is completely full.
Journey Context:
Summarization is lossy. If you wait until the last byte, the summarizer is forced to aggressively compress everything, losing crucial nuances like variable names or error states. Compacting at logical boundaries \(e.g., after a function is written\) keeps recent high-resolution context while safely archiving the completed step.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:07:20.716287+00:00— report_created — created