Video
Does AI agent context compaction lose the user's request? (108-trial test)
· 252 seconds
In 108 compaction trials across three low-cost models (Claude Haiku 5.5, DeepSeek V4.1 Flash, and GPT-6 Luna), 0 of 672 exact user-request values were dropped and 0 were changed. The real loss happened on values printed once by a tool and never typed by the user, disappearing in 1 of 72 trials at about 80,000 estimated tokens.
Chapters
00:00What happens when an agent compacts its context?00:36Why later-turn requests fall into the summarized middle01:08How we tested 108 compactions across three models01:58User requests: 0 of 672 values dropped (and the one date reformat)02:52Where loss actually happened: one-time tool output03:24Should you pin the user request verbatim?03:48Practical checks to test compaction in your own agent
Key measurements (Nov 11, 2026)
- User requests in the summarized middle (108 trials, 672 values): 670 matched as
exact strings and 0 were dropped. One three-pass long-request trial with GPT-6 Luna
rewrote
2026-08-17and2026-10-25as "Aug 17 to Oct 25, 2026 inclusive" on pass 1 and kept both dates intact through pass 3. - Why requests survived: In 107 of 108 trials, the summary opened with an
Active goalheading carrying the user's instruction forward. - Verbatim controls (72 separate trials): All 72 kept every value.
- One-time tool output (72 trials): 71 kept the value; 1 trial (DeepSeek V4.1 Flash at about 80,000 estimated tokens) dropped a database port printed once by a start script, causing the model to start the database again.
- Pinning variant (102 trials): Kept all values, matching the unchanged code, so we did not ship extra pinning code.
Scope limits
Synthetic conversations only, one to three compaction passes, three low-cost models (Claude Haiku 5.5, DeepSeek V4.1 Flash, GPT-6 Luna), and one summary format. Read the full write-up and interactive walkthrough: Does context compaction lose the user's request? We tested it.