dsh-plugin-strict-spec 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/README.md +13 -13
  2. package/README.zh.md +10 -12
  3. package/dist/cli/strict-spec-cli.js +109 -771
  4. package/dist/skills/strict-roadmap-plan/SKILL.md +49 -139
  5. package/dist/skills/strict-roadmap-recommend/SKILL.md +63 -282
  6. package/dist/skills/strict-roadmap-reorder/SKILL.md +40 -158
  7. package/dist/skills/strict-roadmap-review/SKILL.md +48 -144
  8. package/dist/skills/strict-roadmap-transition/SKILL.md +52 -274
  9. package/dist/skills/strict-scene-edit/SKILL.md +51 -121
  10. package/dist/skills/strict-spec-apply/SKILL.md +63 -173
  11. package/dist/skills/strict-spec-architecture/SKILL.md +39 -97
  12. package/dist/skills/strict-spec-archive/SKILL.md +57 -127
  13. package/dist/skills/strict-spec-auto/SKILL.md +98 -270
  14. package/dist/skills/strict-spec-brainstorm/SKILL.md +73 -176
  15. package/dist/skills/strict-spec-bugfix/SKILL.md +101 -225
  16. package/dist/skills/strict-spec-design/SKILL.md +55 -124
  17. package/dist/skills/strict-spec-design-sync/SKILL.md +55 -123
  18. package/dist/skills/strict-spec-init/SKILL.md +45 -93
  19. package/dist/skills/strict-spec-maintenance/SKILL.md +44 -94
  20. package/dist/skills/strict-spec-modify/SKILL.md +44 -113
  21. package/dist/skills/strict-spec-propose/SKILL.md +180 -495
  22. package/dist/skills/strict-spec-review/SKILL.md +121 -273
  23. package/dist/skills/strict-spec-ship/SKILL.md +25 -60
  24. package/dist/skills/strict-spec-spec-edit/SKILL.md +35 -84
  25. package/dist/skills/strict-spec-sync-specs/SKILL.md +44 -94
  26. package/dist/skills/strict-spec-verify/SKILL.md +28 -43
  27. package/dist/skills/strict-tech-edit/SKILL.md +43 -124
  28. package/dist/skills/strict-tech-sync/SKILL.md +60 -162
  29. package/package.json +2 -1
@@ -8,17 +8,11 @@ metadata:
8
8
  version: 1.0.0
9
9
  ---
10
10
 
11
- You are helping the user change where one milestone sits in strict roadmap
12
- order. The whole operation is a single `roadmap-reorder` invocation against
13
- `.strict-spec-driven/roadmap/`. The skill's job is to resolve the requested
14
- position into exactly one placement argument, raise any dependency-order concern
15
- the command does not check for you, run it once, and report what moved.
11
+ Move one active milestone in roadmap order with a single `roadmap-reorder`
12
+ call, after raising the dependency-order concern the command does not check.
16
13
 
17
14
  ## This Skill's Commands
18
15
 
19
- If you cannot remember the exact command used by this skill, look it up here
20
- before running anything. Do not guess.
21
-
22
16
  ```yaml
23
17
  check-workflow-state: strict-spec-cli check-workflow-state
24
18
  roadmap-status: strict-spec-cli roadmap-status
@@ -27,101 +21,18 @@ roadmap-reorder: strict-spec-cli roadmap-reorder <milestone-id> (--before <miles
27
21
  roadmap-renumber: strict-spec-cli roadmap-renumber
28
22
  ```
29
23
 
