A little breathing room for your agent
Keep the meaning.
Let the noise go.
Synthetic demo: at 72% context usage, prepare a handoff before the next task boundary.
Context pressure and lexical density, measured separately. A reviewable plan for what to condense and what to keep.
72%context used
Snapshot: synthetic demonstration · not your session
Where to make room
4 BLOCKS PROTECTEDReview these older blocks first. Overlap is a lexical clue, not proof that their meaning is redundant.
| Source | Text tokens | Overlap | Why review it |
|---|---|---|---|
| message 4 | 61 | 81% | older block outside protected recent context; high lexical overlap with earlier blocks |
| message 3 | 75 | 50% | older block outside protected recent context; tool output: preserve result and artifact path instead of full log |
| message 2 | 56 | 25% | older block outside protected recent context |
What the context keeps talking about
photo 13date 12label 9captur 8anim 7folder 7thumbnail 7catalog 7preview 6local 6explor 5wildlif 4Condense with care.
Preserve the goal, constraints, exact identifiers, decisions, and unfinished work. Use the companion handoff worksheet before invoking your agent’s compaction command.
Method & limits
Encoding: cl100k_base. English POS-aware lemmatization → stop-word removal → Porter stemming → token count. Negations are retained.
- English lexical analysis; normalization is lossy and is never a replacement prompt.
- Normalized token counts do not measure live context or guaranteed token savings.
- Lexical overlap does not prove duplicate meaning; review each candidate before condensing.
- Compaction timing thresholds are configurable heuristics, not provider limits.
- No automatic compaction, transcript scanning, or remote API calls.