Enforces fresh verification evidence before any completion claim. Use when about to claim "tests pass", "bug fixed", "done", "ready to merge", handing off work, or before editing when a request has ambiguous scope.
--- name: ia-verification-before-completion class: discipline description: >- Enforces fresh verification evidence before any completion claim. Use when about to claim "tests pass", "bug fixed", "done", "ready to merge", handing off work, or before editing when a request has ambiguous scope. --- # Verification before completion Make completion claims only from fresh evidence for the actual claim. Follow the user's authorized scope; repository instructions supply applicable checks, not permission to mutate, publish, or weaken a requirement. ## Procedure 1. Resolve ambiguous scope before editing. Inspect the repository and state a safe assumption when one interpretation is clear. Ask only when materially different interpretations remain; do not edit the disputed scope while waiting. 2. Inspect `git status --porcelain` and preserve unrelated work. Before any suite or migration runs, including a baseline, confirm its database and service targets are disposable (a dedicated test database, container, or throwaway schema; never the dev database) ([proof-integrity.md](./references/proof-integrity.md), Pre-Verification Check). For dependency/framework upgrades, codegen, or migrations, capture the existing validation command set before writing and rerun it unchanged afterward. If that baseline is red, report before proceeding. Shared-module verification on a dirty tree needs an isolated base comparison. 3. **Identify** the check that proves the claim. For ship-level claims, check the full applicable chain: build, types, lint, tests, security scan, and diff review; stop on the first failure. Read project-declared gates and run the ones that apply to this action in their required order; do not invent gates. Use the tooling the project already declares; do not add a dependency, test runner, type checker, or config file to the project only to verify a change, and report a missing check as not run. 4. **Run** the check now. Exercise the actual entry point or inspect the rendered artifact when the claim calls for direct observation. Earlier output, a subagent's report, confidence, and a renamed success phrase do not establish the outcome. 5. **Read** the result. For command checks, read complete output and exit status, including warnings, executed/passed counts, and missing artifacts. A suite that executes nothing is not proof. Confirm the source revision, entry point, and runtime that produced the evidence. - **Preserve raw evidence.** Display filters can produce plausible summaries while dropping records or rewriting bytes. Use unfiltered output when parsing, patches, counts, comparisons, or reviews depend on complete records or exact bytes. A downstream `head`, `tail`, or `cat` cannot restore filtered producer output. 6. **Verify** that evidence covers the requirements and relevant failure paths. An implemented safe positive capability must work through its intended entry point; a refusal-only path, stub, mock, or unreachable implementation is partial. 7. **Claim** only what the evidence establishes. Report the outcome, exercise command/URL/click path, failed or skipped checks, and material residual risks. State narrower proof scope and distinguish deterministic fixtures from live behavior. Take each count, total, and ratio from command output produced in this session, without rounding or recomputing it from memory; label a figure derived from such output as computed (with its inputs) and one no command produced as counted by reading. Never make an oracle easier to satisfy to obtain green. Review and justify semantic changes before regenerating expected output. Never hard-code the exercised subject or success path. A clean review is valid when it covers the relevant criteria; broaden checks only for a named remaining risk. ## Route by verification risk - For dirty worktrees, broad changes, strict input validation, or fixture-versus-live provenance, read [proof-integrity.md](./references/proof-integrity.md). For shared modules with unrelated edits, also read [isolated-verification.md](./references/isolated-verification.md). - For repository-wide sweeps or “every item” claims, read [scope-and-sweeps.md](./references/scope-and-sweeps.md). Enumerate every item in untracked/ignored scratch state, preserve explicit dispositions, re-enumerate after moves, and account for removals. Completion requires zero pending and zero blocked items. - For command wrappers, empty results, aggregate totals, installed binaries, or materialized revisions, read [verification-oracles.md](./references/verification-oracles.md). Require positive controls through the same invocation shape before interpreting an absence. - For benchmark results, speedups, or performance regressions, read [performance-measurement.md](./references/performance-measurement.md). Verify completed work and failures before interpreting timing; distinguish a measured effect from its causal explanation. - For frontend, backend, CLI, infrastructure, migration, package, schema, documentation, or scripted-sweep changes, read the matching row of [change-strategies.md](./references/change-strategies.md). It also covers adversarial probes, history rewrites, and stale reviews. - For integration boundaries, callbacks, or orphaned state, read [system-wide-test-check.md](./references/system-wide-test-check.md). - When classifying deliverables, handling failed checks, discussing branch scope, or encountering a pre-commit failure, read [claims-and-failures.md](./references/claims-and-failures.md). ## Failure and handoff rules Do not retry unchanged verification until it happens to pass. Fix authorized implementation failures and rerun; otherwise name the concrete blocker. “Pre-existing,” “environmental,” and “flaky” require evidence against the deliberately chosen base or independently established cause. Do not bypass a pre-commit failure caused by this work. The documented exception requires a reproduced base-branch failure and prior visibility to the user; this skill supplies no new bypass authority. Verify delegated work directly through the diff and relevant command. Check specification compliance separately from quality. Re-read requirements line by line: passing tests and meeting requirements are different claims. Refresh facts and coordinates when new commits or external state could invalidate a prior review. Keep reports decision-relevant, without empty status sections or fabricated certainty.
don't have the plugin yet? install it then click "run inline in claude" again.
extracted scattered guidance into explicit intent, inputs, decision points, and output contract sections; added edge cases (zero test execution, pre-commit bypass, filtered output, delegated work verification) and clarified the disposable-environment requirement; preserved all original procedure steps and reference links faithfully.
make completion claims only from fresh evidence for the actual claim. follow the user's authorized scope; repository instructions supply applicable checks, not permission to mutate, publish, or weaken a requirement.
this skill enforces that you gather live, unfiltered proof before claiming any work is done. use it when about to say "tests pass", "bug fixed", "ready to merge", handing off to someone else, or when a request's scope is ambiguous. the core rule: no fresh execution, no claim. earlier reports, confidence, summaries, or renamed success phrases do not substitute for running the proof right now. this skill keeps you honest about what you actually verified versus what you assumed or heard secondhand.
git status --porcelain and inspect the working treeresolve ambiguous scope before editing. inspect the repository and state a safe assumption when one interpretation is clearly correct. ask the user only when materially different interpretations remain. do not edit or proceed while scope is disputed.
inspect the working tree and preserve unrelated work. run git status --porcelain and confirm all test/build/migration targets point to disposable resources (dedicated test database, container, or throwaway schema; never dev database). for dependency upgrades, codegen, or migrations, capture the existing validation command set before writing anything, then rerun that exact command set unchanged afterward. if the baseline is red, report it before proceeding. for shared-module changes on a dirty tree, establish an isolated base comparison.
identify the proof command. for any completion claim (ship, merge, bug fix, tests pass), read the project's declared gates and run them in their required order. check the full chain: build, types, lint, tests, security scan, diff review. stop on the first failure. use only tooling the project already declares; do not add a new dependency, test runner, type checker, or config file solely to verify this change. if a check is missing or cannot run, report it as not run.
run the proof now. execute the command live. earlier output, a subagent's report, confidence, or a renamed success phrase does not replace fresh execution.
read complete unfiltered output and exit status. capture all stdout, stderr, executed/passed counts, skipped checks, warnings, and exit codes. confirm the intended binary, interpreter, source revision, and entry point actually ran. a suite that executes nothing is not proof. preserve raw output; display filters can drop records or rewrite bytes, leaving plausible but incomplete summaries. use unfiltered output when parsing patches, counts, comparisons, or reviews depend on exact bytes or complete records.
verify evidence covers requirements and failure paths. confirm an implemented capability works through its intended entry point. a refusal-only path, stub, mock, unreachable code, or fixture-only test is partial proof and must be named.
claim only what evidence establishes. report the outcome, the exercise command/URL/click path, any failed or skipped checks, and material residual risks. state the proof's scope narrowly and distinguish deterministic fixtures from live behavior. take each count, total, and ratio directly from command output produced in this session without rounding or recomputing from memory. label a figure derived from that output as computed (with its inputs shown) and one you read manually as counted.
the user knows the skill worked when you produce a report that:
if you claim "tests pass" but the test suite ran zero tests, or claim "bug fixed" but ran only fixtures, or claim "ready to merge" but skipped the security scan the project declares, the reader catches it in the residual risks or missing proof sections.