@zigrivers/scaffold 2.38.1 → 2.44.2

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 (201) hide show
  1. package/README.md +10 -7
  2. package/dist/cli/commands/build.js +4 -4
  3. package/dist/cli/commands/build.js.map +1 -1
  4. package/dist/cli/commands/check.test.js +11 -8
  5. package/dist/cli/commands/check.test.js.map +1 -1
  6. package/dist/cli/commands/complete.d.ts.map +1 -1
  7. package/dist/cli/commands/complete.js +2 -1
  8. package/dist/cli/commands/complete.js.map +1 -1
  9. package/dist/cli/commands/complete.test.js +4 -1
  10. package/dist/cli/commands/complete.test.js.map +1 -1
  11. package/dist/cli/commands/dashboard.js +4 -4
  12. package/dist/cli/commands/dashboard.js.map +1 -1
  13. package/dist/cli/commands/knowledge.js +2 -2
  14. package/dist/cli/commands/knowledge.js.map +1 -1
  15. package/dist/cli/commands/knowledge.test.js +5 -12
  16. package/dist/cli/commands/knowledge.test.js.map +1 -1
  17. package/dist/cli/commands/list.d.ts +1 -1
  18. package/dist/cli/commands/list.d.ts.map +1 -1
  19. package/dist/cli/commands/list.js +84 -3
  20. package/dist/cli/commands/list.js.map +1 -1
  21. package/dist/cli/commands/list.test.js +82 -0
  22. package/dist/cli/commands/list.test.js.map +1 -1
  23. package/dist/cli/commands/next.test.js +4 -1
  24. package/dist/cli/commands/next.test.js.map +1 -1
  25. package/dist/cli/commands/reset.d.ts.map +1 -1
  26. package/dist/cli/commands/reset.js +5 -2
  27. package/dist/cli/commands/reset.js.map +1 -1
  28. package/dist/cli/commands/reset.test.js +4 -1
  29. package/dist/cli/commands/reset.test.js.map +1 -1
  30. package/dist/cli/commands/rework.d.ts.map +1 -1
  31. package/dist/cli/commands/rework.js +3 -2
  32. package/dist/cli/commands/rework.js.map +1 -1
  33. package/dist/cli/commands/run.d.ts.map +1 -1
  34. package/dist/cli/commands/run.js +28 -13
  35. package/dist/cli/commands/run.js.map +1 -1
  36. package/dist/cli/commands/run.test.js +1 -1
  37. package/dist/cli/commands/run.test.js.map +1 -1
  38. package/dist/cli/commands/skip.d.ts.map +1 -1
  39. package/dist/cli/commands/skip.js +2 -1
  40. package/dist/cli/commands/skip.js.map +1 -1
  41. package/dist/cli/commands/skip.test.js +4 -1
  42. package/dist/cli/commands/skip.test.js.map +1 -1
  43. package/dist/cli/commands/status.d.ts.map +1 -1
  44. package/dist/cli/commands/status.js +88 -4
  45. package/dist/cli/commands/status.js.map +1 -1
  46. package/dist/cli/commands/version.d.ts.map +1 -1
  47. package/dist/cli/commands/version.js +19 -3
  48. package/dist/cli/commands/version.js.map +1 -1
  49. package/dist/cli/commands/version.test.js +41 -0
  50. package/dist/cli/commands/version.test.js.map +1 -1
  51. package/dist/cli/output/context.test.js +14 -13
  52. package/dist/cli/output/context.test.js.map +1 -1
  53. package/dist/cli/output/interactive.js +4 -4
  54. package/dist/cli/output/json.d.ts +1 -0
  55. package/dist/cli/output/json.d.ts.map +1 -1
  56. package/dist/cli/output/json.js +14 -1
  57. package/dist/cli/output/json.js.map +1 -1
  58. package/dist/config/loader.d.ts.map +1 -1
  59. package/dist/config/loader.js +10 -3
  60. package/dist/config/loader.js.map +1 -1
  61. package/dist/config/loader.test.js +28 -0
  62. package/dist/config/loader.test.js.map +1 -1
  63. package/dist/core/assembly/engine.d.ts.map +1 -1
  64. package/dist/core/assembly/engine.js +6 -1
  65. package/dist/core/assembly/engine.js.map +1 -1
  66. package/dist/e2e/init.test.js +3 -0
  67. package/dist/e2e/init.test.js.map +1 -1
  68. package/dist/index.js +2 -1
  69. package/dist/index.js.map +1 -1
  70. package/dist/project/adopt.test.js +3 -0
  71. package/dist/project/adopt.test.js.map +1 -1
  72. package/dist/project/claude-md.d.ts.map +1 -1
  73. package/dist/project/claude-md.js +2 -1
  74. package/dist/project/claude-md.js.map +1 -1
  75. package/dist/project/detector.js +3 -3
  76. package/dist/project/detector.js.map +1 -1
  77. package/dist/project/signals.d.ts +1 -0
  78. package/dist/project/signals.d.ts.map +1 -1
  79. package/dist/state/decision-logger.d.ts.map +1 -1
  80. package/dist/state/decision-logger.js +7 -4
  81. package/dist/state/decision-logger.js.map +1 -1
  82. package/dist/state/lock-manager.js +1 -1
  83. package/dist/state/lock-manager.js.map +1 -1
  84. package/dist/state/lock-manager.test.js +27 -3
  85. package/dist/state/lock-manager.test.js.map +1 -1
  86. package/dist/state/state-manager.d.ts.map +1 -1
  87. package/dist/state/state-manager.js +6 -0
  88. package/dist/state/state-manager.js.map +1 -1
  89. package/dist/state/state-manager.test.js +7 -0
  90. package/dist/state/state-manager.test.js.map +1 -1
  91. package/dist/types/assembly.d.ts +2 -0
  92. package/dist/types/assembly.d.ts.map +1 -1
  93. package/dist/utils/eligible.d.ts +8 -0
  94. package/dist/utils/eligible.d.ts.map +1 -0
  95. package/dist/utils/eligible.js +36 -0
  96. package/dist/utils/eligible.js.map +1 -0
  97. package/dist/validation/config-validator.test.js +15 -13
  98. package/dist/validation/config-validator.test.js.map +1 -1
  99. package/dist/validation/index.test.js +1 -1
  100. package/dist/wizard/wizard.d.ts.map +1 -1
  101. package/dist/wizard/wizard.js +1 -0
  102. package/dist/wizard/wizard.js.map +1 -1
  103. package/dist/wizard/wizard.test.js +2 -0
  104. package/dist/wizard/wizard.test.js.map +1 -1
  105. package/knowledge/core/automated-review-tooling.md +4 -4
  106. package/knowledge/core/eval-craft.md +44 -0
  107. package/knowledge/core/multi-model-review-dispatch.md +8 -0
  108. package/knowledge/core/system-architecture.md +39 -0
  109. package/knowledge/core/task-decomposition.md +53 -0
  110. package/knowledge/core/testing-strategy.md +160 -0
  111. package/knowledge/finalization/implementation-playbook.md +24 -7
  112. package/knowledge/product/prd-craft.md +41 -0
  113. package/knowledge/review/review-adr.md +1 -1
  114. package/knowledge/review/review-api-design.md +1 -1
  115. package/knowledge/review/review-database-design.md +1 -1
  116. package/knowledge/review/review-domain-modeling.md +1 -1
  117. package/knowledge/review/review-implementation-tasks.md +1 -1
  118. package/knowledge/review/review-methodology.md +1 -1
  119. package/knowledge/review/review-operations.md +1 -1
  120. package/knowledge/review/review-prd.md +1 -1
  121. package/knowledge/review/review-security.md +1 -1
  122. package/knowledge/review/review-system-architecture.md +1 -1
  123. package/knowledge/review/review-testing-strategy.md +1 -1
  124. package/knowledge/review/review-user-stories.md +1 -1
  125. package/knowledge/review/review-ux-specification.md +1 -1
  126. package/knowledge/review/review-vision.md +1 -1
  127. package/knowledge/tools/post-implementation-review-methodology.md +107 -0
  128. package/knowledge/validation/critical-path-analysis.md +13 -0
  129. package/knowledge/validation/implementability-review.md +14 -0
  130. package/package.json +2 -1
  131. package/pipeline/architecture/review-architecture.md +8 -5
  132. package/pipeline/architecture/system-architecture.md +9 -3
  133. package/pipeline/build/multi-agent-resume.md +21 -7
  134. package/pipeline/build/multi-agent-start.md +22 -7
  135. package/pipeline/build/new-enhancement.md +20 -12
  136. package/pipeline/build/quick-task.md +18 -11
  137. package/pipeline/build/single-agent-resume.md +20 -6
  138. package/pipeline/build/single-agent-start.md +24 -8
  139. package/pipeline/consolidation/claude-md-optimization.md +8 -4
  140. package/pipeline/consolidation/workflow-audit.md +9 -5
  141. package/pipeline/decisions/adrs.md +7 -3
  142. package/pipeline/decisions/review-adrs.md +8 -5
  143. package/pipeline/environment/ai-memory-setup.md +6 -2
  144. package/pipeline/environment/automated-pr-review.md +79 -12
  145. package/pipeline/environment/design-system.md +9 -6
  146. package/pipeline/environment/dev-env-setup.md +8 -5
  147. package/pipeline/environment/git-workflow.md +16 -13
  148. package/pipeline/finalization/apply-fixes-and-freeze.md +10 -5
  149. package/pipeline/finalization/developer-onboarding-guide.md +10 -3
  150. package/pipeline/finalization/implementation-playbook.md +13 -4
  151. package/pipeline/foundation/beads.md +8 -5
  152. package/pipeline/foundation/coding-standards.md +13 -10
  153. package/pipeline/foundation/project-structure.md +16 -13
  154. package/pipeline/foundation/tdd.md +9 -4
  155. package/pipeline/foundation/tech-stack.md +7 -5
  156. package/pipeline/integration/add-e2e-testing.md +12 -8
  157. package/pipeline/modeling/domain-modeling.md +9 -7
  158. package/pipeline/modeling/review-domain-modeling.md +8 -6
  159. package/pipeline/parity/platform-parity-review.md +9 -6
  160. package/pipeline/planning/implementation-plan-review.md +10 -7
  161. package/pipeline/planning/implementation-plan.md +41 -9
  162. package/pipeline/pre/create-prd.md +7 -4
  163. package/pipeline/pre/innovate-prd.md +12 -8
  164. package/pipeline/pre/innovate-user-stories.md +10 -7
  165. package/pipeline/pre/review-prd.md +12 -10
  166. package/pipeline/pre/review-user-stories.md +12 -9
  167. package/pipeline/pre/user-stories.md +7 -4
  168. package/pipeline/quality/create-evals.md +6 -3
  169. package/pipeline/quality/operations.md +7 -3
  170. package/pipeline/quality/review-operations.md +12 -5
  171. package/pipeline/quality/review-security.md +11 -6
  172. package/pipeline/quality/review-testing.md +11 -6
  173. package/pipeline/quality/security.md +6 -2
  174. package/pipeline/quality/story-tests.md +14 -9
  175. package/pipeline/specification/api-contracts.md +9 -3
  176. package/pipeline/specification/database-schema.md +8 -2
  177. package/pipeline/specification/review-api.md +10 -4
  178. package/pipeline/specification/review-database.md +8 -3
  179. package/pipeline/specification/review-ux.md +9 -3
  180. package/pipeline/specification/ux-spec.md +9 -4
  181. package/pipeline/validation/critical-path-walkthrough.md +10 -5
  182. package/pipeline/validation/cross-phase-consistency.md +9 -4
  183. package/pipeline/validation/decision-completeness.md +8 -3
  184. package/pipeline/validation/dependency-graph-validation.md +8 -3
  185. package/pipeline/validation/implementability-dry-run.md +9 -5
  186. package/pipeline/validation/scope-creep-check.md +11 -6
  187. package/pipeline/validation/traceability-matrix.md +10 -5
  188. package/pipeline/vision/create-vision.md +7 -4
  189. package/pipeline/vision/innovate-vision.md +11 -8
  190. package/pipeline/vision/review-vision.md +15 -12
  191. package/skills/multi-model-dispatch/SKILL.md +6 -5
  192. package/skills/scaffold-runner/SKILL.md +47 -3
  193. package/tools/dashboard.md +53 -0
  194. package/tools/post-implementation-review.md +655 -0
  195. package/tools/prompt-pipeline.md +160 -0
  196. package/tools/release.md +435 -0
  197. package/tools/review-pr.md +229 -0
  198. package/tools/session-analyzer.md +299 -0
  199. package/tools/update.md +113 -0
  200. package/tools/version-bump.md +290 -0
  201. package/tools/version.md +82 -0
