verify
Use when asked "is it fixed?", "tested?" or "can we close it?", or to check a claim, and before calling work done or fixed, even if told to skip tests; prove it fresh, failing before the fix and passing after, and doubt it. Do NOT use for an unknown failure (use `diagnose`) or the PR (use `ship`).
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- verify
- description
- Use when asked "is it fixed?", "tested?" or "can we close it?", or to check a claim, and before calling work done or fixed, even if told to skip tests; prove it fresh, failing before the fix and passing after, and doubt it. Do NOT use for an unknown failure (use `diagnose`) or the PR (use `ship`).
03 SKILL.md 正文
Verify
Overview
- You MUST run
anneal task done <id> -- <test command>after the last source edit and before writing done, fixed or passing, and back any verdict with a test of the claim's case, red before any fix (a hand or scratch-copy check is not a test); thecompletenesshook blocks the claim until a green run is newer than the edit. - You MUST remove every
[DEBUG-<id>]tag untilanneal repro leftoversexits 0; thecompletenesshook blocks while one is left. - You MUST end every doubt-pass reviewer's reply with a Status block (
Status:DONE, DONE_WITH_CONCERNS, NEEDS_CONTEXT or BLOCKED, then Gate, Review, Changed, Decisions needed, Not verified); thestatushook records each one.
When to use
- Work looks finished and you are about to say so.
- Not for an unknown failure (
diagnose), planning (plan) or the pull request (ship).
Process
- Find the contract. Read the decision and spec rows the claim depends on (a decisions-log row in an
AGENTS.md, say) and cite each byfile:line. Search for the exact row;grep | headcan bury it. It's working if every row you judge against is cited. - Run the tests fresh. Run
anneal task done <id> -- <test command>;<id>is the task id or a short name. A run that reached no test (No module named pytest) is not evidence; use the project's own runner (python3 -m unittest). The suite is not enough: run the claim's own case (for a cap, a file one past it), writing a repo test if none covers it; see it red before trying any patch anywhere. It's working if a fresh run after your last edit exercised the claim's case. - Clear leftovers, run the gate. Run
anneal repro leftovers, andtemper:gatein a Rust repository. It's working if both pass. - Doubt pass. Run
anneal verify riskfirst; on exit 3, skip to step 6 and say so. Hand reviewer subagents the diff, its files and the contract (step 1's rows, the task's test, the plan), never your claim. Ask each for findings asfile:line, what is wrong and why. It's working if each reviewer got files, not your conclusions. - Triage. Reject every finding without a
file:line. Fix each one you accept, then go back to step 2. It's working if a cycle ends with no accepted finding within 3; after the third, hand the open findings to the human. - Report. Claim only what the ledger shows: name the green
test_run, the gate result and any open finding. It's working if every claim points to evidence.
Rationalizations
| Excuse | Reality |
|---|---|
| "The tests passed an hour ago" | An edit since makes it stale. |
| "I'll tell the reviewer what I changed" | A reviewer told the conclusion looks for it. |
| "CI will catch it" | CI runs after the claim. |
| "The lead said skip the tests" | Write and run the test anyway; a skip does not prove the claim. |
| "We ship in 5 minutes" | A run takes seconds. |
| "You only asked to verify" | Testing it in the repo is verifying, not fixing. |
Red flags
- A "not fixed" or "not verified" argued from code, with no run of the case.
Verification
anneal ledger tailshows a greentest_runnewer than the last source change.anneal repro leftoversexits 0, and in a Rust repositorytemper:gateis green.anneal ledger query --type subagent_statusshows each reviewer's status.
04 同仓库更多 Skills
write-skill
Use to write or change a skill test-first, even if the change looks like a wording fix; watch a case fail with no guidance, then pass Tiers 0 to 3 before merge. Do NOT use for turning a correction into a check (use `correct`) or building code (use `build`).
spec
Use when requirements are agreed, even if the spec seems obvious; write the spec or its acceptance criteria (EARS, SHALL), Out of Scope and the constitution check of its gates. Do NOT use for a new or vague request (use `grill`) or splitting a spec into tasks (use `plan`).
ship
Use when a change needs a pull request, review verdict or depth, merge, schema migration, rollout, canary or rollback, even if it looks safe; decide GO or NO-GO only with a rollback ready. Do NOT use for proving work done or passing (use `verify`) or a failure with an unknown cause (use `diagnose`).
plan
Use when a spec is ready, even if the work seems obvious; split it into tasks, each with its files, one test command and which tasks block it, then get the plan approved. Do NOT use for writing the spec (use `spec`), a new or vague request (use `grill`) or building an approved task (use `build`).
orchestrate
Use to run an approved plan's ready tickets across subagents, even when fanning out looks obvious; park one-way calls in weigh-in and rule on the rest. Do NOT use for one task (use `build`) or splitting work into tickets (use `plan`).
handoff
Use at a phase boundary or when the context monitor warns, even if the context still seems roomy; choose continue, clear, hand off, a subagent or compact, and put what must survive on disk. Do NOT use for proving work done (use `verify`) or splitting work into tasks (use `plan`).