maestro-flow 0.3.12 → 0.3.13

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 (235) hide show
  1. package/.claude/CLAUDE.md +7 -0
  2. package/.claude/agents/workflow-analyzer.md +0 -1
  3. package/.claude/agents/workflow-collab-planner.md +0 -1
  4. package/.claude/agents/workflow-debugger.md +0 -1
  5. package/.claude/agents/workflow-integration-checker.md +2 -2
  6. package/.claude/agents/workflow-nyquist-auditor.md +0 -1
  7. package/.claude/agents/workflow-phase-researcher.md +2 -2
  8. package/.claude/agents/workflow-plan-checker.md +1 -1
  9. package/.claude/agents/workflow-planner.md +1 -2
  10. package/.claude/agents/workflow-roadmapper.md +1 -1
  11. package/.claude/agents/workflow-verifier.md +0 -1
  12. package/.claude/commands/learn-retro.md +2 -2
  13. package/.claude/commands/learn-second-opinion.md +2 -2
  14. package/.claude/commands/maestro-analyze.md +10 -2
  15. package/.claude/commands/maestro-brainstorm.md +1 -1
  16. package/.claude/commands/maestro-execute.md +21 -4
  17. package/.claude/commands/maestro-milestone-complete.md +14 -0
  18. package/.claude/commands/maestro-plan.md +12 -6
  19. package/.claude/commands/maestro-roadmap.md +1 -1
  20. package/.claude/commands/maestro-ui-design.md +7 -7
  21. package/.claude/commands/maestro-update.md +176 -0
  22. package/.claude/commands/maestro-verify.md +18 -3
  23. package/.claude/commands/manage-codebase-rebuild.md +0 -1
  24. package/.claude/commands/manage-harvest.md +1 -1
  25. package/.claude/commands/manage-learn.md +5 -5
  26. package/.claude/commands/manage-memory-capture.md +4 -4
  27. package/.claude/commands/manage-memory.md +1 -1
  28. package/.claude/commands/manage-wiki.md +62 -0
  29. package/.claude/commands/quality-business-test.md +2 -2
  30. package/.claude/commands/quality-debug.md +53 -7
  31. package/.claude/commands/quality-retrospective.md +5 -5
  32. package/.claude/commands/quality-review.md +39 -7
  33. package/.claude/commands/quality-sync.md +1 -1
  34. package/.claude/commands/quality-test-gen.md +1 -1
  35. package/.claude/commands/quality-test.md +45 -12
  36. package/.claude/commands/spec-remove.md +51 -0
  37. package/.claude/commands/spec-setup.md +1 -3
  38. package/.claude/commands/wiki-connect.md +9 -5
  39. package/.claude/commands/wiki-digest.md +6 -3
  40. package/.codex/skills/maestro/SKILL.md +2 -2
  41. package/.codex/skills/maestro-analyze/SKILL.md +4 -4
  42. package/.codex/skills/maestro-brainstorm/SKILL.md +4 -4
  43. package/.codex/skills/maestro-coordinate/SKILL.md +2 -2
  44. package/.codex/skills/maestro-execute/SKILL.md +15 -5
  45. package/.codex/skills/maestro-init/SKILL.md +1 -1
  46. package/.codex/skills/maestro-milestone-complete/SKILL.md +18 -1
  47. package/.codex/skills/maestro-plan/SKILL.md +6 -6
  48. package/.codex/skills/maestro-roadmap/SKILL.md +3 -4
  49. package/.codex/skills/maestro-spec-generate/SKILL.md +2 -2
  50. package/.codex/skills/maestro-ui-design/SKILL.md +6 -6
  51. package/.codex/skills/maestro-verify/SKILL.md +20 -11
  52. package/.codex/skills/manage-codebase-rebuild/SKILL.md +4 -4
  53. package/.codex/skills/manage-harvest/SKILL.md +10 -1
  54. package/.codex/skills/manage-issue-discover/SKILL.md +3 -3
  55. package/.codex/skills/manage-learn/SKILL.md +3 -2
  56. package/.codex/skills/manage-memory/SKILL.md +3 -3
  57. package/.codex/skills/manage-memory-capture/SKILL.md +8 -14
  58. package/.codex/skills/manage-status/SKILL.md +9 -4
  59. package/.codex/skills/manage-wiki/SKILL.md +55 -0
  60. package/.codex/skills/quality-business-test/SKILL.md +8 -6
  61. package/.codex/skills/quality-debug/SKILL.md +22 -9
  62. package/.codex/skills/quality-integration-test/SKILL.md +11 -7
  63. package/.codex/skills/quality-retrospective/SKILL.md +45 -26
  64. package/.codex/skills/quality-review/SKILL.md +10 -7
  65. package/.codex/skills/quality-test/SKILL.md +9 -4
  66. package/.codex/skills/quality-test-gen/SKILL.md +13 -9
  67. package/.codex/skills/spec-add/SKILL.md +11 -3
  68. package/.codex/skills/spec-load/SKILL.md +7 -0
  69. package/.codex/skills/spec-map/SKILL.md +2 -2
  70. package/.codex/skills/spec-remove/SKILL.md +101 -0
  71. package/.codex/skills/spec-setup/SKILL.md +4 -8
  72. package/.codex/skills/wiki-connect/SKILL.md +6 -5
  73. package/.codex/skills/wiki-digest/SKILL.md +2 -2
  74. package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.d.ts +9 -0
  75. package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js +109 -9
  76. package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.js.map +1 -1
  77. package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.test.js +49 -0
  78. package/dashboard/dist-server/dashboard/src/server/agents/claude-code-adapter.test.js.map +1 -1
  79. package/dashboard/dist-server/dashboard/src/server/routes/index.js +5 -4
  80. package/dashboard/dist-server/dashboard/src/server/routes/index.js.map +1 -1
  81. package/dashboard/dist-server/dashboard/src/server/routes/specs.d.ts +5 -13
  82. package/dashboard/dist-server/dashboard/src/server/routes/specs.js +97 -155
  83. package/dashboard/dist-server/dashboard/src/server/routes/specs.js.map +1 -1
  84. package/dashboard/dist-server/dashboard/src/server/routes/wiki.d.ts +11 -1
  85. package/dashboard/dist-server/dashboard/src/server/routes/wiki.integration.test.js +27 -6
  86. package/dashboard/dist-server/dashboard/src/server/routes/wiki.integration.test.js.map +1 -1
  87. package/dashboard/dist-server/dashboard/src/server/routes/wiki.js +25 -7
  88. package/dashboard/dist-server/dashboard/src/server/routes/wiki.js.map +1 -1
  89. package/dashboard/dist-server/dashboard/src/server/wiki/graph-analysis.js +8 -0
  90. package/dashboard/dist-server/dashboard/src/server/wiki/graph-analysis.js.map +1 -1
  91. package/dashboard/dist-server/dashboard/src/server/wiki/search.js +1 -0
  92. package/dashboard/dist-server/dashboard/src/server/wiki/search.js.map +1 -1
  93. package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.d.ts +29 -0
  94. package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js +148 -0
  95. package/dashboard/dist-server/dashboard/src/server/wiki/spec-entry-parser.js.map +1 -0
  96. package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js +4 -2
  97. package/dashboard/dist-server/dashboard/src/server/wiki/stress.test.js.map +1 -1
  98. package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js +8 -2
  99. package/dashboard/dist-server/dashboard/src/server/wiki/virtual-wiki-adapters.js.map +1 -1
  100. package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.d.ts +5 -0
  101. package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js +80 -38
  102. package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.js.map +1 -1
  103. package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.test.js +8 -6
  104. package/dashboard/dist-server/dashboard/src/server/wiki/wiki-indexer.test.js.map +1 -1
  105. package/dashboard/dist-server/dashboard/src/server/wiki/wiki-types.d.ts +40 -5
  106. package/dashboard/dist-server/dashboard/src/server/wiki/writer-stress.test.js +21 -23
  107. package/dashboard/dist-server/dashboard/src/server/wiki/writer-stress.test.js.map +1 -1
  108. package/dashboard/dist-server/dashboard/src/server/wiki/writer.d.ts +33 -3
  109. package/dashboard/dist-server/dashboard/src/server/wiki/writer.js +184 -12
  110. package/dashboard/dist-server/dashboard/src/server/wiki/writer.js.map +1 -1
  111. package/dashboard/dist-server/src/commands/delegate.js +26 -0
  112. package/dashboard/dist-server/src/commands/delegate.js.map +1 -1
  113. package/dashboard/dist-server/src/coordinator/graph-types.d.ts +11 -1
  114. package/dashboard/dist-server/src/coordinator/graph-walker.js +29 -2
  115. package/dashboard/dist-server/src/coordinator/graph-walker.js.map +1 -1
  116. package/dashboard/dist-server/src/coordinator/prompt-assembler.js +3 -2
  117. package/dashboard/dist-server/src/coordinator/prompt-assembler.js.map +1 -1
  118. package/dashboard/dist-server/src/hooks/constants.d.ts +29 -60
  119. package/dashboard/dist-server/src/hooks/constants.js +105 -82
  120. package/dashboard/dist-server/src/hooks/constants.js.map +1 -1
  121. package/dashboard/dist-server/src/types/index.d.ts +2 -1
  122. package/dist/src/commands/delegate.d.ts.map +1 -1
  123. package/dist/src/commands/delegate.js +26 -0
  124. package/dist/src/commands/delegate.js.map +1 -1
  125. package/dist/src/commands/hooks.d.ts +2 -4
  126. package/dist/src/commands/hooks.d.ts.map +1 -1
  127. package/dist/src/commands/hooks.js +4 -7
  128. package/dist/src/commands/hooks.js.map +1 -1
  129. package/dist/src/commands/install-ui/InstallConfirm.d.ts +2 -3
  130. package/dist/src/commands/install-ui/InstallConfirm.d.ts.map +1 -1
  131. package/dist/src/commands/install-ui/InstallConfirm.js +1 -1
  132. package/dist/src/commands/install-ui/InstallConfirm.js.map +1 -1
  133. package/dist/src/commands/install-ui/InstallExecution.d.ts.map +1 -1
  134. package/dist/src/commands/install-ui/InstallExecution.js +1 -2
  135. package/dist/src/commands/install-ui/InstallExecution.js.map +1 -1
  136. package/dist/src/commands/install-ui/InstallFlow.d.ts.map +1 -1
  137. package/dist/src/commands/install-ui/InstallFlow.js +5 -7
  138. package/dist/src/commands/install-ui/InstallFlow.js.map +1 -1
  139. package/dist/src/commands/install-ui/StatuslineConfig.d.ts +3 -6
  140. package/dist/src/commands/install-ui/StatuslineConfig.d.ts.map +1 -1
  141. package/dist/src/commands/install-ui/StatuslineConfig.js +21 -17
  142. package/dist/src/commands/install-ui/StatuslineConfig.js.map +1 -1
  143. package/dist/src/commands/update.d.ts.map +1 -1
  144. package/dist/src/commands/update.js +95 -0
  145. package/dist/src/commands/update.js.map +1 -1
  146. package/dist/src/commands/wiki.d.ts.map +1 -1
  147. package/dist/src/commands/wiki.js +75 -11
  148. package/dist/src/commands/wiki.js.map +1 -1
  149. package/dist/src/coordinator/graph-types.d.ts +11 -1
  150. package/dist/src/coordinator/graph-types.d.ts.map +1 -1
  151. package/dist/src/coordinator/graph-walker.d.ts.map +1 -1
  152. package/dist/src/coordinator/graph-walker.js +29 -2
  153. package/dist/src/coordinator/graph-walker.js.map +1 -1
  154. package/dist/src/coordinator/prompt-assembler.d.ts.map +1 -1
  155. package/dist/src/coordinator/prompt-assembler.js +3 -2
  156. package/dist/src/coordinator/prompt-assembler.js.map +1 -1
  157. package/dist/src/hooks/__tests__/statusline-visual-test.d.ts +4 -1
  158. package/dist/src/hooks/__tests__/statusline-visual-test.d.ts.map +1 -1
  159. package/dist/src/hooks/__tests__/statusline-visual-test.js +55 -174
  160. package/dist/src/hooks/__tests__/statusline-visual-test.js.map +1 -1
  161. package/dist/src/hooks/constants.d.ts +29 -60
  162. package/dist/src/hooks/constants.d.ts.map +1 -1
  163. package/dist/src/hooks/constants.js +105 -82
  164. package/dist/src/hooks/constants.js.map +1 -1
  165. package/dist/src/hooks/skill-context.d.ts.map +1 -1
  166. package/dist/src/hooks/skill-context.js +54 -6
  167. package/dist/src/hooks/skill-context.js.map +1 -1
  168. package/dist/src/hooks/statusline.d.ts +11 -8
  169. package/dist/src/hooks/statusline.d.ts.map +1 -1
  170. package/dist/src/hooks/statusline.js +284 -182
  171. package/dist/src/hooks/statusline.js.map +1 -1
  172. package/dist/src/hooks/workspace.d.ts.map +1 -1
  173. package/dist/src/hooks/workspace.js +2 -1
  174. package/dist/src/hooks/workspace.js.map +1 -1
  175. package/dist/src/migrations/_template.d.ts +12 -0
  176. package/dist/src/migrations/_template.d.ts.map +1 -0
  177. package/dist/src/migrations/_template.js +55 -0
  178. package/dist/src/migrations/_template.js.map +1 -0
  179. package/dist/src/migrations/index.d.ts +14 -0
  180. package/dist/src/migrations/index.d.ts.map +1 -0
  181. package/dist/src/migrations/index.js +20 -0
  182. package/dist/src/migrations/index.js.map +1 -0
  183. package/dist/src/migrations/run.d.ts +12 -0
  184. package/dist/src/migrations/run.d.ts.map +1 -0
  185. package/dist/src/migrations/run.js +119 -0
  186. package/dist/src/migrations/run.js.map +1 -0
  187. package/dist/src/migrations/v1-to-v2.d.ts +10 -0
  188. package/dist/src/migrations/v1-to-v2.d.ts.map +1 -0
  189. package/dist/src/migrations/v1-to-v2.js +71 -0
  190. package/dist/src/migrations/v1-to-v2.js.map +1 -0
  191. package/dist/src/tools/team-activity.d.ts.map +1 -1
  192. package/dist/src/tools/team-activity.js +22 -0
  193. package/dist/src/tools/team-activity.js.map +1 -1
  194. package/dist/src/tools/transition-recorder.d.ts +2 -17
  195. package/dist/src/tools/transition-recorder.d.ts.map +1 -1
  196. package/dist/src/tools/transition-recorder.js +6 -3
  197. package/dist/src/tools/transition-recorder.js.map +1 -1
  198. package/dist/src/types/index.d.ts +2 -1
  199. package/dist/src/types/index.d.ts.map +1 -1
  200. package/dist/src/utils/migration-registry.d.ts +65 -0
  201. package/dist/src/utils/migration-registry.d.ts.map +1 -0
  202. package/dist/src/utils/migration-registry.js +117 -0
  203. package/dist/src/utils/migration-registry.js.map +1 -0
  204. package/dist/src/utils/state-schema.d.ts +153 -0
  205. package/dist/src/utils/state-schema.d.ts.map +1 -0
  206. package/dist/src/utils/state-schema.js +329 -0
  207. package/dist/src/utils/state-schema.js.map +1 -0
  208. package/package.json +1 -1
  209. package/templates/state.json +17 -39
  210. package/workflows/brainstorm.md +3 -3
  211. package/workflows/codebase-rebuild.md +2 -12
  212. package/workflows/debug.md +7 -8
  213. package/workflows/execute.md +18 -4
  214. package/workflows/fork.md +37 -86
  215. package/workflows/init.md +1 -4
  216. package/workflows/integration-test.md +4 -5
  217. package/workflows/issue.md +3 -9
  218. package/workflows/learn.md +20 -19
  219. package/workflows/maestro.codex.md +8 -1
  220. package/workflows/maestro.md +12 -3
  221. package/workflows/memory.md +26 -71
  222. package/workflows/merge.md +45 -107
  223. package/workflows/milestone-complete.md +24 -7
  224. package/workflows/retrospective.md +77 -109
  225. package/workflows/review.md +5 -12
  226. package/workflows/specs-remove.md +115 -0
  227. package/workflows/specs-setup.md +10 -32
  228. package/workflows/status.md +291 -290
  229. package/workflows/sync.md +5 -5
  230. package/workflows/test.md +4 -5
  231. package/workflows/ui-style.md +3 -4
  232. package/workflows/verify.md +2 -2
  233. package/workflows/wiki-connect.md +188 -0
  234. package/workflows/wiki-digest.md +221 -0
  235. package/workflows/wiki-manage.md +204 -0
