Dev Tools · 2h ago
OpenCode V2 Compaction: A Blunt Checkpoint, Not Smart Pruning
OpenCode V2 compaction is a size-triggered mechanism that compresses older context into a 4,096-token summary when the request exceeds the model's limit. It never deletes history but reduces active context, losing details that don't fit the summary. The system has no concept of message importance, making it a last-resort survival mechanism.
Meridian48 take
The design prioritizes safety over intelligence—useful for preventing crashes, but developers should avoid triggering it to preserve context fidelity.
opencodecompaction