@@ -7,7 +7,7 @@ order: 030
7
7
  dependencies: [review-vision]
8
8
  outputs: [docs/vision.md]
9
9
  conditional: "if-needed"
10
- knowledge-base: [vision-craft]
10
+ knowledge-base: [vision-craft, prd-innovation]
11
11
  ---
12
12
 
13
13
  ## Purpose
@@ -29,24 +29,27 @@ not here.
29
29
  - docs/vision.md — updated with approved strategic innovations
30
30
 
31
31
  ## Quality Criteria
32
- - Innovations are strategic-level, not feature-level
32
+ - (mvp) Innovations are strategic-level, not feature-level
33
33
  - (mvp) Each innovation categorized: market opportunity, positioning, AI-native, ecosystem, or contrarian
34
34
  - (mvp) Each innovation includes: what to change, why, impact (high/medium/low), cost estimate
35
35
  - (mvp) Each suggestion has an implementation cost estimate (trivial/moderate/significant)
36
36
  - (mvp) Recommended disposition stated for each: must-have, backlog, or reject with rationale
37
37
  - (deep) Impact assessments compared to existing document content
38
38
  - (deep) Each approved innovation is integrated with the same subsection headings and detail level as existing vision sections
39
- - Vision scope is respected no uncontrolled strategic drift
40
- - User approval is obtained before modifying the vision document
39
+ - (mvp) Each innovation marked with approval status: approved, deferred, or rejected, with user decision timestamp
40
+ - (mvp) Vision scope is respected no uncontrolled strategic drift
41
+ - (mvp) User approval is obtained before modifying the vision document
41
42
 
