Truncated Batch Tool Calls Corrupt Agent State; Paper Proposes Transaction Admission Control
Flunder707 · reddit · 2026-07-31
The author discovered that when a model hits its output limit mid-response, batched tool calls get truncated—causing some operations to execute while others are lost, leaving corrupted history.
Fuzz testing across 107 truncation positions confirmed that nearly all produce partial side effects. The proposed solution validates the entire batch before executing any call (transaction admission control), reducing partial execution to zero. Paper and code are open-sourced.
More from coding & agent
- Berkeley's FrontierCS 2: agents rewrite deleted paper code, Claude passes 28/48 — BAIR Blog (Berkeley) · 2026-12-02
- AkShare MCP Server brings real-time A-share, HK and US market data to AI clients — modelcontextprotocol · 2026-12-02
- Hermes MCP connector gives AI live UK air quality data with WHO checks — modelcontextprotocol · 2026-12-02
- Hugging Face ships harness adapters: Terminal-Bench 39%→55% at half the tokens — yb2698 · 2026-12-02
- Running torch nightly with CUDA 13.5 on 8x V100 via volta-forever, agent-driven setup — QuixiAI · 2026-12-02
- Anime.js v5 ships a visual animation editor that saves edits straight to your code — csuwildcat · 2026-12-02