Resilient Write: A Six-Layer Durable Write Surface for LLM Coding Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
LLM-powered coding agents increasingly rely on tool-use protocols such as the Model Context Protocol (MCP) to read and write files on a developer's workstation. When a write fails - due to content filters, truncation, or an interrupted session - the agent typically receives no structured signal, loses the draft, and wastes tokens retrying blindly. We present Resilient Write, an MCP server that interposes a six-layer durable write surface between the agent and the filesystem. The layers - pre-flight risk scoring, transactional atomic writes, resume-safe chunking, structured typed errors, out-of-band scratchpad storage, and task-continuity handoff envelopes - are orthogonal and independently adoptable. Each layer maps to a concrete failure mode observed during a real agent session in April 2026, in which content-safety filters silently rejected a draft containing redacted API-key prefixes. Three additional tools - chunk preview, format-aware validation, and journal analytics - emerged from using the system to compose this paper. A 186-test suite validates correctness at each layer, and quantitative comparison against naive and defensive baselines shows a 5x reduction in recovery time and a 13x improvement in agent self-correction rate. Resilient Write is open-source under the MIT license.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 2 of its 23 references that are in the map. First posted on arXiv 12 Apr 2026.
Builds on
2 of 23 references.
Closest ancestors · 1
Same direction, newest first
Other references · 1
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Memory as Infrastructure: Reliability Engineering for Persistent Agent Memory in Months-Long LLM-Assisted Development
- 2026What Breaks When LLMs Code? Characterizing Operational Safety Failures of Agentic Code Assistants
- 2026SABER: Benchmarking Operational Safety of LLM Coding Agents in Stateful Project Workspaces
- 2025The Dual-State Architecture for Reliable LLM Agents
- 2026Early Diagnosis of Wasted Computation in Multi-Agent LLM Systems via Failure-Aware Observability
- 2025Architecting Resilient LLM Agents: A Guide to Secure Plan-then-Execute Implementations
- 2025Fault-Tolerant Sandboxing for AI Coding Agents: A Transactional Approach to Safe Autonomous Execution
- 2026ProcCtrlBench: Evaluating Process-Level Defects and Control Preservation in LLM Coding Agents