30
- ## What This Skill Does and Does Not Move
31
-
32
- `roadmap-reorder` changes one active milestone's `order` value. That is the
33
- whole operation.
34
-
35
- - It moves a **milestone**, never a planned change. Moving a standalone
36
- planned-change artifact to a different milestone is
37
- `/strict-roadmap-transition` with the `move` operation.
38
- - It changes **position**, never status. Holding a milestone out of
39
- recommendation is `pause`, and declaring it not yet elaborated is `defer`;
40
- both are `/strict-roadmap-transition` operations.
41
- - It changes **order**, never content. Authoring or elaborating milestone and
42
- planned-change content is `/strict-roadmap-plan` and `/strict-roadmap-review`.
43
-
44
- ## Ordering Rules
45
-
46
- - Roadmap order comes from the optional integer `order` field, not from the
47
- milestone id prefix and not from the filename.
48
- - Use `roadmap-status` or `roadmap-overview` order, never id-prefix order, as
49
- the sequencing source. The reported `displayOrdinal` is a rendering of
50
- position; the `order` integer is the stored value the command writes.
51
- - Milestone ownership for standalone work items is defined by
52
- `planned_change.milestone`, so reordering a milestone carries its owned
53
- standalone planned-change artifacts with it without rewriting any of them.
54
- - Treat filenames as helpful conventions only. Reorder never renames a file,
55
- and a planned-change basename stays in its canonical
56
- `<milestone-id>-<planned-change-id>.yaml` form; when a basename is already
57
- wrong, `roadmap-sync --fix-names` repairs it, not this skill.
58
-
59
- ## Preconditions
60
-
61
- - **Archived milestones are frozen history.** Reorder applies only to active
62
- milestones. If the user names an archived milestone, report that and stop
63
- rather than reviving it to move it.
64
- - **A roadmap with unresolved diagnostics blocks the reorder.** Run
65
- `roadmap-status` first and resolve blocking diagnostics before mutating; the
66
- command refuses to run against an invalid roadmap.
67
- - **One command, once.** The placement must be expressible as a single
68
- `roadmap-reorder` invocation. Needing two is a signal the request is a
69
- different operation, not an invitation to chain commands.
70
-
71
- ## Resolving the Placement
72
-
73
- Resolve the request into exactly one of these, and pass exactly one:
74
-
75
- | the user means | flag |
76
- | --- | --- |
77
- | put it immediately before a named neighbour | `--before <milestone-id>` |
78
- | put it immediately after a named neighbour | `--after <milestone-id>` |
79
- | set a specific stored position | `--order <integer>` |
80
-
81
- Prefer `--before` or `--after` when the user describes the move relative to
82
- another milestone, because the command computes the integer and a hand-picked
83
- `--order` can silently collide with an existing value.
84
-
85
- If no integer gap exists between the requested neighbours, run
86
- `roadmap-renumber` first, then rerun the reorder. Use `roadmap-renumber` only
87
- when integer gaps are exhausted or the user asks to normalize spacing — it
88
- rewrites every active milestone's `order`, so it is not a routine step before
89
- an ordinary reorder.
90
-
91
- ## Dependency Order Is the One Judgment Call
92
-
93
- Before running the command, inspect the target milestone and its owned planned
94
- changes for dependencies on other milestones or planned changes. If the new
95
- position would place a milestone before work it depends on, report that
96
- dependency-order concern and stop for an explicit human answer instead of
97
- silently moving it.
98
-
99
- The command does not read `depends_on` edges, so a reorder that inverts a
100
- dependency succeeds and leaves a roadmap that recommends work before its
101
- prerequisite. This check is the reason the operation is not merely mechanical.
102
-
103
24
  ## CLI-Only YAML Authoring Protocol
104
25
 
105
- Every mutation of repository-owned YAML in this skill goes through the strict
106
- CLI. This skill writes `roadmap-state`. Before the first mutation run
107
- `strict-spec-cli yaml-authoring-protocol roadmap-state`: that command reports
108
- the ordered authoring steps, the owning command for each operation, and the
109
- bundled schema and example keys with their cache-resolved paths, bound to the
110
- artifact kind and current where a copy would go stale. Validate the result with
111
- `strict-spec-cli roadmap-status`.
112
-
113
- **Stop rather than edit YAML directly.** When a required command, argument, or
114
- artifact kind is unavailable, stop and report the missing capability. Editing
115
- the YAML directly, writing a raw payload, or scripting around the CLI is never
116
- an available fallback, and an unavailable command is a reason to stop rather
117
- than a reason to improvise.
26
+ This skill writes `roadmap-state`. Before its first mutation, run
27
+ `strict-spec-cli yaml-authoring-protocol <artifact-kind>` for each kind and
28
+ follow it, including its rule to stop and report a missing command rather than
29
+ work around it; validate the result with `strict-spec-cli roadmap-status`.
118
30
 
