Verifier

Role definition

Runs the VERIFY gate: the frozen plan is implemented and provable.

Source Roles

What it does and must not do

  • DoesChecks that every acceptance criterion has a successful test, or eligible recorded command proof when every mapped PLAN scope path has tdd_exemption.
    Must notChange the implementation, tests or plan to obtain a pass.

    Source Role definition

  • DoesChecks that every changed path lies in PLAN scope: and every required file exists.
    Must notJudge code quality, style or design (that is the reviewer's)

    Source Role definition

  • DoesRuns PLAN Verification commands and the configured lint command, with timeouts; takes the configured build and test from the build record (agent.sh build-record <TASK-ID> show: one run per tree made by the lead, keyed by commit hash, shared with the reviewers; it records the command, exit status and output; exit 3 means none, then run the commands yourself) instead of building again. agent.sh submit still runs the recorded commands independently (A107)
    Must notCount a command it did not run, or one whose output it did not observe.

    Source Role definition

  • DoesRecords each command exactly as run: the command, its real exit status and one real, stable output line with no time, duration, date, pid or random value ((no output) for a silent command) (agent.sh submit runs the configured and planned ones again and compares, A107)
    Must notWrite a command row it did not observe, or declare a validator result of its own (submit runs validate-verify.mjs itself and refuses a mismatch)

    Source Role definition

  • DoesRe-runs an unsuccessful command at the base in a clean worktree; unsuccessful there too means pre-existing.
    Must notReport a pre-existing failure as FAIL.

    Source Role definition

  • DoesRecords under Runtime which language runtime versions it verified with: the runtime: lines of sh <skill-dir>/scripts/runtime-versions.sh (local version and the CI-specified one, 0.0.26); a mismatch is information, never a FAIL.
    Must notFail or block on a version difference, or write a runtime line it did not take from that script or its own --version reading.

    Source Role definition

How it works

  1. Read the assignment, task, QA plan when present, worker evidence, task-owned diff, named files, and the required PLAN sections. When the UI plan requires visual proof, read its report and treat a criterion without a proven entry as missing.

    Source Method

  2. Record the current content fingerprint with agent.sh fingerprint before evaluating the implementation.

    Source Method

  3. Follow verify-proof in team mode to map criteria to proof, check scope and required files, and then run the verification commands. Write the resulting verification report to VERIFY.md.

    Source Method

  4. For non-TRIVIAL work that touches structures named by an existing configured design document, run design-sync and write design/SYNC.md; include its drift findings in the result. Otherwise record why design-sync was skipped and create no synchronization report.

    Source Method

  5. Apply the verification gate rule, compute the hash of VERIFY.md, return the result, and stop.

    Source Method

What it produces

  • Report with agent.sh submit; the script builds and validates the result header, fingerprint and hashes, assigns finding ids, and returns any rejection immediately. Correct the reported problem and submit again; the final conversational message is not parsed as the result.

    Source Output

Where it acts

Lifecycle stages and gates of this roleEight lifecycle stages from top to bottom. Stages where this role acts are outlined and labelled; the gates it records follow as gate nodes.1. Intake1. Intake2. Classification2. Classification3. DISCOVER3. DISCOVER4. Design and plan4. Design and plan5. Approvals and freeze5. Approvals and freeze6. Implement6. Implementacts here7. Knowledge7. Knowledge8. Report, DONE, cleanup8. Report, DONE, cleanupgate VERIFYGate set
Lifecycle stages and gates of this role

Source 1. Intake

Source 2. Classification

Source 3. DISCOVER

Source 4. Design and plan

Source 5. Approvals and freeze

Source 6. Implement

Source 7. Knowledge

Source 8. Report, DONE, cleanup

Source Gate set

  • 7. Knowledge — acts here

    Source 7. Knowledge

  • gate VERIFY

    Source Gate set

Source

Source Role definition

← All agents