42
43
  ## Methodology Scaling
43
44
  - **deep**: Full innovation pass across all 5 dimensions. Competitive research
44
45
  via web search. Detailed integration of approved innovations into vision.
45
46
  - **mvp**: Not applicable — this step is conditional and skipped in MVP.
46
- - **custom:depth(1-5)**: Depth 1-2: Quick scan only — identify 1-2 high-impact
47
- strategic angles with brief rationale. Depth 3: quick scan for positioning
48
- gaps and obvious market opportunities. Depth 4-5: full innovation pass
49
- across all 5 dimensions.
47
+ - **custom:depth(1-5)**:
48
+ - Depth 1: Skip (not enough context for meaningful innovation at this depth).
49
+ - Depth 2: Quick scan only — identify 1-2 high-impact strategic angles with brief rationale.
50
+ - Depth 3: Quick scan for positioning gaps and obvious market opportunities across dimensions 1-2.
51
+ - Depth 4: Full innovation pass across all 5 dimensions with competitive research.
52
+ - Depth 5: Full innovation pass across all 5 dimensions with competitive research and contrarian stress-test.
50
53
 
51
54
  ## Conditional Evaluation
52
55
  Enable when: project has competitive landscape content in vision.md, user
@@ -26,21 +26,24 @@ strategically sound, and ready for the PRD to consume.
26
26
 
