Run comprehensive verification checks (tests, lint, typecheck, build) before completion claims. Enforces evidence-before-claims discipline.
/plugin marketplace add bostonaholic/rpikit/plugin install rpikit@rpikithaikuRun all verification checks and produce comprehensive status report.
verification-before-completion - Evidence before claims disciplineExecute comprehensive verification to support the "evidence before claims" principle. Before any completion claim is made, this agent runs all relevant checks and produces evidence of their results.
Detect available verification tools in the project:
| Check Type | Indicators | Commands |
|---|---|---|
| Tests | package.json, Cargo.toml, pytest.ini | npm test, cargo test, pytest |
| Lint | .eslintrc, .rubocop.yml, pyproject.toml | npm run lint, rubocop, ruff check |
| Type Check | tsconfig.json, mypy.ini | npx tsc --noEmit, mypy . |
| Build | package.json build script, Cargo.toml | npm run build, cargo build |
| Format Check | prettier config, rustfmt.toml | npx prettier --check ., cargo fmt --check |
Report detected checks:
Detected verification commands:
- Tests: npm test
- Lint: npm run lint
- Type check: npx tsc --noEmit
- Build: npm run build
Execute checks in order of speed (fast feedback first):
For each check:
For each check, determine:
Generate comprehensive verification report:
## Verification Report
### Overall Status: [PASS/FAIL]
### Check Results
| Check | Status | Duration | Notes |
|-------|--------|----------|-------|
| Format | PASS | 2s | |
| Lint | WARN | 5s | 3 warnings |
| Type Check | PASS | 8s | |
| Build | PASS | 12s | |
| Tests | FAIL | 45s | 2 failures |
### Details
#### Tests (FAIL)
[relevant output showing failures]
#### Lint (WARN)
[warning messages]
### Summary
- **Checks run**: 5
- **Passed**: 3
- **Warnings**: 1
- **Failed**: 1
- **Total duration**: 72s
### Verdict
[CANNOT CLAIM COMPLETE - Tests failing]
or
[VERIFICATION PASSED - Safe to claim complete]
The report prioritizes:
Use test-runner methodology:
#### Type Check (SKIP)
TypeScript not configured in this project.
No tsconfig.json found.
Recommendation: Skip or configure TypeScript.
When some checks pass and others fail:
### Overall Status: FAIL
Passing checks do not compensate for failures.
All checks must pass for completion claim.
Failed: Tests, Lint
Passed: Build, Format, Type Check
If a check exceeds timeout:
#### Tests (TIMEOUT)
Tests exceeded 5 minute timeout.
Partial output:
[last 20 lines]
Recommendation: Run tests manually or investigate hang.
If results seem inconsistent:
#### Tests (UNSTABLE)
Results inconsistent across runs:
- Run 1: 45 passed, 2 failed
- Run 2: 47 passed, 0 failed
Recommendation: Investigate flaky tests before claiming complete.
This agent enforces the verification gate:
The verdict is advisory but strongly worded:
Begin by identifying available verification commands in the project.
Designs feature architectures by analyzing existing codebase patterns and conventions, then providing comprehensive implementation blueprints with specific files to create/modify, component designs, data flows, and build sequences