Loop Engineering: Version-Bound, Evidence-Gated Coordination for Production Coding Agents
Yupeng Pang, Meiling Chen, Yang Yang, Wei Fu
Key points
From the paper's conclusion- We present Loop Engineering, a method for operating multiple asynchronous agent loops over shared, auditable repository state without relying on private conversational handoffs.
Abstract
Coding agents can edit repositories and execute tests, yet production software work extends far beyond code generation. It requires durable task context, scoped authority, version-aware approval, source-independent verification, interruption recovery, and accountable handoffs between humans and automated workers. We present Loop Engineering, a method for operating multiple asynchronous agent loops over shared, auditable repository state without relying on private conversational handoffs. Each loop is specified by six elements: a trigger, a context projection, an authority boundary, a verifier, a stop condition, and a write-back rule. Versioned procedural contracts, called Skills, encode reusable operating policy; a Harness bounds the available action surface and collects evidence; human gates authorize high-consequence transitions against exact artifact versions. We report a design-and-experience study from MewDesign, a revenue-generating commercial AI design product. Five specialized loops cover planning, scoped implementation, review, test release, and reconciliation. A cross-sectional audit contains 50 durable marker records across 26 GitHub work items. Five pull requests reached a version-bound test lock: three proceeded to test releases with runtime evidence from sources distinct from the deployment request, and two stopped before merge. A detailed drift episode shows one observed fail-closed path: a new commit invalidated prior approval and evidence, and the workflow refused to reuse stale continuous-integration results. The study is not a controlled benchmark and does not establish causal productivity or general safety. It provides early evidence of feasibility, traceability, and bounded progression in one production setting.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LoopSkill: Evidence-Bound Lifecycle Control and the Safety-Liveness Tradeoff in Coding AgentsarXiv · 2026
- Beyond Prompts: Runtime Contracts for Coding AgentsarXiv · 2026
- AgentSWE: Can Coding Agents Build the Agent You Actually Want?arXiv · 2026
- Loop Engineering for Agentic Software Systems: LEAF Architecture, Pattern Taxonomy, Use Cases, Evaluation, Challenges and Future DirectionsExpert Systems · 2026
- FeatureLoop: Benchmarking Coding Agents under Evolving RequirementsarXiv · 2026
- Agentic Software Engineering: Foundational Pillars and a Research RoadmapACM Transactions on Software Engineering and Methodology · 2026