Unverified is not passed in AI test reports
A green check mark next to an AI-generated branch is dangerous when half the test suite quietly skipped itself. In real repositories, knowing what could not be checked is just as important as knowing what passed.
How silent skips manufacture false confidence
Automated coding agents execute inside containers, and container environments rarely mirror every service on a developer's workstation out of the box. When a test suite encounters a missing dependency, its default reaction is often to skip rather than fail:
- Missing browser binaries. End-to-end or UI smoke suites check whether a headless browser is installed, find none, and mark dozens of specs as skipped.
- Unconnected local services. Integration tests look for a local PostgreSQL database, Redis cache, or message broker, catch the connection refusal in a setup hook, and bypass the suite without raising an error.
- Conditional repository scripts. Checks that only apply to schema migrations or specific directories exit cleanly when no target service or matching file is present.
Many test runners exit with code zero when zero executed tests fail, even if most of the suite was skipped. When an AI coding agent treats exit code zero as proof that the change works, a half-blind run gets summarized as "all tests pass."
Separating acceptance criteria from repository checks
In Mergehand's eight-step workflow, testing happens in Step 6, after implementation in Step 4 and an independent review by a fresh agent in Step 5. Another fresh testing agent — one that did not write the code — evaluates the branch and divides its report into two distinct parts:
Acceptance criteria
Every numbered acceptance criterion from the approved plan is evaluated one by one and reported as passed, failed, or unverified, with concrete evidence attached to each item.
Repository quality checks
Linters, static analyzers, type checkers, test suites, and migration checks defined by the repository are reported separately and can also be not applicable or not run.
Keeping those tracks separate prevents two very different situations from blurring together. A migration check on a styling fix is legitimately not applicable. A checkout total test that could not execute because a required tool or local database was missing is not run, and the acceptance criterion that depends on it stays unverified with the reason recorded beside it. Unchecked work is never shown as green.
Connecting local services when automated proof matters
Seeing unverified or not run in black and white gives a team an honest choice. For a small UI tweak, verifying the behavior manually may be enough. For database queries, caching logic, or API contracts, wiring up the environment removes the blind spot permanently.
Because runs execute in Docker containers on a runner on your own machine or server, a project can prepare its agent environment with the tools the repository expects and attach run containers to a local Docker network. That allows the testing agent to reach local development services — such as a database, cache, or search service — on allowed hostnames, while outbound internet traffic stays restricted to the project's allowlist (IP-based filtering with open DNS, which acts as a strong barrier rather than an absolute guarantee).
Drawing the boundary before you approve
Even with local services connected, container checks do not replace human judgment on visual layout, multi-step product flows, or external sandbox callbacks. Unless a change is purely internal, the testing agent also writes a concise testing guide for QA or product before Step 7: what data or state to prepare, and which scenarios to click through.
When you open Step 7 to approve the result — see a full walkthrough on the example task page — you read the summary, the test report, the testing guide, the commits, and the full diff together. Before the first push happens, you see the exact boundary between what was proven automatically and what still needs human eyes.