gsdd-cli 0.18.5 → 0.19.1
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/LICENSE +21 -21
- package/README.md +610 -608
- package/agents/DISTILLATION.md +421 -421
- package/agents/README.md +62 -62
- package/agents/approach-explorer.md +370 -361
- package/agents/debugger.md +82 -82
- package/agents/executor.md +473 -394
- package/agents/integration-checker.md +318 -318
- package/agents/mapper.md +103 -103
- package/agents/planner.md +342 -313
- package/agents/researcher.md +84 -84
- package/agents/roadmapper.md +296 -296
- package/agents/synthesizer.md +236 -236
- package/agents/verifier.md +337 -337
- package/bin/adapters/agents.mjs +34 -34
- package/bin/adapters/claude.mjs +193 -191
- package/bin/adapters/codex.mjs +85 -85
- package/bin/adapters/index.mjs +20 -20
- package/bin/adapters/opencode.mjs +280 -278
- package/bin/gsdd.mjs +123 -116
- package/bin/lib/cli-utils.mjs +28 -28
- package/bin/lib/evidence-contract.mjs +325 -112
- package/bin/lib/file-ops.mjs +186 -144
- package/bin/lib/health-truth.mjs +196 -178
- package/bin/lib/health.mjs +246 -226
- package/bin/lib/init-flow.mjs +247 -231
- package/bin/lib/init-prompts.mjs +248 -247
- package/bin/lib/init-runtime.mjs +193 -190
- package/bin/lib/init.mjs +17 -17
- package/bin/lib/lifecycle-preflight.mjs +760 -326
- package/bin/lib/lifecycle-state.mjs +356 -267
- package/bin/lib/manifest.mjs +116 -114
- package/bin/lib/models.mjs +411 -411
- package/bin/lib/phase.mjs +365 -358
- package/bin/lib/plan-constants.mjs +35 -30
- package/bin/lib/provenance.mjs +109 -106
- package/bin/lib/rendering.mjs +119 -83
- package/bin/lib/runtime-freshness.mjs +214 -214
- package/bin/lib/session-fingerprint.mjs +91 -14
- package/bin/lib/templates.mjs +225 -224
- package/bin/lib/workspace-root.mjs +2 -1
- package/distilled/DESIGN.md +2461 -2323
- package/distilled/EVIDENCE-INDEX.md +418 -392
- package/distilled/README.md +196 -193
- package/distilled/SKILL.md +86 -85
- package/distilled/templates/agents.block.md +21 -21
- package/distilled/templates/agents.md +6 -6
- package/distilled/templates/approach.md +272 -232
- package/distilled/templates/auth-matrix.md +78 -78
- package/distilled/templates/brownfield-change/CHANGE.md +99 -0
- package/distilled/templates/brownfield-change/HANDOFF.md +38 -0
- package/distilled/templates/brownfield-change/VERIFICATION.md +56 -0
- package/distilled/templates/codebase/architecture.md +110 -110
- package/distilled/templates/codebase/concerns.md +95 -95
- package/distilled/templates/codebase/conventions.md +193 -193
- package/distilled/templates/codebase/stack.md +96 -96
- package/distilled/templates/delegates/approach-explorer.md +28 -25
- package/distilled/templates/delegates/mapper-arch.md +26 -26
- package/distilled/templates/delegates/mapper-concerns.md +27 -27
- package/distilled/templates/delegates/mapper-quality.md +28 -28
- package/distilled/templates/delegates/mapper-tech.md +25 -25
- package/distilled/templates/delegates/plan-checker.md +78 -68
- package/distilled/templates/delegates/researcher-architecture.md +30 -30
- package/distilled/templates/delegates/researcher-features.md +30 -30
- package/distilled/templates/delegates/researcher-pitfalls.md +30 -30
- package/distilled/templates/delegates/researcher-stack.md +30 -30
- package/distilled/templates/delegates/researcher-synthesizer.md +31 -31
- package/distilled/templates/research/architecture.md +57 -57
- package/distilled/templates/research/features.md +23 -23
- package/distilled/templates/research/pitfalls.md +46 -46
- package/distilled/templates/research/stack.md +45 -45
- package/distilled/templates/research/summary.md +67 -67
- package/distilled/templates/roadmap.md +74 -62
- package/distilled/templates/spec.md +110 -110
- package/distilled/workflows/audit-milestone.md +303 -271
- package/distilled/workflows/complete-milestone.md +349 -332
- package/distilled/workflows/execute.md +457 -450
- package/distilled/workflows/map-codebase.md +253 -253
- package/distilled/workflows/new-milestone.md +242 -238
- package/distilled/workflows/new-project.md +398 -398
- package/distilled/workflows/pause.md +160 -156
- package/distilled/workflows/plan-milestone-gaps.md +183 -183
- package/distilled/workflows/plan.md +454 -448
- package/distilled/workflows/progress.md +227 -223
- package/distilled/workflows/quick.md +351 -347
- package/distilled/workflows/resume.md +220 -212
- package/distilled/workflows/verify-work.md +260 -260
- package/distilled/workflows/verify.md +431 -429
- package/docs/BROWNFIELD-PROOF.md +95 -95
- package/docs/RUNTIME-SUPPORT.md +80 -69
- package/docs/USER-GUIDE.md +394 -386
- package/docs/VERIFICATION-DISCIPLINE.md +59 -59
- package/docs/claude/context-monitor.md +98 -98
- package/docs/proof/consumer-node-cli/README.md +37 -37
- package/docs/proof/consumer-node-cli/ROADMAP.md +14 -14
- package/docs/proof/consumer-node-cli/SPEC.md +17 -17
- package/docs/proof/consumer-node-cli/brief.md +9 -9
- package/docs/proof/consumer-node-cli/phases/01-foundation/01-01-PLAN.md +34 -34
- package/docs/proof/consumer-node-cli/phases/01-foundation/01-01-SUMMARY.md +10 -10
- package/docs/proof/consumer-node-cli/phases/01-foundation/01-VERIFICATION.md +30 -30
- package/package.json +62 -61
package/docs/USER-GUIDE.md
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
# Workspine User Guide
|
|
2
|
-
|
|
3
|
-
A detailed reference for Workspine workflows, troubleshooting, and configuration. Workspine is the public product name; the package, CLI, workflow names, and workspace remain `gsdd-cli`, `gsdd`, `gsdd-*`, and `.planning/` as retained technical contracts. Runtime floor: Node 20+. For quick-start setup and the public proof pack, start with the [README](../README.md).
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## Table of Contents
|
|
8
|
-
|
|
9
|
-
- [Workflow Diagrams](#workflow-diagrams)
|
|
10
|
-
- [Command Reference](#command-reference)
|
|
11
|
-
- [Configuration Reference](#configuration-reference)
|
|
12
|
-
- [Usage Examples](#usage-examples)
|
|
13
|
-
- [Troubleshooting](#troubleshooting)
|
|
14
|
-
- [Recovery Quick Reference](#recovery-quick-reference)
|
|
15
|
-
|
|
16
|
-
---
|
|
17
|
-
|
|
18
|
-
## Workflow Diagrams
|
|
19
|
-
|
|
20
|
-
### Full Project Lifecycle
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
┌──────────────────────────────────────────────────┐
|
|
24
|
-
│ NEW PROJECT │
|
|
25
|
-
│ gsdd-new-project │
|
|
26
|
-
│ Questions -> Research -> Spec -> Roadmap │
|
|
27
|
-
└─────────────────────────┬────────────────────────┘
|
|
28
|
-
│
|
|
29
|
-
┌──────────────▼─────────────┐
|
|
30
|
-
│ FOR EACH PHASE: │
|
|
31
|
-
│ │
|
|
32
|
-
│ ┌────────────────────┐ │
|
|
33
|
-
│ │ gsdd-plan │ │ <- Research + Plan + Check
|
|
34
|
-
│ └──────────┬─────────┘ │
|
|
35
|
-
│ │ │
|
|
36
|
-
│ ┌──────────▼─────────┐ │
|
|
37
|
-
│ │ gsdd-execute │ │ <- Wave-based execution
|
|
38
|
-
│ └──────────┬─────────┘ │
|
|
39
|
-
│ │ │
|
|
40
|
-
│ ┌──────────▼─────────┐ │
|
|
41
|
-
│ │ gsdd-verify │ │ <- 3-level gate
|
|
42
|
-
│ └──────────┬─────────┘ │
|
|
43
|
-
│ │ │
|
|
44
|
-
│ Next Phase?────────────┘
|
|
45
|
-
│ │ No
|
|
46
|
-
└─────────────┼──────────────┘
|
|
47
|
-
│
|
|
1
|
+
# Workspine User Guide
|
|
2
|
+
|
|
3
|
+
A detailed reference for Workspine workflows, troubleshooting, and configuration. Workspine is the public product name; the package, CLI, workflow names, and workspace remain `gsdd-cli`, `gsdd`, `gsdd-*`, and `.planning/` as retained technical contracts. Runtime floor: Node 20+. For quick-start setup and the public proof pack, start with the [README](../README.md). Human install/update commands use `npx -y gsdd-cli ...`; bare `gsdd ...` is shorthand only when the package is globally installed.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Table of Contents
|
|
8
|
+
|
|
9
|
+
- [Workflow Diagrams](#workflow-diagrams)
|
|
10
|
+
- [Command Reference](#command-reference)
|
|
11
|
+
- [Configuration Reference](#configuration-reference)
|
|
12
|
+
- [Usage Examples](#usage-examples)
|
|
13
|
+
- [Troubleshooting](#troubleshooting)
|
|
14
|
+
- [Recovery Quick Reference](#recovery-quick-reference)
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Workflow Diagrams
|
|
19
|
+
|
|
20
|
+
### Full Project Lifecycle
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
┌──────────────────────────────────────────────────┐
|
|
24
|
+
│ NEW PROJECT │
|
|
25
|
+
│ gsdd-new-project │
|
|
26
|
+
│ Questions -> Research -> Spec -> Roadmap │
|
|
27
|
+
└─────────────────────────┬────────────────────────┘
|
|
28
|
+
│
|
|
29
|
+
┌──────────────▼─────────────┐
|
|
30
|
+
│ FOR EACH PHASE: │
|
|
31
|
+
│ │
|
|
32
|
+
│ ┌────────────────────┐ │
|
|
33
|
+
│ │ gsdd-plan │ │ <- Research + Plan + Check
|
|
34
|
+
│ └──────────┬─────────┘ │
|
|
35
|
+
│ │ │
|
|
36
|
+
│ ┌──────────▼─────────┐ │
|
|
37
|
+
│ │ gsdd-execute │ │ <- Wave-based execution
|
|
38
|
+
│ └──────────┬─────────┘ │
|
|
39
|
+
│ │ │
|
|
40
|
+
│ ┌──────────▼─────────┐ │
|
|
41
|
+
│ │ gsdd-verify │ │ <- 3-level gate
|
|
42
|
+
│ └──────────┬─────────┘ │
|
|
43
|
+
│ │ │
|
|
44
|
+
│ Next Phase?────────────┘
|
|
45
|
+
│ │ No
|
|
46
|
+
└─────────────┼──────────────┘
|
|
47
|
+
│
|
|
48
48
|
┌──────────────▼──────────────┐
|
|
49
49
|
│ gsdd-audit-milestone │
|
|
50
50
|
└─────────────────────────────┘
|
|
@@ -56,115 +56,115 @@ Optional closure and milestone-continuation workflows in the shipped surface:
|
|
|
56
56
|
- `gsdd-plan-milestone-gaps` turns audit findings into gap-closure phases when a milestone is not ready to ship.
|
|
57
57
|
- `gsdd-complete-milestone` archives a shipped milestone, evolves `SPEC.md`, and collapses `ROADMAP.md`.
|
|
58
58
|
- `gsdd-new-milestone` starts the next milestone after closure.
|
|
59
|
-
|
|
60
|
-
### Planning Agent Coordination
|
|
61
|
-
|
|
62
|
-
```
|
|
63
|
-
gsdd-plan (phase N)
|
|
64
|
-
│
|
|
65
|
-
├── Phase Researcher (x4 parallel)
|
|
66
|
-
│ ├── Stack researcher
|
|
67
|
-
│ ├── Features researcher
|
|
68
|
-
│ ├── Architecture researcher
|
|
69
|
-
│ └── Pitfalls researcher
|
|
70
|
-
│ │
|
|
71
|
-
│ ┌─────▼───────┐
|
|
72
|
-
│ │ RESEARCH.md │
|
|
73
|
-
│ └─────┬───────┘
|
|
74
|
-
│ │
|
|
75
|
-
│ ┌─────▼──────┐
|
|
76
|
-
│ │ Planner │ <- Reads SPEC.md, ROADMAP.md, RESEARCH.md
|
|
77
|
-
│ └─────┬──────┘
|
|
78
|
-
│ │
|
|
79
|
-
│ ┌─────▼──────────────┐ ┌────────┐
|
|
80
|
-
│ │ Plan Checker │────>│ PASS? │
|
|
81
|
-
│ │ (fresh context, │ └───┬────┘
|
|
82
|
-
│ │ 7 dimensions, │ │
|
|
83
|
-
│ │ typed JSON) │ Yes │ No
|
|
84
|
-
│ └────────────────────┘ │ │ │
|
|
85
|
-
│ │ └───┘ (max 3 cycles)
|
|
86
|
-
│ │
|
|
87
|
-
│ ┌─────▼──────┐
|
|
88
|
-
│ │ PLAN files │
|
|
89
|
-
│ └────────────┘
|
|
90
|
-
└── Done
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
The plan checker runs in a **separate context window** from the planner. This prevents the checker from inheriting the planner's blind spots — the same reasoning error that produced the plan cannot suppress the review of that plan. This is the [ICLR-validated](https://arxiv.org/abs/2310.01798) pattern for LLM self-refinement.
|
|
94
|
-
|
|
95
|
-
The 7 check dimensions: requirement coverage, task completeness, dependency correctness, key-link completeness, scope sanity, must-have quality, context compliance.
|
|
96
|
-
|
|
97
|
-
### Execution Wave Coordination
|
|
98
|
-
|
|
99
|
-
```
|
|
100
|
-
gsdd-execute (phase N)
|
|
101
|
-
│
|
|
102
|
-
├── Analyze plan dependencies
|
|
103
|
-
│
|
|
104
|
-
├── Wave 1 (independent plans):
|
|
105
|
-
│ ├── Executor A (fresh 200K context) -> commit
|
|
106
|
-
│ └── Executor B (fresh 200K context) -> commit
|
|
107
|
-
│
|
|
108
|
-
├── Wave 2 (depends on Wave 1):
|
|
109
|
-
│ └── Executor C (fresh 200K context) -> commit
|
|
110
|
-
│
|
|
111
|
-
└── Phase summary written to disk
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
### Brownfield Workflow (Existing Codebase)
|
|
115
|
-
|
|
116
|
-
```
|
|
117
|
-
Brownfield repo
|
|
118
|
-
│
|
|
119
|
-
├── bounded change already concrete
|
|
120
|
-
│ │
|
|
121
|
-
│ ▼
|
|
122
|
-
│ gsdd-quick
|
|
123
|
-
│ bounded feature work
|
|
124
|
-
│ with inline baseline
|
|
125
|
-
│
|
|
126
|
-
├── repo unfamiliar / risky / deeper orientation needed
|
|
127
|
-
│ │
|
|
128
|
-
│ ▼
|
|
129
|
-
│ gsdd-map-codebase
|
|
130
|
-
│ │
|
|
131
|
-
│ └── continue with gsdd-quick or gsdd-new-project
|
|
132
|
-
│
|
|
133
|
-
└── fuzzy scope / full lifecycle setup
|
|
134
|
-
│
|
|
135
|
-
▼
|
|
136
|
-
gsdd-new-project
|
|
137
|
-
canonical initializer
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### Verification Gate
|
|
141
|
-
|
|
142
|
-
```
|
|
143
|
-
gsdd-verify (phase N)
|
|
144
|
-
│
|
|
145
|
-
├── Level 1: EXISTS
|
|
146
|
-
│ └── Do the expected files exist?
|
|
147
|
-
│
|
|
148
|
-
├── Level 2: SUBSTANTIVE
|
|
149
|
-
│ └── Is the code real, not stubs?
|
|
150
|
-
│
|
|
151
|
-
├── Level 3: WIRED
|
|
152
|
-
│ └── Is it connected and functional?
|
|
153
|
-
│
|
|
154
|
-
└── Anti-pattern scan
|
|
155
|
-
└── TODO/FIXME/HACK markers, empty catches
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
---
|
|
159
|
-
|
|
160
|
-
## Command Reference
|
|
161
|
-
|
|
162
|
-
### Workflows (run via generated skills or adapters)
|
|
163
|
-
|
|
164
|
-
| Workflow | Purpose | When to Use |
|
|
165
|
-
|----------|---------|-------------|
|
|
166
|
-
| `gsdd-new-project` | Full project init: questioning, brownfield audit when needed, research, spec, roadmap | Greenfield, fuzzy brownfield scope, or full lifecycle setup |
|
|
167
|
-
| `gsdd-map-codebase` | Map existing codebase for reusable brownfield context | When the repo is unfamiliar, risky, or you want a deeper baseline before choosing `quick` vs `new-project` |
|
|
59
|
+
|
|
60
|
+
### Planning Agent Coordination
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
gsdd-plan (phase N)
|
|
64
|
+
│
|
|
65
|
+
├── Phase Researcher (x4 parallel)
|
|
66
|
+
│ ├── Stack researcher
|
|
67
|
+
│ ├── Features researcher
|
|
68
|
+
│ ├── Architecture researcher
|
|
69
|
+
│ └── Pitfalls researcher
|
|
70
|
+
│ │
|
|
71
|
+
│ ┌─────▼───────┐
|
|
72
|
+
│ │ RESEARCH.md │
|
|
73
|
+
│ └─────┬───────┘
|
|
74
|
+
│ │
|
|
75
|
+
│ ┌─────▼──────┐
|
|
76
|
+
│ │ Planner │ <- Reads SPEC.md, ROADMAP.md, RESEARCH.md
|
|
77
|
+
│ └─────┬──────┘
|
|
78
|
+
│ │
|
|
79
|
+
│ ┌─────▼──────────────┐ ┌────────┐
|
|
80
|
+
│ │ Plan Checker │────>│ PASS? │
|
|
81
|
+
│ │ (fresh context, │ └───┬────┘
|
|
82
|
+
│ │ 7 dimensions, │ │
|
|
83
|
+
│ │ typed JSON) │ Yes │ No
|
|
84
|
+
│ └────────────────────┘ │ │ │
|
|
85
|
+
│ │ └───┘ (max 3 cycles)
|
|
86
|
+
│ │
|
|
87
|
+
│ ┌─────▼──────┐
|
|
88
|
+
│ │ PLAN files │
|
|
89
|
+
│ └────────────┘
|
|
90
|
+
└── Done
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
The plan checker runs in a **separate context window** from the planner. This prevents the checker from inheriting the planner's blind spots — the same reasoning error that produced the plan cannot suppress the review of that plan. This is the [ICLR-validated](https://arxiv.org/abs/2310.01798) pattern for LLM self-refinement.
|
|
94
|
+
|
|
95
|
+
The 7 check dimensions: requirement coverage, task completeness, dependency correctness, key-link completeness, scope sanity, must-have quality, context compliance.
|
|
96
|
+
|
|
97
|
+
### Execution Wave Coordination
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
gsdd-execute (phase N)
|
|
101
|
+
│
|
|
102
|
+
├── Analyze plan dependencies
|
|
103
|
+
│
|
|
104
|
+
├── Wave 1 (independent plans):
|
|
105
|
+
│ ├── Executor A (fresh 200K context) -> commit
|
|
106
|
+
│ └── Executor B (fresh 200K context) -> commit
|
|
107
|
+
│
|
|
108
|
+
├── Wave 2 (depends on Wave 1):
|
|
109
|
+
│ └── Executor C (fresh 200K context) -> commit
|
|
110
|
+
│
|
|
111
|
+
└── Phase summary written to disk
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
### Brownfield Workflow (Existing Codebase)
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
Brownfield repo
|
|
118
|
+
│
|
|
119
|
+
├── bounded change already concrete
|
|
120
|
+
│ │
|
|
121
|
+
│ ▼
|
|
122
|
+
│ gsdd-quick
|
|
123
|
+
│ bounded feature work
|
|
124
|
+
│ with inline baseline
|
|
125
|
+
│
|
|
126
|
+
├── repo unfamiliar / risky / deeper orientation needed
|
|
127
|
+
│ │
|
|
128
|
+
│ ▼
|
|
129
|
+
│ gsdd-map-codebase
|
|
130
|
+
│ │
|
|
131
|
+
│ └── continue with gsdd-quick or gsdd-new-project
|
|
132
|
+
│
|
|
133
|
+
└── fuzzy scope / full lifecycle setup
|
|
134
|
+
│
|
|
135
|
+
▼
|
|
136
|
+
gsdd-new-project
|
|
137
|
+
canonical initializer
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
### Verification Gate
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
gsdd-verify (phase N)
|
|
144
|
+
│
|
|
145
|
+
├── Level 1: EXISTS
|
|
146
|
+
│ └── Do the expected files exist?
|
|
147
|
+
│
|
|
148
|
+
├── Level 2: SUBSTANTIVE
|
|
149
|
+
│ └── Is the code real, not stubs?
|
|
150
|
+
│
|
|
151
|
+
├── Level 3: WIRED
|
|
152
|
+
│ └── Is it connected and functional?
|
|
153
|
+
│
|
|
154
|
+
└── Anti-pattern scan
|
|
155
|
+
└── TODO/FIXME/HACK markers, empty catches
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Command Reference
|
|
161
|
+
|
|
162
|
+
### Workflows (run via generated skills or adapters)
|
|
163
|
+
|
|
164
|
+
| Workflow | Purpose | When to Use |
|
|
165
|
+
|----------|---------|-------------|
|
|
166
|
+
| `gsdd-new-project` | Full project init: questioning, brownfield audit when needed, research, spec, roadmap | Greenfield, fuzzy brownfield scope, or full lifecycle setup |
|
|
167
|
+
| `gsdd-map-codebase` | Map existing codebase for reusable brownfield context | When the repo is unfamiliar, risky, or you want a deeper baseline before choosing `quick` vs `new-project` |
|
|
168
168
|
| `gsdd-plan` | Research + plan + adversarial check for current phase; writes planning artifacts only | Before executing a phase |
|
|
169
169
|
| `gsdd-execute` | Execute phase plans in parallel waves | After planning is complete |
|
|
170
170
|
| `gsdd-verify` | 3-level verification gate + anti-pattern scan | After execution completes |
|
|
@@ -177,21 +177,25 @@ The 7 check dimensions: requirement coverage, task completeness, dependency corr
|
|
|
177
177
|
| `gsdd-pause` | Save session context to checkpoint | Stopping mid-phase |
|
|
178
178
|
| `gsdd-resume` | Restore context from checkpoint and route to next action | Starting a new session |
|
|
179
179
|
| `gsdd-progress` | Show project status and route to next action | "Where am I?" |
|
|
180
|
-
|
|
180
|
+
|
|
181
181
|
### CLI Commands
|
|
182
|
-
|
|
182
|
+
|
|
183
183
|
| Command | Purpose |
|
|
184
184
|
|---------|---------|
|
|
185
|
-
| `npx gsdd-cli init [--tools <platform>]` |
|
|
186
|
-
| `gsdd
|
|
187
|
-
| `npx gsdd-cli update
|
|
188
|
-
| `npx gsdd-cli
|
|
189
|
-
| `gsdd
|
|
190
|
-
| `gsdd
|
|
191
|
-
| `gsdd models
|
|
192
|
-
| `gsdd models
|
|
193
|
-
| `gsdd models
|
|
194
|
-
| `gsdd
|
|
185
|
+
| `npx -y gsdd-cli init [--tools <platform>]` | Set up `.planning/`, generate skills/adapters |
|
|
186
|
+
| `npx -y gsdd-cli update [--tools <platform>]` | Regenerate skills/adapters from latest sources |
|
|
187
|
+
| `npx -y gsdd-cli update --templates` | Refresh role contracts and delegates (warns about user modifications) |
|
|
188
|
+
| `npx -y gsdd-cli find-phase [N]` | Show phase info as JSON (for agent consumption) |
|
|
189
|
+
| `npx -y gsdd-cli verify <N>` | Run artifact checks for phase N |
|
|
190
|
+
| `npx -y gsdd-cli scaffold phase <N> [name]` | Create a new phase plan file |
|
|
191
|
+
| `npx -y gsdd-cli models show` | Display effective model state across all runtimes |
|
|
192
|
+
| `npx -y gsdd-cli models profile <tier>` | Set global model profile (`quality`/`balanced`/`budget`) |
|
|
193
|
+
| `npx -y gsdd-cli models agent-profile --agent <id> --profile <tier>` | Per-agent semantic override |
|
|
194
|
+
| `npx -y gsdd-cli models set --runtime <rt> --agent <id> --model <id>` | Exact runtime model override |
|
|
195
|
+
| `npx -y gsdd-cli models clear --runtime <rt> --agent <id>` | Remove runtime override |
|
|
196
|
+
| `npx -y gsdd-cli help` | Show all commands |
|
|
197
|
+
|
|
198
|
+
If `gsdd-cli` is globally installed, you can use the shorter `gsdd ...` form for the same commands. Generated workflow helper calls do not use the global binary; they run through `node .planning/bin/gsdd.mjs ...` from the repo root.
|
|
195
199
|
|
|
196
200
|
Normal user flow:
|
|
197
201
|
|
|
@@ -222,184 +226,185 @@ Other CLI commands that remain available outside the first-run path:
|
|
|
222
226
|
| `gsdd scaffold phase <N> [name]` | Create a new phase plan file |
|
|
223
227
|
|
|
224
228
|
### Platform flags for `--tools`
|
|
225
|
-
|
|
226
|
-
| Flag | What's generated |
|
|
227
|
-
|------|-----------------|
|
|
228
|
-
| `claude` | `.claude/skills/`, `.claude/commands/`, `.claude/agents/` |
|
|
229
|
-
| `opencode` | `.opencode/commands/`, `.opencode/agents/` |
|
|
230
|
-
| `codex` | `.codex/agents/gsdd-plan-checker.toml` (
|
|
231
|
-
| `agents` | Bounded fallback block in root `AGENTS.md` |
|
|
232
|
-
| `all` | All of the above |
|
|
233
|
-
| *(none)* | Auto-detect installed tools |
|
|
234
|
-
|
|
235
|
-
---
|
|
236
|
-
|
|
237
|
-
## Configuration Reference
|
|
238
|
-
|
|
239
|
-
`gsdd init` creates `.planning/config.json` interactively (or with defaults via `--auto`).
|
|
240
|
-
|
|
241
|
-
### Full config.json Schema
|
|
242
|
-
|
|
243
|
-
```json
|
|
244
|
-
{
|
|
245
|
-
"researchDepth": "balanced",
|
|
246
|
-
"parallelization": true,
|
|
247
|
-
"commitDocs": true,
|
|
248
|
-
"modelProfile": "balanced",
|
|
249
|
-
"workflow": {
|
|
250
|
-
"research": true,
|
|
251
|
-
"planCheck": true,
|
|
252
|
-
"verifier": true
|
|
253
|
-
},
|
|
254
|
-
"gitProtocol": {
|
|
255
|
-
"branch": "Follow existing repo conventions",
|
|
256
|
-
"commit": "Logical grouping, no phase/task IDs",
|
|
257
|
-
"pr": "Follow existing review workflow"
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
### Core Settings
|
|
263
|
-
|
|
264
|
-
| Setting | Options | Default | What it Controls |
|
|
265
|
-
|---------|---------|---------|------------------|
|
|
266
|
-
| `researchDepth` | `fast`, `balanced`, `deep` | `balanced` | Research thoroughness per phase |
|
|
267
|
-
| `parallelization` | `true`, `false` | `true` | Run independent agents simultaneously |
|
|
268
|
-
| `commitDocs` | `true`, `false` | `true` | Track `.planning/` in git |
|
|
269
|
-
| `modelProfile` | `balanced`, `quality`, `budget` | `balanced` | Portable semantic model tier |
|
|
270
|
-
|
|
271
|
-
### Workflow Toggles
|
|
272
|
-
|
|
273
|
-
Each adds quality but costs tokens and time:
|
|
274
|
-
|
|
275
|
-
| Setting | Default | What it Controls |
|
|
276
|
-
|---------|---------|------------------|
|
|
277
|
-
| `workflow.research` | `true` | Research domain before planning each phase |
|
|
278
|
-
| `workflow.planCheck` | `true` | Fresh-context adversarial plan checking (max-3 cycle loop) |
|
|
279
|
-
| `workflow.verifier` | `true` | 3-level verification gate after execution |
|
|
280
|
-
|
|
281
|
-
Disable these to speed up phases in familiar domains or when conserving tokens. Disabling `planCheck` engages reduced-assurance mode — the planner self-checks but without the independent reviewer.
|
|
282
|
-
|
|
283
|
-
### Model Control
|
|
284
|
-
|
|
285
|
-
Optional keys for fine-grained model selection:
|
|
286
|
-
|
|
287
|
-
| Setting | What it Controls |
|
|
288
|
-
|---------|------------------|
|
|
289
|
-
| `agentModelProfiles.<agent>` | Per-agent semantic override (currently: `plan-checker`) |
|
|
290
|
-
| `runtimeModelOverrides.<runtime>.<agent>` | Exact runtime-native model override |
|
|
291
|
-
|
|
292
|
-
Supported runtimes: `claude`, `opencode`, `codex`.
|
|
293
|
-
|
|
294
|
-
Runtime behavior:
|
|
295
|
-
- **Claude** translates semantic tiers to native aliases (`opus`/`sonnet`/`haiku`) for the checker agent
|
|
296
|
-
- **OpenCode** inherits its runtime model by default; Workspine only injects a model when you set an explicit runtime override
|
|
297
|
-
- **Codex** inherits its session model by default; Workspine only injects a model in the TOML when you set an explicit runtime override
|
|
298
|
-
|
|
299
|
-
### Git Protocol
|
|
300
|
-
|
|
301
|
-
Advisory defaults — repository and team conventions take precedence:
|
|
302
|
-
|
|
303
|
-
| Setting | Default |
|
|
304
|
-
|---------|---------|
|
|
305
|
-
| `gitProtocol.branch` | Follow existing repo conventions |
|
|
306
|
-
| `gitProtocol.commit` | Logical grouping, no framework-imposed format |
|
|
307
|
-
| `gitProtocol.pr` | Follow existing review workflow |
|
|
308
|
-
|
|
309
|
-
Workspine does not impose commit formats, branch naming, or one-commit-per-task rules.
|
|
310
|
-
|
|
311
|
-
---
|
|
312
|
-
|
|
313
|
-
## Usage Examples
|
|
314
|
-
|
|
315
|
-
### New Project (Full Cycle)
|
|
316
|
-
|
|
317
|
-
`npx gsdd-cli init`
|
|
318
|
-
|
|
319
|
-
Cursor, Copilot, and Gemini use the
|
|
229
|
+
|
|
230
|
+
| Flag | What's generated |
|
|
231
|
+
|------|-----------------|
|
|
232
|
+
| `claude` | `.claude/skills/`, `.claude/commands/`, `.claude/agents/` |
|
|
233
|
+
| `opencode` | `.opencode/commands/`, `.opencode/agents/` |
|
|
234
|
+
| `codex` | `.codex/agents/gsdd-plan-checker.toml` (`.agents/skills/gsdd-*` and `.planning/bin/gsdd.mjs` are always generated; `$gsdd-plan` stays plan-only until explicit `$gsdd-execute`) |
|
|
235
|
+
| `agents` | Bounded fallback block in root `AGENTS.md` |
|
|
236
|
+
| `all` | All of the above |
|
|
237
|
+
| *(none)* | Auto-detect installed tools |
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## Configuration Reference
|
|
242
|
+
|
|
243
|
+
`npx -y gsdd-cli init` creates `.planning/config.json` interactively (or with defaults via `--auto`).
|
|
244
|
+
|
|
245
|
+
### Full config.json Schema
|
|
246
|
+
|
|
247
|
+
```json
|
|
248
|
+
{
|
|
249
|
+
"researchDepth": "balanced",
|
|
250
|
+
"parallelization": true,
|
|
251
|
+
"commitDocs": true,
|
|
252
|
+
"modelProfile": "balanced",
|
|
253
|
+
"workflow": {
|
|
254
|
+
"research": true,
|
|
255
|
+
"planCheck": true,
|
|
256
|
+
"verifier": true
|
|
257
|
+
},
|
|
258
|
+
"gitProtocol": {
|
|
259
|
+
"branch": "Follow existing repo conventions",
|
|
260
|
+
"commit": "Logical grouping, no phase/task IDs",
|
|
261
|
+
"pr": "Follow existing review workflow"
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### Core Settings
|
|
267
|
+
|
|
268
|
+
| Setting | Options | Default | What it Controls |
|
|
269
|
+
|---------|---------|---------|------------------|
|
|
270
|
+
| `researchDepth` | `fast`, `balanced`, `deep` | `balanced` | Research thoroughness per phase |
|
|
271
|
+
| `parallelization` | `true`, `false` | `true` | Run independent agents simultaneously |
|
|
272
|
+
| `commitDocs` | `true`, `false` | `true` | Track `.planning/` in git |
|
|
273
|
+
| `modelProfile` | `balanced`, `quality`, `budget` | `balanced` | Portable semantic model tier |
|
|
274
|
+
|
|
275
|
+
### Workflow Toggles
|
|
276
|
+
|
|
277
|
+
Each adds quality but costs tokens and time:
|
|
278
|
+
|
|
279
|
+
| Setting | Default | What it Controls |
|
|
280
|
+
|---------|---------|------------------|
|
|
281
|
+
| `workflow.research` | `true` | Research domain before planning each phase |
|
|
282
|
+
| `workflow.planCheck` | `true` | Fresh-context adversarial plan checking (max-3 cycle loop) |
|
|
283
|
+
| `workflow.verifier` | `true` | 3-level verification gate after execution |
|
|
284
|
+
|
|
285
|
+
Disable these to speed up phases in familiar domains or when conserving tokens. Disabling `planCheck` engages reduced-assurance mode — the planner self-checks but without the independent reviewer.
|
|
286
|
+
|
|
287
|
+
### Model Control
|
|
288
|
+
|
|
289
|
+
Optional keys for fine-grained model selection:
|
|
290
|
+
|
|
291
|
+
| Setting | What it Controls |
|
|
292
|
+
|---------|------------------|
|
|
293
|
+
| `agentModelProfiles.<agent>` | Per-agent semantic override (currently: `plan-checker`) |
|
|
294
|
+
| `runtimeModelOverrides.<runtime>.<agent>` | Exact runtime-native model override |
|
|
295
|
+
|
|
296
|
+
Supported runtimes: `claude`, `opencode`, `codex`.
|
|
297
|
+
|
|
298
|
+
Runtime behavior:
|
|
299
|
+
- **Claude** translates semantic tiers to native aliases (`opus`/`sonnet`/`haiku`) for the checker agent
|
|
300
|
+
- **OpenCode** inherits its runtime model by default; Workspine only injects a model when you set an explicit runtime override
|
|
301
|
+
- **Codex** inherits its session model by default; Workspine only injects a model in the TOML when you set an explicit runtime override
|
|
302
|
+
|
|
303
|
+
### Git Protocol
|
|
304
|
+
|
|
305
|
+
Advisory defaults — repository and team conventions take precedence:
|
|
306
|
+
|
|
307
|
+
| Setting | Default |
|
|
308
|
+
|---------|---------|
|
|
309
|
+
| `gitProtocol.branch` | Follow existing repo conventions |
|
|
310
|
+
| `gitProtocol.commit` | Logical grouping, no framework-imposed format |
|
|
311
|
+
| `gitProtocol.pr` | Follow existing review workflow |
|
|
312
|
+
|
|
313
|
+
Workspine does not impose commit formats, branch naming, or one-commit-per-task rules.
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
## Usage Examples
|
|
318
|
+
|
|
319
|
+
### New Project (Full Cycle)
|
|
320
|
+
|
|
321
|
+
`npx -y gsdd-cli init`
|
|
322
|
+
|
|
323
|
+
Cursor, Copilot, and Gemini can use the installed `.agents/skills/` surfaces when their slash/skill discovery sees that directory. The difference is runtime proof and ergonomics, not workflow shape. If discovery is unavailable, open or paste the relevant `.agents/skills/gsdd-*/SKILL.md` file.
|
|
320
324
|
|
|
321
325
|
- `Claude/OpenCode`: `/gsdd-new-project -> /gsdd-plan -> /gsdd-execute -> /gsdd-verify -> /gsdd-audit-milestone`
|
|
322
326
|
- `Codex`: `$gsdd-new-project -> $gsdd-plan -> $gsdd-execute -> $gsdd-verify -> $gsdd-audit-milestone` (`$gsdd-plan` ends at plan creation; `$gsdd-execute` is a separate explicit unlock)
|
|
323
|
-
- `
|
|
327
|
+
- `Codex VS Code / app`: use built-in discovery if available; otherwise open or paste `.agents/skills/gsdd-new-project/SKILL.md` and continue with the matching skill files
|
|
328
|
+
- `Cursor / Copilot / Gemini`: use the same sequence from the slash command menu when skill discovery is available; otherwise open or paste the matching `.agents/skills/gsdd-*/SKILL.md` files
|
|
324
329
|
|
|
325
330
|
### Milestone Continuation
|
|
326
331
|
|
|
327
332
|
- `Claude/OpenCode`: `/gsdd-plan-milestone-gaps` when audit findings need closure work, or `/gsdd-complete-milestone -> /gsdd-new-milestone` when the milestone is ready to ship
|
|
328
333
|
- `Codex`: `$gsdd-plan-milestone-gaps` when audit findings need closure work, or `$gsdd-complete-milestone -> $gsdd-new-milestone` when the milestone is ready to ship
|
|
329
|
-
- `Cursor / Copilot / Gemini`: use the matching slash commands
|
|
330
|
-
|
|
334
|
+
- `Cursor / Copilot / Gemini`: use the matching slash commands when skill discovery is available, with the same routing as above
|
|
335
|
+
|
|
331
336
|
### Existing Codebase
|
|
332
337
|
|
|
333
|
-
`npx gsdd-cli init`
|
|
338
|
+
`npx -y gsdd-cli init`
|
|
334
339
|
|
|
335
340
|
- Choose one starting lane after init:
|
|
336
341
|
- `Claude/OpenCode`: `/gsdd-quick` for a concrete bounded change, `/gsdd-new-project` for fuzzy or milestone-shaped work, or `/gsdd-map-codebase` first when the repo needs a deeper brownfield baseline
|
|
337
342
|
- `Codex`: `$gsdd-quick` for a concrete bounded change, `$gsdd-new-project` for fuzzy or milestone-shaped work, or `$gsdd-map-codebase` first when the repo needs a deeper brownfield baseline
|
|
338
|
-
- `Cursor / Copilot / Gemini`: `/gsdd-quick`, `/gsdd-new-project`, or `/gsdd-map-codebase` from the slash command menu
|
|
339
|
-
|
|
340
|
-
### Quick Bug Fix
|
|
341
|
-
|
|
343
|
+
- `Cursor / Copilot / Gemini`: `/gsdd-quick`, `/gsdd-new-project`, or `/gsdd-map-codebase` from the slash command menu when skill discovery is available, using the same routing rules above
|
|
344
|
+
|
|
345
|
+
### Quick Bug Fix
|
|
346
|
+
|
|
342
347
|
- `Claude/OpenCode`: `/gsdd-quick`
|
|
343
348
|
- `Codex`: `$gsdd-quick`
|
|
344
|
-
- `Cursor / Copilot / Gemini`: `/gsdd-quick` from the slash command menu
|
|
345
|
-
|
|
346
|
-
### Resuming After a Break
|
|
347
|
-
|
|
349
|
+
- `Cursor / Copilot / Gemini`: `/gsdd-quick` from the slash command menu when skill discovery is available
|
|
350
|
+
|
|
351
|
+
### Resuming After a Break
|
|
352
|
+
|
|
348
353
|
- `Claude/OpenCode`: `/gsdd-progress` or `/gsdd-resume`
|
|
349
354
|
- `Codex`: `$gsdd-progress` or `$gsdd-resume`
|
|
350
|
-
- `Cursor / Copilot / Gemini`: use the matching skill from the slash command menu
|
|
351
|
-
|
|
352
|
-
### Pausing Mid-Work
|
|
353
|
-
|
|
355
|
+
- `Cursor / Copilot / Gemini`: use the matching skill from the slash command menu when discovery is available
|
|
356
|
+
|
|
357
|
+
### Pausing Mid-Work
|
|
358
|
+
|
|
354
359
|
- `Claude/OpenCode`: `/gsdd-pause`
|
|
355
360
|
- `Codex`: `$gsdd-pause`
|
|
356
|
-
- `Cursor / Copilot / Gemini`: `/gsdd-pause` from the slash command menu
|
|
357
|
-
|
|
358
|
-
### Speed vs Quality Presets
|
|
359
|
-
|
|
360
|
-
| Scenario | Research Depth | Model Profile | Research | Plan Check | Verifier |
|
|
361
|
-
|----------|---------------|---------------|----------|------------|----------|
|
|
362
|
-
| Prototyping | `fast` | `budget` | off | off | off |
|
|
363
|
-
| Normal dev | `balanced` | `balanced` | on | on | on |
|
|
364
|
-
| Production | `deep` | `quality` | on | on | on |
|
|
365
|
-
|
|
366
|
-
### Headless Init (CI / Automation)
|
|
367
|
-
|
|
368
|
-
```bash
|
|
369
|
-
npx gsdd-cli init --auto --tools claude # Non-interactive, default config
|
|
370
|
-
npx gsdd-cli init --auto --tools claude --brief path/to/PRD.md # Seed from existing document
|
|
371
|
-
```
|
|
372
|
-
|
|
373
|
-
---
|
|
374
|
-
|
|
375
|
-
## Troubleshooting
|
|
376
|
-
|
|
377
|
-
### Context Degradation During Long Sessions
|
|
378
|
-
|
|
379
|
-
Clear your context window between major workflows. Workspine is designed around fresh contexts — every delegate gets a clean context window. If quality drops in the main session, clear and use `gsdd-resume` or `gsdd-progress` to restore state.
|
|
380
|
-
|
|
381
|
-
### Plans Seem Wrong or Misaligned
|
|
382
|
-
|
|
383
|
-
Check that research ran before planning (`workflow.research: true`). Most plan quality issues come from the planner making assumptions that domain research would have prevented. If plan-checking is enabled, the checker should catch alignment issues — but it cannot fix missing domain context.
|
|
384
|
-
|
|
385
|
-
### Execution Produces Stubs
|
|
386
|
-
|
|
387
|
-
Plans should have 2-5 tasks maximum. If tasks are too large, they exceed what a single context window can produce reliably. Re-plan with smaller scope.
|
|
388
|
-
|
|
389
|
-
### Lost Track of Where You Are
|
|
390
|
-
|
|
391
|
-
Run `gsdd-progress`. It reads all artifacts and tells you where you are and what to do next.
|
|
392
|
-
|
|
393
|
-
### Need to Change Something After Execution
|
|
394
|
-
|
|
395
|
-
Do not re-run `gsdd-execute`. Use `gsdd-quick` for targeted fixes, or `gsdd-verify` to systematically identify issues.
|
|
396
|
-
|
|
361
|
+
- `Cursor / Copilot / Gemini`: `/gsdd-pause` from the slash command menu when skill discovery is available
|
|
362
|
+
|
|
363
|
+
### Speed vs Quality Presets
|
|
364
|
+
|
|
365
|
+
| Scenario | Research Depth | Model Profile | Research | Plan Check | Verifier |
|
|
366
|
+
|----------|---------------|---------------|----------|------------|----------|
|
|
367
|
+
| Prototyping | `fast` | `budget` | off | off | off |
|
|
368
|
+
| Normal dev | `balanced` | `balanced` | on | on | on |
|
|
369
|
+
| Production | `deep` | `quality` | on | on | on |
|
|
370
|
+
|
|
371
|
+
### Headless Init (CI / Automation)
|
|
372
|
+
|
|
373
|
+
```bash
|
|
374
|
+
npx -y gsdd-cli init --auto --tools claude # Non-interactive, default config
|
|
375
|
+
npx -y gsdd-cli init --auto --tools claude --brief path/to/PRD.md # Seed from existing document
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
---
|
|
379
|
+
|
|
380
|
+
## Troubleshooting
|
|
381
|
+
|
|
382
|
+
### Context Degradation During Long Sessions
|
|
383
|
+
|
|
384
|
+
Clear your context window between major workflows. Workspine is designed around fresh contexts — every delegate gets a clean context window. If quality drops in the main session, clear and use `gsdd-resume` or `gsdd-progress` to restore state.
|
|
385
|
+
|
|
386
|
+
### Plans Seem Wrong or Misaligned
|
|
387
|
+
|
|
388
|
+
Check that research ran before planning (`workflow.research: true`). Most plan quality issues come from the planner making assumptions that domain research would have prevented. If plan-checking is enabled, the checker should catch alignment issues — but it cannot fix missing domain context.
|
|
389
|
+
|
|
390
|
+
### Execution Produces Stubs
|
|
391
|
+
|
|
392
|
+
Plans should have 2-5 tasks maximum. If tasks are too large, they exceed what a single context window can produce reliably. Re-plan with smaller scope.
|
|
393
|
+
|
|
394
|
+
### Lost Track of Where You Are
|
|
395
|
+
|
|
396
|
+
Run `gsdd-progress`. It reads all artifacts and tells you where you are and what to do next.
|
|
397
|
+
|
|
398
|
+
### Need to Change Something After Execution
|
|
399
|
+
|
|
400
|
+
Do not re-run `gsdd-execute`. Use `gsdd-quick` for targeted fixes, or `gsdd-verify` to systematically identify issues.
|
|
401
|
+
|
|
397
402
|
### Template Refresh After Update
|
|
398
|
-
|
|
399
|
-
```bash
|
|
400
|
-
npx gsdd-cli update --templates # Refreshes role contracts and delegates
|
|
401
|
-
```
|
|
402
|
-
|
|
403
|
+
|
|
404
|
+
```bash
|
|
405
|
+
npx -y gsdd-cli update --templates # Refreshes role contracts and delegates
|
|
406
|
+
```
|
|
407
|
+
|
|
403
408
|
If you've modified any templates, the generation manifest detects this and warns you before overwriting. The SHA-256 hash of each generated file is tracked in `.planning/generation-manifest.json`.
|
|
404
409
|
|
|
405
410
|
### Generated Surfaces Drift Or A Runtime Command Goes Missing
|
|
@@ -407,33 +412,33 @@ If you've modified any templates, the generation manifest detects this and warns
|
|
|
407
412
|
Start with `gsdd health`. If it reports drift or missing installed generated surfaces, run `npx gsdd-cli update` for the whole workspace or `npx gsdd-cli update --tools <runtime>` for a specific runtime.
|
|
408
413
|
|
|
409
414
|
That repair path is deterministic for generated files. It does not imply that every runtime has equal native ergonomics or equal validation depth.
|
|
410
|
-
|
|
411
|
-
### Model Costs Too High
|
|
412
|
-
|
|
413
|
-
Switch to budget profile: `gsdd models profile budget
|
|
414
|
-
|
|
415
|
-
---
|
|
416
|
-
|
|
417
|
-
## Recovery Quick Reference
|
|
418
|
-
|
|
419
|
-
| Problem | Solution |
|
|
420
|
-
|---------|----------|
|
|
421
|
-
| Lost context / new session | `gsdd-resume` or `gsdd-progress` |
|
|
422
|
-
| Phase went wrong | `git revert` the phase commits, then re-plan |
|
|
423
|
-
| Quick targeted fix | `gsdd-quick` |
|
|
424
|
-
| Something broke | Use the debugger role for systematic debugging |
|
|
425
|
-
| Costs running high | `gsdd models profile budget`, disable workflow toggles |
|
|
426
|
-
| Templates out of date | `npx gsdd-cli update --templates` |
|
|
427
|
-
| Adapters out of date | `npx gsdd-cli update` |
|
|
428
|
-
|
|
429
|
-
---
|
|
430
|
-
|
|
431
|
-
## Project File Structure
|
|
432
|
-
|
|
433
|
-
```
|
|
434
|
-
.planning/
|
|
435
|
-
SPEC.md # Living specification (goals, constraints, decisions)
|
|
436
|
-
ROADMAP.md # Phased delivery plan with inline status
|
|
415
|
+
|
|
416
|
+
### Model Costs Too High
|
|
417
|
+
|
|
418
|
+
Switch to budget profile: `npx -y gsdd-cli models profile budget` (or `gsdd models profile budget` when globally installed). Disable research and plan-check via config if the domain is familiar.
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
## Recovery Quick Reference
|
|
423
|
+
|
|
424
|
+
| Problem | Solution |
|
|
425
|
+
|---------|----------|
|
|
426
|
+
| Lost context / new session | `gsdd-resume` or `gsdd-progress` |
|
|
427
|
+
| Phase went wrong | `git revert` the phase commits, then re-plan |
|
|
428
|
+
| Quick targeted fix | `gsdd-quick` |
|
|
429
|
+
| Something broke | Use the debugger role for systematic debugging |
|
|
430
|
+
| Costs running high | `npx -y gsdd-cli models profile budget`, disable workflow toggles |
|
|
431
|
+
| Templates out of date | `npx -y gsdd-cli update --templates` or `gsdd update --templates` if globally installed |
|
|
432
|
+
| Adapters out of date | `npx -y gsdd-cli update` or `gsdd update` if globally installed |
|
|
433
|
+
|
|
434
|
+
---
|
|
435
|
+
|
|
436
|
+
## Project File Structure
|
|
437
|
+
|
|
438
|
+
```
|
|
439
|
+
.planning/
|
|
440
|
+
SPEC.md # Living specification (goals, constraints, decisions)
|
|
441
|
+
ROADMAP.md # Phased delivery plan with inline status
|
|
437
442
|
config.json # Project configuration
|
|
438
443
|
bin/
|
|
439
444
|
gsdd # POSIX shim for the local helper surface
|
|
@@ -442,37 +447,40 @@ Switch to budget profile: `gsdd models profile budget`. Disable research and pla
|
|
|
442
447
|
gsdd.ps1 # PowerShell shim for the local helper surface
|
|
443
448
|
lib/ # Copied helper-runtime support modules
|
|
444
449
|
generation-manifest.json # SHA-256 hashes for template versioning
|
|
445
|
-
.continue-here.md # Session checkpoint (created by pause, consumed by resume)
|
|
446
|
-
research/ # Domain research outputs
|
|
447
|
-
codebase/ # Codebase maps (4 files: STACK, ARCHITECTURE, CONVENTIONS, CONCERNS)
|
|
448
|
-
phases/
|
|
449
|
-
XX-phase-name/
|
|
450
|
-
PLAN.md # Atomic execution plans with XML task structure
|
|
451
|
-
SUMMARY.md # Execution outcomes
|
|
452
|
-
VERIFICATION.md # Post-execution verification results
|
|
453
|
-
quick/
|
|
454
|
-
NNN-slug/
|
|
455
|
-
PLAN.md # Quick task plan
|
|
456
|
-
SUMMARY.md # Quick task outcome
|
|
457
|
-
templates/
|
|
458
|
-
delegates/ # 11 delegate instruction files
|
|
459
|
-
LOG.md # Quick task log
|
|
460
|
-
|
|
461
|
-
agents/ # 10 canonical role contracts
|
|
462
|
-
.agents/skills/gsdd-*/ # Portable workflow entrypoints (open standard)
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
.claude/
|
|
470
|
-
.claude/
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
.opencode/
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
450
|
+
.continue-here.md # Session checkpoint (created by pause, consumed by resume)
|
|
451
|
+
research/ # Domain research outputs
|
|
452
|
+
codebase/ # Codebase maps (4 files: STACK, ARCHITECTURE, CONVENTIONS, CONCERNS)
|
|
453
|
+
phases/
|
|
454
|
+
XX-phase-name/
|
|
455
|
+
PLAN.md # Atomic execution plans with XML task structure
|
|
456
|
+
SUMMARY.md # Execution outcomes
|
|
457
|
+
VERIFICATION.md # Post-execution verification results
|
|
458
|
+
quick/
|
|
459
|
+
NNN-slug/
|
|
460
|
+
PLAN.md # Quick task plan
|
|
461
|
+
SUMMARY.md # Quick task outcome
|
|
462
|
+
templates/
|
|
463
|
+
delegates/ # 11 delegate instruction files
|
|
464
|
+
LOG.md # Quick task log
|
|
465
|
+
|
|
466
|
+
agents/ # 10 canonical role contracts
|
|
467
|
+
.agents/skills/gsdd-*/ # Portable workflow entrypoints (open standard)
|
|
468
|
+
.planning/bin/gsdd.mjs # Internal repo-local helper runtime for deterministic workflow commands (run from repo root)
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
Platform-specific adapters (generated by `npx -y gsdd-cli init`, or `gsdd init` when globally installed):
|
|
472
|
+
|
|
473
|
+
```
|
|
474
|
+
.claude/skills/ # Claude Code skill files
|
|
475
|
+
.claude/commands/ # Claude Code command aliases
|
|
476
|
+
.claude/agents/ # Claude Code native agents
|
|
477
|
+
|
|
478
|
+
.opencode/commands/ # OpenCode command files
|
|
479
|
+
.opencode/agents/ # OpenCode native agents
|
|
480
|
+
|
|
481
|
+
.codex/agents/ # Codex CLI agent TOML files
|
|
482
|
+
|
|
483
|
+
AGENTS.md # Optional governance block (useful for agents that consume AGENTS.md)
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
`.agents/skills/` is the workflow entry surface. `.planning/bin/` is the internal helper runtime used by those workflows. Native adapters and governance files are optional ergonomics, not required prompt bulk.
|