v3.2.0 — add execute-plan, closing the scaffold → plan → build chain - #3
Closed
melconcoast wants to merge 2 commits into
Closed
v3.2.0 — add execute-plan, closing the scaffold → plan → build chain#3melconcoast wants to merge 2 commits into
melconcoast wants to merge 2 commits into
Conversation
…ld chain `plan-module` leaves a plan file full of `[ ]` items and nothing closed them. `execute-plan` is that missing third step, and with it no skill name in this plugin is reserved-but-unbuilt any more. It works the file in a strict micro-loop — select the first open task, implement only what its *Details* names, write the test code its scenarios describe, run it until green, then update the plan file before looking at the next task. Never a whole phase at once, because a plan file that stops matching the code it describes is worse than no plan file. Each `Task X.V` gate runs the whole module's suite rather than that phase's tests alone, then stops to ask before the next phase; a phase boundary is the user's decision, not the agent's. Two things it does that the spec for it didn't originally call for, both closing loops nothing else could: - It bootstraps the test runner. In this chain a project starts with no code, so the first module usually has nothing to run and `scaffold` has left `## Commands` reading "not yet established". Setting up a runner that fits the stack the docs already chose, then writing the real commands back, is what makes `[x]` mean verified on a greenfield project at all. - It writes module progress back to `docs/development-roadmap.md`. Sub-modules move to `in progress` and `done` as phases close. Nothing else maintained those statuses, so a finished module read `planned` forever and the next `plan-module` run would be aimed at work already built. The vocabulary is not restated here. `plan-template.md` owns the glyphs and the counting rules, `templates.md` owns the roadmap statuses, and `references/progress-updates.md` only says how to apply them — declaring itself the bug if it ever disagrees. Same single-source discipline `plan-module` follows against the roadmap. Also specifies a phase's `Status:` forms in `plan-template.md`, which only ever wrote down the open one, and corrects the sample roadmap's Sub-Module 3.1 to `done` — the sample plan closes Phase 1, so it was internally inconsistent before there was a rule to catch it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Both defects came out of running the new skill against a real fixture rather than reasoning about it. `scaffold`'s templates.md already called the roadmap `Status` a closed vocabulary, but never said the value is the word *alone*. So the first live run wrote `done (server-side only — see Sub-Module 2.2)` and `[x] Done (rebuilt and re-closed 2026-08-22)` — both of which read as reasonable prose and both of which break exactly the parse a fifth status word would. `execute-plan` is the parser they break. Said plainly now in both vocabulary owners, with the caveat directed to the Progress Log where a reader will actually find it. S67 sharpened, S82 and S83 added. The second run then surfaced a genuine ambiguity: Fixture G's Phase 1 is marked closed but its code was never written, and the two runs resolved that differently — one rebuilt the phase, one reported and stopped. Stopping is right, and now it is mandated rather than luck. Building on a false closure is unsafe; silently repairing it is worse, because reopening a phase the file calls done is the user's decision and rewriting the record erases the evidence that it was ever wrong. S84 describes the behavior the skill actually requires. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #2 — merge that first, and this PR's base will retarget to
master.plan-moduleleaves a plan file full of[ ]items and nothing closed them.execute-planis that missing third step, and with it no skill name in this plugin is reserved-but-unbuilt any more.The skill
It works a plan file in a strict micro-loop: select the first open task, implement only what its Details names, write the test code its plain-English scenarios describe, run it until green, then update the plan file — before looking at the next task. Never a whole phase at once, because a plan file that stops matching the code it describes is worse than no plan file. Each
Task X.Vgate runs the whole module's suite rather than that phase's tests alone, then stops to ask before the next phase.Two things it does that weren't in the original spec, both closing loops nothing else could:
scaffoldhas left## Commandsreading "not yet established". Setting up a runner that fits the stack the docs already chose, then writing the real commands back, is what makes[x]mean verified on a greenfield project at all.in progressanddoneas phases close. Nothing else maintained those statuses, so a finished module readplannedforever and the nextplan-modulerun would be aimed at work already built.One deliberate departure from the spec as written
The spec restated the four-state checkbox vocabulary in full.
AGENTS.mdandCONTRIBUTING.mdmakeplan-template.mdits single source — the same rule that keepsplan-modulefrom restating the roadmap format, for the same reason: change it in one place and the other breaks silently, with nothing erroring. Soreferences/progress-updates.mdonly says how to apply the two vocabularies it depends on, and declares itself the bug if it ever disagrees with either. Same behavior, one source of truth.Verification
CI gates locally: three skills, names matching directories, descriptions at 857/861/1007 characters (limit 1024), 63/61/119 lines (ceiling ~150),
plugin.jsonat 3.2.0, zero broken links,execute-plan.skillpackages cleanly from the existingskills/*/SKILL.mdglob with no workflow change.Behaviorally, against the installed 3.2.0 plugin in fresh headless sessions:
execute-plantrigger phrases fire it.scaffoldphrases and all fourplan-modulephrases still reach the skill they always did. Three descriptions now compete for the same requests, so this was the main risk. 8/8 clean.## Files Modified, and wrote the sub-module status back to the roadmap.Two defects the runs caught, both fixed here
Running it beat reasoning about it, twice:
done (server-side only — see Sub-Module 2.2)and[x] Done (rebuilt and re-closed 2026-08-22). Both read as reasonable prose; both break exactly the parse a fifth status word would, andexecute-planis the parser they break.templates.mdcalled the vocabulary closed but never said the value is the word alone. Now stated in both owners, with caveats directed to the Progress Log. Re-ran after the fix — every status came back bare.Also specifies a phase's
Status:forms inplan-template.md, which only ever wrote down the open one, and corrects the sample roadmap's Sub-Module 3.1 todone— the sample plan closes Phase 1, so it was internally inconsistent before there was a rule to catch it.🤖 Generated with Claude Code