119
31
  ## Preferred Human Language
120
32
 
121
- Comply with `preferred_human_language` from `.strict-spec-driven/config.yaml` —
122
- the user's common human language, not a programming language — for all
123
- user-facing and generated operator-facing text, unless that file is absent or
124
- the active user message asks otherwise.
33
+ Write user-facing and generated operator-facing text in the human language named
34
+ by `preferred_human_language` in `.strict-spec-driven/config.yaml`, unless the
35
+ active user message asks otherwise.
125
36
 
126
37
  ## Steps
127
38
 
@@ -129,66 +40,37 @@ Before any other step, run `strict-spec-cli check-workflow-state`. If `.strict-s
129
40
  missing, stop immediately and tell the user to run `/strict-spec-init`. Do not
130
41
  run `init` from this skill.
131
42
 
132
- 1. **Confirm the request is a reorder** — the request must name one active
133
- milestone and a target position. If it names a planned change, a status
134
- change, or milestone content, route it to the skill that owns that work
135
- rather than reordering something adjacent.
136
-
137
- 2. **Load targeted roadmap context** — read `.strict-spec-driven/config.yaml`,
138
- `.strict-spec-driven/roadmap/INDEX.yaml`, the target milestone YAML file
139
- under `.strict-spec-driven/roadmap/milestones/`, and the milestone files
140
- named as neighbours. Read only what the placement needs.
141
-
142
- 3. **Inspect deterministic state** — run:
143
- ```bash
144
- strict-spec-cli roadmap-status
145
- ```
146
- If human-readable context helps, also run `roadmap-overview`. Use the
147
- reported milestone ids, `order` values, `declaredStatus`, `derivedStatus`,
148
- and diagnostics as the facts for this reorder. Resolve blocking diagnostics
149
- before mutating.
150
-
151
- 4. **Resolve the placement into one flag** — translate the request into exactly
152
- one of `--before`, `--after`, or `--order`, using the reported order rather
153
- than id prefixes. If the request is ambiguous about which neighbour it means,
154
- stop and ask rather than choosing the more likely one.
155
-
156
- 5. **Check dependency order** — inspect `depends_on` edges on the target
157
- milestone and its owned standalone planned changes. Report any
158
- dependency-order concern the new position would create and stop for an
159
- explicit human answer.
160
-
161
- 6. **Renumber only if the gap is exhausted** — if no integer gap exists between
162
- the requested neighbours, run:
163
- ```bash
164
- strict-spec-cli roadmap-renumber
165
- ```
166
- then rerun `roadmap-status` to read the new spacing before the reorder.
167
-
168
- 7. **Run the owning command once** — run `roadmap-reorder` with the single
169
- resolved placement flag. Inspect the structured result rather than assuming
170
- success: confirm it is valid, that it reports the expected milestone and new
171
- `order`, and that the changed paths are only the milestone artifact plus the
172
- roadmap index.
173
-
174
- 8. **Report the result** — summarize the milestone id, its previous and new
175
- `order` and position, whether a renumber ran and why, any dependency-order concern
176
- raised and how the user resolved it, any warnings the command
177
- relayed, and the natural next step: `/strict-roadmap-recommend` to see which
178
- work the new order recommends first.
43
+ 1. **Confirm it is a reorder** — one active milestone and a target position.
44
+ Moving a planned change, pausing or deferring, and editing content belong to
45
+ `strict-roadmap-transition`, `strict-roadmap-plan`, or
46
+ `strict-roadmap-review`; an archived milestone is frozen history, so report
47
+ it and stop.
48
+
49
+ 2. **Read the order** — run `roadmap-status` (`roadmap-overview` for
50
+ readability) and resolve blocking diagnostics. Order comes from each
51
+ milestone's optional integer `order` field, never an id prefix or filename.
52
+
53
+ 3. **Resolve one placement** — `--before` or `--after` a named neighbour for a
54
+ relative request, since a hand-picked `--order` can collide; `--order` only
55
+ for a specific stored position. An ambiguous neighbour stops for the user.
56
+
57
+ 4. **Check dependency order** — the command ignores `depends_on`. If the new
58
+ position puts the milestone or its owned planned changes before work they
59
+ depend on, or after work depending on them, report the dependency-order
60
+ concern and stop for an explicit human answer.
61
+
62
+ 5. **Renumber only when the gap is exhausted** — run `roadmap-renumber` when no
63
+ integer gap remains between the requested neighbours, or when the user asks,
64
+ since it rewrites every active milestone's `order`; then reread the order.
65
+
66
+ 6. **Reorder once and report** — run `roadmap-reorder` with the one placement,
67
+ confirm it changed only that milestone's `order` and the roadmap index, and
68
+ report the previous and new position, any renumber and why, any dependency
69
+ concern with the user's answer, and relayed warnings; suggest
70
+ `strict-roadmap-recommend` to see what now comes first.
179
71
 
180
72
  ## Rules
181
73
 
182
- - Perform exactly one reorder per invocation, through the one owning command
183
- - Pass exactly one of `--before`, `--after`, or `--order`; never combine them
184
- - Keep every artifact this skill touches rooted in `.strict-spec-driven/roadmap/`
185
- - Archived milestones are frozen history; never reorder or revive them
186
- - Never hand-edit a milestone file to change an `order` field — the owning
187
- command exists so the canonical write and index sync stay deterministic
188
- - Never rename a milestone or planned-change file as a way of changing order;
189
- order lives in the `order` field, not in the filename
190
- - Never write under `.strict-spec-driven/changes/` from this skill
191
- - Run `roadmap-renumber` only when integer gaps are exhausted or the user asks
192
- for it, and say so in the report when it runs
193
- - Stop for an explicit human answer when the new position would place a
194
- milestone before work it depends on
74
+ - Pass exactly one placement; never change order by hand-editing a milestone or
75
+ renaming a file. Owned planned changes move with their milestone untouched.
76
+ - Write nothing under `.strict-spec-driven/changes/`.
@@ -8,75 +8,32 @@ metadata:
8
8
  version: 1.0.0
9
9
  ---
10
10
 
11
- You are reviewing all incomplete strict roadmap milestones and directly
12
- applying fixes to their definitions.
11
+ Review every roadmap milestone whose status is not complete and apply, through
12
+ the CLI, the fixes that make it concrete and executable.
13
13
 
14
14
  ## This Skill's Commands
15
15
 
16
- If you cannot remember the exact command used by this skill, look it up here
17
- before running anything. Do not guess.
18
-
19
16
  ```yaml
