Getting Better at Working With You: Compiling User Corrections into Runtime Enforcement for Coding Agents
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Interactive LLM agents are becoming part of daily work, but they do not reliably become easier to work with over time: a correction remembered in one session may still be violated in the next. We study this gap between preference access and preference compliance. In tasks derived from anonymized real-user friction cases, Mem0 memory still leaves 57.5% of applicable preference checks violated. We introduce Test-time Rule Acquisition and Compiled Enforcement (TRACE), a drop-in skill-layer pipeline for coding-agent runtimes that mines user corrections, rewrites them as atomic rules, and compiles them into runtime checks that must pass before an agent completes future tasks. Unlike runtime checks written ahead of time by developers, TRACE skills come from the user's own chat corrections. We evaluate TRACE with simulated user-in-the-loop experiments on ClawArena coding-agent tasks and MemoryArena-derived memory-intensive tasks. On ClawArena, TRACE reduces held-out preference violation from 100.0% to 37.6% on in-distribution tasks and from 100.0% to 2.0% on out-of-distribution tasks. On MemoryArena-derived tasks, TRACE reduces in-distribution violation from 100.0% to 60.5% while matching or exceeding the strongest memory baseline on task pass. These results suggest that compiling corrections into runtime enforcement can address a repeated-friction failure mode that memory alone does not reliably solve, reducing the need for users to restate the same correction across future sessions. Experiment code is available at https://github.com/YujunZhou/TRACE_exp, and the deployable skill is available at https://github.com/YujunZhou/tellonce.
Key facts. Cited by 2 papers in the map (data through 13 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 24 of its 27 references that are in the map. First posted on arXiv 11 Jun 2026.
Builds on
24 of 27 references.
Closest ancestors · 4
Same direction, newest first
- 2026ContextCov: Deriving and Enforcing Executable Constraints from Agent Instruction Files28 Feb
- 2025Agent READMEs: An Empirical Study of Context Files for Agentic Coding17 Nov
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
Other references · 20
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,502
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,117
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,274
- 2025Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memorycited by 760
- 2025AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agentscited by 209
- 2025Do LLMs Recognize Your Preferences? Evaluating Personalized Preference Following in LLMscited by 143
- 2025MemOS: A Memory OS for AI Systemcited by 134
- 2026MemoryArena: Benchmarking Agent Memory in Interdependent Multi-Session Agentic Taskscited by 77
- 2025Remember Me, Refine Me: A Dynamic Procedural Memory Framework for Experience-Driven Agent Evolutioncited by 71
- 2024Aligning LLM Agents by Learning Latent Preference from User Editscited by 66
- 2025Hindsight is 20/20: Building Agent Memory that Retains, Recalls, and Reflectscited by 42
- 2025Building a Foundational Guardrail for General Agentic Systems via Synthetic Datacited by 29
8 more
- 2025Preference-Aware Memory Update for Long-Term LLM Agentscited by 19
- 2026Learning Personalized Agents from Human Feedbackcited by 17
- 2025Policy-as-Prompt: Turning AI Governance Rules into Guardrails for AI Agentscited by 13
- 2026ClawArena: Benchmarking AI Agents in Evolving Information Environmentscited by 11
- 2026Towards Natural Personalization: Evaluating Long-Horizon Preference Following in Personalized User-LLM Interactionscited by 9
- 2025RGMem: Renormalization Group-inspired Memory Evolution for Language Agentscited by 7
- 2026MultiSessionCollab: Learning User Preferences with Memory to Improve Long-Term Collaborationcited by 7
- 2026Synthetic Interaction Data for Scalable Personalization in Large Language Modelscited by 4
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026TraceDance: An Automated System for Building Agent Behavior Benchmarks from Real-World Agent Deployment Traces
- 2026UserProxyBench: Evaluating LLM User Simulators for Agent Benchmarks and Training
- 2026SWE-Together: Evaluating Coding Agents in Interactive User Sessions
- 2026Auto: The AGI Compiler
- 2026Coding-Agent Benchmarks Should Match Their Users' Task Flows
- 2026Toward User-Conditioned Evaluation of Personal LLM Agents under Temporal Interventions
- 2026Skills as Verifiable Artifacts: A Trust Schema and a Biconditional Correctness Criterion for Human-in-the-Loop Agent Runtimes
- 2026TraceLab: Characterizing Coding Agent Workloads for LLM Serving