27
27
  ## Quality Criteria
28
28
  - (mvp) Passes 1 and 5 executed with findings documented
29
- - All 5 review passes executed with findings documented
30
- - Every finding categorized by severity (P0-P3)
31
- - Fix plan created for P0 and P1 findings
32
- - Fixes applied and re-validated
29
+ - (deep) All 5 review passes executed with findings documented
30
+ - (mvp) Every finding categorized by severity: P0 = Breaks downstream work. P1 = Prevents quality milestone. P2 = Known tech debt. P3 = Polish.
31
+ - (mvp) Fix plan created for P0 and P1 findings
32
+ - (mvp) Fixes applied and re-validated
33
33
  - (mvp) Every vision section has content specific enough to derive a PRD without asking strategic clarification questions
34
- - (depth 4+) Multi-model review findings synthesized with consensus/disagreement analysis
34
+ - (depth 4+) Multi-model review findings synthesized: Consensus (all models agree), Majority (2+ models agree), or Divergent (models disagree — present to user for decision)
35
35
 
36
36
  ## Methodology Scaling
37
37
  - **deep**: All 5 review passes. Full findings report with severity
38
38
  categorization. Fixes applied and re-validated.
39
39
  - **mvp**: Passes 1 and 5 only (Vision Clarity and Downstream Readiness).