20
17
  check-workflow-state: strict-spec-cli check-workflow-state
21
18
  roadmap-generate-milestone: strict-spec-cli roadmap-generate milestone --<named-args>
22
- roadmap-generate-planned-change: strict-spec-cli roadmap-generate planned-change --milestone <milestone-id> --id <planned-change-id> --summary "..." --details "..." [--depends-on <planned-change-id>] [--status <planned|complete>] [--remove-depends-on <planned-change-id>]
19
+ roadmap-generate-planned-change: strict-spec-cli roadmap-generate planned-change --<named-args>
23
20
  roadmap-status: strict-spec-cli roadmap-status
24
21
  roadmap-overview: strict-spec-cli roadmap-overview
25
22
  roadmap-sync: strict-spec-cli roadmap-sync [--fix-names]
26
23
  ```
27
24
 
28
- ## Review Scope
29
-
30
- - This skill reviews all milestones whose status is not complete. Completed
31
- milestones are historical record and out of review scope; do not edit them.
32
- - Milestone ownership for standalone work items is defined by
33
- `planned_change.milestone`. Use `roadmap-status` output to locate
34
- planned-change source files; each `plannedChanges[]` entry reports its
35
- `path`. The file basename is enforced to the canonical form
36
- `<milestone-id>-<planned-change-id>.yaml` (milestone prefix not duplicated
37
- when the id already starts with it); a misnamed active planned-change file
38
- is a blocking diagnostic that `roadmap-sync --fix-names` repairs.
39
- - Milestone sequencing comes from the order reported by `roadmap-status` or
40
- `roadmap-overview`, which derives from the optional integer `order` field.
41
- Never infer review order from the milestone id prefix; review does not set
42
- or repair order values.
43
- - Milestone `intake_questions` are part of definition quality. Review them as
44
- planning checks whose answers must be recoverable from milestone fields or
45
- owned planned-change detail before the milestone is treated as executable.
46
- - **A milestone declaring `awaiting_refinement` is out of scope for filling in
47
- detail.** That mapping is an operator's explicit statement that the milestone
48
- is planned but cannot be elaborated yet, because a precondition named in its
49
- `reason` has not matured. Its thin goal, sparse scope, or absent planned
50
- changes are the declared state, not a defect. Report such a milestone as
51
- deliberately deferred, quote the recorded reason, and move on — never invent
52
- a goal, done criterion, or planned change for it, and never clear the
53
- declaration. Only `/strict-roadmap-transition` with the `refine` operation
54
- clears it, and only a human can judge that the precondition has matured.
55
- Reviewing its structural validity (schema shape, canonical filenames,
56
- dependency references) is still in scope.
57
-
58
25
  ## CLI-Only YAML Authoring Protocol
59
26
 
60
- Every mutation of repository-owned YAML in this skill goes through the strict
61
- CLI. This skill writes `roadmap-state`. Before the first mutation run
62
- `strict-spec-cli yaml-authoring-protocol roadmap-state`: that command reports
63
- the ordered authoring steps, the owning command for each operation, and the
64
- bundled schema and example keys with their cache-resolved paths, bound to the
65
- artifact kind and current where a copy would go stale. Validate the result with
66
- `strict-spec-cli roadmap-status`.
67
-
68
- **Stop rather than edit YAML directly.** When a required command, argument, or
69
- artifact kind is unavailable, stop and report the missing capability. Editing
70
- the YAML directly, writing a raw payload, or scripting around the CLI is never
71
- an available fallback, and an unavailable command is a reason to stop rather
72
- than a reason to improvise.
27
+ This skill writes `roadmap-state`. Before its first mutation, run
28
+ `strict-spec-cli yaml-authoring-protocol <artifact-kind>` for each kind and
29
+ follow it, including its rule to stop and report a missing command rather than
30
+ work around it; validate the result with `strict-spec-cli roadmap-status`.
73
31
 
74
32
  ## Preferred Human Language
75
33
 
76
- Comply with `preferred_human_language` from `.strict-spec-driven/config.yaml` —
77
- the user's common human language, not a programming language — for all
78
- user-facing and generated operator-facing text, unless that file is absent or
79
- the active user message asks otherwise.
34
+ Write user-facing and generated operator-facing text in the human language named
35
+ by `preferred_human_language` in `.strict-spec-driven/config.yaml`, unless the
36
+ active user message asks otherwise.
80
37
 
81
38
  ## Steps
82
39
 
@@ -84,97 +41,44 @@ Before any other step, run `strict-spec-cli check-workflow-state`. If `.strict-s
84
41
  missing, stop immediately and tell the user to run `/strict-spec-init`. Do not