@@ -0,0 +1,115 @@
1
+ # Spec Remove Workflow
2
+
3
+ Remove a `<spec-entry>` block from a specs container file. Symmetric with `specs-add.md`.
4
+
5
+ Uses `maestro wiki remove-entry` for atomic removal — the entry is deleted from the markdown file and the unified wiki index is auto-updated by WikiIndexer.
6
+
7
+ ---
8
+
9
+ ## Prerequisites
10
+
11
+ - `.workflow/specs/` initialized (at least one specs file exists)
12
+ - `maestro wiki` CLI available
13
+ - Entry ID known (use `maestro wiki list --type spec` to discover)
14
+
15
+ ---
16
+
17
+ ## Argument Shape
18
+
19
+ ```
20
+ /spec-remove spec-learnings-003 → remove entry 003 from learnings.md
21
+ /spec-remove spec-coding-conventions-001 → remove entry 001 from coding-conventions.md
22
+ /spec-remove spec-quality-rules-005 -y → remove without confirmation
23
+ ```
24
+
25
+ | Flag | Effect |
26
+ |------|--------|
27
+ | `<entry-id>` | Required. The spec sub-node ID to remove |
28
+ | `-y` / `--yes` | Skip confirmation prompt |
29
+
30
+ ---
31
+
32
+ ## Stage 1: Parse Input
33
+
34
+ 1. Extract entry ID from arguments
35
+ 2. Validate non-empty (E001 if missing)
36
+ 3. Check `.workflow/specs/` exists (E002 if not)
37
+
38
+ ---
39
+
40
+ ## Stage 2: Lookup Entry
41
+
42
+ 1. Run `maestro wiki get <entry-id> --json` to fetch entry metadata
43
+ 2. Validate entry exists (E003 if not found)
44
+ 3. Validate entry is a spec sub-node — must have:
45
+ - `type` = "spec"
46
+ - `parent` field set (sub-nodes have parent pointing to container)
47
+ - If not a sub-node, error E004
48
+ 4. Extract: title, category, keywords, container file path, body preview
49
+
50
+ ---
51
+
52
+ ## Stage 3: Confirm Removal
53
+
54
+ Display entry details for user confirmation:
55
+
56
+ ```
57
+ == Spec Entry to Remove ==
58
+ ID: {entry-id}
59
+ Title: {title}
60
+ Category: {category}
61
+ Keywords: {keywords}
62
+ Container: .workflow/specs/{filename}
63
+ Preview: {first 80 chars of body}
64
+
65
+ Remove this entry? [y/N]
66
+ ```
67
+
68
+ If `-y` flag: skip confirmation.
69
+ If user declines: abort with "Cancelled."
70
+
71
+ ---
72
+
73
+ ## Stage 4: Remove Entry
74
+
75
+ Execute removal via wiki CLI:
76
+
77
+ ```bash
78
+ maestro wiki remove-entry <entry-id>
79
+ ```
80
+
81
+ This command:
82
+ 1. Reads the container file
83
+ 2. Locates the `<spec-entry>` block by index position
84
+ 3. Removes the block (including opening tag, body, closing tag)
85
+ 4. Writes the updated file
86
+ 5. WikiIndexer auto-updates `.workflow/wiki-index.json`
87
+
88
+ ---
89
+
90
+ ## Stage 5: Verify & Report
91
+
92
+ 1. Verify entry no longer appears: `maestro wiki get <entry-id>` should return not-found
93
+ 2. Display confirmation:
94
+
95
+ ```
96
+ == Entry Removed ==
97
+ ID: {entry-id}
98
+ From: .workflow/specs/{filename}
99
+ Remaining: {remaining entry count} entries in {filename}
100
+
101
+ To verify: maestro wiki list --type spec --category {category}
102
+ To re-add: /spec-add {category} {content}
103
+ ```
104
+
105
+ ---
106
+
107
+ ## Error Codes
108
+
109
+ | Code | Severity | Condition | Recovery |
110
+ |------|----------|-----------|----------|
111
+ | E001 | fatal | Entry ID required | Usage: `/spec-remove <entry-id>` |
112
+ | E002 | fatal | `.workflow/specs/` not initialized | Run `/spec-setup` first |
113
+ | E003 | fatal | Entry ID not found in wiki index | Check ID with `maestro wiki list --type spec` |
114
+ | E004 | fatal | Entry is not a spec sub-node | Only `<spec-entry>` sub-nodes can be removed this way |
115
+ | W001 | warning | Container file empty after removal | File kept but has no entries |
@@ -52,28 +52,7 @@ Framework detection (from dependency files):
52
52
  spring --> Java Spring
53
53
  ```
54
54
 
55
- ### Step 3: Write project-tech.json
56
-
57
- Output: `.workflow/project-tech.json`
58
-
59
- ```json
60
- {
61
- "detected_at": "{ISO timestamp}",
62
- "languages": ["TypeScript", "..."],
63
- "frameworks": ["Next.js", "..."],
64
- "package_manager": "npm | yarn | pnpm | ...",
65
- "build_system": "tsc | webpack | vite | ...",
66
- "test_framework": "jest | vitest | pytest | ...",
67
- "linter": "eslint | prettier | ...",
68
- "architecture": {
69
- "type": "monorepo | single-package | ...",
70
- "entry_points": ["src/index.ts", "..."],
71
- "key_directories": ["src/", "lib/", "..."]
72
- }
73
- }
74
- ```
75
-
76
- ### Step 4: Detect Code Patterns
55
+ ### Step 3: Detect Code Patterns
77
56
 
78
57
  Scan source files for coding conventions:
79
58
 
@@ -85,9 +64,9 @@ Formatting: Check for .prettierrc, .editorconfig, eslint config
85
64
  File naming: kebab-case vs camelCase vs PascalCase for source files
86
65
  ```
87
66
 
88
- ### Step 5: Generate Core Files (always created)
67
+ ### Step 4: Generate Core Files (always created)
89
68
 