40
40
  Focus on blocking gaps — is the vision clear enough to write a PRD from?
41
- - **custom:depth(1-5)**: Depth 1-2: passes 1 and 5 only. Depth 3: passes 1,
42
- 2, 5 (add Audience Precision). Depth 4: passes 1-3, 5 (add Competitive
43
- Rigor). Depth 5: all 5 passes.
41
+ - **custom:depth(1-5)**:
42
+ - Depth 1: Pass 1 only (Vision Clarity). Single review pass.
43
+ - Depth 2: Passes 1 and 5 (Vision Clarity, Downstream Readiness). Two review passes.
44
+ - Depth 3: Passes 1, 2, 5 (add Audience Precision). Three review passes.
45
+ - Depth 4: Passes 1-3, 5 (add Competitive Rigor) + one external model review (if CLI available). Four review passes.
46
+ - Depth 5: All 5 passes + multi-model review with reconciliation. Five review passes.
44
47
 
45
48
  ## Mode Detection
46
49
  If docs/reviews/vision-review-vision.md exists, this is a re-review. Read
@@ -115,10 +118,10 @@ Evaluate whether the PRD can be written from this vision:
115
118
  ### Review Process
116
119
 
117
120
  1. Execute each pass, documenting findings with severity (P0-P3):
118
- - P0: Vision is fundamentally unclear or contradictory — blocks all downstream work
119
- - P1: Significant gap that would cause PRD to make wrong assumptions
120
- - P2: Minor gap or vagueness that could be improved
121
- - P3: Nitpick or style suggestion
121
+ - P0: Breaks downstream work — vision is fundamentally unclear or contradictory
122
+ - P1: Prevents quality milestone — significant gap that would cause PRD to make wrong assumptions
123
+ - P2: Known tech debt — minor gap or vagueness that could be improved
124
+ - P3: Polish — nitpick or style suggestion
122
125
  2. Create a fix plan for all P0 and P1 findings
123
126
  3. Present the fix plan to the user for approval
124
127
  4. Apply approved fixes to docs/vision.md
@@ -141,12 +141,13 @@ When dispatching a review, bundle all relevant context into the prompt. Each CLI
141
141
  ### Template for Artifact Review
142
142
 