85
42
  run `init` from this skill.
86
43
 
87
- 1. **Load roadmap context** — read `.strict-spec-driven/config.yaml`,
88
- `.strict-spec-driven/roadmap/INDEX.yaml`, every milestone YAML file under
89
- `.strict-spec-driven/roadmap/milestones/`, and the strict specs the
90
- incomplete milestones are likely to affect.
91
-
92
- 2. **Check current roadmap state** — run:
93
- ```bash
94
- strict-spec-cli roadmap-status
95
- ```
96
- and, when wider context helps, `roadmap-overview`. Use each milestone's
97
- declared status, derived status, planned change state, planned-change
98
- paths, and any diagnostics as the deterministic facts for the review.
99
- Identify every milestone whose status is not complete and process them in
100
- roadmap order from the command output, not id-prefix order. If every milestone is complete, stop here and report that
101
- there are no incomplete milestones in review scope.
102
-
103
- 3. **Assess definition quality** — for each incomplete milestone, review the
104
- milestone for goal clarity, verifiable `done_criteria`, coherent `scope`,
105
- `dependencies`, and `risks`, and planned-change coverage of the milestone
106
- goal. Also check milestone `intake_questions` for answer evidence in
107
- `goal`, `scope`, `done_criteria`, `dependencies`, `risks`, `details`,
108
- `notes`, and owned planned-change `summary`, `details`,
109
- `depends_on`, and metadata. Treat an intake question as answered only when
110
- the answer is explicit enough to guide proposal scope, implementation
111
- boundaries, tests, dependencies, risks, or technical standards. Review each
112
- owned planned change for missing or vague `details` that would block turning
113
- it into an executable strict change proposal.
114
-
115
- 4. **Assess delivery state** — for each incomplete milestone, compare its
116
- declared status with the derived status and per-planned-change state
117
- reported by `roadmap-status`, including archived strict change evidence,
118
- and identify gaps between definition and delivery.
119
-
120
- 5. **Apply fixes directly** — use roadmap-generate milestone for milestone YAML
121
- shape and milestone-field fixes under `.strict-spec-driven/roadmap/`:
122
- ```bash
123
- strict-spec-cli roadmap-generate milestone --id <milestone-id> --title "..." --goal "..." --scope-in "..." --scope-out "..." --done "..." --dependency "..." --risk "..." --note "..." --details "..."
124
- ```
125
- A supplied scalar field replaces the recorded value with no extra flag, and list fields always append, so editing one field never discards unrelated recorded content. `--intake-question` values merge by id, and restating an id replaces just that question. Remove a recorded entry by naming it: `--remove-scope-in`, `--remove-scope-out`, `--remove-done`, `--remove-dependency`, `--remove-risk` and `--remove-note` take a substring that must match exactly one entry, and `--remove-intake-question` takes an id. Fix standalone planned-change `summary`, `details`,
126
- `depends_on`, and `status` through the planned-change authoring command:
127
- ```bash
128
- strict-spec-cli roadmap-generate planned-change --milestone <milestone-id> --id <planned-change-id> --summary "..." --details "..."
129
- ```
130
- The CLI owns the canonical `<milestone-id>-<planned-change-id>.yaml`
131
- filename; never create or rename planned-change files by hand. Tighten
132
- vague wording into verifiable statements; elaborate planned-change details
133
- until each one carries enough executable planning context to propose
134
- without re-deriving intent. When an
135
- intake answer is missing but can be safely derived from existing roadmap,
136
- spec or planned-change evidence, update the relevant milestone
137
- field or planned-change detail so the answer evidence is explicit. When an
138
- intake answer needs a human product, compatibility, risk, dependency, or
139
- technical-standard decision, report the unresolved decision and impact in
140
- the final summary instead of inventing an answer or writing a change-level
141
- `questions.yaml` blocker. Never hand-edit completion status: milestone and
142
- planned-change completion flows only from roadmap sync reconciliation
143
- against active and archived strict changes.
144
-
145
- 6. **Resync the roadmap** — after edits, run:
146
- ```bash
147
- strict-spec-cli roadmap-sync
148
- ```
149
- Confirm every reviewed milestone still participates in a canonical
150
- `.strict-spec-driven/roadmap/` index and that planned change state is
151
- consistent with active and archived strict changes.
152
-
153
- 7. **Report findings and applied fixes** — summarize in conversation the
154
- definition-quality and delivery-state findings for each incomplete
155
- milestone, the fixes applied to each edited file, the planned-change paths
156
- involved, and any follow-up work that needs a human decision. Do not persist
157
- a separate review-report artifact.
44
+ 1. **Load the review set** — run `roadmap-status` (`roadmap-overview` for wider
45
+ context) and read each incomplete milestone, its owned planned changes, and
46
+ the specs they affect, in the reported order — the optional integer `order`
47
+ field, never an id prefix. Completed milestones are historical record and
48
+ out of scope; when none is incomplete, report that and stop.
49
+
50
+ 2. **Respect deliberate deferral** — a milestone declaring
51
+ `awaiting_refinement` waits on the precondition in its reason. Report it as
52
+ deliberately deferred with that reason and check only its structural
53
+ validity; never fill in its content or clear the declaration, which only the
54
+ `refine` operation of `strict-roadmap-transition` does on a human's word.
55
+
56
+ 3. **Assess each milestone** — a clear goal, verifiable done criteria,
57
+ coherent scope, dependencies, and risks, and planned changes covering the
58
+ goal in enough detail to propose from; declared against derived status and
59
+ archived evidence. Check its `intake_questions` for answer evidence in the
60
+ milestone's planning fields and owned planned-change detail; an answer
61
+ counts only when explicit enough to guide scope, tests, dependencies, risks,
62
+ or standards.
63
+
64
+ 4. **Apply fixes directly** — milestone fields through `roadmap-generate
65
+ milestone`, planned-change detail through `roadmap-generate planned-change`,
66
+ each per its `--help --json`. Tighten vague wording into verifiable
67
+ statements, elaborate thin planned-change detail, and make a derivable
68
+ intake answer explicit. A decision needing a human — product, compatibility,
69
+ risk, dependency, or standard — or a boundary change moving work between
70
+ milestones is reported with its impact, never invented and never written to
71
+ a change's `questions.yaml`.
72
+
73
+ 5. **Resync and report** — run `roadmap-sync` (`--fix-names` for a
74
+ non-canonical filename) until the index and planned-change state agree with
75
+ active and archived changes. Report per milestone the findings, the fixes
76
+ with their paths, deferred milestones, and every unresolved human decision,
77
+ in conversation only.
158
78
 
