canvas
Launch the Momentum Cycle live dashboard (Hono+Bun, port 3456). Checks if running, starts if not; opens http://localhost:3456 in the viewer pane.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-09
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- spec-audit-tasks
- description
- After an implement step, audit that every task was genuinely completed — catch skipped tasks, stubbed work, missing tests, unimplemented spec requirements. Works with structured (tasks.md) and design-doc layouts; auto-discovers or takes paths. Invoke right after the implement step finishes.
02 资源文件 9
- 参考文档agents/openai.yaml43 B
- 其他bun.lock326 B
- 参考文档evals/eval-canvas-opens-server-when-not-running.md547 B
- 参考文档evals/eval-canvas-skips-start-when-already-running.md482 B
- 参考文档evals/evals.json1.7 KB
- 参考文档package.json283 B
- 脚本server.test.ts40.6 KB
- 其他server.tsx79.7 KB
- 参考文档workflow.md2.7 KB
03 SKILL.md 正文
Task-Completion Audit
An implement step ticks tasks done as it goes, but a checked box is a claim, not proof. This skill verifies the claim: it walks every task in the task list and looks for real evidence of completion — the code exists, the tests it promised exist and pass, the spec requirement it maps to is actually satisfied, and no placeholder was left behind. It runs right after implementation so gaps surface while the work is fresh, before the change is committed and assumed done.
Analysis-only: it reports gaps, it never edits code or the task list. Fixing is the implementer's call — this skill's job is to tell the truth about what is actually finished.
Procedure
-
Locate the artifacts per
../../runtime/references/spec-artifact-discovery.md(explicit paths win, else detect the layout):- structured: the task list is
tasks.mdinside the spec's feature directory (specs/<NNN-slug>/, newest by name sort, or a caller-supplied path). - design-doc: there is no
tasks.md— the spec is the newestdocs/design/specs/*-design.mdand the task list is embedded in the newestdocs/design/plans/*.md. Parse the plan's checkbox/numbered tasks.
If no task list can be found in either layout, report there is nothing to review (implementation may not have generated tasks) and stop.
- structured: the task list is
-
Enumerate tasks. Parse the task list into
{id, description, checkbox-state, referenced files/tests}. Note which are marked done ([x]) vs open ([ ]). -
Verify each task against evidence — one at a time. A checkbox is not evidence. For each task, confirm:
- Artifact exists — the file(s)/symbol(s) the task describes are actually present in the working tree, not merely planned.
- Tests are real and green — any test the task promised exists and passes. Run
/manifest-code-quality:project-verify(or the task's specific test) rather than trusting the box; test/security failures are blocking, lint is advisory. - No stub left — no
TODO/FIXME/pass/NotImplemented/placeholder sitting where the task required real behavior. - Requirement satisfied — the spec requirement (FR-*) or acceptance scenario the task maps to is genuinely met, not just touched.
Where there are many independent tasks, fan the per-task verifications out in parallel (one subagent per task or per cluster) and aggregate. The checks are independent, so this is faster and keeps each verdict isolated from the others.
-
Cross-check coverage between the spec and the task list:
- Orphan requirements — any FR-*/acceptance scenario with no implementing task.
- Orphan tasks — any task that maps to no requirement (possible scope creep).
Use the spec↔task-list relationship for the active layout: structured is spec ↔ plan ↔ tasks; the design-doc layout is spec ↔ plan (with the tasks embedded in that plan).
-
Classify and report. Give every task one of: DONE (verified), INCOMPLETE (marked done but evidence missing), SKIPPED (still open), or UNVERIFIABLE (needs a human/manual check — e.g. a live external dependency). Then state the summary verdict.
Output template
ALWAYS use this structure so the gap between claimed and actual is unmistakable:
## Task-completion audit — <feature/plan name>
**Verdict:** <ALL VERIFIED | GAPS FOUND (<n> incomplete, <m> skipped)>
| Task | Claimed | Verified | Evidence / Gap |
|------|---------|----------|----------------|
| T001 | [x] | ✅ DONE | <file + passing test> |
| T0xx | [x] | ❌ INCOMPLETE | <what's missing> |
| T0yy | [ ] | ⏭️ SKIPPED | <not implemented> |
**Coverage gaps:**
- Orphan requirements (no task): <FR-… or "none">
- Orphan tasks (no requirement): <T… or "none">
**Punch list (finish before this is done):**
1. <task id> — <concrete fix>
Notes
- Evidence over checkboxes is the entire point. If a task can only be confirmed by its
checkbox, it is
UNVERIFIABLE, notDONE— say so plainly rather than rubber-stamp it. - Analysis-only, which is what makes it safe to auto-run: it never edits code or re-checks boxes. It produces the punch list; the implementer (or a follow-up implement pass) acts on it.
- Invoke it right after the implement step — gaps are cheapest to fix while the work is fresh and before it is committed. It re-audits any time.
- Complements
/manifest-code-quality:project-verify(deterministic lint/test/scan) and the cross-artifact consistency pass (/manifest-spec-planning:spec-review): this skill is specifically about did we actually finish every task.
Sub-agent dispatch
Follow the shared dispatch contract. Each assigned unit verifies its bounded task group; the parent records statuses from directly validated evidence.
04 同仓库更多 Skills
upstream-fix
Traces quality failures upstream to spec, rule, or workflow root cause. Proposes fixes at the right level.
triage
Dedup gate + batch-classify observations into five classes, enrich ARTIFACTs, batch-approve, delegate to intake/decision or queue.
sprint-planning
Sprint planning — story selection, team composition, Gherkin specs, and visual companion plan gate for developer sign-off.
sprint-manager
Sole writer of stories/index.json and sprints/index.json — validates state transitions, activates sprints, manages epic membership.
sprint-dev
Sprint execution — dependency-driven story development, post-merge AVFL, and team review.
retro
Sprint retrospective — transcript audit engine (dynamic Workflow), story verification, findings document, and sprint closure.