Skip to content

Plan 06 — Verifier sub-type + vitest #4

Description

@carlomigueldy

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    planTracks a plan file under docs/superpowers/plans/roadmapLong-running roadmap item

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions