Compaction is what many coding agents do when an interaction nears its context-window limit: they summarize the conversation and continue from that summary. Messages, files, and tool output all consume context. Summarization makes room to continue, but the agent may omit a decision it will need later. section 1.3
A constraint that disappears
Suppose a constraint was agreed in the third message of a coding session. If it is absent from the compacted summary, the agent may proceed as if it was never agreed. The resulting symptoms can include forgotten decisions, reintroduced behavior, changes in the wrong place, and repeated corrective prompts. section 1.3 section 2.3.1
Do not rely on conversation history as the only record of important intent. Extract decisions and constraints into durable artifacts, then load the relevant ones into future sessions. This gives the agent navigable context for implementation without filling its window with every prior message or every available file. A larger window delays compaction but does not resolve unclear priorities or contradictory accumulated decisions. section 1.3 section 2.3.1









