Context compaction pushes agent rule violations from 0% to 30% — pinning rules fixes it
blaizedsouza · x · 2026-11-30
Luca Mezzalira summarizes a preprint measuring how context summarization breaks agent rules: across 7 models and 1,323 episodes, standing-policy violations went from 0% with the rule in context to 30% after compaction. Longer windows don't help (Lost in the Middle). Recommended fix: keep must-never-be-lost rules outside the summary and re-inject after every compaction (violations back to 0%), plus progress file + git log for cross-session handoff.
More from coding & agent
- iamtrask: Shapley values plus LoRA partitions could crack LLM knowledge attribution — iamtrask · 2026-12-01
- Vertical AI agent moat: freight agent founder shares his blueprint openly — MatthewChang · 2026-12-01
- Decrypting iOS apps without jailbreak: one ipsw command on Apple Silicon or Linux — dyn___ · 2026-12-01
- Community test: adapter stack cuts agent task time another 27%, passes 10/10 tests — yb2698 · 2026-12-01
- Step 5 API goes live with agent harness support and OpenAI-compatible endpoints — StepFun_ai · 2026-12-01
- Open-source JobFinderOS runs Claude Code agents to hunt jobs across Greenhouse, Ashby and Lever — adnan_hashmi · 2026-12-01