Auditing long-horizon agents at the state transfer: root-cause step accuracy rises from 10.8% to 98.3% across 240 fault-injected trajectories
Security and reliability failures in long-horizon LLM agents often occur where the execution harness moves state, yet conventional traces log prompts and tool calls and omit what crosses those boundaries. A state-transfer audit architecture places an audit point at eight boundaries—observation, context assembly, compaction, memory write, consolidation, action, rollback and delegation—and emits hash-chained records that separate deterministic checks from model-based semantic checks. Across 240 multi-step fault-injection trajectories, full transfer records reached 98.3% violation recall at 0.0% false positives and raised exact root-cause step attribution from 10.8%–16.7% to 98.3%.