@bhargavvc/sdd-cc 1.30.0 → 1.35.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.
- package/README.ja-JP.md +144 -110
- package/README.ko-KR.md +143 -107
- package/README.md +183 -112
- package/README.pt-BR.md +90 -52
- package/README.zh-CN.md +141 -101
- package/agents/sdd-advisor-researcher.md +23 -0
- package/agents/sdd-ai-researcher.md +133 -0
- package/agents/sdd-code-fixer.md +516 -0
- package/agents/sdd-code-reviewer.md +355 -0
- package/agents/sdd-codebase-mapper.md +3 -3
- package/agents/sdd-debugger.md +17 -5
- package/agents/sdd-doc-verifier.md +201 -0
- package/agents/sdd-doc-writer.md +602 -0
- package/agents/sdd-domain-researcher.md +153 -0
- package/agents/sdd-eval-auditor.md +164 -0
- package/agents/sdd-eval-planner.md +154 -0
- package/agents/sdd-executor.md +87 -4
- package/agents/sdd-framework-selector.md +160 -0
- package/agents/sdd-intel-updater.md +314 -0
- package/agents/sdd-nyquist-auditor.md +1 -1
- package/agents/sdd-phase-researcher.md +71 -4
- package/agents/sdd-plan-checker.md +100 -6
- package/agents/sdd-planner.md +145 -206
- package/agents/sdd-project-researcher.md +25 -2
- package/agents/sdd-research-synthesizer.md +3 -3
- package/agents/sdd-roadmapper.md +6 -6
- package/agents/sdd-security-auditor.md +128 -0
- package/agents/sdd-ui-auditor.md +43 -3
- package/agents/sdd-ui-checker.md +5 -5
- package/agents/sdd-ui-researcher.md +27 -4
- package/agents/sdd-user-profiler.md +2 -2
- package/agents/sdd-verifier.md +142 -22
- package/bin/install.js +2151 -551
- package/commands/sdd/add-backlog.md +5 -5
- package/commands/sdd/add-tests.md +2 -2
- package/commands/sdd/ai-integration-phase.md +36 -0
- package/commands/sdd/analyze-dependencies.md +34 -0
- package/commands/sdd/audit-fix.md +33 -0
- package/commands/sdd/autonomous.md +7 -2
- package/commands/sdd/cleanup.md +5 -0
- package/commands/sdd/code-review-fix.md +52 -0
- package/commands/sdd/code-review.md +55 -0
- package/commands/sdd/complete-milestone.md +6 -6
- package/commands/sdd/debug.md +22 -9
- package/commands/sdd/discuss-phase.md +7 -2
- package/commands/sdd/do.md +1 -1
- package/commands/sdd/docs-update.md +48 -0
- package/commands/sdd/eval-review.md +32 -0
- package/commands/sdd/execute-phase.md +4 -0
- package/commands/sdd/explore.md +27 -0
- package/commands/sdd/fast.md +2 -2
- package/commands/sdd/from-sdd2.md +45 -0
- package/commands/sdd/help.md +2 -0
- package/commands/sdd/import.md +36 -0
- package/commands/sdd/intel.md +179 -0
- package/commands/sdd/join-discord.md +2 -1
- package/commands/sdd/manager.md +1 -0
- package/commands/sdd/map-codebase.md +3 -3
- package/commands/sdd/new-milestone.md +1 -1
- package/commands/sdd/new-project.md +5 -1
- package/commands/sdd/new-workspace.md +1 -1
- package/commands/sdd/next.md +2 -0
- package/commands/sdd/plan-milestone-gaps.md +2 -2
- package/commands/sdd/plan-phase.md +6 -1
- package/commands/sdd/plant-seed.md +1 -1
- package/commands/sdd/profile-user.md +1 -1
- package/commands/sdd/quick.md +5 -3
- package/commands/sdd/reapply-patches.md +230 -42
- package/commands/sdd/research-phase.md +3 -3
- package/commands/sdd/review-backlog.md +1 -0
- package/commands/sdd/review.md +6 -3
- package/commands/sdd/scan.md +26 -0
- package/commands/sdd/secure-phase.md +35 -0
- package/commands/sdd/ship.md +1 -1
- package/commands/sdd/thread.md +5 -5
- package/commands/sdd/undo.md +34 -0
- package/commands/sdd/verify-work.md +1 -1
- package/commands/sdd/workstreams.md +17 -11
- package/hooks/dist/sdd-check-update.js +33 -8
- package/hooks/dist/sdd-context-monitor.js +17 -8
- package/hooks/dist/sdd-phase-boundary.sh +27 -0
- package/hooks/dist/sdd-prompt-guard.js +1 -0
- package/hooks/dist/sdd-read-guard.js +82 -0
- package/hooks/dist/sdd-session-state.sh +33 -0
- package/hooks/dist/sdd-statusline.js +137 -15
- package/hooks/dist/sdd-validate-commit.sh +47 -0
- package/hooks/dist/sdd-workflow-guard.js +4 -4
- package/hooks/sdd-check-update.js +139 -0
- package/hooks/sdd-context-monitor.js +165 -0
- package/hooks/sdd-phase-boundary.sh +27 -0
- package/hooks/sdd-prompt-guard.js +97 -0
- package/hooks/sdd-read-guard.js +82 -0
- package/hooks/sdd-session-state.sh +33 -0
- package/hooks/sdd-statusline.js +241 -0
- package/hooks/sdd-validate-commit.sh +47 -0
- package/hooks/sdd-workflow-guard.js +94 -0
- package/package.json +3 -3
- package/scripts/build-hooks.js +18 -7
- package/scripts/prompt-injection-scan.sh +1 -0
- package/scripts/rebrand-gsd-to-sdd.sh +221 -220
- package/scripts/run-tests.cjs +5 -1
- package/scripts/sync-upstream.sh +1 -1
- package/sdd/bin/lib/commands.cjs +79 -17
- package/sdd/bin/lib/config.cjs +90 -48
- package/sdd/bin/lib/core.cjs +452 -87
- package/sdd/bin/lib/docs.cjs +267 -0
- package/sdd/bin/lib/frontmatter.cjs +381 -336
- package/sdd/bin/lib/init.cjs +110 -16
- package/sdd/bin/lib/intel.cjs +660 -0
- package/sdd/bin/lib/learnings.cjs +378 -0
- package/sdd/bin/lib/milestone.cjs +42 -11
- package/sdd/bin/lib/model-profiles.cjs +17 -15
- package/sdd/bin/lib/phase.cjs +367 -288
- package/sdd/bin/lib/profile-output.cjs +106 -10
- package/sdd/bin/lib/roadmap.cjs +146 -115
- package/sdd/bin/lib/schema-detect.cjs +238 -0
- package/sdd/bin/lib/sdd2-import.cjs +511 -0
- package/sdd/bin/lib/security.cjs +124 -3
- package/sdd/bin/lib/state.cjs +648 -264
- package/sdd/bin/lib/template.cjs +8 -4
- package/sdd/bin/lib/verify.cjs +209 -28
- package/sdd/bin/lib/workstream.cjs +7 -3
- package/sdd/bin/sdd-tools.cjs +184 -12
- package/sdd/contexts/dev.md +21 -0
- package/sdd/contexts/research.md +22 -0
- package/sdd/contexts/review.md +22 -0
- package/sdd/references/agent-contracts.md +79 -0
- package/sdd/references/ai-evals.md +156 -0
- package/sdd/references/ai-frameworks.md +186 -0
- package/sdd/references/artifact-types.md +113 -0
- package/sdd/references/common-bug-patterns.md +114 -0
- package/sdd/references/context-budget.md +49 -0
- package/sdd/references/continuation-format.md +25 -25
- package/sdd/references/domain-probes.md +125 -0
- package/sdd/references/few-shot-examples/plan-checker.md +73 -0
- package/sdd/references/few-shot-examples/verifier.md +109 -0
- package/sdd/references/gate-prompts.md +100 -0
- package/sdd/references/gates.md +70 -0
- package/sdd/references/git-integration.md +1 -1
- package/sdd/references/ios-scaffold.md +123 -0
- package/sdd/references/model-profile-resolution.md +2 -0
- package/sdd/references/model-profiles.md +24 -18
- package/sdd/references/planner-gap-closure.md +62 -0
- package/sdd/references/planner-reviews.md +39 -0
- package/sdd/references/planner-revision.md +87 -0
- package/sdd/references/planning-config.md +252 -0
- package/sdd/references/revision-loop.md +97 -0
- package/sdd/references/thinking-models-debug.md +44 -0
- package/sdd/references/thinking-models-execution.md +50 -0
- package/sdd/references/thinking-models-planning.md +62 -0
- package/sdd/references/thinking-models-research.md +50 -0
- package/sdd/references/thinking-models-verification.md +55 -0
- package/sdd/references/thinking-partner.md +96 -0
- package/sdd/references/ui-brand.md +4 -4
- package/sdd/references/universal-anti-patterns.md +63 -0
- package/sdd/references/verification-overrides.md +227 -0
- package/sdd/references/workstream-flag.md +56 -3
- package/sdd/templates/AI-SPEC.md +246 -0
- package/sdd/templates/DEBUG.md +1 -1
- package/sdd/templates/SECURITY.md +61 -0
- package/sdd/templates/UAT.md +4 -4
- package/sdd/templates/VALIDATION.md +4 -4
- package/sdd/templates/claude-md.md +32 -9
- package/sdd/templates/config.json +4 -0
- package/sdd/templates/debug-subagent-prompt.md +1 -1
- package/sdd/templates/dev-preferences.md +1 -1
- package/sdd/templates/discovery.md +2 -2
- package/sdd/templates/phase-prompt.md +1 -1
- package/sdd/templates/planner-subagent-prompt.md +3 -3
- package/sdd/templates/project.md +1 -1
- package/sdd/templates/research.md +1 -1
- package/sdd/templates/state.md +2 -2
- package/sdd/workflows/add-phase.md +8 -8
- package/sdd/workflows/add-tests.md +12 -9
- package/sdd/workflows/add-todo.md +5 -3
- package/sdd/workflows/ai-integration-phase.md +284 -0
- package/sdd/workflows/analyze-dependencies.md +96 -0
- package/sdd/workflows/audit-fix.md +157 -0
- package/sdd/workflows/audit-milestone.md +11 -11
- package/sdd/workflows/audit-uat.md +2 -2
- package/sdd/workflows/autonomous.md +195 -27
- package/sdd/workflows/check-todos.md +12 -10
- package/sdd/workflows/cleanup.md +2 -0
- package/sdd/workflows/code-review-fix.md +497 -0
- package/sdd/workflows/code-review.md +515 -0
- package/sdd/workflows/complete-milestone.md +56 -22
- package/sdd/workflows/diagnose-issues.md +10 -3
- package/sdd/workflows/discovery-phase.md +5 -3
- package/sdd/workflows/discuss-phase-assumptions.md +24 -6
- package/sdd/workflows/discuss-phase-power.md +291 -0
- package/sdd/workflows/discuss-phase.md +173 -21
- package/sdd/workflows/do.md +23 -21
- package/sdd/workflows/docs-update.md +1155 -0
- package/sdd/workflows/eval-review.md +155 -0
- package/sdd/workflows/execute-phase.md +594 -38
- package/sdd/workflows/execute-plan.md +67 -96
- package/sdd/workflows/explore.md +139 -0
- package/sdd/workflows/fast.md +5 -5
- package/sdd/workflows/forensics.md +2 -2
- package/sdd/workflows/health.md +4 -4
- package/sdd/workflows/help.md +122 -119
- package/sdd/workflows/import.md +276 -0
- package/sdd/workflows/inbox.md +387 -0
- package/sdd/workflows/insert-phase.md +7 -7
- package/sdd/workflows/list-phase-assumptions.md +4 -4
- package/sdd/workflows/list-workspaces.md +2 -2
- package/sdd/workflows/manager.md +35 -32
- package/sdd/workflows/map-codebase.md +7 -5
- package/sdd/workflows/milestone-summary.md +2 -2
- package/sdd/workflows/new-milestone.md +17 -9
- package/sdd/workflows/new-project.md +50 -25
- package/sdd/workflows/new-workspace.md +7 -5
- package/sdd/workflows/next.md +67 -11
- package/sdd/workflows/note.md +9 -7
- package/sdd/workflows/pause-work.md +75 -12
- package/sdd/workflows/plan-milestone-gaps.md +8 -8
- package/sdd/workflows/plan-phase.md +294 -42
- package/sdd/workflows/plant-seed.md +6 -3
- package/sdd/workflows/pr-branch.md +42 -14
- package/sdd/workflows/profile-user.md +9 -7
- package/sdd/workflows/progress.md +45 -45
- package/sdd/workflows/quick.md +195 -47
- package/sdd/workflows/remove-phase.md +6 -6
- package/sdd/workflows/remove-workspace.md +3 -1
- package/sdd/workflows/research-phase.md +2 -2
- package/sdd/workflows/resume-project.md +12 -12
- package/sdd/workflows/review.md +109 -9
- package/sdd/workflows/scan.md +102 -0
- package/sdd/workflows/secure-phase.md +166 -0
- package/sdd/workflows/session-report.md +2 -2
- package/sdd/workflows/settings.md +38 -12
- package/sdd/workflows/ship.md +21 -9
- package/sdd/workflows/stats.md +1 -1
- package/sdd/workflows/transition.md +23 -23
- package/sdd/workflows/ui-phase.md +15 -7
- package/sdd/workflows/ui-review.md +29 -4
- package/sdd/workflows/undo.md +314 -0
- package/sdd/workflows/update.md +171 -20
- package/sdd/workflows/validate-phase.md +6 -4
- package/sdd/workflows/verify-phase.md +210 -6
- package/sdd/workflows/verify-work.md +83 -9
- package/sdd/commands/sdd/workstreams.md +0 -63
|
@@ -30,6 +30,8 @@ PROFILE_PATH="$HOME/.claude/sdd/USER-PROFILE.md"
|
|
|
30
30
|
|
|
31
31
|
**If profile exists AND --refresh NOT set AND --questionnaire NOT set:**
|
|
32
32
|
|
|
33
|
+
|
|
34
|
+
**Text mode (`workflow.text_mode: true` in config or `--text` flag):** Set `TEXT_MODE=true` if `--text` is present in `$ARGUMENTS` OR `text_mode` from init JSON is `true`. When TEXT_MODE is active, replace every `AskUserQuestion` call with a plain-text numbered list and ask the user to type their choice number. This is required for non-Claude runtimes (OpenAI Codex, Gemini CLI, etc.) where `AskUserQuestion` is not available.
|
|
33
35
|
Use AskUserQuestion:
|
|
34
36
|
- header: "Existing Profile"
|
|
35
37
|
- question: "You already have a profile. What would you like to do?"
|
|
@@ -46,7 +48,7 @@ If "Cancel": Display "No changes made." and exit.
|
|
|
46
48
|
|
|
47
49
|
Backup existing profile:
|
|
48
50
|
```bash
|
|
49
|
-
cp "$HOME/.claude/sdd/USER-PROFILE.md" "$HOME/.claude/
|
|
51
|
+
cp "$HOME/.claude/sdd/USER-PROFILE.md" "$HOME/.claude/USER-PROFILE.backup.md"
|
|
50
52
|
```
|
|
51
53
|
|
|
52
54
|
Display: "Re-analyzing your sessions to update your profile."
|
|
@@ -118,7 +120,7 @@ Use AskUserQuestion:
|
|
|
118
120
|
- options:
|
|
119
121
|
- "Let's go" -- Proceed to step 3 (session analysis)
|
|
120
122
|
- "Use questionnaire instead" -- Jump to step 4b (questionnaire path)
|
|
121
|
-
- "Not now" -- Display "No worries. Run /sdd
|
|
123
|
+
- "Not now" -- Display "No worries. Run /sdd-profile-user when ready." and exit
|
|
122
124
|
|
|
123
125
|
---
|
|
124
126
|
|
|
@@ -333,7 +335,7 @@ Use AskUserQuestion with multiSelect:
|
|
|
333
335
|
- header: "Artifacts"
|
|
334
336
|
- question: "Which artifacts should I generate?"
|
|
335
337
|
- options (ALL pre-selected by default):
|
|
336
|
-
- "/sdd
|
|
338
|
+
- "/sdd-dev-preferences command file" -- "Load your preferences in any session"
|
|
337
339
|
- "CLAUDE.md profile section" -- "Add profile to this project's CLAUDE.md"
|
|
338
340
|
- "Global CLAUDE.md" -- "Add profile to $HOME/.claude/CLAUDE.md for all projects"
|
|
339
341
|
|
|
@@ -345,13 +347,13 @@ Use AskUserQuestion with multiSelect:
|
|
|
345
347
|
|
|
346
348
|
Generate selected artifacts sequentially (file I/O is fast, no benefit from parallel agents):
|
|
347
349
|
|
|
348
|
-
**For /sdd
|
|
350
|
+
**For /sdd-dev-preferences (if selected):**
|
|
349
351
|
|
|
350
352
|
```bash
|
|
351
353
|
node $HOME/.claude/sdd/bin/sdd-tools.cjs generate-dev-preferences --analysis "$ANALYSIS_PATH" --json 2>/dev/null
|
|
352
354
|
```
|
|
353
355
|
|
|
354
|
-
Display: "✓ Generated /sdd
|
|
356
|
+
Display: "✓ Generated /sdd-dev-preferences at $HOME/.claude/commands/sdd/dev-preferences.md"
|
|
355
357
|
|
|
356
358
|
**For CLAUDE.md profile section (if selected):**
|
|
357
359
|
|
|
@@ -381,7 +383,7 @@ Read both old backup and new analysis to compare dimension ratings/confidence.
|
|
|
381
383
|
|
|
382
384
|
Read the backed-up profile:
|
|
383
385
|
```bash
|
|
384
|
-
BACKUP_PATH="$HOME/.claude/
|
|
386
|
+
BACKUP_PATH="$HOME/.claude/USER-PROFILE.backup.md"
|
|
385
387
|
```
|
|
386
388
|
|
|
387
389
|
Compare each dimension's rating and confidence between old and new. Display diff table showing only changed dimensions:
|
|
@@ -410,7 +412,7 @@ Your profile: $HOME/.claude/sdd/USER-PROFILE.md
|
|
|
410
412
|
Then list paths for each generated artifact:
|
|
411
413
|
```
|
|
412
414
|
Artifacts:
|
|
413
|
-
✓ /sdd
|
|
415
|
+
✓ /sdd-dev-preferences $HOME/.claude/commands/sdd/dev-preferences.md
|
|
414
416
|
✓ CLAUDE.md section ./CLAUDE.md
|
|
415
417
|
✓ Global CLAUDE.md $HOME/.claude/CLAUDE.md
|
|
416
418
|
```
|
|
@@ -27,18 +27,18 @@ If `project_exists` is false (no `.planning/` directory):
|
|
|
27
27
|
```
|
|
28
28
|
No planning structure found.
|
|
29
29
|
|
|
30
|
-
Run /sdd
|
|
30
|
+
Run /sdd-new-project to start a new project.
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
Exit.
|
|
34
34
|
|
|
35
|
-
If missing STATE.md: suggest `/sdd
|
|
35
|
+
If missing STATE.md: suggest `/sdd-new-project`.
|
|
36
36
|
|
|
37
37
|
**If ROADMAP.md missing but PROJECT.md exists:**
|
|
38
38
|
|
|
39
39
|
This means a milestone was completed and archived. Go to **Route F** (between milestones).
|
|
40
40
|
|
|
41
|
-
If missing both ROADMAP.md and PROJECT.md: suggest `/sdd
|
|
41
|
+
If missing both ROADMAP.md and PROJECT.md: suggest `/sdd-new-project`.
|
|
42
42
|
</step>
|
|
43
43
|
|
|
44
44
|
<step name="load">
|
|
@@ -123,10 +123,10 @@ CONTEXT: [✓ if has_context | - if not]
|
|
|
123
123
|
- [e.g. jq -r '.blockers[].text' from state-snapshot]
|
|
124
124
|
|
|
125
125
|
## Pending Todos
|
|
126
|
-
- [count] pending — /sdd
|
|
126
|
+
- [count] pending — /sdd-check-todos to review
|
|
127
127
|
|
|
128
128
|
## Active Debug Sessions
|
|
129
|
-
- [count] active — /sdd
|
|
129
|
+
- [count] active — /sdd-debug to continue
|
|
130
130
|
(Only show this section if count > 0)
|
|
131
131
|
|
|
132
132
|
## What's Next
|
|
@@ -185,8 +185,8 @@ Track: `outstanding_debt` — `summary.total_items` from the audit.
|
|
|
185
185
|
| {phase} | {filename} | {pending_count} pending, {skipped_count} skipped, {blocked_count} blocked |
|
|
186
186
|
| {phase} | {filename} | human_needed — {count} items |
|
|
187
187
|
|
|
188
|
-
Review: `/sdd
|
|
189
|
-
Resume testing: `/sdd
|
|
188
|
+
Review: `/sdd-audit-uat ${SDD_WS}` — full cross-phase audit
|
|
189
|
+
Resume testing: `/sdd-verify-work {phase} ${SDD_WS}` — retest specific phase
|
|
190
190
|
```
|
|
191
191
|
|
|
192
192
|
This is a WARNING, not a blocker — routing proceeds normally. The debt is visible so the user can make an informed choice.
|
|
@@ -215,9 +215,9 @@ Read its `<objective>` section.
|
|
|
215
215
|
|
|
216
216
|
**{phase}-{plan}: [Plan Name]** — [objective summary from PLAN.md]
|
|
217
217
|
|
|
218
|
-
`/
|
|
218
|
+
`/clear` then:
|
|
219
219
|
|
|
220
|
-
|
|
220
|
+
`/sdd-execute-phase {phase} ${SDD_WS}`
|
|
221
221
|
|
|
222
222
|
---
|
|
223
223
|
```
|
|
@@ -245,9 +245,9 @@ PHASE_HAS_UI=$(echo "$PHASE_SECTION" | grep -qi "UI hint.*yes" && echo "true" ||
|
|
|
245
245
|
**Phase {N}: {Name}** — {Goal from ROADMAP.md}
|
|
246
246
|
<sub>✓ Context gathered, ready to plan</sub>
|
|
247
247
|
|
|
248
|
-
`/
|
|
248
|
+
`/clear` then:
|
|
249
249
|
|
|
250
|
-
|
|
250
|
+
`/sdd-plan-phase {phase-number} ${SDD_WS}`
|
|
251
251
|
|
|
252
252
|
---
|
|
253
253
|
```
|
|
@@ -261,16 +261,16 @@ PHASE_HAS_UI=$(echo "$PHASE_SECTION" | grep -qi "UI hint.*yes" && echo "true" ||
|
|
|
261
261
|
|
|
262
262
|
**Phase {N}: {Name}** — {Goal from ROADMAP.md}
|
|
263
263
|
|
|
264
|
-
`/
|
|
264
|
+
`/clear` then:
|
|
265
265
|
|
|
266
|
-
|
|
266
|
+
`/sdd-discuss-phase {phase}` — gather context and clarify approach
|
|
267
267
|
|
|
268
268
|
---
|
|
269
269
|
|
|
270
270
|
**Also available:**
|
|
271
|
-
- `/sdd
|
|
272
|
-
- `/sdd
|
|
273
|
-
- `/sdd
|
|
271
|
+
- `/sdd-ui-phase {phase}` — generate UI design contract (recommended for frontend phases)
|
|
272
|
+
- `/sdd-plan-phase {phase}` — skip discussion, plan directly
|
|
273
|
+
- `/sdd-list-phase-assumptions {phase}` — see Claude's assumptions
|
|
274
274
|
|
|
275
275
|
---
|
|
276
276
|
```
|
|
@@ -284,15 +284,15 @@ PHASE_HAS_UI=$(echo "$PHASE_SECTION" | grep -qi "UI hint.*yes" && echo "true" ||
|
|
|
284
284
|
|
|
285
285
|
**Phase {N}: {Name}** — {Goal from ROADMAP.md}
|
|
286
286
|
|
|
287
|
-
`/
|
|
287
|
+
`/clear` then:
|
|
288
288
|
|
|
289
|
-
|
|
289
|
+
`/sdd-discuss-phase {phase} ${SDD_WS}` — gather context and clarify approach
|
|
290
290
|
|
|
291
291
|
---
|
|
292
292
|
|
|
293
293
|
**Also available:**
|
|
294
|
-
- `/sdd
|
|
295
|
-
- `/sdd
|
|
294
|
+
- `/sdd-plan-phase {phase} ${SDD_WS}` — skip discussion, plan directly
|
|
295
|
+
- `/sdd-list-phase-assumptions {phase} ${SDD_WS}` — see Claude's assumptions
|
|
296
296
|
|
|
297
297
|
---
|
|
298
298
|
```
|
|
@@ -310,15 +310,15 @@ UAT.md exists with gaps (diagnosed issues). User needs to plan fixes.
|
|
|
310
310
|
|
|
311
311
|
**{phase_num}-UAT.md** has {N} gaps requiring fixes.
|
|
312
312
|
|
|
313
|
-
`/
|
|
313
|
+
`/clear` then:
|
|
314
314
|
|
|
315
|
-
|
|
315
|
+
`/sdd-plan-phase {phase} --gaps ${SDD_WS}`
|
|
316
316
|
|
|
317
317
|
---
|
|
318
318
|
|
|
319
319
|
**Also available:**
|
|
320
|
-
- `/sdd
|
|
321
|
-
- `/sdd
|
|
320
|
+
- `/sdd-execute-phase {phase} ${SDD_WS}` — execute phase plans
|
|
321
|
+
- `/sdd-verify-work {phase} ${SDD_WS}` — run more UAT testing
|
|
322
322
|
|
|
323
323
|
---
|
|
324
324
|
```
|
|
@@ -336,15 +336,15 @@ UAT.md exists with `status: partial` — testing session ended before all items
|
|
|
336
336
|
|
|
337
337
|
**{phase_num}-UAT.md** has {N} unresolved tests (pending, blocked, or skipped).
|
|
338
338
|
|
|
339
|
-
`/
|
|
339
|
+
`/clear` then:
|
|
340
340
|
|
|
341
|
-
|
|
341
|
+
`/sdd-verify-work {phase} ${SDD_WS}` — resume testing from where you left off
|
|
342
342
|
|
|
343
343
|
---
|
|
344
344
|
|
|
345
345
|
**Also available:**
|
|
346
|
-
- `/sdd
|
|
347
|
-
- `/sdd
|
|
346
|
+
- `/sdd-audit-uat ${SDD_WS}` — full cross-phase UAT audit
|
|
347
|
+
- `/sdd-execute-phase {phase} ${SDD_WS}` — execute phase plans
|
|
348
348
|
|
|
349
349
|
---
|
|
350
350
|
```
|
|
@@ -392,16 +392,16 @@ NEXT_HAS_UI=$(echo "$NEXT_PHASE_SECTION" | grep -qi "UI hint.*yes" && echo "true
|
|
|
392
392
|
|
|
393
393
|
**Phase {Z+1}: {Name}** — {Goal from ROADMAP.md}
|
|
394
394
|
|
|
395
|
-
`/
|
|
395
|
+
`/clear` then:
|
|
396
396
|
|
|
397
|
-
|
|
397
|
+
`/sdd-discuss-phase {Z+1}` — gather context and clarify approach
|
|
398
398
|
|
|
399
399
|
---
|
|
400
400
|
|
|
401
401
|
**Also available:**
|
|
402
|
-
- `/sdd
|
|
403
|
-
- `/sdd
|
|
404
|
-
- `/sdd
|
|
402
|
+
- `/sdd-ui-phase {Z+1}` — generate UI design contract (recommended for frontend phases)
|
|
403
|
+
- `/sdd-plan-phase {Z+1}` — skip discussion, plan directly
|
|
404
|
+
- `/sdd-verify-work {Z}` — user acceptance test before continuing
|
|
405
405
|
|
|
406
406
|
---
|
|
407
407
|
```
|
|
@@ -417,15 +417,15 @@ NEXT_HAS_UI=$(echo "$NEXT_PHASE_SECTION" | grep -qi "UI hint.*yes" && echo "true
|
|
|
417
417
|
|
|
418
418
|
**Phase {Z+1}: {Name}** — {Goal from ROADMAP.md}
|
|
419
419
|
|
|
420
|
-
`/
|
|
420
|
+
`/clear` then:
|
|
421
421
|
|
|
422
|
-
|
|
422
|
+
`/sdd-discuss-phase {Z+1} ${SDD_WS}` — gather context and clarify approach
|
|
423
423
|
|
|
424
424
|
---
|
|
425
425
|
|
|
426
426
|
**Also available:**
|
|
427
|
-
- `/sdd
|
|
428
|
-
- `/sdd
|
|
427
|
+
- `/sdd-plan-phase {Z+1} ${SDD_WS}` — skip discussion, plan directly
|
|
428
|
+
- `/sdd-verify-work {Z} ${SDD_WS}` — user acceptance test before continuing
|
|
429
429
|
|
|
430
430
|
---
|
|
431
431
|
```
|
|
@@ -445,14 +445,14 @@ All {N} phases finished!
|
|
|
445
445
|
|
|
446
446
|
**Complete Milestone** — archive and prepare for next
|
|
447
447
|
|
|
448
|
-
`/
|
|
448
|
+
`/clear` then:
|
|
449
449
|
|
|
450
|
-
|
|
450
|
+
`/sdd-complete-milestone ${SDD_WS}`
|
|
451
451
|
|
|
452
452
|
---
|
|
453
453
|
|
|
454
454
|
**Also available:**
|
|
455
|
-
- `/sdd
|
|
455
|
+
- `/sdd-verify-work ${SDD_WS}` — user acceptance test before completing milestone
|
|
456
456
|
|
|
457
457
|
---
|
|
458
458
|
```
|
|
@@ -476,9 +476,9 @@ Ready to plan the next milestone.
|
|
|
476
476
|
|
|
477
477
|
**Start Next Milestone** — questioning → research → requirements → roadmap
|
|
478
478
|
|
|
479
|
-
`/
|
|
479
|
+
`/clear` then:
|
|
480
480
|
|
|
481
|
-
|
|
481
|
+
`/sdd-new-milestone ${SDD_WS}`
|
|
482
482
|
|
|
483
483
|
---
|
|
484
484
|
```
|
|
@@ -488,10 +488,10 @@ Ready to plan the next milestone.
|
|
|
488
488
|
<step name="edge_cases">
|
|
489
489
|
**Handle edge cases:**
|
|
490
490
|
|
|
491
|
-
- Phase complete but next phase not planned → offer `/sdd
|
|
491
|
+
- Phase complete but next phase not planned → offer `/sdd-plan-phase [next] ${SDD_WS}`
|
|
492
492
|
- All work complete → offer milestone completion
|
|
493
493
|
- Blockers present → highlight before offering to continue
|
|
494
|
-
- Handoff file exists → mention it, offer `/sdd
|
|
494
|
+
- Handoff file exists → mention it, offer `/sdd-resume-work ${SDD_WS}`
|
|
495
495
|
</step>
|
|
496
496
|
|
|
497
497
|
</process>
|
|
@@ -501,7 +501,7 @@ Ready to plan the next milestone.
|
|
|
501
501
|
- [ ] Rich context provided (recent work, decisions, issues)
|
|
502
502
|
- [ ] Current position clear with visual progress
|
|
503
503
|
- [ ] What's next clearly explained
|
|
504
|
-
- [ ] Smart routing: /sdd
|
|
504
|
+
- [ ] Smart routing: /sdd-execute-phase if plans exist, /sdd-plan-phase if not
|
|
505
505
|
- [ ] User confirms before any action
|
|
506
506
|
- [ ] Seamless handoff to appropriate sdd command
|
|
507
507
|
</success_criteria>
|