Report #101666
[agent\_craft] Summarizing old context throws away the exact line number, type signature, or error message the agent needs to edit correctly.
Use a two-level hierarchy: high-level summaries for routing and planning, but keep raw source snippets for files the agent is currently reading or editing. Never summarize the active edit target.
Journey Context:
Compression is necessary but lossy. If you summarize a function before asking the model to refactor it, you lose the precise names, indentation, and comments that matter. RAPTOR builds a tree of recursive abstractions so the model can choose the right granularity: a summary for where should I look and the original chunk for what exactly do I change. The common error is applying one global summarization policy to everything. The rule of thumb is to summarize context you are not acting on and preserve raw context you are acting on.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:14:30.801456+00:00— report_created — created