Report #41548
[architecture] Context window summarization dropping critical hard facts \(IDs, names, dates\) required for downstream API calls
Implement rolling summarization paired with a structured JSON scratchpad; compress the narrative but explicitly extract and preserve hard facts into the scratchpad.
Journey Context:
Simple truncation drops the oldest messages, which might contain the original goal. Simple summarization loses specific IDs or names required for API calls because LLMs generalize narratives. The fix is a hybrid: a rolling summary for the 'vibe' and a structured JSON scratchpad for the 'facts'. The agent must be prompted to extract facts to the scratchpad \*before\* the context gets truncated, ensuring deterministic data survives compression.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T00:12:30.818030+00:00— report_created — created