gsd-opencode 1.22.1 → 1.33.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/agents/gsd-advisor-researcher.md +112 -0
- package/agents/gsd-assumptions-analyzer.md +110 -0
- package/agents/gsd-codebase-mapper.md +0 -2
- package/agents/gsd-debugger.md +117 -2
- package/agents/gsd-doc-verifier.md +207 -0
- package/agents/gsd-doc-writer.md +608 -0
- package/agents/gsd-executor.md +45 -4
- package/agents/gsd-integration-checker.md +0 -2
- package/agents/gsd-nyquist-auditor.md +0 -2
- package/agents/gsd-phase-researcher.md +191 -5
- package/agents/gsd-plan-checker.md +152 -5
- package/agents/gsd-planner.md +131 -157
- package/agents/gsd-project-researcher.md +28 -3
- package/agents/gsd-research-synthesizer.md +0 -2
- package/agents/gsd-roadmapper.md +29 -2
- package/agents/gsd-security-auditor.md +129 -0
- package/agents/gsd-ui-auditor.md +485 -0
- package/agents/gsd-ui-checker.md +305 -0
- package/agents/gsd-ui-researcher.md +368 -0
- package/agents/gsd-user-profiler.md +173 -0
- package/agents/gsd-verifier.md +207 -22
- package/commands/gsd/gsd-add-backlog.md +76 -0
- package/commands/gsd/gsd-analyze-dependencies.md +34 -0
- package/commands/gsd/gsd-audit-uat.md +24 -0
- package/commands/gsd/gsd-autonomous.md +45 -0
- package/commands/gsd/gsd-cleanup.md +5 -0
- package/commands/gsd/gsd-debug.md +29 -21
- package/commands/gsd/gsd-discuss-phase.md +15 -36
- package/commands/gsd/gsd-do.md +30 -0
- package/commands/gsd/gsd-docs-update.md +48 -0
- package/commands/gsd/gsd-execute-phase.md +24 -2
- package/commands/gsd/gsd-fast.md +30 -0
- package/commands/gsd/gsd-forensics.md +56 -0
- package/commands/gsd/gsd-help.md +2 -0
- package/commands/gsd/gsd-join-discord.md +2 -1
- package/commands/gsd/gsd-list-workspaces.md +19 -0
- package/commands/gsd/gsd-manager.md +40 -0
- package/commands/gsd/gsd-milestone-summary.md +51 -0
- package/commands/gsd/gsd-new-project.md +4 -0
- package/commands/gsd/gsd-new-workspace.md +44 -0
- package/commands/gsd/gsd-next.md +24 -0
- package/commands/gsd/gsd-note.md +34 -0
- package/commands/gsd/gsd-plan-phase.md +8 -1
- package/commands/gsd/gsd-plant-seed.md +28 -0
- package/commands/gsd/gsd-pr-branch.md +25 -0
- package/commands/gsd/gsd-profile-user.md +46 -0
- package/commands/gsd/gsd-quick.md +7 -3
- package/commands/gsd/gsd-reapply-patches.md +178 -45
- package/commands/gsd/gsd-remove-workspace.md +26 -0
- package/commands/gsd/gsd-research-phase.md +7 -12
- package/commands/gsd/gsd-review-backlog.md +62 -0
- package/commands/gsd/gsd-review.md +38 -0
- package/commands/gsd/gsd-secure-phase.md +35 -0
- package/commands/gsd/gsd-session-report.md +19 -0
- package/commands/gsd/gsd-set-profile.md +24 -23
- package/commands/gsd/gsd-ship.md +23 -0
- package/commands/gsd/gsd-stats.md +18 -0
- package/commands/gsd/gsd-thread.md +127 -0
- package/commands/gsd/gsd-ui-phase.md +34 -0
- package/commands/gsd/gsd-ui-review.md +32 -0
- package/commands/gsd/gsd-workstreams.md +71 -0
- package/get-shit-done/bin/gsd-tools.cjs +450 -90
- package/get-shit-done/bin/lib/commands.cjs +489 -24
- package/get-shit-done/bin/lib/config.cjs +329 -48
- package/get-shit-done/bin/lib/core.cjs +1143 -102
- package/get-shit-done/bin/lib/docs.cjs +267 -0
- package/get-shit-done/bin/lib/frontmatter.cjs +125 -43
- package/get-shit-done/bin/lib/init.cjs +918 -106
- package/get-shit-done/bin/lib/milestone.cjs +65 -33
- package/get-shit-done/bin/lib/model-profiles.cjs +70 -0
- package/get-shit-done/bin/lib/phase.cjs +434 -404
- package/get-shit-done/bin/lib/profile-output.cjs +1048 -0
- package/get-shit-done/bin/lib/profile-pipeline.cjs +539 -0
- package/get-shit-done/bin/lib/roadmap.cjs +156 -101
- package/get-shit-done/bin/lib/schema-detect.cjs +238 -0
- package/get-shit-done/bin/lib/security.cjs +384 -0
- package/get-shit-done/bin/lib/state.cjs +711 -79
- package/get-shit-done/bin/lib/template.cjs +2 -2
- package/get-shit-done/bin/lib/uat.cjs +282 -0
- package/get-shit-done/bin/lib/verify.cjs +254 -42
- package/get-shit-done/bin/lib/workstream.cjs +495 -0
- package/get-shit-done/references/agent-contracts.md +79 -0
- package/get-shit-done/references/artifact-types.md +113 -0
- package/get-shit-done/references/checkpoints.md +12 -10
- package/get-shit-done/references/context-budget.md +49 -0
- package/get-shit-done/references/continuation-format.md +15 -15
- package/get-shit-done/references/decimal-phase-calculation.md +2 -3
- package/get-shit-done/references/domain-probes.md +125 -0
- package/get-shit-done/references/gate-prompts.md +100 -0
- package/get-shit-done/references/git-integration.md +47 -0
- package/get-shit-done/references/model-profile-resolution.md +2 -0
- package/get-shit-done/references/model-profiles.md +62 -16
- package/get-shit-done/references/phase-argument-parsing.md +2 -2
- package/get-shit-done/references/planner-gap-closure.md +62 -0
- package/get-shit-done/references/planner-reviews.md +39 -0
- package/get-shit-done/references/planner-revision.md +87 -0
- package/get-shit-done/references/planning-config.md +18 -1
- package/get-shit-done/references/revision-loop.md +97 -0
- package/get-shit-done/references/ui-brand.md +2 -2
- package/get-shit-done/references/universal-anti-patterns.md +58 -0
- package/get-shit-done/references/user-profiling.md +681 -0
- package/get-shit-done/references/workstream-flag.md +111 -0
- package/get-shit-done/templates/SECURITY.md +61 -0
- package/get-shit-done/templates/UAT.md +21 -3
- package/get-shit-done/templates/UI-SPEC.md +100 -0
- package/get-shit-done/templates/VALIDATION.md +3 -3
- package/get-shit-done/templates/claude-md.md +145 -0
- package/get-shit-done/templates/config.json +14 -3
- package/get-shit-done/templates/context.md +61 -6
- package/get-shit-done/templates/debug-subagent-prompt.md +2 -6
- package/get-shit-done/templates/dev-preferences.md +21 -0
- package/get-shit-done/templates/discussion-log.md +63 -0
- package/get-shit-done/templates/phase-prompt.md +46 -5
- package/get-shit-done/templates/planner-subagent-prompt.md +2 -10
- package/get-shit-done/templates/project.md +2 -0
- package/get-shit-done/templates/state.md +2 -2
- package/get-shit-done/templates/user-profile.md +146 -0
- package/get-shit-done/workflows/add-phase.md +4 -4
- package/get-shit-done/workflows/add-tests.md +4 -4
- package/get-shit-done/workflows/add-todo.md +4 -4
- package/get-shit-done/workflows/analyze-dependencies.md +96 -0
- package/get-shit-done/workflows/audit-milestone.md +20 -16
- package/get-shit-done/workflows/audit-uat.md +109 -0
- package/get-shit-done/workflows/autonomous.md +1036 -0
- package/get-shit-done/workflows/check-todos.md +4 -4
- package/get-shit-done/workflows/cleanup.md +4 -4
- package/get-shit-done/workflows/complete-milestone.md +22 -10
- package/get-shit-done/workflows/diagnose-issues.md +21 -7
- package/get-shit-done/workflows/discovery-phase.md +2 -2
- package/get-shit-done/workflows/discuss-phase-assumptions.md +671 -0
- package/get-shit-done/workflows/discuss-phase-power.md +291 -0
- package/get-shit-done/workflows/discuss-phase.md +558 -47
- package/get-shit-done/workflows/do.md +104 -0
- package/get-shit-done/workflows/docs-update.md +1093 -0
- package/get-shit-done/workflows/execute-phase.md +741 -58
- package/get-shit-done/workflows/execute-plan.md +77 -12
- package/get-shit-done/workflows/fast.md +105 -0
- package/get-shit-done/workflows/forensics.md +265 -0
- package/get-shit-done/workflows/health.md +28 -6
- package/get-shit-done/workflows/help.md +127 -7
- package/get-shit-done/workflows/insert-phase.md +4 -4
- package/get-shit-done/workflows/list-phase-assumptions.md +2 -2
- package/get-shit-done/workflows/list-workspaces.md +56 -0
- package/get-shit-done/workflows/manager.md +363 -0
- package/get-shit-done/workflows/map-codebase.md +83 -44
- package/get-shit-done/workflows/milestone-summary.md +223 -0
- package/get-shit-done/workflows/new-milestone.md +133 -25
- package/get-shit-done/workflows/new-project.md +216 -54
- package/get-shit-done/workflows/new-workspace.md +237 -0
- package/get-shit-done/workflows/next.md +97 -0
- package/get-shit-done/workflows/node-repair.md +92 -0
- package/get-shit-done/workflows/note.md +156 -0
- package/get-shit-done/workflows/pause-work.md +132 -15
- package/get-shit-done/workflows/plan-milestone-gaps.md +6 -7
- package/get-shit-done/workflows/plan-phase.md +513 -62
- package/get-shit-done/workflows/plant-seed.md +169 -0
- package/get-shit-done/workflows/pr-branch.md +129 -0
- package/get-shit-done/workflows/profile-user.md +450 -0
- package/get-shit-done/workflows/progress.md +154 -29
- package/get-shit-done/workflows/quick.md +285 -111
- package/get-shit-done/workflows/remove-phase.md +2 -2
- package/get-shit-done/workflows/remove-workspace.md +90 -0
- package/get-shit-done/workflows/research-phase.md +13 -9
- package/get-shit-done/workflows/resume-project.md +37 -18
- package/get-shit-done/workflows/review.md +281 -0
- package/get-shit-done/workflows/secure-phase.md +154 -0
- package/get-shit-done/workflows/session-report.md +146 -0
- package/get-shit-done/workflows/set-profile.md +2 -2
- package/get-shit-done/workflows/settings.md +91 -11
- package/get-shit-done/workflows/ship.md +237 -0
- package/get-shit-done/workflows/stats.md +60 -0
- package/get-shit-done/workflows/transition.md +150 -23
- package/get-shit-done/workflows/ui-phase.md +292 -0
- package/get-shit-done/workflows/ui-review.md +183 -0
- package/get-shit-done/workflows/update.md +262 -30
- package/get-shit-done/workflows/validate-phase.md +14 -17
- package/get-shit-done/workflows/verify-phase.md +143 -11
- package/get-shit-done/workflows/verify-work.md +141 -39
- package/package.json +1 -1
- package/skills/gsd-audit-milestone/SKILL.md +29 -0
- package/skills/gsd-cleanup/SKILL.md +19 -0
- package/skills/gsd-complete-milestone/SKILL.md +131 -0
- package/skills/gsd-discuss-phase/SKILL.md +54 -0
- package/skills/gsd-execute-phase/SKILL.md +49 -0
- package/skills/gsd-plan-phase/SKILL.md +37 -0
- package/skills/gsd-ui-phase/SKILL.md +24 -0
- package/skills/gsd-ui-review/SKILL.md +24 -0
- package/skills/gsd-verify-work/SKILL.md +30 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-autonomous
|
|
3
|
+
description: Run all remaining phases autonomously — discuss→plan→execute per phase
|
|
4
|
+
argument-hint: "[--from N] [--to N] [--only N] [--interactive]"
|
|
5
|
+
permissions:
|
|
6
|
+
read: true
|
|
7
|
+
write: true
|
|
8
|
+
bash: true
|
|
9
|
+
glob: true
|
|
10
|
+
grep: true
|
|
11
|
+
question: true
|
|
12
|
+
task: true
|
|
13
|
+
---
|
|
14
|
+
<objective>
|
|
15
|
+
Execute all remaining milestone phases autonomously. For each phase: discuss → plan → execute. Pauses only for user decisions (grey area acceptance, blockers, validation requests).
|
|
16
|
+
|
|
17
|
+
Uses ROADMAP.md phase discovery and skill() flat invocations for each phase command. After all phases complete: milestone audit → complete → cleanup.
|
|
18
|
+
|
|
19
|
+
**Creates/Updates:**
|
|
20
|
+
- `.planning/STATE.md` — updated after each phase
|
|
21
|
+
- `.planning/ROADMAP.md` — progress updated after each phase
|
|
22
|
+
- Phase artifacts — CONTEXT.md, PLANs, SUMMARYs per phase
|
|
23
|
+
|
|
24
|
+
**After:** Milestone is complete and cleaned up.
|
|
25
|
+
</objective>
|
|
26
|
+
|
|
27
|
+
<execution_context>
|
|
28
|
+
@$HOME/.config/opencode/get-shit-done/workflows/autonomous.md
|
|
29
|
+
@$HOME/.config/opencode/get-shit-done/references/ui-brand.md
|
|
30
|
+
</execution_context>
|
|
31
|
+
|
|
32
|
+
<context>
|
|
33
|
+
Optional flags:
|
|
34
|
+
- `--from N` — start from phase N instead of the first incomplete phase.
|
|
35
|
+
- `--to N` — stop after phase N completes (halt instead of advancing to next phase).
|
|
36
|
+
- `--only N` — execute only phase N (single-phase mode).
|
|
37
|
+
- `--interactive` — run discuss inline with questions (not auto-answered), then dispatch plan→execute as background agents. Keeps the main context lean while preserving user input on decisions.
|
|
38
|
+
|
|
39
|
+
Project context, phase list, and state are resolved inside the workflow using init commands (`gsd-tools.cjs init milestone-op`, `gsd-tools.cjs roadmap analyze`). No upfront context loading needed.
|
|
40
|
+
</context>
|
|
41
|
+
|
|
42
|
+
<process>
|
|
43
|
+
Execute the autonomous workflow from @$HOME/.config/opencode/get-shit-done/workflows/autonomous.md end-to-end.
|
|
44
|
+
Preserve all workflow gates (phase discovery, per-phase execution, blocker handling, progress display).
|
|
45
|
+
</process>
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsd-cleanup
|
|
3
3
|
description: Archive accumulated phase directories from completed milestones
|
|
4
|
+
permissions:
|
|
5
|
+
read: true
|
|
6
|
+
write: true
|
|
7
|
+
bash: true
|
|
8
|
+
question: true
|
|
4
9
|
---
|
|
5
10
|
<objective>
|
|
6
11
|
Archive phase directories from completed milestones into `.planning/milestones/v{X.Y}-phases/`.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsd-debug
|
|
3
3
|
description: Systematic debugging with persistent state across context resets
|
|
4
|
-
argument-hint: [issue description]
|
|
4
|
+
argument-hint: [--diagnose] [issue description]
|
|
5
5
|
permissions:
|
|
6
6
|
read: true
|
|
7
7
|
bash: true
|
|
@@ -15,11 +15,23 @@ Debug issues using scientific method with subagent isolation.
|
|
|
15
15
|
**Orchestrator role:** Gather symptoms, spawn gsd-debugger agent, handle checkpoints, spawn continuations.
|
|
16
16
|
|
|
17
17
|
**Why subagent:** Investigation burns context fast (reading files, forming hypotheses, testing). Fresh 200k context per investigation. Main context stays lean for user interaction.
|
|
18
|
+
|
|
19
|
+
**Flags:**
|
|
20
|
+
- `--diagnose` — Diagnose only. Find root cause without applying a fix. Returns a structured Root Cause Report. Use when you want to validate the diagnosis before committing to a fix.
|
|
18
21
|
</objective>
|
|
19
22
|
|
|
23
|
+
<available_agent_types>
|
|
24
|
+
Valid GSD subagent types (use exact names — do not fall back to 'general'):
|
|
25
|
+
- gsd-debugger — Diagnoses and fixes issues
|
|
26
|
+
</available_agent_types>
|
|
27
|
+
|
|
20
28
|
<context>
|
|
21
29
|
User's issue: $ARGUMENTS
|
|
22
30
|
|
|
31
|
+
Parse flags from $ARGUMENTS:
|
|
32
|
+
- If `--diagnose` is present, set `diagnose_only=true` and remove the flag from the issue description.
|
|
33
|
+
- Otherwise, `diagnose_only=false`.
|
|
34
|
+
|
|
23
35
|
Check for active sessions:
|
|
24
36
|
```bash
|
|
25
37
|
ls .planning/debug/*.md 2>/dev/null | grep -v resolved | head -5
|
|
@@ -82,7 +94,7 @@ timeline: {timeline}
|
|
|
82
94
|
|
|
83
95
|
<mode>
|
|
84
96
|
symptoms_prefilled: true
|
|
85
|
-
goal: find_and_fix
|
|
97
|
+
goal: {if diagnose_only: "find_root_cause_only", else: "find_and_fix"}
|
|
86
98
|
</mode>
|
|
87
99
|
|
|
88
100
|
<debug_file>
|
|
@@ -91,22 +103,23 @@ Create: .planning/debug/{slug}.md
|
|
|
91
103
|
```
|
|
92
104
|
|
|
93
105
|
```
|
|
94
|
-
|
|
95
|
-
prompt=filled_prompt,
|
|
96
|
-
subagent_type="gsd-debugger",
|
|
97
|
-
model="{debugger_model}",
|
|
98
|
-
description="Debug {slug}"
|
|
99
|
-
)
|
|
106
|
+
@gsd-debugger filled_prompt
|
|
100
107
|
```
|
|
101
108
|
|
|
102
109
|
## 4. Handle Agent Return
|
|
103
110
|
|
|
104
|
-
**If `## ROOT CAUSE FOUND
|
|
105
|
-
- Display root cause and
|
|
111
|
+
**If `## ROOT CAUSE FOUND` (diagnose-only mode):**
|
|
112
|
+
- Display root cause, confidence level, files involved, and suggested fix strategies
|
|
113
|
+
- Offer options:
|
|
114
|
+
- "Fix now" — spawn a continuation agent with `goal: find_and_fix` to apply the fix (see step 5)
|
|
115
|
+
- "Plan fix" — suggest `/gsd-plan-phase --gaps`
|
|
116
|
+
- "Manual fix" — done
|
|
117
|
+
|
|
118
|
+
**If `## DEBUG COMPLETE` (find_and_fix mode):**
|
|
119
|
+
- Display root cause and fix summary
|
|
106
120
|
- Offer options:
|
|
107
|
-
- "
|
|
108
|
-
- "
|
|
109
|
-
- "Manual fix" - done
|
|
121
|
+
- "Plan fix" — suggest `/gsd-plan-phase --gaps` if further work needed
|
|
122
|
+
- "Done" — mark resolved
|
|
110
123
|
|
|
111
124
|
**If `## CHECKPOINT REACHED`:**
|
|
112
125
|
- Present checkpoint details to user
|
|
@@ -123,9 +136,9 @@ task(
|
|
|
123
136
|
- "Manual investigation" - done
|
|
124
137
|
- "Add more context" - gather more symptoms, spawn again
|
|
125
138
|
|
|
126
|
-
## 5. Spawn Continuation Agent (After Checkpoint)
|
|
139
|
+
## 5. Spawn Continuation Agent (After Checkpoint or "Fix now")
|
|
127
140
|
|
|
128
|
-
When user responds to checkpoint, spawn fresh agent:
|
|
141
|
+
When user responds to checkpoint OR selects "Fix now" from diagnose-only results, spawn fresh agent:
|
|
129
142
|
|
|
130
143
|
```markdown
|
|
131
144
|
<objective>
|
|
@@ -149,12 +162,7 @@ goal: find_and_fix
|
|
|
149
162
|
```
|
|
150
163
|
|
|
151
164
|
```
|
|
152
|
-
|
|
153
|
-
prompt=continuation_prompt,
|
|
154
|
-
subagent_type="gsd-debugger",
|
|
155
|
-
model="{debugger_model}",
|
|
156
|
-
description="Continue debug {slug}"
|
|
157
|
-
)
|
|
165
|
+
@gsd-debugger continuation_prompt
|
|
158
166
|
```
|
|
159
167
|
|
|
160
168
|
</process>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsd-discuss-phase
|
|
3
|
-
description: Gather phase context through adaptive questioning before planning
|
|
4
|
-
argument-hint: "<phase> [--auto]"
|
|
3
|
+
description: Gather phase context through adaptive questioning before planning. Use --auto to skip interactive questions (OpenCode picks recommended defaults). Use --chain for interactive discuss followed by automatic plan+execute. Use --power for bulk question generation into a file-based UI (answer at your own pace).
|
|
4
|
+
argument-hint: "<phase> [--auto] [--chain] [--batch] [--analyze] [--text] [--power]"
|
|
5
5
|
permissions:
|
|
6
6
|
read: true
|
|
7
7
|
write: true
|
|
@@ -30,9 +30,15 @@ Extract implementation decisions that downstream agents need — researcher and
|
|
|
30
30
|
|
|
31
31
|
<execution_context>
|
|
32
32
|
@$HOME/.config/opencode/get-shit-done/workflows/discuss-phase.md
|
|
33
|
+
@$HOME/.config/opencode/get-shit-done/workflows/discuss-phase-assumptions.md
|
|
34
|
+
@$HOME/.config/opencode/get-shit-done/workflows/discuss-phase-power.md
|
|
33
35
|
@$HOME/.config/opencode/get-shit-done/templates/context.md
|
|
34
36
|
</execution_context>
|
|
35
37
|
|
|
38
|
+
<runtime_note>
|
|
39
|
+
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `question`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API.
|
|
40
|
+
</runtime_note>
|
|
41
|
+
|
|
36
42
|
<context>
|
|
37
43
|
Phase number: $ARGUMENTS (required)
|
|
38
44
|
|
|
@@ -40,43 +46,16 @@ Context files are resolved in-workflow using `init phase-op` and roadmap/state t
|
|
|
40
46
|
</context>
|
|
41
47
|
|
|
42
48
|
<process>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
5. **Analyze phase** — Check prior decisions, skip already-decided areas, generate remaining gray areas
|
|
48
|
-
6. **Present gray areas** — Multi-select: which to discuss? Annotate with prior decisions + code context
|
|
49
|
-
7. **Deep-dive each area** — 4 questions per area, code-informed options, Context7 for library choices
|
|
50
|
-
8. **write CONTEXT.md** — Sections match areas discussed + code_context section
|
|
51
|
-
9. Offer next steps (research or plan)
|
|
52
|
-
|
|
53
|
-
**CRITICAL: Scope guardrail**
|
|
54
|
-
- Phase boundary from ROADMAP.md is FIXED
|
|
55
|
-
- Discussion clarifies HOW to implement, not WHETHER to add more
|
|
56
|
-
- If user suggests new capabilities: "That's its own phase. I'll note it for later."
|
|
57
|
-
- Capture deferred ideas — don't lose them, don't act on them
|
|
58
|
-
|
|
59
|
-
**Domain-aware gray areas:**
|
|
60
|
-
Gray areas depend on what's being built. Analyze the phase goal:
|
|
61
|
-
- Something users SEE → layout, density, interactions, states
|
|
62
|
-
- Something users CALL → responses, errors, auth, versioning
|
|
63
|
-
- Something users RUN → output format, flags, modes, error handling
|
|
64
|
-
- Something users READ → structure, tone, depth, flow
|
|
65
|
-
- Something being ORGANIZED → criteria, grouping, naming, exceptions
|
|
49
|
+
**Mode routing:**
|
|
50
|
+
```bash
|
|
51
|
+
DISCUSS_MODE=$(node "$HOME/.config/opencode/get-shit-done/bin/gsd-tools.cjs" config-get workflow.discuss_mode 2>/dev/null || echo "discuss")
|
|
52
|
+
```
|
|
66
53
|
|
|
67
|
-
|
|
54
|
+
If `DISCUSS_MODE` is `"assumptions"`: read and execute @$HOME/.config/opencode/get-shit-done/workflows/discuss-phase-assumptions.md end-to-end.
|
|
68
55
|
|
|
69
|
-
|
|
70
|
-
- Ask 4 questions per area before checking
|
|
71
|
-
- "More questions about [area], or move to next?"
|
|
72
|
-
- If more → ask 4 more, check again
|
|
73
|
-
- After all areas → "Ready to create context?"
|
|
56
|
+
If `DISCUSS_MODE` is `"discuss"` (or unset, or any other value): read and execute @$HOME/.config/opencode/get-shit-done/workflows/discuss-phase.md end-to-end.
|
|
74
57
|
|
|
75
|
-
**Do
|
|
76
|
-
- Technical implementation
|
|
77
|
-
- Architecture choices
|
|
78
|
-
- Performance concerns
|
|
79
|
-
- Scope expansion
|
|
58
|
+
**MANDATORY:** The execution_context files listed above ARE the instructions. read the workflow file BEFORE taking any action. The objective and success_criteria sections in this command file are summaries — the workflow file contains the complete step-by-step process with all required behaviors, config checks, and interaction patterns. Do not improvise from the summary.
|
|
80
59
|
</process>
|
|
81
60
|
|
|
82
61
|
<success_criteria>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-do
|
|
3
|
+
description: Route freeform text to the right GSD command automatically
|
|
4
|
+
argument-hint: "<description of what you want to do>"
|
|
5
|
+
permissions:
|
|
6
|
+
read: true
|
|
7
|
+
bash: true
|
|
8
|
+
question: true
|
|
9
|
+
---
|
|
10
|
+
<objective>
|
|
11
|
+
Analyze freeform natural language input and dispatch to the most appropriate GSD command.
|
|
12
|
+
|
|
13
|
+
Acts as a smart dispatcher — never does the work itself. Matches intent to the best GSD command using routing rules, confirms the match, then hands off.
|
|
14
|
+
|
|
15
|
+
Use when you know what you want but don't know which `/gsd-*` command to run.
|
|
16
|
+
</objective>
|
|
17
|
+
|
|
18
|
+
<execution_context>
|
|
19
|
+
@$HOME/.config/opencode/get-shit-done/workflows/do.md
|
|
20
|
+
@$HOME/.config/opencode/get-shit-done/references/ui-brand.md
|
|
21
|
+
</execution_context>
|
|
22
|
+
|
|
23
|
+
<context>
|
|
24
|
+
$ARGUMENTS
|
|
25
|
+
</context>
|
|
26
|
+
|
|
27
|
+
<process>
|
|
28
|
+
Execute the do workflow from @$HOME/.config/opencode/get-shit-done/workflows/do.md end-to-end.
|
|
29
|
+
Route user intent to the best GSD command and invoke it.
|
|
30
|
+
</process>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-docs-update
|
|
3
|
+
description: Generate or update project documentation verified against the codebase
|
|
4
|
+
argument-hint: "[--force] [--verify-only]"
|
|
5
|
+
permissions:
|
|
6
|
+
read: true
|
|
7
|
+
write: true
|
|
8
|
+
edit: true
|
|
9
|
+
bash: true
|
|
10
|
+
glob: true
|
|
11
|
+
grep: true
|
|
12
|
+
task: true
|
|
13
|
+
question: true
|
|
14
|
+
---
|
|
15
|
+
<objective>
|
|
16
|
+
Generate and update up to 9 documentation files for the current project. Each doc type is written by a gsd-doc-writer subagent that explores the codebase directly — no hallucinated paths, phantom endpoints, or stale signatures.
|
|
17
|
+
|
|
18
|
+
Flag handling rule:
|
|
19
|
+
- The optional flags documented below are available behaviors, not implied active behaviors
|
|
20
|
+
- A flag is active only when its literal token appears in `$ARGUMENTS`
|
|
21
|
+
- If a documented flag is absent from `$ARGUMENTS`, treat it as inactive
|
|
22
|
+
- `--force`: skip preservation prompts, regenerate all docs regardless of existing content or GSD markers
|
|
23
|
+
- `--verify-only`: check existing docs for accuracy against codebase, no generation (full verification requires Phase 4 verifier)
|
|
24
|
+
- If `--force` and `--verify-only` both appear in `$ARGUMENTS`, `--force` takes precedence
|
|
25
|
+
</objective>
|
|
26
|
+
|
|
27
|
+
<execution_context>
|
|
28
|
+
@$HOME/.config/opencode/get-shit-done/workflows/docs-update.md
|
|
29
|
+
</execution_context>
|
|
30
|
+
|
|
31
|
+
<context>
|
|
32
|
+
Arguments: $ARGUMENTS
|
|
33
|
+
|
|
34
|
+
**Available optional flags (documentation only — not automatically active):**
|
|
35
|
+
- `--force` — Regenerate all docs. Overwrites hand-written and GSD docs alike. No preservation prompts.
|
|
36
|
+
- `--verify-only` — Check existing docs for accuracy against the codebase. No files are written. Reports VERIFY marker count. Full codebase fact-checking requires the gsd-doc-verifier agent (Phase 4).
|
|
37
|
+
|
|
38
|
+
**Active flags must be derived from `$ARGUMENTS`:**
|
|
39
|
+
- `--force` is active only if the literal `--force` token is present in `$ARGUMENTS`
|
|
40
|
+
- `--verify-only` is active only if the literal `--verify-only` token is present in `$ARGUMENTS`
|
|
41
|
+
- If neither token appears, run the standard full-phase generation flow
|
|
42
|
+
- Do not infer that a flag is active just because it is documented in this prompt
|
|
43
|
+
</context>
|
|
44
|
+
|
|
45
|
+
<process>
|
|
46
|
+
Execute the docs-update workflow from @$HOME/.config/opencode/get-shit-done/workflows/docs-update.md end-to-end.
|
|
47
|
+
Preserve all workflow gates (preservation_check, flag handling, wave execution, monorepo dispatch, commit, reporting).
|
|
48
|
+
</process>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsd-execute-phase
|
|
3
3
|
description: Execute all plans in a phase with wave-based parallelization
|
|
4
|
-
argument-hint: "<phase-number> [--gaps-only]"
|
|
4
|
+
argument-hint: "<phase-number> [--wave N] [--gaps-only] [--interactive]"
|
|
5
5
|
permissions:
|
|
6
6
|
read: true
|
|
7
7
|
write: true
|
|
@@ -18,6 +18,15 @@ Execute all plans in a phase using wave-based parallel execution.
|
|
|
18
18
|
|
|
19
19
|
Orchestrator stays lean: discover plans, analyze dependencies, group into waves, spawn subagents, collect results. Each subagent loads the full execute-plan context and handles its own plan.
|
|
20
20
|
|
|
21
|
+
Optional wave filter:
|
|
22
|
+
- `--wave N` executes only Wave `N` for pacing, quota management, or staged rollout
|
|
23
|
+
- phase verification/completion still only happens when no incomplete plans remain after the selected wave finishes
|
|
24
|
+
|
|
25
|
+
Flag handling rule:
|
|
26
|
+
- The optional flags documented below are available behaviors, not implied active behaviors
|
|
27
|
+
- A flag is active only when its literal token appears in `$ARGUMENTS`
|
|
28
|
+
- If a documented flag is absent from `$ARGUMENTS`, treat it as inactive
|
|
29
|
+
|
|
21
30
|
Context budget: ~15% orchestrator, 100% fresh per subagent.
|
|
22
31
|
</objective>
|
|
23
32
|
|
|
@@ -26,11 +35,24 @@ Context budget: ~15% orchestrator, 100% fresh per subagent.
|
|
|
26
35
|
@$HOME/.config/opencode/get-shit-done/references/ui-brand.md
|
|
27
36
|
</execution_context>
|
|
28
37
|
|
|
38
|
+
<runtime_note>
|
|
39
|
+
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `question`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API.
|
|
40
|
+
</runtime_note>
|
|
41
|
+
|
|
29
42
|
<context>
|
|
30
43
|
Phase: $ARGUMENTS
|
|
31
44
|
|
|
32
|
-
**
|
|
45
|
+
**Available optional flags (documentation only — not automatically active):**
|
|
46
|
+
- `--wave N` — Execute only Wave `N` in the phase. Use when you want to pace execution or stay inside usage limits.
|
|
33
47
|
- `--gaps-only` — Execute only gap closure plans (plans with `gap_closure: true` in frontmatter). Use after verify-work creates fix plans.
|
|
48
|
+
- `--interactive` — Execute plans sequentially inline (no subagents) with user checkpoints between tasks. Lower token usage, pair-programming style. Best for small phases, bug fixes, and verification gaps.
|
|
49
|
+
|
|
50
|
+
**Active flags must be derived from `$ARGUMENTS`:**
|
|
51
|
+
- `--wave N` is active only if the literal `--wave` token is present in `$ARGUMENTS`
|
|
52
|
+
- `--gaps-only` is active only if the literal `--gaps-only` token is present in `$ARGUMENTS`
|
|
53
|
+
- `--interactive` is active only if the literal `--interactive` token is present in `$ARGUMENTS`
|
|
54
|
+
- If none of these tokens appear, run the standard full-phase execution flow with no flag-specific filtering
|
|
55
|
+
- Do not infer that a flag is active just because it is documented in this prompt
|
|
34
56
|
|
|
35
57
|
Context files are resolved inside the workflow via `gsd-tools init execute-phase` and per-subagent `<files_to_read>` blocks.
|
|
36
58
|
</context>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-fast
|
|
3
|
+
description: Execute a trivial task inline — no subagents, no planning overhead
|
|
4
|
+
argument-hint: "[task description]"
|
|
5
|
+
permissions:
|
|
6
|
+
read: true
|
|
7
|
+
write: true
|
|
8
|
+
edit: true
|
|
9
|
+
bash: true
|
|
10
|
+
grep: true
|
|
11
|
+
glob: true
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<objective>
|
|
15
|
+
Execute a trivial task directly in the current context without spawning subagents
|
|
16
|
+
or generating PLAN.md files. For tasks too small to justify planning overhead:
|
|
17
|
+
typo fixes, config changes, small refactors, forgotten commits, simple additions.
|
|
18
|
+
|
|
19
|
+
This is NOT a replacement for /gsd-quick — use /gsd-quick for anything that
|
|
20
|
+
needs research, multi-step planning, or verification. /gsd-fast is for tasks
|
|
21
|
+
you could describe in one sentence and execute in under 2 minutes.
|
|
22
|
+
</objective>
|
|
23
|
+
|
|
24
|
+
<execution_context>
|
|
25
|
+
@$HOME/.config/opencode/get-shit-done/workflows/fast.md
|
|
26
|
+
</execution_context>
|
|
27
|
+
|
|
28
|
+
<process>
|
|
29
|
+
Execute the fast workflow from @$HOME/.config/opencode/get-shit-done/workflows/fast.md end-to-end.
|
|
30
|
+
</process>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: prompt
|
|
3
|
+
name: gsd-forensics
|
|
4
|
+
description: Post-mortem investigation for failed GSD workflows — analyzes git history, artifacts, and state to diagnose what went wrong
|
|
5
|
+
argument-hint: "[problem description]"
|
|
6
|
+
permissions:
|
|
7
|
+
read: true
|
|
8
|
+
write: true
|
|
9
|
+
bash: true
|
|
10
|
+
grep: true
|
|
11
|
+
glob: true
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<objective>
|
|
15
|
+
Investigate what went wrong during a GSD workflow execution. Analyzes git history, `.planning/` artifacts, and file system state to detect anomalies and generate a structured diagnostic report.
|
|
16
|
+
|
|
17
|
+
Purpose: Diagnose failed or stuck workflows so the user can understand root cause and take corrective action.
|
|
18
|
+
Output: Forensic report saved to `.planning/forensics/`, presented inline, with optional issue creation.
|
|
19
|
+
</objective>
|
|
20
|
+
|
|
21
|
+
<execution_context>
|
|
22
|
+
@$HOME/.config/opencode/get-shit-done/workflows/forensics.md
|
|
23
|
+
</execution_context>
|
|
24
|
+
|
|
25
|
+
<context>
|
|
26
|
+
**Data sources:**
|
|
27
|
+
- `git log` (recent commits, patterns, time gaps)
|
|
28
|
+
- `git status` / `git diff` (uncommitted work, conflicts)
|
|
29
|
+
- `.planning/STATE.md` (current position, session history)
|
|
30
|
+
- `.planning/ROADMAP.md` (phase scope and progress)
|
|
31
|
+
- `.planning/phases/*/` (PLAN.md, SUMMARY.md, VERIFICATION.md, CONTEXT.md)
|
|
32
|
+
- `.planning/reports/SESSION_REPORT.md` (last session outcomes)
|
|
33
|
+
|
|
34
|
+
**User input:**
|
|
35
|
+
- Problem description: $ARGUMENTS (optional — will ask if not provided)
|
|
36
|
+
</context>
|
|
37
|
+
|
|
38
|
+
<process>
|
|
39
|
+
read and execute the forensics workflow from @$HOME/.config/opencode/get-shit-done/workflows/forensics.md end-to-end.
|
|
40
|
+
</process>
|
|
41
|
+
|
|
42
|
+
<success_criteria>
|
|
43
|
+
- Evidence gathered from all available data sources
|
|
44
|
+
- At least 4 anomaly types checked (stuck loop, missing artifacts, abandoned work, crash/interruption)
|
|
45
|
+
- Structured forensic report written to `.planning/forensics/report-{timestamp}.md`
|
|
46
|
+
- Report presented inline with findings, anomalies, and recommendations
|
|
47
|
+
- Interactive investigation offered for deeper analysis
|
|
48
|
+
- GitHub issue creation offered if actionable findings exist
|
|
49
|
+
</success_criteria>
|
|
50
|
+
|
|
51
|
+
<critical_rules>
|
|
52
|
+
- **read-only investigation:** Do not modify project source files during forensics. Only write the forensic report and update STATE.md session tracking.
|
|
53
|
+
- **Redact sensitive data:** Strip absolute paths, API keys, tokens from reports and issues.
|
|
54
|
+
- **Ground findings in evidence:** Every anomaly must cite specific commits, files, or state data.
|
|
55
|
+
- **No speculation without evidence:** If data is insufficient, say so — do not fabricate root causes.
|
|
56
|
+
</critical_rules>
|
package/commands/gsd/gsd-help.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: gsd-join-discord
|
|
3
3
|
description: Join the GSD Discord community
|
|
4
|
+
permissions: []
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
<objective>
|
|
@@ -12,7 +13,7 @@ Display the Discord invite link for the GSD community server.
|
|
|
12
13
|
|
|
13
14
|
Connect with other GSD users, get help, share what you're building, and stay updated.
|
|
14
15
|
|
|
15
|
-
**Invite link:** https://discord.gg/
|
|
16
|
+
**Invite link:** https://discord.gg/mYgfVNfA2r
|
|
16
17
|
|
|
17
18
|
Click the link or paste it into your browser to join.
|
|
18
19
|
</output>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-list-workspaces
|
|
3
|
+
description: List active GSD workspaces and their status
|
|
4
|
+
permissions:
|
|
5
|
+
bash: true
|
|
6
|
+
read: true
|
|
7
|
+
---
|
|
8
|
+
<objective>
|
|
9
|
+
Scan `~/gsd-workspaces/` for workspace directories containing `WORKSPACE.md` manifests. Display a summary table with name, path, repo count, strategy, and GSD project status.
|
|
10
|
+
</objective>
|
|
11
|
+
|
|
12
|
+
<execution_context>
|
|
13
|
+
@$HOME/.config/opencode/get-shit-done/workflows/list-workspaces.md
|
|
14
|
+
@$HOME/.config/opencode/get-shit-done/references/ui-brand.md
|
|
15
|
+
</execution_context>
|
|
16
|
+
|
|
17
|
+
<process>
|
|
18
|
+
Execute the list-workspaces workflow from @$HOME/.config/opencode/get-shit-done/workflows/list-workspaces.md end-to-end.
|
|
19
|
+
</process>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-manager
|
|
3
|
+
description: Interactive command center for managing multiple phases from one terminal
|
|
4
|
+
permissions:
|
|
5
|
+
read: true
|
|
6
|
+
write: true
|
|
7
|
+
bash: true
|
|
8
|
+
glob: true
|
|
9
|
+
grep: true
|
|
10
|
+
question: true
|
|
11
|
+
- skill
|
|
12
|
+
task: true
|
|
13
|
+
---
|
|
14
|
+
<objective>
|
|
15
|
+
Single-terminal command center for managing a milestone. Shows a dashboard of all phases with visual status indicators, recommends optimal next actions, and dispatches work — discuss runs inline, plan/execute run as background agents.
|
|
16
|
+
|
|
17
|
+
Designed for power users who want to parallelize work across phases from one terminal: discuss a phase while another plans or executes in the background.
|
|
18
|
+
|
|
19
|
+
**Creates/Updates:**
|
|
20
|
+
- No files created directly — dispatches to existing GSD commands via skill() and background task agents.
|
|
21
|
+
- Reads `.planning/STATE.md`, `.planning/ROADMAP.md`, phase directories for status.
|
|
22
|
+
|
|
23
|
+
**After:** User exits when done managing, or all phases complete and milestone lifecycle is suggested.
|
|
24
|
+
</objective>
|
|
25
|
+
|
|
26
|
+
<execution_context>
|
|
27
|
+
@$HOME/.config/opencode/get-shit-done/workflows/manager.md
|
|
28
|
+
@$HOME/.config/opencode/get-shit-done/references/ui-brand.md
|
|
29
|
+
</execution_context>
|
|
30
|
+
|
|
31
|
+
<context>
|
|
32
|
+
No arguments required. Requires an active milestone with ROADMAP.md and STATE.md.
|
|
33
|
+
|
|
34
|
+
Project context, phase list, dependencies, and recommendations are resolved inside the workflow using `gsd-tools.cjs init manager`. No upfront context loading needed.
|
|
35
|
+
</context>
|
|
36
|
+
|
|
37
|
+
<process>
|
|
38
|
+
Execute the manager workflow from @$HOME/.config/opencode/get-shit-done/workflows/manager.md end-to-end.
|
|
39
|
+
Maintain the dashboard refresh loop until the user exits or all phases complete.
|
|
40
|
+
</process>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: prompt
|
|
3
|
+
name: gsd-milestone-summary
|
|
4
|
+
description: Generate a comprehensive project summary from milestone artifacts for team onboarding and review
|
|
5
|
+
argument-hint: "[version]"
|
|
6
|
+
permissions:
|
|
7
|
+
read: true
|
|
8
|
+
write: true
|
|
9
|
+
bash: true
|
|
10
|
+
grep: true
|
|
11
|
+
glob: true
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<objective>
|
|
15
|
+
Generate a structured milestone summary for team onboarding and project review. Reads completed milestone artifacts (ROADMAP, REQUIREMENTS, CONTEXT, SUMMARY, VERIFICATION files) and produces a human-friendly overview of what was built, how, and why.
|
|
16
|
+
|
|
17
|
+
Purpose: Enable new team members to understand a completed project by reading one document and asking follow-up questions.
|
|
18
|
+
Output: MILESTONE_SUMMARY written to `.planning/reports/`, presented inline, optional interactive Q&A.
|
|
19
|
+
</objective>
|
|
20
|
+
|
|
21
|
+
<execution_context>
|
|
22
|
+
@$HOME/.config/opencode/get-shit-done/workflows/milestone-summary.md
|
|
23
|
+
</execution_context>
|
|
24
|
+
|
|
25
|
+
<context>
|
|
26
|
+
**Project files:**
|
|
27
|
+
- `.planning/ROADMAP.md`
|
|
28
|
+
- `.planning/PROJECT.md`
|
|
29
|
+
- `.planning/STATE.md`
|
|
30
|
+
- `.planning/RETROSPECTIVE.md`
|
|
31
|
+
- `.planning/milestones/v{version}-ROADMAP.md` (if archived)
|
|
32
|
+
- `.planning/milestones/v{version}-REQUIREMENTS.md` (if archived)
|
|
33
|
+
- `.planning/phases/*-*/` (SUMMARY.md, VERIFICATION.md, CONTEXT.md, RESEARCH.md)
|
|
34
|
+
|
|
35
|
+
**User input:**
|
|
36
|
+
- Version: $ARGUMENTS (optional — defaults to current/latest milestone)
|
|
37
|
+
</context>
|
|
38
|
+
|
|
39
|
+
<process>
|
|
40
|
+
read and execute the milestone-summary workflow from @$HOME/.config/opencode/get-shit-done/workflows/milestone-summary.md end-to-end.
|
|
41
|
+
</process>
|
|
42
|
+
|
|
43
|
+
<success_criteria>
|
|
44
|
+
- Milestone version resolved (from args, STATE.md, or archive scan)
|
|
45
|
+
- All available artifacts read (ROADMAP, REQUIREMENTS, CONTEXT, SUMMARY, VERIFICATION, RESEARCH, RETROSPECTIVE)
|
|
46
|
+
- Summary document written to `.planning/reports/MILESTONE_SUMMARY-v{version}.md`
|
|
47
|
+
- All 7 sections generated (Overview, Architecture, Phases, Decisions, Requirements, Tech Debt, Getting Started)
|
|
48
|
+
- Summary presented inline to user
|
|
49
|
+
- Interactive Q&A offered
|
|
50
|
+
- STATE.md updated
|
|
51
|
+
</success_criteria>
|
|
@@ -9,6 +9,10 @@ permissions:
|
|
|
9
9
|
task: true
|
|
10
10
|
question: true
|
|
11
11
|
---
|
|
12
|
+
<runtime_note>
|
|
13
|
+
**Copilot (VS Code):** Use `vscode_askquestions` wherever this workflow calls `question`. They are equivalent — `vscode_askquestions` is the VS Code Copilot implementation of the same interactive question API.
|
|
14
|
+
</runtime_note>
|
|
15
|
+
|
|
12
16
|
<context>
|
|
13
17
|
**Flags:**
|
|
14
18
|
- `--auto` — Automatic mode. After config questions, runs research → requirements → roadmap without further interaction. Expects idea document via @ reference.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: gsd-new-workspace
|
|
3
|
+
description: Create an isolated workspace with repo copies and independent .planning/
|
|
4
|
+
argument-hint: "--name <name> [--repos repo1,repo2] [--path /target] [--strategy worktree|clone] [--branch name] [--auto]"
|
|
5
|
+
permissions:
|
|
6
|
+
read: true
|
|
7
|
+
bash: true
|
|
8
|
+
write: true
|
|
9
|
+
question: true
|
|
10
|
+
---
|
|
11
|
+
<context>
|
|
12
|
+
**Flags:**
|
|
13
|
+
- `--name` (required) — Workspace name
|
|
14
|
+
- `--repos` — Comma-separated repo paths or names. If omitted, interactive selection from child git repos in cwd
|
|
15
|
+
- `--path` — Target directory. Defaults to `~/gsd-workspaces/<name>`
|
|
16
|
+
- `--strategy` — `worktree` (default, lightweight) or `clone` (fully independent)
|
|
17
|
+
- `--branch` — Branch to checkout. Defaults to `workspace/<name>`
|
|
18
|
+
- `--auto` — Skip interactive questions, use defaults
|
|
19
|
+
</context>
|
|
20
|
+
|
|
21
|
+
<objective>
|
|
22
|
+
Create a physical workspace directory containing copies of specified git repos (as worktrees or clones) with an independent `.planning/` directory for isolated GSD sessions.
|
|
23
|
+
|
|
24
|
+
**Use cases:**
|
|
25
|
+
- Multi-repo orchestration: work on a subset of repos in parallel with isolated GSD state
|
|
26
|
+
- Feature branch isolation: create a worktree of the current repo with its own `.planning/`
|
|
27
|
+
|
|
28
|
+
**Creates:**
|
|
29
|
+
- `<path>/WORKSPACE.md` — workspace manifest
|
|
30
|
+
- `<path>/.planning/` — independent planning directory
|
|
31
|
+
- `<path>/<repo>/` — git worktree or clone for each specified repo
|
|
32
|
+
|
|
33
|
+
**After this command:** `cd` into the workspace and run `/gsd-new-project` to initialize GSD.
|
|
34
|
+
</objective>
|
|
35
|
+
|
|
36
|
+
<execution_context>
|
|
37
|
+
@$HOME/.config/opencode/get-shit-done/workflows/new-workspace.md
|
|
38
|
+
@$HOME/.config/opencode/get-shit-done/references/ui-brand.md
|
|
39
|
+
</execution_context>
|
|
40
|
+
|
|
41
|
+
<process>
|
|
42
|
+
Execute the new-workspace workflow from @$HOME/.config/opencode/get-shit-done/workflows/new-workspace.md end-to-end.
|
|
43
|
+
Preserve all workflow gates (validation, approvals, commits, routing).
|
|
44
|
+
</process>
|