verifying-task-gates
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Use whenever an implementation task is about to be marked complete or handed to the next task, especially when correctness can be checked by tests, schemas, compilers, static checks, or contract assertions.
In this repository13 other files it gives its agents.
- accepting-contract-first-featuresSkill
- authoring-executable-contractsSkill
- designing-contract-first-featuresSkill
- developing-contract-first-featuresSkill
- executing-persistent-workstreamsSkill
- managing-contract-revisionsSkill
- planning-contract-workstreamsSkill
- review-agentSkill
- reviewing-and-freezing-contractsSkill
- reviewing-workstreamsSkill
- test-driven-developmentSkill
- verifying-contract-first-featureSkill
- verifying-runtime-integrationSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Every task completes through evidence, not self-assessment.
- Very specific: line 12
Use references/verification-report.template.md as the canonical verification report format when writing …
- Distinctive: line 22
Do not require application startup, browser automation, or full cross-cutting suites at task level unless the behavior itself owns such a …
- Distinctive: line 26
every verification layer assigned to the workstream in its Verification Obligations has executable evidence.
- Distinctive: line 33
Run the scope's declared verification.
- Very specific: line 41
Every check records: verification layer, command/check, expected result, actual result (PASS/FAIL/BLOCKED), scenario where applicable, and …
- Distinctive: line 58
If any blocking check fails, return to the same workstream owner for correction and rerun the failing/relevant checks.
- Distinctive: line 64
Never mark a task complete based only on code inspection, implementation-agent confidence, or tests that do not exercise its declared …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Verifying Task Gates
Every task completes through evidence, not self-assessment.
Output
Use references/verification-report.template.md as the canonical verification report format when writing .dream/specs/<feature>/evidence/task-verification.md.
Gate levels
Task level — after every changed behavior. Focused and cheap:
- focused tests for the changed behavior;
- relevant existing tests remain green;
- build/static verification required by the repository (compile/typecheck/lint).
Do not require application startup, browser automation, or full cross-cutting suites at task level unless the behavior itself owns such a boundary. Broader layers are workstream/feature obligations.
Workstream level — when a workstream claims completion:
- every verification layer assigned to the workstream in its Verification Obligations has executable evidence;
- typically required integration tests and executable contract checks owned by this workstream.
Feature level is governed by verifying-contract-first-feature.
Gate
Run the scope's declared verification. Typical evidence includes:
- unit/component tests;
- consumer/provider contract tests;
- compile/typecheck/lint/static analysis;
- migration/schema validation;
- focused state assertions.
Every check records: verification layer, command/check, expected result, actual result (PASS/FAIL/BLOCKED), scenario where applicable, and contract revision where applicable.
task: BE-03
scope: task
status: PASS
verified_against:
PRODUCT-DETAIL: 4
checks:
- name: PRODUCT-DETAIL-004
layer: contract
command: go test -run TestProductDetailLikeState ./internal/product/...
result: PASSA required verification layer that was not executed is NOT considered passed; report it BLOCKED with reason. Never convert BLOCKED into PASS.
If any blocking check fails, return to the same workstream owner for correction and rerun the failing/relevant checks. Do not spawn an LLM reviewer merely to confirm an objective pass/fail.
Review escalation
A normal-risk task that passes its deterministic gate can proceed without task-level LLM review. Use reviewing-workstreams immediately only when the task is marked high-risk or the verification reveals a semantic/architectural concern that cannot be decided objectively.
Never mark a task complete based only on code inspection, implementation-agent confidence, or tests that do not exercise its declared acceptance boundary.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