143
143
  ```
144
- You are reviewing a project artifact for quality issues. Focus on P0 (critical) and P1 (high) issues only.
144
+ You are reviewing a project artifact for quality issues. Report P0 (critical), P1 (high), and P2 (medium) issues.
145
145
 
146
146
  ## Severity Definitions
147
147
  - P0: Will cause implementation failure, data loss, security vulnerability, or fundamental architectural flaw
148
148
  - P1: Will cause bugs in normal usage, inconsistency across documents, or blocks downstream work
149
- - Do NOT report P2/P3 issues (suggestions, style, minor improvements)
149
+ - P2: Improvement opportunity style, naming, documentation, minor optimization
150
+ - Do NOT report P3 issues (personal preference, trivial nits)
150
151
 
151
152
  ## Review Standards
152
153
  [paste contents of docs/review-standards.md if it exists, otherwise use severity definitions above]
@@ -163,7 +164,7 @@ Respond with a JSON object:
163
164
  "approved": true/false,
164
165
  "findings": [
165
166
  {
166
- "severity": "P0" or "P1",
167
+ "severity": "P0" or "P1" or "P2",
167
168
  "location": "section or line reference",
168
169
  "description": "what's wrong",
169
170
  "suggestion": "specific fix"
@@ -172,13 +173,13 @@ Respond with a JSON object:
172
173
  "summary": "one-line assessment"
173
174
  }
174
175
 
175
- If no P0/P1 issues found, respond with: { "approved": true, "findings": [], "summary": "No P0/P1 issues found." }
176
+ If no P0/P1/P2 issues found, respond with: { "approved": true, "findings": [], "summary": "No issues found." }
176
177
  ```
177
178
 
178
179
  ### Template for PR Diff Review
179
180
 
180
181
  ```
181
- You are reviewing a pull request diff. Focus on P0 and P1 issues only.
182
+ You are reviewing a pull request diff. Report P0, P1, and P2 issues.
182
183
 
183
184
  ## Review Standards
184
185
  [paste docs/review-standards.md]
@@ -148,7 +148,7 @@ If no prior activity is detected, suggest `single-agent-start` or `multi-agent-s
148
148
 
149
149
  ## Tool Execution
150
150
 
151
- Tools (version-bump, release, version, update, dashboard, prompt-pipeline, session-analyzer) are utility commands orthogonal to the pipeline.
151
+ Tools (version-bump, release, version, update, dashboard, prompt-pipeline, session-analyzer, review-pr, post-implementation-review) are utility commands orthogonal to the pipeline.
152
152
 
153
153
  ### Differences from Pipeline Steps
154
154
 
