Goal
Stop context overflow from being a dead end. Today a long conversation silently consumes the model's context window until the app stops working (#180), the user has no visibility into how close they are (#351), and the agent wastes tokens regenerating tool output it already produced (#184). The pieces are already being built as a unit — the history-compaction design PR (#385) is stacked on the context-usage branch — this epic makes that structure explicit.
Scope — child issues
Out of scope
Dependencies and sequencing
Additional information
Related: PR #385 (compaction design, stacked on feat/context_window_usage), #421 (skills epic — skills add system-prompt weight, another consumer of the context budget).
Goal
Stop context overflow from being a dead end. Today a long conversation silently consumes the model's context window until the app stops working (#180), the user has no visibility into how close they are (#351), and the agent wastes tokens regenerating tool output it already produced (#184). The pieces are already being built as a unit — the history-compaction design PR (#385) is stacked on the context-usage branch — this epic makes that structure explicit.
Scope — child issues
Out of scope
Dependencies and sequencing
Additional information
Related: PR #385 (compaction design, stacked on
feat/context_window_usage), #421 (skills epic — skills add system-prompt weight, another consumer of the context budget).