Plan file: docs/superpowers/plans/2026-05-23-plan-06-verifier-subtype-and-vitest.md
Tag at close: v0.0.6-plan-06
Depends on: Plan 05
Goal
Introduce the verifier adapter sub-type — adapters that execute a verification command, report exit code + structured output, and feed the orchestrator's state-machine gate. Ship @dycode/adapter-vitest and make task.verification actually gate active → passing transitions.
Deliverable
VerifierAdapter interface in @dycode/adapter-sdk (bumps to 0.2.0).
adapters/vitest package with JSON-reporter parsing.
orchestrator/verify.ts runs verifier, records verify_run evidence.
- State machine refuses
active → passing unless last verify_run exit code = 0.
- F31–F36.
Out of scope (deferred to later plans)
- Other verifiers (jest, tsc, eslint, playwright) → Plan 11
- Verifier output replay UI → Plan 13
- Cross-workspace verifier sharing → out of scope for v1
Workflow
- Branch from
main via superpowers:using-git-worktrees: feat/plan-06-verifier-subtype-and-vitest.
- One PR closes this issue — include
Closes #<this issue's number> in the PR description.
- Update
docs/superpowers/plans/README.md to move this plan from "not started" to "shipped" in the same PR.
- Final step is the close-out commit and
git tag v0.0.6-plan-06.
- All 5 quality gates apply (CONTRIBUTING.md).
Plan file:
docs/superpowers/plans/2026-05-23-plan-06-verifier-subtype-and-vitest.mdTag at close:
v0.0.6-plan-06Depends on: Plan 05
Goal
Introduce the verifier adapter sub-type — adapters that execute a verification command, report exit code + structured output, and feed the orchestrator's state-machine gate. Ship
@dycode/adapter-vitestand maketask.verificationactually gateactive → passingtransitions.Deliverable
VerifierAdapterinterface in@dycode/adapter-sdk(bumps to 0.2.0).adapters/vitestpackage with JSON-reporter parsing.orchestrator/verify.tsruns verifier, recordsverify_runevidence.active → passingunless last verify_run exit code = 0.Out of scope (deferred to later plans)
Workflow
mainviasuperpowers:using-git-worktrees:feat/plan-06-verifier-subtype-and-vitest.Closes #<this issue's number>in the PR description.docs/superpowers/plans/README.mdto move this plan from "not started" to "shipped" in the same PR.git tag v0.0.6-plan-06.