90
- #### 5a: coding-conventions.md
69
+ #### 4a: coding-conventions.md
91
70
 
92
71
  Output: `.workflow/specs/coding-conventions.md`
93
72
 
@@ -124,7 +103,7 @@ Auto-generated from project analysis. Update manually as patterns evolve.
124
103
  {empty section for spec-add entries}
125
104
  ```
126
105
 
127
- #### 5b: architecture-constraints.md
106
+ #### 4b: architecture-constraints.md
128
107
 
129
108
  Output: `.workflow/specs/architecture-constraints.md`
130
109
 
@@ -156,7 +135,7 @@ Auto-generated from project structure. Update manually as architecture evolves.
156
135
  {empty section for spec-add entries}
157
136
  ```
158
137
 
159
- #### 5c: learnings.md
138
+ #### 4c: learnings.md
160
139
 
161
140
  Output: `.workflow/specs/learnings.md`
162
141
 
@@ -175,9 +154,9 @@ Add entries with: `/spec-add learning <description>`
175
154
  {empty -- entries added via spec-add}
176
155
  ```
177
156
 
178
- ### Step 6: Generate Optional Files (when signals detected)
157
+ ### Step 5: Generate Optional Files (when signals detected)
179
158
 
180
- #### 6a: quality-rules.md (when linter config or CI detected)
159
+ #### 5a: quality-rules.md (when linter config or CI detected)
181
160
 
182
161
  Output: `.workflow/specs/quality-rules.md`
183
162
 
@@ -193,7 +172,7 @@ category: quality
193
172
  {empty -- entries added via spec-add}
194
173
  ```
195
174
 
196
- #### 6b: test-conventions.md (when test framework or test files detected)
175
+ #### 5b: test-conventions.md (when test framework or test files detected)
197
176
 
198
177
  Scan existing test files for conventions (framework, naming, directory structure, patterns).
199
178
 
@@ -225,16 +204,15 @@ Auto-generated from project analysis. Update manually as patterns evolve.
225
204
  {empty section for spec-add entries}
226
205
  ```
227
206
 
228
- #### 6c: debug-notes.md and review-standards.md
207
+ #### 5c: debug-notes.md and review-standards.md
229
208
 
230
209
  These are NOT created during setup. They are created on demand when `spec-add debug` or `spec-add review` is first used.
231
210
 
232
- ### Step 7: Summary
211
+ ### Step 6: Summary
233
212
 
234
213
  Display what was created:
235
214
  ```
236
215
  Specs initialized:
237
- .workflow/project-tech.json -- Tech stack analysis
238
216
  .workflow/specs/coding-conventions.md (category: coding)
239
217
  .workflow/specs/architecture-constraints.md (category: arch)
240
218
  .workflow/specs/learnings.md (category: learning)