@@ -167,7 +167,50 @@ Tools (version-bump, release, version, update, dashboard, prompt-pipeline, sessi
167
167
  ### Accessing Tools
168
168
 
169
169
  - `scaffold run <tool-name>` — run a specific tool
170
- - `scaffold list --tools` — show available tools (when implemented)
170
+ - `scaffold list --section tools` — show available tools (compact)
171
+ - `scaffold list --section tools --verbose` — show with argument hints
172
+ - `scaffold list --section tools --format json` — machine-readable output
173
+
174
+ ## Tool Listing
175
+
176
+ When the user asks "what tools are available?", "what can I build?", or "show me the tools":
177
+
178
+ 1. Run `scaffold list --section tools --format json`
179
+ 2. Parse the JSON: `data.tools.build` (build phase steps) and `data.tools.utility` (utility tools)
180
+ 3. Render as two grouped sections:
181
+
182
+ **Build Phase (Phase 15)**
183
+ > These are stateless pipeline steps — they appear in `scaffold next` once Phase 14 is complete and can be run repeatedly.
184
+
185
+ | Command | When to Use |
186
+ |---------|-------------|
187
+ | `scaffold run single-agent-start` | Start the autonomous TDD implementation loop — Claude picks up tasks and builds |
188
+ | `scaffold run single-agent-resume` | Resume where you left off after closing Claude Code |
189
+ | `scaffold run multi-agent-start` | Start parallel implementation with multiple agents in worktrees |
190
+ | `scaffold run multi-agent-resume` | Resume parallel agent work after a break |
191
+ | `scaffold run quick-task` | Create a focused task for a bug fix, refactor, or small improvement |
192
+ | `scaffold run new-enhancement` | Add a new feature to an already-scaffolded project |
193
+
194
+ **Utility Tools**
195
+ > These are orthogonal to the pipeline — usable at any time, not tied to pipeline state.
196
+
197
+ | Command | When to Use |
198
+ |---------|-------------|
199
+ | `scaffold run version-bump` | Mark a milestone with a version number without the full release ceremony |
200
+ | `scaffold run release` | Ship a new version — changelog, Git tag, and GitHub release. Supports `--dry-run`, `current`, and `rollback` |
201
+ | `scaffold run version` | Show the current scaffold version |
202
+ | `scaffold run update` | Update scaffold to the latest version |
203
+ | `scaffold run dashboard` | Open a visual progress dashboard in your browser |
204
+ | `scaffold run prompt-pipeline` | Print the full pipeline reference table |
205
+ | `scaffold run review-pr` | Run all 3 code review channels (Codex CLI, Gemini CLI, Superpowers) on a PR |
206
+ | `scaffold run post-implementation-review` | Full 3-channel codebase review after an AI agent completes all tasks |
207
+ | `scaffold run session-analyzer` | Analyze Claude Code session logs for patterns and insights |
208
+
209
+ **Display rules:**
210
+ - The tool list comes from CLI output (always complete and up-to-date)
211
+ - The "When to Use" column comes from the table above (stable prose)
212
+ - If the CLI returns a tool not in the table above, display it using its `description` field from the CLI output — graceful degradation
213
+ - For verbose detail (`--verbose`), call `scaffold list --section tools --verbose --format json` and add an Arguments column using the `argumentHint` values
171
214
 
172
215
  ## Session Preferences
173
216
 
@@ -217,8 +260,9 @@ Respond to these natural language requests:
217
260
  | "New feature" / "Add enhancement" | `scaffold run new-enhancement <description>` |
218
261
  | "Bump version" / "Version bump" | `scaffold run version-bump` |
219
262
  | "Create release" / "Release" | `scaffold run release` |
220
- | "What tools are available?" | `scaffold list --tools` |
263
+ | "What tools are available?" | Run `scaffold list --section tools --format json`, render as two-section grouped display — see [Tool Listing](#tool-listing) |
221
264
  | "Show version" | `scaffold run version` |
265
+ | "Review PR" / "Run code review" | `scaffold run review-pr` |
222
266
 
223
267
  ### Re-running Steps
224
268
 
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: dashboard
3
+ description: Open visual pipeline dashboard in browser
4
+ phase: null
5
+ order: null
6
+ dependencies: []
7
+ outputs: []
8
+ conditional: null
9
+ stateless: true
10
+ category: tool
11
+ knowledge-base: []
12
+ ---
13
+
14
+ ## Purpose
15
+
16
+ Open a visual pipeline dashboard in the browser showing progress, phase grouping,
17
+ step details, and what's next.
18
+
19
+ ## Instructions
20
+
21
+ Run the `scaffold dashboard` CLI command:
22
+
23
+ ```bash
24
+ scaffold dashboard
25
+ ```
26
+
27
+ ### Flags
28
+
29
+ - `--no-open` — Generate HTML but don't open in browser
30
+ - `--json-only` — Output JSON data to stdout (for scripting)
31
+ - `--output FILE` — Write HTML to a specific file path
32
+
33
+ ### What It Shows
34
+
35
+ - **Progress bar** with color-coded segments (completed, skipped, pending)
36
+ - **Summary cards** with counts for completed, skipped, pending, and total steps
37
+ - **Phase-grouped steps** in collapsible sections, organized by the 16 pipeline phases
38
+ - **Step detail modals** with descriptions, dependencies, outputs, and full prompt content
39
+ - **"What's Next" banner** highlighting the recommended next step
40
+ - **Decision log** showing recorded project decisions
41
+ - **Dark/light theme** (automatic, follows system preference)
42
+
43
+ ### Modes
44
+
45
+ - **With `.scaffold/` directory**: Shows actual progress — completed/skipped/pending status from state
46
+ - **Without `.scaffold/` directory**: Shows full pipeline overview as a reference guide (all steps pending)
47
+
48
+ ## Process Rules
49
+
50
+ 1. This is a standalone command — use it anytime during the pipeline to check progress.
51
+ 2. No files in the project are modified (the dashboard HTML is written to a temp directory).
52
+
53
+ **Pipeline reference:** `/scaffold:prompt-pipeline`