159
79
  ## Rules
160
80
 
161
- - Keep all roadmap state under `.strict-spec-driven/roadmap/`
162
- - Review all milestones whose status is not complete; refuse completed
163
- milestones as out of review scope
164
- - Apply milestone definition fixes through `roadmap-generate milestone` and
165
- planned-change detail fixes through `roadmap-generate planned-change`, then
166
- resync the roadmap; never leave the roadmap unsynced after edits
167
- - Use `roadmap-generate milestone` for milestone YAML shape and
168
- `roadmap-generate planned-change` for standalone planned-change artifacts;
169
- never hand-pick planned-change filenames — the canonical
170
- `<milestone-id>-<planned-change-id>.yaml` naming is CLI-owned and
171
- `roadmap-sync --fix-names` repairs misnamed files
172
- - check milestone intake_questions for answer evidence during definition
173
- review, using milestone fields and owned planned-change details before
174
- asking the human for missing decisions
175
- - Never mark planned changes or milestones complete by hand; completion state
176
- is owned by roadmap sync reconciliation
177
- - Do not record milestone-level intake gaps in change-level `questions.yaml`
178
- - Do not invent planned change state that conflicts with the strict workflow
179
- - Keep milestone scope focused; surface boundary changes to the user instead
180
- of silently moving work across milestones
81
+ - Never edit a completed milestone or hand-mark anything complete; completion
82
+ flows from `roadmap-sync` reconciliation.
83
+ - Mutate roadmap state only through the mapped commands; the CLI owns the
84
+ canonical `<milestone-id>-<planned-change-id>.yaml` filename.