Slim spec-to-plan master plan.md; lock the lean shape in evals#25
Merged
Conversation
The /spec-to-plan plan.md was an over-stated mirror of the bundle: the same task↔track↔FR↔TC↔status matrix appeared 3-4 times (Requirements Summary, Dependency Graph, a duplicate Execution Tracks section, Remaining Work per-task Scope, Test Plan, Task File Mapping), restating data the task frontmatter already holds authoritatively. Skill templates now make plan.md an orchestration overview, not a mirror — state each fact once: - step-3: Remaining Work collapses to one-liners (no per-task Scope, no TC-id exit lists); a single Task File Mapping table is the only per-task matrix; no separate Execution Tracks section; gates stated once; new "Mirroring frontmatter in prose" Common Mistake. - step-1: "The seams" promoted to an official optional subsection; noted as the single dependency-graph representation. - step-2: Test Plan is the single TC enumeration. - SKILL.md: states the orchestration-overview principle up front. Evals: EV-027 gains a fileContains shape check (single Task File Mapping table present; no Execution Tracks section) to lock in the slimming; spec matrix row updated to match. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
kreneskyp
force-pushed
the
slim-spec-to-plan-master-plan
branch
from
June 27, 2026 19:17
5cbed94 to
f4a07a3
Compare
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.
Why
The
/spec-to-planmasterplan.mdhad become an over-stated mirror of the bundle: the same task↔track↔FR↔TC↔status matrix was restated 3–4 times in prose (Requirements Summary, Dependency Graph, a duplicate Execution Tracks section, Remaining Work per-task Scope, Test Plan, Task File Mapping) — re-deriving data the task frontmatter already holds authoritatively (references/depends_on/verifies). On a 6-task plan that's ~160 lines, and it scales badly.Root cause was the skill's own step-1/2/3 output templates, which stacked the redundant sections; the generation then piled on more (a standalone Execution Tracks section the template never asked for, the gate stated twice, free-form The seams prose).
What
Make
plan.mdan orchestration overview, not a mirror — state each fact once.Skill templates (
skills/spec-to-plan/):Evals: EV-027 gains a
fileContainsshape check — a singleTask File Mappingtable is present and there is no separateExecution Trackssection — to lock in the slimming. Eval-matrix row (spec/evals.md) updated to match.Verification
Plan-004, which carries## Execution Tracks→ fails) and passes the lean shape. (Scenario file parses; regex semantics mirrorassert.mjs.)eslintclean,prettier --check .clean, build present.--permission-mode bypassPermissions) blocks on Claude Code's bypass-permissions accept interstitial in environments where it isn't pre-accepted, so it must be run where that's configured. The assertion logic itself is verified offline against real plan files (above). Skill template changes are prose-only and don't touchsrc/.🤖 Generated with Claude Code