@tekyzinc/gsd-t 2.50.12 → 2.53.10
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/CHANGELOG.md +24 -0
- package/README.md +379 -372
- package/bin/component-registry.js +250 -0
- package/bin/graph-cgc.js +510 -510
- package/bin/graph-indexer.js +147 -147
- package/bin/graph-overlay.js +195 -195
- package/bin/graph-parsers.js +327 -327
- package/bin/graph-query.js +453 -452
- package/bin/graph-store.js +154 -154
- package/bin/qa-calibrator.js +194 -0
- package/bin/scan-data-collector.js +153 -153
- package/bin/scan-diagrams-generators.js +187 -187
- package/bin/scan-diagrams.js +79 -79
- package/bin/scan-renderer.js +92 -92
- package/bin/scan-report-sections.js +121 -121
- package/bin/scan-report.js +184 -184
- package/bin/scan-schema-parsers.js +199 -199
- package/bin/scan-schema.js +103 -103
- package/bin/token-budget.js +246 -0
- package/commands/Claude-md.md +10 -10
- package/commands/branch.md +15 -15
- package/commands/checkin.md +45 -45
- package/commands/global-change.md +209 -209
- package/commands/gsd-t-audit.md +199 -0
- package/commands/gsd-t-backlog-add.md +94 -94
- package/commands/gsd-t-backlog-edit.md +111 -111
- package/commands/gsd-t-backlog-list.md +63 -63
- package/commands/gsd-t-backlog-move.md +94 -94
- package/commands/gsd-t-backlog-promote.md +123 -123
- package/commands/gsd-t-backlog-remove.md +86 -86
- package/commands/gsd-t-backlog-settings.md +158 -158
- package/commands/gsd-t-complete-milestone.md +528 -515
- package/commands/gsd-t-debug.md +506 -399
- package/commands/gsd-t-discuss.md +174 -174
- package/commands/gsd-t-execute.md +758 -634
- package/commands/gsd-t-feature.md +276 -276
- package/commands/gsd-t-health.md +142 -142
- package/commands/gsd-t-help.md +465 -457
- package/commands/gsd-t-impact.md +302 -302
- package/commands/gsd-t-init.md +320 -280
- package/commands/gsd-t-integrate.md +365 -249
- package/commands/gsd-t-milestone.md +87 -87
- package/commands/gsd-t-partition.md +442 -361
- package/commands/gsd-t-pause.md +82 -82
- package/commands/gsd-t-plan.md +345 -344
- package/commands/gsd-t-populate.md +111 -111
- package/commands/gsd-t-prd.md +326 -326
- package/commands/gsd-t-project.md +211 -211
- package/commands/gsd-t-promote-debt.md +123 -123
- package/commands/gsd-t-prompt.md +137 -137
- package/commands/gsd-t-qa.md +266 -266
- package/commands/gsd-t-quick.md +357 -234
- package/commands/gsd-t-reflect.md +134 -134
- package/commands/gsd-t-resume.md +72 -72
- package/commands/gsd-t-scan.md +615 -615
- package/commands/gsd-t-setup.md +76 -0
- package/commands/gsd-t-status.md +192 -166
- package/commands/gsd-t-test-sync.md +381 -381
- package/commands/gsd-t-triage-and-merge.md +171 -171
- package/commands/gsd-t-verify.md +382 -382
- package/commands/gsd-t-visualize.md +118 -118
- package/commands/gsd-t-wave.md +401 -378
- package/docs/GSD-T-README.md +425 -422
- package/docs/architecture.md +385 -369
- package/docs/harness-design-analysis.md +371 -0
- package/docs/infrastructure.md +205 -205
- package/docs/prd-graph-engine.md +398 -398
- package/docs/prd-gsd2-hybrid.md +559 -559
- package/docs/prd-harness-evolution.md +583 -0
- package/docs/requirements.md +14 -0
- package/docs/workflows.md +226 -226
- package/examples/.gsd-t/domains/example-domain/scope.md +13 -13
- package/package.json +40 -40
- package/scripts/gsd-t-auto-route.js +39 -39
- package/scripts/gsd-t-dashboard-mockup.html +1143 -1143
- package/scripts/gsd-t-dashboard-server.js +171 -171
- package/scripts/gsd-t-dashboard.html +262 -262
- package/scripts/gsd-t-event-writer.js +128 -128
- package/scripts/gsd-t-statusline.js +94 -94
- package/scripts/gsd-t-tools.js +175 -175
- package/templates/CLAUDE-global.md +639 -614
- package/templates/CLAUDE-project.md +24 -0
- package/templates/backlog-settings.md +18 -18
- package/templates/backlog.md +1 -1
- package/templates/progress.md +40 -40
- package/templates/shared-services-contract.md +60 -60
- package/templates/stacks/desktop.ini +2 -2
- package/bin/desktop.ini +0 -2
- package/commands/desktop.ini +0 -2
- package/docs/ci-examples/desktop.ini +0 -2
- package/docs/desktop.ini +0 -2
- package/examples/.gsd-t/contracts/desktop.ini +0 -2
- package/examples/.gsd-t/desktop.ini +0 -2
- package/examples/.gsd-t/domains/desktop.ini +0 -2
- package/examples/.gsd-t/domains/example-domain/desktop.ini +0 -2
- package/examples/desktop.ini +0 -2
- package/examples/rules/desktop.ini +0 -2
- package/scripts/desktop.ini +0 -2
- package/templates/desktop.ini +0 -2
|
@@ -1,211 +1,211 @@
|
|
|
1
|
-
# GSD-T: Project — Decompose a Full Project into Milestones
|
|
2
|
-
|
|
3
|
-
You are the lead agent taking a complete project vision and breaking it into a logical sequence of milestones. Each milestone should be a shippable increment that builds on the last.
|
|
4
|
-
|
|
5
|
-
## Step 1: Gather Project Context
|
|
6
|
-
|
|
7
|
-
Read everything available:
|
|
8
|
-
1. `CLAUDE.md` (if exists)
|
|
9
|
-
2. `docs/` — any existing documentation
|
|
10
|
-
3. User's project description from $ARGUMENTS
|
|
11
|
-
4. Any uploaded files (requirements, designs, specs)
|
|
12
|
-
|
|
13
|
-
If context is thin, ask the user targeted questions:
|
|
14
|
-
- What problem does this solve?
|
|
15
|
-
- Who are the users?
|
|
16
|
-
- What's the tech stack (or preferences)?
|
|
17
|
-
- What's the MVP — the minimum that proves the concept?
|
|
18
|
-
- Are there hard constraints (timeline, budget, existing systems to integrate with)?
|
|
19
|
-
- Any third-party integrations required?
|
|
20
|
-
- Auth requirements (social login, SSO, email/password)?
|
|
21
|
-
- Deployment target (cloud provider, serverless, containers)?
|
|
22
|
-
|
|
23
|
-
Do NOT proceed until you have enough context to make informed milestone decisions. It's better to ask 3 good questions now than to repartition later.
|
|
24
|
-
|
|
25
|
-
## Step 2: Identify the Full Scope
|
|
26
|
-
|
|
27
|
-
List ALL major capabilities the project needs. Group them into functional areas:
|
|
28
|
-
|
|
29
|
-
```markdown
|
|
30
|
-
## Functional Areas
|
|
31
|
-
|
|
32
|
-
### Foundation
|
|
33
|
-
- Project scaffolding, tooling, CI/CD pipeline
|
|
34
|
-
- Database schema, migrations, seed data
|
|
35
|
-
- Authentication and authorization
|
|
36
|
-
- Core API structure and middleware
|
|
37
|
-
|
|
38
|
-
### Core Product
|
|
39
|
-
- {primary feature set — the main thing the product does}
|
|
40
|
-
- {secondary feature set}
|
|
41
|
-
|
|
42
|
-
### User Experience
|
|
43
|
-
- UI shell, navigation, responsive layout
|
|
44
|
-
- Key user flows
|
|
45
|
-
- Error handling, loading states, empty states
|
|
46
|
-
|
|
47
|
-
### Integrations
|
|
48
|
-
- Third-party APIs
|
|
49
|
-
- Webhooks, notifications
|
|
50
|
-
- Payment processing (if applicable)
|
|
51
|
-
|
|
52
|
-
### Operations
|
|
53
|
-
- Deployment pipeline
|
|
54
|
-
- Monitoring, logging, alerting
|
|
55
|
-
- Admin dashboard
|
|
56
|
-
- Analytics and reporting
|
|
57
|
-
|
|
58
|
-
### Polish
|
|
59
|
-
- Performance optimization
|
|
60
|
-
- Accessibility
|
|
61
|
-
- Security hardening
|
|
62
|
-
- Documentation
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Adjust these categories based on the actual project. Not every project needs all of these.
|
|
66
|
-
|
|
67
|
-
## Step 3: Sequence into Milestones
|
|
68
|
-
|
|
69
|
-
Break functional areas into milestones following these principles:
|
|
70
|
-
|
|
71
|
-
### Sequencing Rules:
|
|
72
|
-
1. **Foundation first**: Infrastructure, schema, and auth before features
|
|
73
|
-
2. **Each milestone is shippable**: It works and can be demonstrated, even if incomplete
|
|
74
|
-
3. **Dependencies flow forward**: Milestone N never depends on Milestone N+1
|
|
75
|
-
4. **MVP is early**: The minimum viable product should land by milestone 2-3, not milestone 8
|
|
76
|
-
5. **Risk front-loaded**: Uncertain or complex work goes earlier so you learn faster
|
|
77
|
-
6. **Integration points are milestones**: Don't bury third-party integrations inside feature milestones
|
|
78
|
-
7. **Polish is last**: Performance, accessibility, hardening come after functionality works
|
|
79
|
-
|
|
80
|
-
### Milestone Size:
|
|
81
|
-
- Each milestone should be 2-5 domains when partitioned
|
|
82
|
-
- Each milestone should be completable in roughly 1-3 focused sessions
|
|
83
|
-
- If a milestone feels too big, split it. Too small, merge it.
|
|
84
|
-
|
|
85
|
-
## Step 4: Write the Milestone Roadmap
|
|
86
|
-
|
|
87
|
-
Create `.gsd-t/roadmap.md`:
|
|
88
|
-
|
|
89
|
-
```markdown
|
|
90
|
-
# Project Roadmap: {project name}
|
|
91
|
-
|
|
92
|
-
## Vision
|
|
93
|
-
{1-2 sentence project vision}
|
|
94
|
-
|
|
95
|
-
## Target Users
|
|
96
|
-
{who this is for}
|
|
97
|
-
|
|
98
|
-
## Tech Stack
|
|
99
|
-
{languages, frameworks, services, deployment}
|
|
100
|
-
|
|
101
|
-
---
|
|
102
|
-
|
|
103
|
-
## Milestone 1: {name} — Foundation
|
|
104
|
-
**Goal**: {what "done" looks like}
|
|
105
|
-
**Scope**:
|
|
106
|
-
- {capability 1}
|
|
107
|
-
- {capability 2}
|
|
108
|
-
- {capability 3}
|
|
109
|
-
**NOT included**: {explicit exclusions}
|
|
110
|
-
**Success criteria**:
|
|
111
|
-
- [ ] {testable outcome}
|
|
112
|
-
- [ ] {testable outcome}
|
|
113
|
-
- [ ] {testable outcome}
|
|
114
|
-
**Estimated domains**: {2-4 domain names}
|
|
115
|
-
**Dependencies**: None (first milestone)
|
|
116
|
-
|
|
117
|
-
---
|
|
118
|
-
|
|
119
|
-
## Milestone 2: {name} — Core Feature
|
|
120
|
-
**Goal**: {what "done" looks like}
|
|
121
|
-
**Scope**:
|
|
122
|
-
- {capability 1}
|
|
123
|
-
- {capability 2}
|
|
124
|
-
**NOT included**: {explicit exclusions}
|
|
125
|
-
**Success criteria**:
|
|
126
|
-
- [ ] {testable outcome}
|
|
127
|
-
- [ ] {testable outcome}
|
|
128
|
-
**Estimated domains**: {2-4 domain names}
|
|
129
|
-
**Dependencies**: Milestone 1 (foundation, auth, schema)
|
|
130
|
-
|
|
131
|
-
---
|
|
132
|
-
|
|
133
|
-
## Milestone 3: {name} — {next logical increment}
|
|
134
|
-
...
|
|
135
|
-
|
|
136
|
-
---
|
|
137
|
-
|
|
138
|
-
## Future / Out of Scope
|
|
139
|
-
- {things explicitly deferred}
|
|
140
|
-
- {nice-to-haves not in current plan}
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
## Step 5: Update Project State
|
|
144
|
-
|
|
145
|
-
Initialize or update `.gsd-t/progress.md`:
|
|
146
|
-
|
|
147
|
-
```markdown
|
|
148
|
-
# GSD-T Progress
|
|
149
|
-
|
|
150
|
-
## Project: {name}
|
|
151
|
-
## Status: ROADMAPPED
|
|
152
|
-
## Date: {today}
|
|
153
|
-
|
|
154
|
-
## Milestones
|
|
155
|
-
| # | Milestone | Status | Domains | Est. Sessions |
|
|
156
|
-
|---|-----------|--------|---------|---------------|
|
|
157
|
-
| 1 | {name} | not started | TBD | {1-3} |
|
|
158
|
-
| 2 | {name} | not started | TBD | {1-3} |
|
|
159
|
-
| 3 | {name} | not started | TBD | {1-3} |
|
|
160
|
-
|
|
161
|
-
## Decision Log
|
|
162
|
-
- {date}: Project roadmap created with {N} milestones
|
|
163
|
-
- {date}: Tech stack decision — {rationale}
|
|
164
|
-
- {date}: MVP scope decision — {rationale}
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
Ensure `CLAUDE.md` exists and references the roadmap and tech stack.
|
|
168
|
-
|
|
169
|
-
## Step 6: Document Ripple
|
|
170
|
-
|
|
171
|
-
After creating the roadmap and updating project state, verify all documentation is consistent:
|
|
172
|
-
|
|
173
|
-
### Always update:
|
|
174
|
-
1. **`.gsd-t/progress.md`** — Already updated in Step 5, verify Decision Log includes project creation rationale and tech stack decisions
|
|
175
|
-
|
|
176
|
-
### Check if affected:
|
|
177
|
-
2. **`docs/requirements.md`** — If the project scope implies specific functional or technical requirements, add them now
|
|
178
|
-
3. **`docs/architecture.md`** — If tech stack and architecture decisions were made, document them
|
|
179
|
-
4. **`docs/workflows.md`** — If key user workflows are known from the project vision, outline them
|
|
180
|
-
5. **`docs/infrastructure.md`** — If deployment targets and dev setup are known, document them
|
|
181
|
-
6. **`CLAUDE.md`** — Ensure it references the roadmap, tech stack, and any conventions decided during project planning
|
|
182
|
-
7. **`README.md`** — If created or exists, verify it reflects the project overview and tech stack
|
|
183
|
-
|
|
184
|
-
### Skip what's not affected — early project stage means many docs are still minimal.
|
|
185
|
-
|
|
186
|
-
## Step 7: Test Verification
|
|
187
|
-
|
|
188
|
-
Before reporting to the user:
|
|
189
|
-
|
|
190
|
-
1. **If existing code**: Run the full test suite to establish a baseline before milestone work begins
|
|
191
|
-
2. **If greenfield**: Note that test infrastructure should be established in Milestone 1
|
|
192
|
-
3. **Document baseline**: Record the test state so progress can be measured across milestones
|
|
193
|
-
|
|
194
|
-
## Step 8: Report to User
|
|
195
|
-
|
|
196
|
-
Present:
|
|
197
|
-
1. The full milestone roadmap (summary view)
|
|
198
|
-
2. Total milestone count and rough estimate
|
|
199
|
-
3. Which milestone is the MVP
|
|
200
|
-
4. Any scope decisions you made and why
|
|
201
|
-
5. Questions or trade-offs that need user input
|
|
202
|
-
|
|
203
|
-
Ask: "Ready to start Milestone 1? Run `/user:gsd-t-partition` to decompose it into domains."
|
|
204
|
-
|
|
205
|
-
Or if the user wants to review first: "Review the roadmap in `.gsd-t/roadmap.md` and let me know if you want to adjust scope or ordering."
|
|
206
|
-
|
|
207
|
-
$ARGUMENTS
|
|
208
|
-
|
|
209
|
-
## Auto-Clear
|
|
210
|
-
|
|
211
|
-
All work is committed to project files. Execute `/clear` to free the context window for the next command.
|
|
1
|
+
# GSD-T: Project — Decompose a Full Project into Milestones
|
|
2
|
+
|
|
3
|
+
You are the lead agent taking a complete project vision and breaking it into a logical sequence of milestones. Each milestone should be a shippable increment that builds on the last.
|
|
4
|
+
|
|
5
|
+
## Step 1: Gather Project Context
|
|
6
|
+
|
|
7
|
+
Read everything available:
|
|
8
|
+
1. `CLAUDE.md` (if exists)
|
|
9
|
+
2. `docs/` — any existing documentation
|
|
10
|
+
3. User's project description from $ARGUMENTS
|
|
11
|
+
4. Any uploaded files (requirements, designs, specs)
|
|
12
|
+
|
|
13
|
+
If context is thin, ask the user targeted questions:
|
|
14
|
+
- What problem does this solve?
|
|
15
|
+
- Who are the users?
|
|
16
|
+
- What's the tech stack (or preferences)?
|
|
17
|
+
- What's the MVP — the minimum that proves the concept?
|
|
18
|
+
- Are there hard constraints (timeline, budget, existing systems to integrate with)?
|
|
19
|
+
- Any third-party integrations required?
|
|
20
|
+
- Auth requirements (social login, SSO, email/password)?
|
|
21
|
+
- Deployment target (cloud provider, serverless, containers)?
|
|
22
|
+
|
|
23
|
+
Do NOT proceed until you have enough context to make informed milestone decisions. It's better to ask 3 good questions now than to repartition later.
|
|
24
|
+
|
|
25
|
+
## Step 2: Identify the Full Scope
|
|
26
|
+
|
|
27
|
+
List ALL major capabilities the project needs. Group them into functional areas:
|
|
28
|
+
|
|
29
|
+
```markdown
|
|
30
|
+
## Functional Areas
|
|
31
|
+
|
|
32
|
+
### Foundation
|
|
33
|
+
- Project scaffolding, tooling, CI/CD pipeline
|
|
34
|
+
- Database schema, migrations, seed data
|
|
35
|
+
- Authentication and authorization
|
|
36
|
+
- Core API structure and middleware
|
|
37
|
+
|
|
38
|
+
### Core Product
|
|
39
|
+
- {primary feature set — the main thing the product does}
|
|
40
|
+
- {secondary feature set}
|
|
41
|
+
|
|
42
|
+
### User Experience
|
|
43
|
+
- UI shell, navigation, responsive layout
|
|
44
|
+
- Key user flows
|
|
45
|
+
- Error handling, loading states, empty states
|
|
46
|
+
|
|
47
|
+
### Integrations
|
|
48
|
+
- Third-party APIs
|
|
49
|
+
- Webhooks, notifications
|
|
50
|
+
- Payment processing (if applicable)
|
|
51
|
+
|
|
52
|
+
### Operations
|
|
53
|
+
- Deployment pipeline
|
|
54
|
+
- Monitoring, logging, alerting
|
|
55
|
+
- Admin dashboard
|
|
56
|
+
- Analytics and reporting
|
|
57
|
+
|
|
58
|
+
### Polish
|
|
59
|
+
- Performance optimization
|
|
60
|
+
- Accessibility
|
|
61
|
+
- Security hardening
|
|
62
|
+
- Documentation
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Adjust these categories based on the actual project. Not every project needs all of these.
|
|
66
|
+
|
|
67
|
+
## Step 3: Sequence into Milestones
|
|
68
|
+
|
|
69
|
+
Break functional areas into milestones following these principles:
|
|
70
|
+
|
|
71
|
+
### Sequencing Rules:
|
|
72
|
+
1. **Foundation first**: Infrastructure, schema, and auth before features
|
|
73
|
+
2. **Each milestone is shippable**: It works and can be demonstrated, even if incomplete
|
|
74
|
+
3. **Dependencies flow forward**: Milestone N never depends on Milestone N+1
|
|
75
|
+
4. **MVP is early**: The minimum viable product should land by milestone 2-3, not milestone 8
|
|
76
|
+
5. **Risk front-loaded**: Uncertain or complex work goes earlier so you learn faster
|
|
77
|
+
6. **Integration points are milestones**: Don't bury third-party integrations inside feature milestones
|
|
78
|
+
7. **Polish is last**: Performance, accessibility, hardening come after functionality works
|
|
79
|
+
|
|
80
|
+
### Milestone Size:
|
|
81
|
+
- Each milestone should be 2-5 domains when partitioned
|
|
82
|
+
- Each milestone should be completable in roughly 1-3 focused sessions
|
|
83
|
+
- If a milestone feels too big, split it. Too small, merge it.
|
|
84
|
+
|
|
85
|
+
## Step 4: Write the Milestone Roadmap
|
|
86
|
+
|
|
87
|
+
Create `.gsd-t/roadmap.md`:
|
|
88
|
+
|
|
89
|
+
```markdown
|
|
90
|
+
# Project Roadmap: {project name}
|
|
91
|
+
|
|
92
|
+
## Vision
|
|
93
|
+
{1-2 sentence project vision}
|
|
94
|
+
|
|
95
|
+
## Target Users
|
|
96
|
+
{who this is for}
|
|
97
|
+
|
|
98
|
+
## Tech Stack
|
|
99
|
+
{languages, frameworks, services, deployment}
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Milestone 1: {name} — Foundation
|
|
104
|
+
**Goal**: {what "done" looks like}
|
|
105
|
+
**Scope**:
|
|
106
|
+
- {capability 1}
|
|
107
|
+
- {capability 2}
|
|
108
|
+
- {capability 3}
|
|
109
|
+
**NOT included**: {explicit exclusions}
|
|
110
|
+
**Success criteria**:
|
|
111
|
+
- [ ] {testable outcome}
|
|
112
|
+
- [ ] {testable outcome}
|
|
113
|
+
- [ ] {testable outcome}
|
|
114
|
+
**Estimated domains**: {2-4 domain names}
|
|
115
|
+
**Dependencies**: None (first milestone)
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
|
|
119
|
+
## Milestone 2: {name} — Core Feature
|
|
120
|
+
**Goal**: {what "done" looks like}
|
|
121
|
+
**Scope**:
|
|
122
|
+
- {capability 1}
|
|
123
|
+
- {capability 2}
|
|
124
|
+
**NOT included**: {explicit exclusions}
|
|
125
|
+
**Success criteria**:
|
|
126
|
+
- [ ] {testable outcome}
|
|
127
|
+
- [ ] {testable outcome}
|
|
128
|
+
**Estimated domains**: {2-4 domain names}
|
|
129
|
+
**Dependencies**: Milestone 1 (foundation, auth, schema)
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## Milestone 3: {name} — {next logical increment}
|
|
134
|
+
...
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## Future / Out of Scope
|
|
139
|
+
- {things explicitly deferred}
|
|
140
|
+
- {nice-to-haves not in current plan}
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## Step 5: Update Project State
|
|
144
|
+
|
|
145
|
+
Initialize or update `.gsd-t/progress.md`:
|
|
146
|
+
|
|
147
|
+
```markdown
|
|
148
|
+
# GSD-T Progress
|
|
149
|
+
|
|
150
|
+
## Project: {name}
|
|
151
|
+
## Status: ROADMAPPED
|
|
152
|
+
## Date: {today}
|
|
153
|
+
|
|
154
|
+
## Milestones
|
|
155
|
+
| # | Milestone | Status | Domains | Est. Sessions |
|
|
156
|
+
|---|-----------|--------|---------|---------------|
|
|
157
|
+
| 1 | {name} | not started | TBD | {1-3} |
|
|
158
|
+
| 2 | {name} | not started | TBD | {1-3} |
|
|
159
|
+
| 3 | {name} | not started | TBD | {1-3} |
|
|
160
|
+
|
|
161
|
+
## Decision Log
|
|
162
|
+
- {date}: Project roadmap created with {N} milestones
|
|
163
|
+
- {date}: Tech stack decision — {rationale}
|
|
164
|
+
- {date}: MVP scope decision — {rationale}
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
Ensure `CLAUDE.md` exists and references the roadmap and tech stack.
|
|
168
|
+
|
|
169
|
+
## Step 6: Document Ripple
|
|
170
|
+
|
|
171
|
+
After creating the roadmap and updating project state, verify all documentation is consistent:
|
|
172
|
+
|
|
173
|
+
### Always update:
|
|
174
|
+
1. **`.gsd-t/progress.md`** — Already updated in Step 5, verify Decision Log includes project creation rationale and tech stack decisions
|
|
175
|
+
|
|
176
|
+
### Check if affected:
|
|
177
|
+
2. **`docs/requirements.md`** — If the project scope implies specific functional or technical requirements, add them now
|
|
178
|
+
3. **`docs/architecture.md`** — If tech stack and architecture decisions were made, document them
|
|
179
|
+
4. **`docs/workflows.md`** — If key user workflows are known from the project vision, outline them
|
|
180
|
+
5. **`docs/infrastructure.md`** — If deployment targets and dev setup are known, document them
|
|
181
|
+
6. **`CLAUDE.md`** — Ensure it references the roadmap, tech stack, and any conventions decided during project planning
|
|
182
|
+
7. **`README.md`** — If created or exists, verify it reflects the project overview and tech stack
|
|
183
|
+
|
|
184
|
+
### Skip what's not affected — early project stage means many docs are still minimal.
|
|
185
|
+
|
|
186
|
+
## Step 7: Test Verification
|
|
187
|
+
|
|
188
|
+
Before reporting to the user:
|
|
189
|
+
|
|
190
|
+
1. **If existing code**: Run the full test suite to establish a baseline before milestone work begins
|
|
191
|
+
2. **If greenfield**: Note that test infrastructure should be established in Milestone 1
|
|
192
|
+
3. **Document baseline**: Record the test state so progress can be measured across milestones
|
|
193
|
+
|
|
194
|
+
## Step 8: Report to User
|
|
195
|
+
|
|
196
|
+
Present:
|
|
197
|
+
1. The full milestone roadmap (summary view)
|
|
198
|
+
2. Total milestone count and rough estimate
|
|
199
|
+
3. Which milestone is the MVP
|
|
200
|
+
4. Any scope decisions you made and why
|
|
201
|
+
5. Questions or trade-offs that need user input
|
|
202
|
+
|
|
203
|
+
Ask: "Ready to start Milestone 1? Run `/user:gsd-t-partition` to decompose it into domains."
|
|
204
|
+
|
|
205
|
+
Or if the user wants to review first: "Review the roadmap in `.gsd-t/roadmap.md` and let me know if you want to adjust scope or ordering."
|
|
206
|
+
|
|
207
|
+
$ARGUMENTS
|
|
208
|
+
|
|
209
|
+
## Auto-Clear
|
|
210
|
+
|
|
211
|
+
All work is committed to project files. Execute `/clear` to free the context window for the next command.
|
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
# GSD-T: Promote Debt — Convert Tech Debt Items to Milestones
|
|
2
|
-
|
|
3
|
-
You are converting selected tech debt items into formal milestones on the project roadmap.
|
|
4
|
-
|
|
5
|
-
## Step 1: Load Context
|
|
6
|
-
|
|
7
|
-
Read:
|
|
8
|
-
1. `.gsd-t/techdebt.md` — the debt register
|
|
9
|
-
2. `.gsd-t/roadmap.md` — current milestone plan
|
|
10
|
-
3. `.gsd-t/progress.md` — what's in progress
|
|
11
|
-
|
|
12
|
-
## Step 1.5: Graph-Enhanced Impact Radius
|
|
13
|
-
|
|
14
|
-
If `.gsd-t/graph/meta.json` exists (graph index is available):
|
|
15
|
-
1. For each debt item, query `getCallers` on the affected entity to calculate impact radius — items with more callers have higher blast radius and may warrant higher priority
|
|
16
|
-
2. Include caller counts in the promotable items display to help the user prioritize
|
|
17
|
-
|
|
18
|
-
If graph is not available, skip this step.
|
|
19
|
-
|
|
20
|
-
## Step 2: Identify Items to Promote
|
|
21
|
-
|
|
22
|
-
From $ARGUMENTS, determine which items to promote:
|
|
23
|
-
- Specific IDs: "TD-001, TD-003" → promote those exact items
|
|
24
|
-
- Category: "security" → promote all security items marked as milestone candidates
|
|
25
|
-
- Severity: "critical" → promote all critical items
|
|
26
|
-
- Suggested group: "Security Hardening" → use the suggested grouping from the scan
|
|
27
|
-
- "all" → promote all items marked `Milestone candidate: YES`
|
|
28
|
-
|
|
29
|
-
If $ARGUMENTS is empty or vague, show the user all promotable items:
|
|
30
|
-
```
|
|
31
|
-
Promotable tech debt items:
|
|
32
|
-
|
|
33
|
-
TD-001: [CRITICAL] SQL injection in user search — effort: small
|
|
34
|
-
TD-003: [CRITICAL] Hardcoded API key in config — effort: small
|
|
35
|
-
TD-010: [HIGH] N+1 queries on dashboard — effort: medium
|
|
36
|
-
TD-012: [HIGH] No rate limiting on auth endpoints — effort: small
|
|
37
|
-
|
|
38
|
-
Suggested groupings:
|
|
39
|
-
1. "Security Hardening" — TD-001, TD-003, TD-012
|
|
40
|
-
2. "Performance" — TD-010
|
|
41
|
-
|
|
42
|
-
Which items or groups should I promote to milestones?
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## Step 3: Create Milestones
|
|
46
|
-
|
|
47
|
-
For each group of promoted items, create a milestone entry.
|
|
48
|
-
|
|
49
|
-
Determine placement in the roadmap:
|
|
50
|
-
- **CRITICAL items**: Insert BEFORE the next unstarted feature milestone
|
|
51
|
-
- **HIGH items**: Insert AFTER current in-progress milestone
|
|
52
|
-
- **MEDIUM/LOW items**: Append to end of roadmap
|
|
53
|
-
|
|
54
|
-
Append to `.gsd-t/roadmap.md`:
|
|
55
|
-
|
|
56
|
-
```markdown
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## Milestone {N}: {name} — Tech Debt
|
|
60
|
-
**Source**: Promoted from tech debt scan ({date})
|
|
61
|
-
**Items**: {TD-001, TD-003, TD-012}
|
|
62
|
-
**Goal**: {what "done" looks like}
|
|
63
|
-
**Scope**:
|
|
64
|
-
- {remediation 1 from techdebt.md}
|
|
65
|
-
- {remediation 2 from techdebt.md}
|
|
66
|
-
**Success criteria**:
|
|
67
|
-
- [ ] {each debt item resolved and verified}
|
|
68
|
-
- [ ] No regression in existing functionality
|
|
69
|
-
- [ ] {item-specific criteria from techdebt.md}
|
|
70
|
-
**Estimated effort**: {combined effort assessment}
|
|
71
|
-
**Priority**: {CRITICAL — before next feature | HIGH — soon | MEDIUM — planned}
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## Step 4: Update Tech Debt Register
|
|
75
|
-
|
|
76
|
-
In `.gsd-t/techdebt.md`, mark promoted items:
|
|
77
|
-
```markdown
|
|
78
|
-
- **Promoted**: [x] — Milestone {N}: {milestone name}
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
## Step 5: Update Progress
|
|
82
|
-
|
|
83
|
-
In `.gsd-t/progress.md`:
|
|
84
|
-
- Add new milestones to the table
|
|
85
|
-
- Log promotion in Decision Log: "{date}: Promoted {N} tech debt items to Milestone {N}: {name}"
|
|
86
|
-
- Reorder milestones if critical items were inserted
|
|
87
|
-
|
|
88
|
-
## Step 6: Document Ripple
|
|
89
|
-
|
|
90
|
-
After promoting debt items to milestones, update affected documentation:
|
|
91
|
-
|
|
92
|
-
### Always update:
|
|
93
|
-
1. **`.gsd-t/progress.md`** — Already updated in Step 5, verify Decision Log includes promotion rationale
|
|
94
|
-
|
|
95
|
-
### Check if affected:
|
|
96
|
-
2. **`docs/requirements.md`** — If promoted debt items imply new or changed requirements (e.g., security requirements from a security hardening milestone), add them
|
|
97
|
-
3. **`docs/architecture.md`** — If promoted debt involves architectural changes, note planned modifications
|
|
98
|
-
4. **`CLAUDE.md`** — If promotion changes the project's priority order or introduces new constraints, add them
|
|
99
|
-
5. **`README.md`** — If the roadmap change affects what's documented in README (e.g., known issues section), update it
|
|
100
|
-
|
|
101
|
-
### Skip what's not affected.
|
|
102
|
-
|
|
103
|
-
## Step 7: Test Verification
|
|
104
|
-
|
|
105
|
-
Before reporting:
|
|
106
|
-
|
|
107
|
-
1. **Run existing tests**: Execute the full test suite to confirm current state — promoted debt milestones should not change code yet
|
|
108
|
-
2. **Verify passing**: Document any pre-existing failures that relate to the promoted debt items — these validate the promotion was warranted
|
|
109
|
-
3. **Note test requirements**: For each promoted milestone, note what tests will need to be added or updated during execution
|
|
110
|
-
|
|
111
|
-
## Step 8: Report
|
|
112
|
-
|
|
113
|
-
Present:
|
|
114
|
-
1. Milestones created (with item list)
|
|
115
|
-
2. Updated roadmap order
|
|
116
|
-
3. Any impact on in-progress work
|
|
117
|
-
4. Recommended next action
|
|
118
|
-
|
|
119
|
-
$ARGUMENTS
|
|
120
|
-
|
|
121
|
-
## Auto-Clear
|
|
122
|
-
|
|
123
|
-
All work is committed to project files. Execute `/clear` to free the context window for the next command.
|
|
1
|
+
# GSD-T: Promote Debt — Convert Tech Debt Items to Milestones
|
|
2
|
+
|
|
3
|
+
You are converting selected tech debt items into formal milestones on the project roadmap.
|
|
4
|
+
|
|
5
|
+
## Step 1: Load Context
|
|
6
|
+
|
|
7
|
+
Read:
|
|
8
|
+
1. `.gsd-t/techdebt.md` — the debt register
|
|
9
|
+
2. `.gsd-t/roadmap.md` — current milestone plan
|
|
10
|
+
3. `.gsd-t/progress.md` — what's in progress
|
|
11
|
+
|
|
12
|
+
## Step 1.5: Graph-Enhanced Impact Radius
|
|
13
|
+
|
|
14
|
+
If `.gsd-t/graph/meta.json` exists (graph index is available):
|
|
15
|
+
1. For each debt item, query `getCallers` on the affected entity to calculate impact radius — items with more callers have higher blast radius and may warrant higher priority
|
|
16
|
+
2. Include caller counts in the promotable items display to help the user prioritize
|
|
17
|
+
|
|
18
|
+
If graph is not available, skip this step.
|
|
19
|
+
|
|
20
|
+
## Step 2: Identify Items to Promote
|
|
21
|
+
|
|
22
|
+
From $ARGUMENTS, determine which items to promote:
|
|
23
|
+
- Specific IDs: "TD-001, TD-003" → promote those exact items
|
|
24
|
+
- Category: "security" → promote all security items marked as milestone candidates
|
|
25
|
+
- Severity: "critical" → promote all critical items
|
|
26
|
+
- Suggested group: "Security Hardening" → use the suggested grouping from the scan
|
|
27
|
+
- "all" → promote all items marked `Milestone candidate: YES`
|
|
28
|
+
|
|
29
|
+
If $ARGUMENTS is empty or vague, show the user all promotable items:
|
|
30
|
+
```
|
|
31
|
+
Promotable tech debt items:
|
|
32
|
+
|
|
33
|
+
TD-001: [CRITICAL] SQL injection in user search — effort: small
|
|
34
|
+
TD-003: [CRITICAL] Hardcoded API key in config — effort: small
|
|
35
|
+
TD-010: [HIGH] N+1 queries on dashboard — effort: medium
|
|
36
|
+
TD-012: [HIGH] No rate limiting on auth endpoints — effort: small
|
|
37
|
+
|
|
38
|
+
Suggested groupings:
|
|
39
|
+
1. "Security Hardening" — TD-001, TD-003, TD-012
|
|
40
|
+
2. "Performance" — TD-010
|
|
41
|
+
|
|
42
|
+
Which items or groups should I promote to milestones?
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Step 3: Create Milestones
|
|
46
|
+
|
|
47
|
+
For each group of promoted items, create a milestone entry.
|
|
48
|
+
|
|
49
|
+
Determine placement in the roadmap:
|
|
50
|
+
- **CRITICAL items**: Insert BEFORE the next unstarted feature milestone
|
|
51
|
+
- **HIGH items**: Insert AFTER current in-progress milestone
|
|
52
|
+
- **MEDIUM/LOW items**: Append to end of roadmap
|
|
53
|
+
|
|
54
|
+
Append to `.gsd-t/roadmap.md`:
|
|
55
|
+
|
|
56
|
+
```markdown
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Milestone {N}: {name} — Tech Debt
|
|
60
|
+
**Source**: Promoted from tech debt scan ({date})
|
|
61
|
+
**Items**: {TD-001, TD-003, TD-012}
|
|
62
|
+
**Goal**: {what "done" looks like}
|
|
63
|
+
**Scope**:
|
|
64
|
+
- {remediation 1 from techdebt.md}
|
|
65
|
+
- {remediation 2 from techdebt.md}
|
|
66
|
+
**Success criteria**:
|
|
67
|
+
- [ ] {each debt item resolved and verified}
|
|
68
|
+
- [ ] No regression in existing functionality
|
|
69
|
+
- [ ] {item-specific criteria from techdebt.md}
|
|
70
|
+
**Estimated effort**: {combined effort assessment}
|
|
71
|
+
**Priority**: {CRITICAL — before next feature | HIGH — soon | MEDIUM — planned}
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Step 4: Update Tech Debt Register
|
|
75
|
+
|
|
76
|
+
In `.gsd-t/techdebt.md`, mark promoted items:
|
|
77
|
+
```markdown
|
|
78
|
+
- **Promoted**: [x] — Milestone {N}: {milestone name}
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Step 5: Update Progress
|
|
82
|
+
|
|
83
|
+
In `.gsd-t/progress.md`:
|
|
84
|
+
- Add new milestones to the table
|
|
85
|
+
- Log promotion in Decision Log: "{date}: Promoted {N} tech debt items to Milestone {N}: {name}"
|
|
86
|
+
- Reorder milestones if critical items were inserted
|
|
87
|
+
|
|
88
|
+
## Step 6: Document Ripple
|
|
89
|
+
|
|
90
|
+
After promoting debt items to milestones, update affected documentation:
|
|
91
|
+
|
|
92
|
+
### Always update:
|
|
93
|
+
1. **`.gsd-t/progress.md`** — Already updated in Step 5, verify Decision Log includes promotion rationale
|
|
94
|
+
|
|
95
|
+
### Check if affected:
|
|
96
|
+
2. **`docs/requirements.md`** — If promoted debt items imply new or changed requirements (e.g., security requirements from a security hardening milestone), add them
|
|
97
|
+
3. **`docs/architecture.md`** — If promoted debt involves architectural changes, note planned modifications
|
|
98
|
+
4. **`CLAUDE.md`** — If promotion changes the project's priority order or introduces new constraints, add them
|
|
99
|
+
5. **`README.md`** — If the roadmap change affects what's documented in README (e.g., known issues section), update it
|
|
100
|
+
|
|
101
|
+
### Skip what's not affected.
|
|
102
|
+
|
|
103
|
+
## Step 7: Test Verification
|
|
104
|
+
|
|
105
|
+
Before reporting:
|
|
106
|
+
|
|
107
|
+
1. **Run existing tests**: Execute the full test suite to confirm current state — promoted debt milestones should not change code yet
|
|
108
|
+
2. **Verify passing**: Document any pre-existing failures that relate to the promoted debt items — these validate the promotion was warranted
|
|
109
|
+
3. **Note test requirements**: For each promoted milestone, note what tests will need to be added or updated during execution
|
|
110
|
+
|
|
111
|
+
## Step 8: Report
|
|
112
|
+
|
|
113
|
+
Present:
|
|
114
|
+
1. Milestones created (with item list)
|
|
115
|
+
2. Updated roadmap order
|
|
116
|
+
3. Any impact on in-progress work
|
|
117
|
+
4. Recommended next action
|
|
118
|
+
|
|
119
|
+
$ARGUMENTS
|
|
120
|
+
|
|
121
|
+
## Auto-Clear
|
|
122
|
+
|
|
123
|
+
All work is committed to project files. Execute `/clear` to free the context window for the next command.
|