Verify Task
Closes the loop between a work item's claimed acceptance and what's actually proven. Reads
the V-* rows cited in the issue's ## Validation section (per the work-item template),
looks each up in VALIDATION.md, runs the proof, reports green/red.
When to use
- A PR is about to claim
Closes #N and you want to confirm the cited validation rows are
actually green.
- A user asks "is this issue really finished?"
When NOT to use
- For an issue that cites no
V-* rows (pure-doc work). There's nothing to run.
- As a substitute for code review.
Procedure
Resolve the work item. An issue number → gh issue view <n> and pull the V-* IDs
from its ## Validation section — falling back to scanning acceptance bullets for older
issues that predate the template (also check any archived tasks/done/T-*.md file the
issue names as its full spec). T-0037 → read
tasks/T-0037-npm-prerelease-dist-tag-channel.md frontmatter directly (the one
still-in-flight file-based task).
Look up each V-* in VALIDATION.md. Pull the Proven by, Status, and
Tracked by columns. This tells you whether the invariant is already enforced,
non-blocking, CI-only, or still a declared gap.
Run the proof.
Run make verify — it covers V-typecheck, V-lint, V-unit, V-tool-registry, and V-retrieval-floor in one command (requires a populated DB). It runs bun test src/mcp-contract.test.ts without ROSETTA_REAL_DB_TESTS=1, so the real-DB blocks behind V-tool-shapes and V-tool-budget are skipped — run those separately with ROSETTA_REAL_DB_TESTS=1 bun test src/mcp-contract.test.ts against a populated DB. For CI-only invariants (V-db-min-content, V-bunx-*) there is no local equivalent; those are only proven by a release run.
For more targeted checks, map common V-* IDs to commands:
| V-* ID |
Command |
| V-typecheck |
bun run typecheck |
| V-lint |
bun run lint |
| V-unit |
bun test |
| V-tool-registry |
bun test src/mcp-contract.test.ts (Block A, always runs) |
| V-tool-shapes |
ROSETTA_REAL_DB_TESTS=1 bun test src/mcp-contract.test.ts (Block C, needs populated DB) |
| V-tool-budget |
ROSETTA_REAL_DB_TESTS=1 bun test src/mcp-contract.test.ts (Block B, needs populated DB) |
| V-retrieval-floor |
bun run src/eval/retrieval.ts |
| V-retrieval-self |
bun run src/eval/self-supervised.ts |
| V-canonicalize |
bun test src/canonicalize.test.ts src/canonicalize.fuzz.test.ts |
| V-classifier |
bun test src/classify.test.ts |
| V-schema-roundtrip |
bun test src/schema-roundtrip.test.ts |
| V-extract-videos |
bun test src/extract-videos.test.ts |
| V-http-handshake |
bun test src/mcp-http.test.ts |
| V-stdio-handshake |
bun test src/mcp-stdio-client.test.ts |
| V-tui-mcp-parity |
bun test src/browse-parity.test.ts |
| V-cli-flag-uniformity |
bun test src/cli-help.test.ts |
| V-db-wipe-guard |
bun test src/query.test.ts |
| V-release-structure |
bun test src/release.test.ts |
For V-bunx-* and V-db-min-content rows, the proof lives in release.yml — these can't be cleanly run locally. Note that explicitly: "this V-* is verified by CI on the next release run."
If a row is currently GAP in VALIDATION.md:
- If the work item under review is the one named in
Tracked by, verify that the PR adds the missing proof and updates the row away from GAP.
- Otherwise report the row as an unresolved gap and do not recommend closing the issue.
Report. For each V-*:
- ✓ pass — quote the relevant
Proven by description so the user knows what just ran.
- ✗ fail — surface the test output's failure summary.
- ⊘ CI-only — explain that this row is verified on
workflow_dispatch of release.yml; can't be checked locally.
- ⚠ GAP — explain that the invariant is not yet proven, quote
Tracked by, and only consider it satisfied if the current work item is the one closing that gap.
Conclusion. Recommend merging (and letting Closes #N fire) only if every row is
green or legitimately CI-only. If any row is failing or still GAP, don't recommend it —
point at the missing proof or failing acceptance criterion. If acceptance is only
partially met, remind that follow-up issues must be opened before merge
(issue-pr-linking.instructions.md).
Output format
Issue: #19 — extractor safe import pattern
Validation rows: V-db-wipe-guard
V-db-wipe-guard: ✓ pass
Proven by: bun test src/query.test.ts (wipe-guard block)
Conclusion: rows green. PR may claim Closes #19 once acceptance bullets are all delivered.
What this skill does NOT do
- Close issues or open/merge PRs.
- Run
release.yml — the user has to dispatch that themselves.
1---2name: verify-task3description: Verify a work item is actually done by running the V-* validation rows its issue cites. Maps V-* IDs to the CI step / test command via VALIDATION.md, runs them, reports pass/fail per row.4---56# Verify Task78Closes the loop between a work item's claimed acceptance and what's actually proven. Reads9the `V-*` rows cited in the issue's `## Validation` section (per the work-item template),10looks each up in `VALIDATION.md`, runs the proof, reports green/red.1112## When to use1314- A PR is about to claim `Closes #N` and you want to confirm the cited validation rows are15 actually green.16- A user asks "is this issue really finished?"1718## When NOT to use1920- For an issue that cites no `V-*` rows (pure-doc work). There's nothing to run.21- As a substitute for code review.2223## Procedure24251. **Resolve the work item.** An issue number → `gh issue view <n>` and pull the `V-*` IDs26 from its `## Validation` section — falling back to scanning acceptance bullets for older27 issues that predate the template (also check any archived `tasks/done/T-*.md` file the28 issue names as its full spec). `T-0037` → read29 `tasks/T-0037-npm-prerelease-dist-tag-channel.md` frontmatter directly (the one30 still-in-flight file-based task).31322. **Look up each `V-*` in `VALIDATION.md`.** Pull the `Proven by`, `Status`, and33 `Tracked by` columns. This tells you whether the invariant is already enforced,34 non-blocking, CI-only, or still a declared gap.35363. **Run the proof.**3738 Run `make verify` — it covers V-typecheck, V-lint, V-unit, V-tool-registry, and V-retrieval-floor in one command (requires a populated DB). It runs `bun test src/mcp-contract.test.ts` *without* `ROSETTA_REAL_DB_TESTS=1`, so the real-DB blocks behind V-tool-shapes and V-tool-budget are **skipped** — run those separately with `ROSETTA_REAL_DB_TESTS=1 bun test src/mcp-contract.test.ts` against a populated DB. For CI-only invariants (V-db-min-content, V-bunx-*) there is no local equivalent; those are only proven by a release run.3940 For more targeted checks, map common `V-*` IDs to commands:4142 | V-* ID | Command |43 |------------------------|---------|44 | V-typecheck | `bun run typecheck` |45 | V-lint | `bun run lint` |46 | V-unit | `bun test` |47 | V-tool-registry | `bun test src/mcp-contract.test.ts` (Block A, always runs) |48 | V-tool-shapes | `ROSETTA_REAL_DB_TESTS=1 bun test src/mcp-contract.test.ts` (Block C, needs populated DB) |49 | V-tool-budget | `ROSETTA_REAL_DB_TESTS=1 bun test src/mcp-contract.test.ts` (Block B, needs populated DB) |50 | V-retrieval-floor | `bun run src/eval/retrieval.ts` |51 | V-retrieval-self | `bun run src/eval/self-supervised.ts` |52 | V-canonicalize | `bun test src/canonicalize.test.ts src/canonicalize.fuzz.test.ts` |53 | V-classifier | `bun test src/classify.test.ts` |54 | V-schema-roundtrip | `bun test src/schema-roundtrip.test.ts` |55 | V-extract-videos | `bun test src/extract-videos.test.ts` |56 | V-http-handshake | `bun test src/mcp-http.test.ts` |57 | V-stdio-handshake | `bun test src/mcp-stdio-client.test.ts` |58 | V-tui-mcp-parity | `bun test src/browse-parity.test.ts` |59 | V-cli-flag-uniformity | `bun test src/cli-help.test.ts` |60 | V-db-wipe-guard | `bun test src/query.test.ts` |61 | V-release-structure | `bun test src/release.test.ts` |6263 For `V-bunx-*` and `V-db-min-content` rows, the proof lives in `release.yml` — these can't be cleanly run locally. Note that explicitly: "this V-* is verified by CI on the next release run."6465 If a row is currently **`GAP`** in `VALIDATION.md`:66 - If the work item under review is the one named in `Tracked by`, verify that the PR adds the missing proof and updates the row away from `GAP`.67 - Otherwise report the row as an unresolved gap and do **not** recommend closing the issue.68694. **Report.** For each `V-*`:70 - ✓ pass — quote the relevant `Proven by` description so the user knows what just ran.71 - ✗ fail — surface the test output's failure summary.72 - ⊘ CI-only — explain that this row is verified on `workflow_dispatch` of release.yml; can't be checked locally.73 - ⚠ GAP — explain that the invariant is not yet proven, quote `Tracked by`, and only consider it satisfied if the current work item is the one closing that gap.74755. **Conclusion.** Recommend merging (and letting `Closes #N` fire) only if every row is76 green or legitimately CI-only. If any row is failing or still GAP, don't recommend it —77 point at the missing proof or failing acceptance criterion. If acceptance is only78 *partially* met, remind that follow-up issues must be opened before merge79 (`issue-pr-linking.instructions.md`).8081## Output format8283```text84Issue: #19 — extractor safe import pattern85Validation rows: V-db-wipe-guard8687V-db-wipe-guard: ✓ pass88 Proven by: bun test src/query.test.ts (wipe-guard block)8990Conclusion: rows green. PR may claim Closes #19 once acceptance bullets are all delivered.91```9293## What this skill does NOT do9495- Close issues or open/merge PRs.96- Run `release.yml` — the user has to dispatch that themselves.