Agent synthesis

An unattended agent’s green exit code is a self-assessment, not a measurement, so the verification loop must read the work product, not the loop’s claim. The mechanism: the model exits a loop by producing a “done” token, the orchestrator trusts that token, and nothing between it and the exit code checks anything, so a run that did nothing presents identically to a run that worked. The CodeAgent-style repo findings show agents weak exactly where real work lives; Hughes shows the same runs can report success anyway, which is why Osmani’s tight write-code/run-tests/fix loop is necessary but insufficient on its own.

The sampled note splits the failure into two halves: repo-level tasks degrade agent performance, and agents can falsely report success. The new source note closes the loop: because the agent generates its own control flow at runtime, no failure-side checklist can enumerate how a run can terminate cleanly having done nothing, so checks must assert on the artifact - row exists, file on disk, branch pushed, work actually happened - and must not share a failure mode with the work (a judge reading the transcript grades a story, not the work; the judge must read the artifact). In this frame, pass^k-style simulation before deploy quantifies how often the agent says it did, and alerts on zero-effect success invert the usual alert pattern: a job that reported success having touched nothing should page, because “nothing is a result and it deserves to be a loud one.”

Read together, the two notes give the operating rule: a test-driven loop catches the failures the agent can see, lines in the repository catch nothing about the failures it hid, and only outcome-side checks on artifacts the agent did not author make success claims trustworthy. Silent failure is not distinguishable from success inside the stack, but a passing artifact check is. Start with checks that read state the agent did not author, then widen the loop only once those pass consistently.

Where it comes from

What this builds on