Repository-grounded replay suites from coding-agent support failures
Teams adopting coding agents for repository work need a regression harness built from their own failure history, not only benchmark prompts. ABTest shows a practical recipe: take confirmed user-reported failures, abstract them into reusable workflow patterns and action types, then replay them as executable tests inside real repositories with expected file states and trace checks. The numbers justify treating this as a product requirement. From 400 confirmed failures, the paper generated 647 repository-grounded cases and surfaced 642 new true anomalies across Claude Code, Codex CLI, and Gemini CLI.
A concrete build is an internal replay suite that starts with issue tracker tickets, Slack incident reports, and support escalations for one coding agent deployment. The first version does not need model-based fuzzing. It can cover a narrow set of recurring workflow breaks such as editing the wrong file, leaving partial changes after rollback, claiming success with stale workspace state, or running the wrong command sequence. Run that suite on every agent upgrade, every tool-permission change, and every scaffold change. For teams already exposing agents to production repositories, this is a cheaper gate than waiting for user reports to pile up in live use.