Harness Intelligence Wiki
HarnessValidation and Tools

Project Verification Flow

How Verification runs in delivery, how missing coverage is created or repaired, and where review begins

Project Verification Flow

Verification is the step where an agent proves a change works by driving the real product. It happens inside implement-spec, before review. Read Project Verifier first for the ideas and the parts: app references, Feature Maps, Observation Manifests, and helpers.

Where It Sits In Delivery

The evidence flows one way. Verification produces it, and implement-spec classifies acceptance from it. Review never checks, drives, or reruns the proof. A verify mismatch is runtime evidence and routes to debugging-phase. docs-ingest-phase and closeout follow review and never write Feature Maps. debugging-phase uses the same verify-behavior skill in reproduce mode before it forms hypotheses.

Trigger

After task and runtime checks, implement-spec invokes verify-behavior in verify mode for each visibly exercisable acceptance criterion, before acceptance is classified. It passes the stories the plan changes; the run covers only those stories unless the caller names more. This is Verification Tier 3, the plan-scoped acceptance journey.

Verification normally gates final acceptance. It joins a Task Gate only when the task owns a complete visible journey or runtime side effect that a dependent task consumes.

Modes And Results

ModeInvoked byExercisesResults
verifyimplement-specImplemented acceptance criteriaverified, partially verified, not verified, blocked
reproducedebugging-phaseThe reported baseline failure, before any fixesconfirmed, partially confirmed, not reproduced, blocked

not reproduced means the complete reported path ran and the failure was absent. Inaccessible state, missing credentials, failed setup, or an unavailable capability is blocked. In verify mode a contradictory observed result is not verified. Partial evidence is never a full pass; a partial result names exactly which checks have proof.

How A Run Proves Behavior

  1. Select. Read the project index, then only the app reference and Feature Map entries the scenario needs. A Cross-App Journey loads when a scenario spans apps. The run keeps a selection trace from check to index, app, feature, and journey or helper.
  2. Choose a Channel. Record browser, computer-use, or cli, and why that capability exercises the complete user path. When the capability is missing, the result is blocked with the exact prerequisite; the run never invents tools or artifact links.
  3. Freeze and Launch. Freeze authority, code, runtime, and scenario identities. When the caller supplies its Owned Stack, reuse it after a controlled reset instead of a new Launch. Otherwise set up only authorized, run-owned state through Launch.
  4. Complete the Observation Manifest. Before the first Drive, name every field and stage each selected entry captures, read from the generated DTOs and source predicates. A field the run cannot name is a gap to close now, not after a failed run.
  5. Doctor, then Drive. Pass Doctor. Follow the Feature Map path end to end. Capture every manifest observation before evaluating assertions. Record the actions, the positive result, and the Scenario Falsifier and its observation. For important behavior, exercise the Relevant Negative Condition and inspect actual downstream state, not just a success message. Where a negative condition does not apply, record why.
  6. Handle mismatches. On a known mismatch, record it and let the independent checks finish; skip only steps that depend on the failed one. A failed gate stays failed whatever later checks show. After a surprising failure, restore known state with a controlled reset and renew Doctor before another Drive.
  7. Retain and clean up. Keep evidence tied to the check it demonstrates, outside any scratch that cleanup removes. Clean up only resources proven to belong to the run.
  8. Recheck. If authority, code, runtime, or scenario changed during the run, the affected proof is invalid and the exact checks are returned for rerun.

Only invariant and output semantics assertions gate. A speculative assertion is observed and reported, and gates nothing until authority supports it.

Missing interaction proof stays missing. Passing unit tests or reading source does not verify a scenario, and improvised automation is not proof when the reference lacks the knowledge.

Before another expensive run (a rebuild, a stack start, or a multi-service journey), the agent states its New Discriminator: the fact the run can confirm or reject that earlier runs did not. When the same observation is missing again, the diagnostic plan changes; a repeat of the same run cannot supply it.

Acceptance From Evidence

implement-spec records each result under Behavior Verification Evidence in IMPLEMENTATION-NOTES.md, mapped to its story and criterion, with branch or ref, channel, scenario, status, and cited evidence or exact blocker. A matching Runtime Validation Evidence row is cross-referenced, not copied.

A visibly exercisable criterion is met only when its row cites interactive evidence. not verified makes it unmet. A verification blocker makes it blocked.

Missing Coverage

verify-behavior does not repair coverage itself. It returns the gap, keeps the checks blocked, and lets implement-spec invoke the right lifecycle skill.

Uncovered Surface

A required app has no Surface Verification Reference, or the project index is missing. implement-spec invokes create-verification-skill. The creator interviews the repository and existing wiki knowledge from evidence, writes only the missing app reference and its selected Feature Map entries, and adds a pointer to the project index. Before it reports ready, it must complete a Reference Smoke Proof: Launch, Doctor, one mapped public Drive, retained evidence, Cleanup, then confirmation that the evidence survived cleanup. A draft is never ready. A blocked result names the attempted action, the failure, and the missing prerequisite, and the original scenario stays blocked.

Uncovered Behavior

The app reference exists, but the selected scenario has no Feature Map entry or executable drive path. implement-spec invokes update-verification-skill. Its scope is the selected behavior only. The updater reads wiki and code evidence, repairs the drive path, adds a missing Observation Manifest or expectation class, proves the path live, and returns exactly one outcome:

OutcomeMeaningNext
unchangedThe selected knowledge was current and its live path is proved.Resume the original scenario.
updatedCorrections were made, each changed path live-proved, and unrelated content preserved.Resume the original scenario.
blockedRequired coverage or proof cannot finish; the exact prerequisite is named.Affected criteria stay blocked.
product-failureThe current instructions expose a product regression. Expected behavior is not rewritten to match it.Hand the symptom and evidence to debugging-phase.

After a ready creation or an unchanged or updated update, implement-spec resumes the original scenario. Existing proof is reused only when authority, code, runtime, and scenario identities all match the original request. A smoke proof is readiness evidence, not an acceptance pass.

Targeted work preserves unrelated references byte for byte. An explicit full-audit invocation is the only broad maintenance.

Coverage And Ownership Boundaries

  • Both lifecycle skills write below .agents/skills/verify-behavior/references/ on the current delivery branch and pull request.
  • Scaffold and hi update post-command flows do not invoke creation or repair and leave project-owned references unchanged.
  • docs-ingest-phase never invokes update-verification-skill and never creates, edits, regenerates, or maintains Feature Maps. Wiki specifications, behavior pages, flows, and domain knowledge stay inputs that the creator and updater may read.

Review Boundary

implement-spec finalize owns the acceptance-criterion status rows and their Behavior Verification Evidence. Review stays readonly Code Review of the committed change: it does not check test or Verification evidence, does not run the Project Verifier, and does not own evidence freshness. When an accepted repair invalidates a scenario, implement-spec reruns only that Verification, then delivery routes again.

On this page