Trace-based harness repair queue for coding agents
Teams running coding agents should add a repair queue for failed trajectories. The queue should store tool calls, observations, file changes, final submissions, and the harness code version that produced each run. A reviewer or repair agent can then assign each failure to a concrete harness area such as tool schema, context assembly, lifecycle control, logging, verification, sandboxing, or policy checks.
HarnessFix gives a useful pattern: convert raw traces into step-level records, link each bad outcome to a harness layer, generate a scoped patch, and validate that the patch reduces the target flaw without broad regressions. RHO adds a lighter deployment loop for teams without labeled validation sets: pick hard and varied past failures, rerun them, let the agent compare its own rollouts, and accept the harness update preferred over the baseline. A small first test could use 20 to 30 recent failed coding-agent jobs, with a held-out slice of similar issues used only after candidate patches are chosen.