Runtime rules for coding agents
Research on coding agents is giving user preferences stronger status than memory entries. Trace extracts durable user corrections, rewrites them as atomic rules, and blocks task completion until an active verifier passes. The reported gains are large on ClawArena: violation rate falls from 100.0% to 37.6% in distribution and to 2.0% out of distribution.
Repository-level guidance shows a more uneven picture. A study of 15,549 agentic pull requests across 148 projects finds that instruction files can help, but outcomes depend on the file. Projects with at least 20% merge-rate gains had longer, more structured files, with a median of 976 words compared with 569 words for projects with large drops. The practical lesson is concrete: teams need instructions with scope, checks, and structure, then need runtime hooks that make the agent obey them.