v3.0.0
3.0.0
Three-command split, a harness-agnostic rewrite, and a de-overlapped
review layer. The loop is now /spec -> /plan -> /implement, mapping to
three gates (spec validation, plan review, code review) one gate per
command, with a convergence back-edge where /implement re-runs the
plan-review gate in-session. This release rolls up every change since
2.5.0. Breaking change: /implement no longer plans.
Added
/planskill: decomposes a spec into an ordered, dependency-aware
chunk plan, writes the JSON tracker, and runs thereview-plangate
before any code is written. This is the old/implementPhases 1-2.5
(analysis, chunk decomposition, dependency graph, tracker creation,
plan-review gate), promoted from a buried mid-/implementcheckpoint to
a first-class command. The plan-review gate is the most important
checkpoint in the loop, now its own visible step.- Convergence back-edge: when a code-time finding (Phase 3) reveals
that the plan was wrong (not just the code),/implementappends
corrective chunks to the tracker and re-gates in-session by spawning the
review-planagent directly (not by re-invoking/plan, which would
regenerate the tracker), preserving completed chunks and looping under a
bounded guard until the plan and code converge./plangained a
/spec-style detect-existing-tracker branch so a re-run merges into the
existing tracker instead of resetting completed work. spec_doctracker field:/planrecords the source spec path so
/implementandreview-implbind to the exact spec instead of
globbing the spec directory (sharpens spec -> tracker traceability).- Shared concern vocabulary: the seven concerns common to
review-plan
(plan-time) and the Phase 3 checklist (code-time) are now documented as
one vocabulary inquality-checklist.md, so the reviewers speak the same
language at both altitudes (the eighth concern is phase-specific: TDD
Quality of the plan vs Blindspots in the code). - Three-state acceptance-criteria verification:
review-impl
classifies each criterion CONFIRMED / PLAUSIBLE / REFUTED, each backed by
a quoted line, recall-biased (default PLAUSIBLE; only CONFIRMED when a
real test would go red on regression). Ported from thered-team
verification model. - Spec validation evidence rule: every WARN/FAIL in the spec
validation checklist must quote the exact spec line it refers to, the
same discipline the review agents apply to code. - validate.sh checks: a harness-agnosticism check fails if any
harness-specific mechanic (Shift+Tab,Ctrl+G,/compact,/rename,
--resume, and similar) reappears in the skill or agent prose; the
structural suite (~220 checks) also enforces the three-skill layout,
phase sequencing, JSON validity, no project-specific leaks, and no em
dashes in any published file. - Empirical validation: the higher-risk changes, the
review-impl/red-teamde-overlap (does a defect ever fall between
them?) and the three-state false-positive catch, were validated with an
A/B eval harness over seeded fixtures rather than by inspection alone.
Changed
/implementis now build-only (3 phases): Load the Plan (locate the
tracker, hard-stop unless itsplan_reviewgate passed, orient on the
next chunk), TDD Cycle per chunk (red/green/verify), and Quality
Verification (8-point checklist + parallelreview-impl+red-team
gate). It refuses to start the TDD cycle on a tracker whoseplan_review
is missing or FAIL, telling the user to run/planfirst./spechands off to/planinstead of/implement; its downstream
mapping now routes spec sections to/plan(analysis, chunking) and
/implement(tests) phases.- Plan artifacts moved with the plan:
tracker-schema.mdand
chunk-template.mdnow live underskills/plan/references/;
quality-checklist.mdstays underskills/implement/references/(it is
the Phase 3 code checklist). Each skill cross-references the one shared
file it needs. - review-impl narrowed to a conformance gate: it verifies plan match,
acceptance criteria (with quoted test evidence), test quality, and
regression only. Adversarial correctness, robustness/blindspots,
standards violations, and cleanup are deferred tored-team, which
already does them better. This removes the overlap between the two
Quality-Verification reviewers while preserving their
conformance-vs-correctness separation. - Harness-agnostic instructions: removed terminal-specific mechanics
from the skill prose in favor of portable behavior. Plan presentation
states the principle (planning is read-only; present a plan; get explicit
approval) and lets the harness supply the mechanism; context management
and session resumption describe the intent instead of naming specific
keystrokes or commands. Exploration and check-running steps use
conditional phrasing: use a subagent or parallel-tool capability if the
harness has one, otherwise sequential is the default. The workflow tables
are retitled "Mapping to the Explore -> Plan -> Code Loop" with no harness
brand in the header. - review-plan / review-impl repointing:
review-plan's description now
says "in the /plan skill"; both agents read "the project's engineering
PROJECT.md" rather than "PROJECT.md in the skill directory" (there are
now three skills);review-impl's Criterion 5 and the checklist
reference/implementPhase 3 (Quality Verification). Agent names are
unchanged (review-plan,review-impl,red-team). - review-plan Criterion 1 renamed "Scope, Completeness & Traceability"
with explicit spec -> plan -> tracker forward/backward traceability
language. - Scaffolding trim: default to continuing multi-chunk work in one
session rather than resetting between chunks; reset only when context
degrades. Chunk decomposition prefers the fewest independently-testable
chunks.
Migration
- The workflow gains one user-invoked step: after
/spec, run/plan,
then/implement. Trackers created by an older/implementrun without
aplan_reviewfield will be refused by the new/implement; run
/plan(pointed at the existing tracker/spec) to gate them, or set
plan_reviewmanually if the plan was already reviewed. Hand-setting
plan_review: "PASS"bypasses the review-plan gate:/implementtrusts
the field and cannot tell a gate-written verdict from a typed one.
Fixed (design stress-test)
Hardening from an adversarial review of the whole v3.0.0 design:
- Plan-time gate crash-safety, the symmetric twin of the convergence
fix./plancreates the tracker withplan_review: "PENDING"(never a
pre-stampedPASS), writesFAILto disk before re-running on a gate
FAIL, and bounds the FAIL/re-run loop, so a crash mid-review can no
longer leave a stalePASSthat/implementwould build against. errorandin_progresschunks are no longer dead-ends.erroris
documented as non-terminal (re-entered likein_progress);/implement
Phase 1.3 validates the chunk graph (rejectingdepends_oncycles and
dangling ids); resumption re-enters an unfinished chunk before searching
for the nextpendingone, so a blocked feature is surfaced, not
silently left with the Phase 3 gate un-triggered.- Convergence re-gate loop is now counted.
convergence_roundsis
bumped before eachreview-planre-gate (not only when chunks are
appended), so the two-round cap bounds the re-gate loop too; a bail-out
cleanup path is documented. - Spec back-edge. A finding that an acceptance criterion itself is
wrong now routes to/spec(update mode) instead of into the plan gate
built to reject it. - Honest degradation without subagents / without a project rule file.
The gates document that a harness with no subagent capability degrades
to a non-isolated self-check;/implementPhase 3 covers standards and
architecture with a self-check when noPROJECT.md/CLAUDE.mdexists
(wherered-team's conventions angle would otherwise return nothing). - Docs. Softened the "1:1 gates" phrasing (
/implementtouches two
gates via convergence); README's table notes review-plan's convergence
spawn; tracker writes documented as atomic.