Skip to content
Future SliceFUTURE SLICE / Deep Reads
Back to articles

Review Coding-Agent Tasks Through Evidence

A repository full of tests and agent rules does not prove they helped with a specific coding task. Learn to trace a goal through changes, checks, results, and acceptance—and turn evidence gaps into small improvements you can verify.

Editorial note · AI-assisted

AI-assisted original explainer; sources are listed at the end. Worked examples and exercises were not run unless marked as tested. Diagrams are AI-generated. The cover is an editorial photo.

Based on Alibaba Cloud’s Better Harness announcement and related introduction.

Laptop displaying source code
Photograph · Dawit / Unsplash

Key points

  • A repository’s tests, rules, and skills show what is available; they do not prove that any of them helped with a particular coding task.
  • Review a task by connecting its goal to the relevant change, a suitable check, that check’s result, and an observable acceptance criterion.
  • Keep missing evidence distinct from evidence of failure, and verify any workflow improvement on later comparable work.

Make the task, not the repository, the unit of review

An agent changes a module, runs a test command, and says the work is complete. That sequence alone does not show that the requested behavior is correct. The test might not cover the change, the command might have failed, or the agent might have received a result without acting on it.

This distinction is central to the evaluation model described in Alibaba Cloud’s open-source announcement about Better Harness. Its focus is a specific task, rather than a repository or session in the abstract. A session is a container for evidence; the question is what happened during the task and whether the evidence supports the conclusion.

The related introduction to Better Harness describes three separate evidence areas: agent customization, real task sessions, and project engineering foundations. You can apply the same distinction without using the tool. Keep different evidence sources identifiable, then connect them carefully when deciding whether work is ready to hand over.

Instead of asking, “Does the project have tests?”, ask, “For this change, did the agent run a check that addressed the relevant risk, inspect the result, and meet the stated acceptance criterion?” The second question is narrower and can be examined.

Trace one claim through the work

Use this compact chain:

Goal → change → check → result → acceptance

Each link supports a different claim. The goal states what was requested. The change records what the agent attempted. The check identifies a verification step. The result records what happened. Acceptance determines whether the outcome meets the request.

Consider a small feature request: “Reject empty display names in the profile form and show an error beside the field.” A weak review notes that the repository has tests and the agent ran npm test. Neither fact establishes that the empty-name case was exercised.

A stronger review asks whether the agent changed the profile validation path, whether a test submitted an empty display name, whether that test completed successfully, and whether the interface showed the requested field-level error. Make the criterion observable: submitting an empty name is rejected, and an error appears beside the field. A passing command supports the review, but it is not the verdict; its scope and result still matter.

EvidenceReview questionWhat it can support
GoalWhat behavior was requested?The target and boundary of the task
ChangeWhat relevant code or files changed?What the agent attempted
CheckWhich verification addressed the change?Whether a relevant check ran
ResultWhat did the check report?The outcome of that particular check
AcceptanceDoes the result meet the criterion?Whether the work is ready to hand over

This is a review aid, not a universal scorecard. A security-sensitive migration needs different evidence from a text correction. What transfers is the discipline of linking a claim to observations and stating what those observations cannot establish.

VISUAL NOTE
Selected document slices and their neighboring context enter a transparent reading window.
AI-generated concept illustrationPut a check between two steps

Turn gaps into bounded findings

“Testing is weak” is too vague to guide a useful fix. A stronger finding names the evidence limit, possible user impact, smallest appropriate remedy, and how to verify it. For the display-name example: “The task changed empty-name validation, but the recorded check did not exercise empty input. Invalid profiles could be accepted. Add a focused regression test and verify rejection plus the field-level error.”

That finding does not claim the project has no tests or demand a new framework. It ties a specific observation to a limited action. The Better Harness announcement describes five evaluation dimensions: task understanding, controlled execution, change verification, reliable delivery, and retained learning. These can prompt useful questions, but they are not a reason to collapse every task into one score. A score may help locate an issue; evidence, its limits, and user impact explain the judgment.

Avoid turning a hypothesis into a fact. If the evidence shows that the relevant test did not run, say so. Do not say the feature is broken unless an observation establishes failure. Likewise, do not say it is safe merely because a broad test command returned a success status.

Common mistake: confusing availability with use

An inventory of tests, rules, hooks, skills, or CI jobs can look reassuring. The shortcut is exposed when a report lists what exists but cannot point to a task where it was relevant and effective. An installed skill does not prove the agent used it when needed. A test directory does not show that the right test ran for this change.

The opposite inference is unsafe too: missing evidence does not automatically prove failure. “Evidence unavailable,” “check not run,” and “check ran and failed” mean different things. Keep those states separate instead of filling gaps with configuration counts or assumptions. Even a successful command has a boundary: it establishes only what that command actually checked.

When this approach is not enough

Task-level evidence review cannot guarantee that an acceptance criterion is complete, prove that no hidden defect exists, or resolve requirements that leave important behavior ambiguous. For a trivial edit, a formal record may cost more than it helps. For a high-risk change, task evidence complements rather than replaces human review, domain-specific validation, security checks, and deployment controls.

Data boundaries matter as well. The Better Harness introduction says its session analysis uses sanitized factual summaries rather than raw prompts, private paths, or secrets. That describes its approach; it is not a reason to collect session data indiscriminately. Define appropriate access and retention limits for any evidence system you use. If a tool cannot explain what evidence supports its conclusions and what it cannot see, do not treat its judgment as authoritative.

EXPLAINED IN SLICES

Put a check between two steps

  1. Define

    Input and acceptance criteria

  2. Produce

    One inspectable unit

  3. Verify

    Behavior and evidence

  4. Decide

    Accept or revise

Editorial diagramA generated output is a candidate. Accept it only after checking the criteria defined for the task.

Suggested exercise (not executed)

Choose one completed, low-risk agent-assisted task. Write its acceptance criterion in one sentence, then record five items: the goal, relevant change, check, result, and acceptance decision. Mark anything you cannot verify as “unknown,” not “passed” or “failed.”

If you find a gap, write one finding in this format: evidence limit; user impact; smallest fix; verification step. Keep the proposed fix within that scope. The checkable outcome is a record another reviewer can follow from claim to evidence. If you make a workflow change, review the next comparable task before claiming it helped. Merging a fix, by itself, does not show that later work changed.

Our verdict

We recommend task-centered evidence review when a team can state observable acceptance criteria and distinguish missing evidence from failure. It is more informative than counting repository assets or trusting a passing command in isolation, and it makes small improvements easier to verify. Use it to make judgments traceable, not as a guarantee that an agent’s work is correct. Where the record is incomplete, preserve uncertainty; where the risk is high, add the appropriate human and domain-specific checks.

When has an agent actually finished the job?

Coding agents, tool use and task acceptance.

Share this articleXSubscribe with RSSThe Weekly Slice
Was this useful?
Loading likes…

Original references

The Better Harness Evaluation Model Used by 100,000 Users Is Now Open Sourcewww.alibabacloud.com · Oct 15, 2026Reference 1Better Harness Is Here: Make Your Agent Better with Every Taskwww.alibabacloud.comReference 2