Repository navigation
v0.11.1 — implement skill, plan-review gate, monorepo validate
Combined release: v0.11.0 + v0.11.1.
Closes the pipeline gaps that let an end-to-end run ship four critical bugs with green unit tests: the plan drifted from the investigation (topology flipped to sync RPC, an invented downstream method, dropped snapshot reuse) and the code drifted from the plan (nil-wired gateway, a declared event with no emit site on the retry path, a new field that never reached the public edge, dedup marked before its side effects) — and no checkpoint caught either drift. Theme: persist the plan, review it independently, and prove plan↔code conformance before calling the work done.
Added (0.11.0)
/archspec:implement+architecture-implementskill — the write-side counterpart of investigate. Consumes the.archplan.mdartifact (refuses without one), applies the YAML patch and re-syncs generated docs before coding, writes a coding plan with a conformance table (archplan element → task → test) and a method-existence gate (every downstream call greps to a real contract/proto method), implements with TDD, then runs five conformance passes: nil-wiring in composition roots, declared events without emit sites, new fields not threaded end-to-end (incl. seeds/fixtures), dedup marked before side effects, and a requirement→file:line evidence table. Finishes with monorepo/archspec:validate+/archspec:check-architectureand an independent fresh-context diff review (Implement-review: CLEAN after <N> round(s)). Commits, never pushes.- Persisted archplan artifact in
architecture-investigate(step 9b) — the full output contract is written todocs/plans/<date>-<slug>.archplan.md, the only file the skill writes. The plan-writer and implementation subagents read files, not chat history. - Independent plan-review gate (step 9c) — a fresh-context reviewer subagent adversarially grades the archplan against a 10-point rubric (requirement trace, no invented methods, reuse-vs-recompute, batch endpoints, topology & ownership, end-to-end field threading incl. seeds, dedup & atomicity, no surviving
# UNCONFIRMED, terminal branches, diagram↔YAML conformance). REVISE loops are bounded at 3 rounds, then findings escalate to the user. Always emitsPlan-review: APPROVED after <N> round(s), <summary>.
Changed (0.11.0)
- The investigate change diagram is now a
sequenceDiagram(sync->>vs async-),alt/elsefor every terminal branch,%% newmarkers); a flowchart is allowed only for intra-service branch logic. /archspec:validateis monorepo-aware — discovers every*/docs/SERVICE_MAP.yaml(no root-contract assumption), runs the per-language linters per service with that service's contract and code dir, and groups the report per service.- Plugin assets resolve via
ARCHSPEC_ROOT="${CLAUDE_PLUGIN_ROOT:-$CLAUDE_PROJECT_DIR}"invalidate,check-architecture, andarchitecture-sync— when archspec runs as an installed plugin,CLAUDE_PROJECT_DIRpoints at the consumer repo, which has nobin/,hooks/, orlinters/. architecture-syncdocuments the monorepo discipline: sync runs from each service's directory; only check-architecture runs from the repo root.
Changed (0.11.1)
- Plan-review rubric: per-attempt identity rule — any ID reused across retry/reassignment attempts must be regenerated per attempt or be part of every consumer's dedup key; "dedup on
<ID>remains, no key change" in a retry loop is a REVISE. - Implement conformance passes: wiring pass verifies client default addresses/ports against the target service's actual listen port; threading pass requires declared public routes to match the router registration string-for-string (proved by a handler test on the documented path); dedup pass traces a literal second-attempt event through every consumer's dedup logic.
- Solo degradation made visible: when the executing agent cannot dispatch subagents, both gates emit
Plan-review: SELF-ONLY .../Implement-review: SELF-ONLY ...instead of APPROVED/CLEAN.
Field validation
Tested end-to-end on a 12-service Go monorepo (Smart Task Reassignment): the plan-review gate caught a BLOCKING or MAJOR finding in each of 4 rounds (unimplementable recompute fallback; dedup mark before side effects; JetStream delivery semantics assumed on core NATS; dedup-key collision between sibling topics in one store). The resulting implementation graded 0 CRITICAL / 0 HIGH against the reference rubric.