Agentic Coding Without Skill Atrophy: Reclaiming the Definition of Done
As code agents, automated pipelines, and content publishing systems become more common, teams risk accepting green dashboards as proof of completion and outsourcing the definition of done. This article separates action completion from outcome completion, catalogs four silent failure modes in agent workflows, and presents a two-layer gate design with layered evidence and human acceptance. It also outlines human-agent responsibilities and practical mechanisms for keeping criteria versioned and judgment active.
1. The Real Risk Is Not Using AI Too Much, but Outsourcing Judgment
As code agents, automated pipelines, and content publishing systems become more common, a subtle problem starts to appear: developers no longer care whether the result is truly useful, but habitually trust the green status shown by the system. As long as the logs show no errors, the pipeline passes, and the task status says success, they assume the work is done.
This phenomenon can be called “cognitive surrender”: people hand over the right to define “what counts as done” to an automated system. A system can certainly check whether an action was executed, whether a file was generated, whether an API returned, or whether a string length changed, but it cannot naturally understand whether the outcome has value. It can accept “action completion,” but it cannot replace humans in accepting “outcome usefulness.”
Therefore, the key to preventing people from being made useless by AI is not simply using less AI. It is to redefine acceptance responsibilities:
- The system is responsible for verification: whether this step ran, whether the evidence chain is complete, and whether the output meets predefined constraints.
- Humans are responsible for verification: whether this result is useful, whether the goal was achieved, and whether the current criteria are still valid.
- Humans must also retain the final right to define: what counts as done, what evidence proves completion, and when the criteria need to change.
Once the definition right is outsourced, the smoother the automation, the greater the risk, because failures appear in the form of “all green.”
2. Split “Done” into Two Layers: Action Completion and Outcome Completion
In engineering practice, the most common mistake is to treat “done” as a Boolean value. In reality, completion has at least two layers.
| Layer | Decision question | Common evidence | Failure symptom | Defined by |
|---|---|---|---|---|
| System-level completion | Did this step run? | Run records, logs, output snapshots, hashes, link fetch results | Errors visible, silent failures invisible | Scripts and gates |
| Human-level completion | Was this step useful? | Someone read it, someone used it, downstream consumption succeeded, metric changed, sampling review | Green light but empty field; action succeeded but outcome invalid | Goal owner |
| Criteria-level completion | What counts as correct? | Criteria version, applicable conditions, counterexample tests, calibration records | Ruler misaligned; wrong dimensions checked | Only humans can modify |
System-level completion is necessary, but far from sufficient. A publishing task can successfully generate a page, successfully fetch a link, and successfully write logs, but if the machine did not start that day and the task did not run, the system may not produce a failure record because nothing executed. At that point, the dashboard is green, but nothing happens on the reader side.
Another typical problem is “evidence misalignment.” For example, the check logic compares only total length, while three resource addresses are shifted into different attributes and the total length happens to remain unchanged, so the check declares “no problem.” This is not because the system is broken, but because the ruler is misaligned: the checked dimension does not match the real risk.
Therefore, a complete technical design must include two types of gates:
- Action gate: confirm that the task was scheduled, executed, and produced artifacts, and that evidence is traceable.
- Outcome gate: confirm that the artifact was really consumed, that target metrics changed as expected, that human sampling passed, and that the criteria still apply.
3. Four Types of Silent Failures in Agent Workflows
Silent failures are more dangerous than explicit errors because they do not trigger alerts, yet they make the team believe the system is normal. There are four common types.
1. Not-run failure
The scheduler did not trigger, the machine was not powered on, the queue was empty, or the task was skipped. These situations do not produce “failure logs.” The protection is to introduce “expected run records”: the system must prove that a task started within the expected time window, not merely prove that “no error was reported.”
2. Evidence misalignment
The check exists, but the checked object is wrong. For example, it checks only length, only status code, or only file existence, but does not check semantics, order, or reference relationships. The protection is to add counterexample tests for critical checks: deliberately construct samples with the same length but misaligned content, and confirm that the gate rejects them.
3. Metric substitution
Action metrics replace outcome metrics. For example, “published” replaces “someone read it,” “generated” replaces “downstream usable,” and “call succeeded” replaces “user task completed.” The protection is to define at least one outcome metric for each critical flow and verify it through regular sampling.
4. Criteria rot
After the environment changes, old criteria still pass, but they no longer represent correctness. The protection is to version the criteria, record applicable conditions and the last calibration time, and require human review for changes to key criteria.
4. A Practical Two-Layer Gate Design
The pseudocode below shows an abstract design that does not depend on a specific platform or tool. The core idea is: after the system layer passes, the workflow cannot directly declare business completion; it can only enter a “pending human outcome acceptance” state.
function system_gate(task):run = scheduler.get_expected_run(task)if not run.started:return Fail("Task did not run")if not run.finished:return Fail("Task did not finish")artifacts = collect_artifacts(task)if not evidence.chain_ok(artifacts):return Fail("Evidence chain broken")if not semantic_check(artifacts):return Fail("Semantic check failed")if not outcome_probe_available(task):return Pending("Missing outcome evidence")return PendingHuman("System actions complete; awaiting outcome acceptance")function human_accept(task, outcome, judge_version):if judge_version != current_judge(task):return Reject("Criteria expired; redefine required")if not outcome.has_real_consumption():return Reject("Outcome not really consumed")if not outcome.within_expected_range():return Reject("Outcome outside expected range")if not sampling_review_passed(task):return Reject("Sampling review did not pass")return Accept("Outcome complete")
The most important part here is not the code itself, but the state machine: Fail, PendingHuman, and Accept must be separate. The system cannot upgrade itself from “action complete” to “outcome complete.” The definition right must remain with humans.
5. Evidence Layers: What to Check Beyond Green Lights
It is recommended to divide evidence into four layers so that a single metric does not hide problems.
- Execution evidence: run time, input snapshot, output snapshot, run identifier, log summary.
- Consistency evidence: full-string comparison, structural validation, reference parsing, link reachability, order and mapping relationships.
- Outcome evidence: real consumption records, downstream task success, sampled reading or usage records, metric changes.
- Criteria evidence: criteria version, applicable conditions, counterexample test results, last calibration time.
With only execution evidence and consistency evidence, you have “system completion.” Only after adding outcome evidence and criteria evidence do you approach “human completion.” Teams should regularly sample all green tasks and specifically look for cases where “there is no error but the outcome is empty.”
6. Human-Agent Division of Labor: The Stronger the Agent, the More Humans Must Retain Definition Rights
Agents are well suited to exploration, generation, batch execution, self-checking, and evidence collection. Humans should be responsible for goal definition, completion criteria, sampling acceptance, anomaly attribution, and criteria updates. Preventing cognitive surrender is not about rejecting automation. It is about establishing the following mechanisms:
- Every automated task must explicitly declare two layers of completion standards.
- All gates must include “not-run detection.”
- Every critical check must have at least one counterexample test.
- Every critical flow must have at least one outcome metric showing that someone used it.
- Criteria must be versioned, and key changes must undergo human review.
- Periodically hand-write core logic or perform independent review to avoid degradation of judgment.
- In retrospectives, first ask: “What do we count as correct? Is the ruler misaligned?”
7. Conclusion
AI does not naturally make people useless. Real degradation happens at the moment people hand over the right to define “what counts as done.” A system can accept actions; only humans can accept outcomes. A system can light a green light; only humans can judge whether the water has reached the field. By applying the two-layer completion model, silent failure detection, and criteria versioning to agent workflows, teams can enjoy automation efficiency while retaining engineering judgment and responsibility boundaries.
