@tekyzinc/gsd-t 2.23.0 → 2.24.6
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 +94 -0
- package/README.md +14 -3
- package/bin/gsd-t.js +1381 -1300
- package/commands/gsd-t-complete-milestone.md +12 -12
- package/commands/gsd-t-debug.md +4 -4
- package/commands/gsd-t-discuss.md +7 -9
- package/commands/gsd-t-execute.md +5 -5
- package/commands/gsd-t-feature.md +2 -2
- package/commands/gsd-t-impact.md +9 -3
- package/commands/gsd-t-init.md +12 -12
- package/commands/gsd-t-integrate.md +5 -5
- package/commands/gsd-t-milestone.md +3 -3
- package/commands/gsd-t-partition.md +4 -4
- package/commands/gsd-t-plan.md +6 -6
- package/commands/gsd-t-project.md +3 -3
- package/commands/gsd-t-promote-debt.md +3 -3
- package/commands/gsd-t-qa.md +63 -0
- package/commands/gsd-t-quick.md +4 -4
- package/commands/gsd-t-scan.md +3 -3
- package/commands/gsd-t-test-sync.md +9 -9
- package/commands/gsd-t-verify.md +6 -6
- package/commands/gsd-t-wave.md +45 -3
- package/docs/GSD-T-README.md +12 -0
- package/docs/architecture.md +134 -14
- package/docs/infrastructure.md +33 -11
- package/docs/requirements.md +41 -11
- package/docs/workflows.md +86 -33
- package/package.json +4 -3
- package/scripts/gsd-t-fetch-version.js +25 -0
- package/scripts/gsd-t-heartbeat.js +180 -201
- package/scripts/gsd-t-update-check.js +79 -0
- package/scripts/npm-update-check.js +42 -27
- package/templates/CLAUDE-global.md +10 -3
|
@@ -17,7 +17,7 @@ If status is not VERIFIED:
|
|
|
17
17
|
|
|
18
18
|
If `--force` flag provided, proceed with warning in archive.
|
|
19
19
|
|
|
20
|
-
## Step
|
|
20
|
+
## Step 2: Gap Analysis Gate
|
|
21
21
|
|
|
22
22
|
After verification passes, run a gap analysis against `docs/requirements.md` scoped to this milestone's deliverables:
|
|
23
23
|
|
|
@@ -33,7 +33,7 @@ After verification passes, run a gap analysis against `docs/requirements.md` sco
|
|
|
33
33
|
|
|
34
34
|
This is a **mandatory gate** — the milestone cannot be archived with known gaps against its requirements.
|
|
35
35
|
|
|
36
|
-
## Step
|
|
36
|
+
## Step 3: Gather Milestone Artifacts
|
|
37
37
|
|
|
38
38
|
Collect all files related to this milestone:
|
|
39
39
|
- `.gsd-t/progress.md` (current state)
|
|
@@ -43,7 +43,7 @@ Collect all files related to this milestone:
|
|
|
43
43
|
- `.gsd-t/domains/*/` (all domain folders)
|
|
44
44
|
- `.gsd-t/contracts/` (snapshot)
|
|
45
45
|
|
|
46
|
-
## Step
|
|
46
|
+
## Step 4: Create Archive
|
|
47
47
|
|
|
48
48
|
Create milestone archive directory:
|
|
49
49
|
|
|
@@ -60,7 +60,7 @@ Create milestone archive directory:
|
|
|
60
60
|
└── ...
|
|
61
61
|
```
|
|
62
62
|
|
|
63
|
-
## Step
|
|
63
|
+
## Step 5: Generate Summary
|
|
64
64
|
|
|
65
65
|
Create `summary.md`:
|
|
66
66
|
|
|
@@ -100,7 +100,7 @@ Create `summary.md`:
|
|
|
100
100
|
{Summary of files created/modified/deleted}
|
|
101
101
|
```
|
|
102
102
|
|
|
103
|
-
## Step
|
|
103
|
+
## Step 6: Bump Version
|
|
104
104
|
|
|
105
105
|
GSD-T tracks project version in `.gsd-t/progress.md` using semantic versioning: `Major.Minor.Patch`
|
|
106
106
|
|
|
@@ -119,7 +119,7 @@ Determine the version bump based on the milestone:
|
|
|
119
119
|
5. Update `README.md` version badge or version reference if present
|
|
120
120
|
6. Include version in the milestone summary and git tag
|
|
121
121
|
|
|
122
|
-
## Step
|
|
122
|
+
## Step 7: Clean Working State
|
|
123
123
|
|
|
124
124
|
Reset `.gsd-t/` for next milestone:
|
|
125
125
|
|
|
@@ -146,7 +146,7 @@ None — ready for next milestone
|
|
|
146
146
|
{Keep the decision log — it's valuable context}
|
|
147
147
|
```
|
|
148
148
|
|
|
149
|
-
## Step
|
|
149
|
+
## Step 8: Update README.md
|
|
150
150
|
|
|
151
151
|
If `README.md` exists, update it to reflect the completed milestone:
|
|
152
152
|
- Add or update a **Features** / **What's Included** section with capabilities delivered
|
|
@@ -157,7 +157,7 @@ If `README.md` exists, update it to reflect the completed milestone:
|
|
|
157
157
|
|
|
158
158
|
If `README.md` doesn't exist, create one with project name, description, version, tech stack, setup instructions, and link to `docs/`.
|
|
159
159
|
|
|
160
|
-
## Step
|
|
160
|
+
## Step 9: Document Ripple
|
|
161
161
|
|
|
162
162
|
Before creating the git tag, verify all documentation is up to date:
|
|
163
163
|
|
|
@@ -175,7 +175,7 @@ Before creating the git tag, verify all documentation is up to date:
|
|
|
175
175
|
|
|
176
176
|
### This is the LAST GATE before tagging — nothing should be undocumented.
|
|
177
177
|
|
|
178
|
-
## Step
|
|
178
|
+
## Step 10: Spawn QA Agent and Test Verification
|
|
179
179
|
|
|
180
180
|
Before creating the git tag, spawn the QA teammate for a final test audit:
|
|
181
181
|
|
|
@@ -196,7 +196,7 @@ Then verify the milestone is truly complete:
|
|
|
196
196
|
4. **Compare to baseline**: If a test baseline was recorded at milestone start, verify coverage has improved or at minimum not regressed
|
|
197
197
|
5. **Log test results**: Include test pass/fail counts in the milestone summary (Step 4)
|
|
198
198
|
|
|
199
|
-
## Step
|
|
199
|
+
## Step 11: Create Git Tag
|
|
200
200
|
|
|
201
201
|
```bash
|
|
202
202
|
# Stage any remaining .gsd-t changes
|
|
@@ -214,7 +214,7 @@ Domains: {list}
|
|
|
214
214
|
Verified: {date}"
|
|
215
215
|
```
|
|
216
216
|
|
|
217
|
-
## Step
|
|
217
|
+
## Step 12: Report Completion
|
|
218
218
|
|
|
219
219
|
```
|
|
220
220
|
✅ Milestone "{name}" completed — v{version}
|
|
@@ -235,7 +235,7 @@ Next steps:
|
|
|
235
235
|
- Or view roadmap: /user:gsd-t-status
|
|
236
236
|
```
|
|
237
237
|
|
|
238
|
-
## Step
|
|
238
|
+
## Step 13: Update Roadmap (if exists)
|
|
239
239
|
|
|
240
240
|
If `.gsd-t/roadmap.md` exists:
|
|
241
241
|
- Mark this milestone as complete
|
package/commands/gsd-t-debug.md
CHANGED
|
@@ -40,7 +40,7 @@ The contract didn't specify something it should have. Symptoms:
|
|
|
40
40
|
|
|
41
41
|
→ Update the contract, then fix implementations on both sides.
|
|
42
42
|
|
|
43
|
-
## Step
|
|
43
|
+
## Step 3: Spawn QA Agent
|
|
44
44
|
|
|
45
45
|
Spawn the QA teammate to handle regression testing:
|
|
46
46
|
|
|
@@ -53,7 +53,7 @@ Teammate "qa": Read commands/gsd-t-qa.md for your full instructions.
|
|
|
53
53
|
|
|
54
54
|
QA failure blocks the commit.
|
|
55
55
|
|
|
56
|
-
## Step
|
|
56
|
+
## Step 4: Debug (Solo or Team)
|
|
57
57
|
|
|
58
58
|
### Solo Mode
|
|
59
59
|
1. Reproduce the issue
|
|
@@ -77,7 +77,7 @@ Create an agent team to debug:
|
|
|
77
77
|
First to find root cause: message the lead with findings.
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
## Step
|
|
80
|
+
## Step 5: Document Ripple
|
|
81
81
|
|
|
82
82
|
After fixing, assess what documentation was affected by the change and update ALL relevant files:
|
|
83
83
|
|
|
@@ -97,7 +97,7 @@ After fixing, assess what documentation was affected by the change and update AL
|
|
|
97
97
|
|
|
98
98
|
### Skip what's not affected — don't update docs for the sake of updating them.
|
|
99
99
|
|
|
100
|
-
## Step
|
|
100
|
+
## Step 6: Test Verification
|
|
101
101
|
|
|
102
102
|
Before committing, ensure the fix is solid:
|
|
103
103
|
|
|
@@ -97,7 +97,7 @@ Decisions don't just affect contracts — they can change the broader documentat
|
|
|
97
97
|
|
|
98
98
|
### Skip what's not affected.
|
|
99
99
|
|
|
100
|
-
## Step
|
|
100
|
+
## Step 6: Test Verification
|
|
101
101
|
|
|
102
102
|
If decisions resulted in contract or code changes:
|
|
103
103
|
|
|
@@ -105,7 +105,7 @@ If decisions resulted in contract or code changes:
|
|
|
105
105
|
2. **Verify passing**: All tests must pass. If any fail from contract changes, fix before proceeding (up to 2 attempts)
|
|
106
106
|
3. **Flag test gaps**: If decisions created new requirements with no test coverage, note them for the plan phase
|
|
107
107
|
|
|
108
|
-
## Step
|
|
108
|
+
## Step 7: Validate Contracts
|
|
109
109
|
|
|
110
110
|
After all updates:
|
|
111
111
|
- [ ] All contracts are internally consistent (no conflicting types/shapes)
|
|
@@ -113,7 +113,7 @@ After all updates:
|
|
|
113
113
|
- [ ] Every domain's constraints reflect the decisions made
|
|
114
114
|
- [ ] Integration points are updated with any new dependencies
|
|
115
115
|
|
|
116
|
-
## Step
|
|
116
|
+
## Step 8: Report and Stop
|
|
117
117
|
|
|
118
118
|
Present to the user:
|
|
119
119
|
1. Decisions made (with brief rationale)
|
|
@@ -123,14 +123,12 @@ Present to the user:
|
|
|
123
123
|
|
|
124
124
|
Update `.gsd-t/progress.md` status to `DISCUSSED`.
|
|
125
125
|
|
|
126
|
-
###
|
|
127
|
-
**STOP HERE.** Do NOT proceed to the plan phase or any other phase. Present your findings and ask the user:
|
|
126
|
+
### Autonomy Behavior
|
|
128
127
|
|
|
129
|
-
"Discussion complete. Here's what I found and recommend. Want to proceed with these decisions, revise anything, or explore further?"
|
|
128
|
+
**When manually invoked** (any autonomy level): **STOP HERE.** Do NOT proceed to the plan phase or any other phase. Present your findings and ask the user: "Discussion complete. Here's what I found and recommend. Want to proceed with these decisions, revise anything, or explore further?" This is mandatory — even at Level 3 / bypass permissions. The user invoked discuss to THINK, not to auto-pilot.
|
|
130
129
|
|
|
131
|
-
|
|
130
|
+
**Level 3 (Full Auto) — when auto-invoked by wave**: Work through all open questions automatically, make recommendations, log decisions, and return control to the calling command. Do NOT wait for user input.
|
|
132
131
|
|
|
133
|
-
|
|
134
|
-
The calling command will handle the transition. Just report completion and return control.
|
|
132
|
+
**Level 1–2 — when auto-invoked**: Present decisions and open questions. Wait for user confirmation before returning control to the calling command.
|
|
135
133
|
|
|
136
134
|
$ARGUMENTS
|
|
@@ -19,7 +19,7 @@ Identify:
|
|
|
19
19
|
- Which tasks are unblocked (no pending dependencies)
|
|
20
20
|
- Which tasks are blocked (waiting on checkpoints)
|
|
21
21
|
|
|
22
|
-
## Step
|
|
22
|
+
## Step 2: Spawn QA Agent
|
|
23
23
|
|
|
24
24
|
Spawn the QA teammate to handle testing alongside execution:
|
|
25
25
|
|
|
@@ -32,7 +32,7 @@ Teammate "qa": Read commands/gsd-t-qa.md for your full instructions.
|
|
|
32
32
|
|
|
33
33
|
The QA agent runs in parallel — it writes and executes tests while you implement tasks. QA failure on any task blocks proceeding to the next task.
|
|
34
34
|
|
|
35
|
-
## Step
|
|
35
|
+
## Step 3: Choose Execution Mode
|
|
36
36
|
|
|
37
37
|
### Solo Mode (default)
|
|
38
38
|
Execute tasks yourself following the execution order in `integration-points.md`.
|
|
@@ -108,7 +108,7 @@ Lead responsibilities:
|
|
|
108
108
|
- Resolve any contract conflicts immediately
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
-
## Step
|
|
111
|
+
## Step 4: Checkpoint Handling
|
|
112
112
|
|
|
113
113
|
When a checkpoint is reached (solo or team):
|
|
114
114
|
|
|
@@ -123,7 +123,7 @@ When a checkpoint is reached (solo or team):
|
|
|
123
123
|
5. **Log** in progress.md: `CHECKPOINT {name}: PASSED/FAILED — {details}`
|
|
124
124
|
6. **Unblock** downstream tasks
|
|
125
125
|
|
|
126
|
-
## Step
|
|
126
|
+
## Step 5: Error Handling
|
|
127
127
|
|
|
128
128
|
### Contract Violation
|
|
129
129
|
A teammate implements something that doesn't match a contract:
|
|
@@ -147,7 +147,7 @@ A teammate finishes independent tasks and is waiting on a checkpoint:
|
|
|
147
147
|
2. If not, have the teammate work on documentation, tests, or code cleanup within their domain
|
|
148
148
|
3. Or shut down the teammate and respawn when unblocked
|
|
149
149
|
|
|
150
|
-
## Step
|
|
150
|
+
## Step 6: Completion
|
|
151
151
|
|
|
152
152
|
When all tasks in all domains are complete:
|
|
153
153
|
1. Update `.gsd-t/progress.md` — all tasks marked complete
|
|
@@ -206,7 +206,7 @@ After creating the feature roadmap and milestones, update all affected documenta
|
|
|
206
206
|
|
|
207
207
|
### Skip what's not affected.
|
|
208
208
|
|
|
209
|
-
## Step
|
|
209
|
+
## Step 8: Test Verification
|
|
210
210
|
|
|
211
211
|
Before finalizing the feature plan:
|
|
212
212
|
|
|
@@ -214,7 +214,7 @@ Before finalizing the feature plan:
|
|
|
214
214
|
2. **Verify passing**: If any tests fail, flag them — they must be fixed before or during the first milestone
|
|
215
215
|
3. **Note test gaps**: From the impact analysis, identify which existing tests will need updates and which new tests will be needed — include these in milestone scope
|
|
216
216
|
|
|
217
|
-
## Step
|
|
217
|
+
## Step 9: Report to User
|
|
218
218
|
|
|
219
219
|
Present:
|
|
220
220
|
1. Impact analysis summary (what's new vs. what's modified)
|
package/commands/gsd-t-impact.md
CHANGED
|
@@ -178,7 +178,7 @@ If breaking changes require pre-work, add to domain tasks:
|
|
|
178
178
|
- [ ] IMP-002: {remediation task}
|
|
179
179
|
```
|
|
180
180
|
|
|
181
|
-
## Step
|
|
181
|
+
## Step 7: Document Ripple
|
|
182
182
|
|
|
183
183
|
After producing the impact report, update affected documentation:
|
|
184
184
|
|
|
@@ -193,7 +193,7 @@ After producing the impact report, update affected documentation:
|
|
|
193
193
|
|
|
194
194
|
### Skip what's not affected.
|
|
195
195
|
|
|
196
|
-
## Step
|
|
196
|
+
## Step 8: Test Verification
|
|
197
197
|
|
|
198
198
|
Validate the test landscape before recommending proceed/block:
|
|
199
199
|
|
|
@@ -201,7 +201,7 @@ Validate the test landscape before recommending proceed/block:
|
|
|
201
201
|
2. **Verify passing**: Confirm what passes today — any pre-existing failures should be noted in the impact report
|
|
202
202
|
3. **Map test impact**: For each planned change in Step 2, identify which tests will need updating — include this in the "Test Impact" section of the report
|
|
203
203
|
|
|
204
|
-
## Step
|
|
204
|
+
## Step 9: Decision Gate
|
|
205
205
|
|
|
206
206
|
### If PROCEED:
|
|
207
207
|
"✅ Impact analysis complete. No blocking issues found. Ready for execution."
|
|
@@ -237,4 +237,10 @@ When run independently (not as part of wave):
|
|
|
237
237
|
3. Produce report
|
|
238
238
|
4. Do NOT auto-proceed — just inform
|
|
239
239
|
|
|
240
|
+
### Autonomy Behavior
|
|
241
|
+
|
|
242
|
+
**Level 3 (Full Auto)**: If PROCEED or PROCEED WITH CAUTION, log findings and auto-advance to execute phase. If BLOCK, stop and report breaking changes to user — do NOT auto-advance. When run standalone, always report and exit without auto-proceeding.
|
|
243
|
+
|
|
244
|
+
**Level 1–2**: Present the full impact report. Wait for user confirmation before proceeding (PROCEED) or pause for remediation (BLOCK). For PROCEED WITH CAUTION, ask "These can be addressed during execution. Proceed?"
|
|
245
|
+
|
|
240
246
|
$ARGUMENTS
|
package/commands/gsd-t-init.md
CHANGED
|
@@ -18,7 +18,7 @@ Report current state and ask if user wants to reset or continue.
|
|
|
18
18
|
Offer to migrate: "Found legacy GSD structure. Want me to migrate to GSD-T?"
|
|
19
19
|
If yes, read `.gsd/` state and create equivalent `.gsd-t/` structure.
|
|
20
20
|
|
|
21
|
-
## Step
|
|
21
|
+
## Step 2: Copy Local Settings
|
|
22
22
|
|
|
23
23
|
If `~/.claude/settings.local` exists and `.claude/settings.local.json` does not exist in the project:
|
|
24
24
|
1. Create the `.claude/` directory in the project root if it doesn't exist
|
|
@@ -26,7 +26,7 @@ If `~/.claude/settings.local` exists and `.claude/settings.local.json` does not
|
|
|
26
26
|
|
|
27
27
|
Skip silently if the source file doesn't exist or the target already exists.
|
|
28
28
|
|
|
29
|
-
## Step
|
|
29
|
+
## Step 3: Create Directory Structure
|
|
30
30
|
|
|
31
31
|
```
|
|
32
32
|
.gsd-t/
|
|
@@ -39,7 +39,7 @@ Skip silently if the source file doesn't exist or the target already exists.
|
|
|
39
39
|
└── progress.md
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
-
## Step
|
|
42
|
+
## Step 4: Initialize Backlog
|
|
43
43
|
|
|
44
44
|
Create the backlog files from templates:
|
|
45
45
|
1. Copy `templates/backlog.md` → `.gsd-t/backlog.md`
|
|
@@ -54,7 +54,7 @@ Read the project's `CLAUDE.md` (if it exists) to auto-populate backlog settings:
|
|
|
54
54
|
3. **Default App**: Set `**Default App:**` to the most prominent app found (the one mentioned most, or the first one). If only one app is found, use it.
|
|
55
55
|
4. **If nothing found**: Leave the placeholder values from the template — the user can configure later via `/user:gsd-t-backlog-settings`.
|
|
56
56
|
|
|
57
|
-
## Step
|
|
57
|
+
## Step 5: Initialize Progress File
|
|
58
58
|
|
|
59
59
|
Create `.gsd-t/progress.md`:
|
|
60
60
|
|
|
@@ -84,7 +84,7 @@ Create `.gsd-t/progress.md`:
|
|
|
84
84
|
- {date}: Project initialized with GSD-T workflow
|
|
85
85
|
```
|
|
86
86
|
|
|
87
|
-
## Step
|
|
87
|
+
## Step 6: Ensure CLAUDE.md Exists
|
|
88
88
|
|
|
89
89
|
If no `CLAUDE.md`:
|
|
90
90
|
Create a starter template:
|
|
@@ -125,7 +125,7 @@ This project uses contract-driven development.
|
|
|
125
125
|
|
|
126
126
|
If `CLAUDE.md` exists but doesn't reference GSD-T, append the GSD-T section.
|
|
127
127
|
|
|
128
|
-
## Step
|
|
128
|
+
## Step 7: Create docs/ if Needed
|
|
129
129
|
|
|
130
130
|
If no `docs/` directory, create it with all 4 living document templates.
|
|
131
131
|
For each file, skip if it already exists:
|
|
@@ -140,7 +140,7 @@ docs/
|
|
|
140
140
|
|
|
141
141
|
These are the living documents that persist across milestones and keep institutional knowledge alive. The `infrastructure.md` is especially important — it captures the exact commands for provisioning cloud resources, setting up databases, managing secrets, and deploying, so this knowledge doesn't get lost between sessions.
|
|
142
142
|
|
|
143
|
-
## Step
|
|
143
|
+
## Step 8: Ensure README.md Exists
|
|
144
144
|
|
|
145
145
|
If no `README.md` exists, create one with:
|
|
146
146
|
- Project name and brief description
|
|
@@ -150,7 +150,7 @@ If no `README.md` exists, create one with:
|
|
|
150
150
|
|
|
151
151
|
If `README.md` exists, leave it as-is — don't overwrite user content during init.
|
|
152
152
|
|
|
153
|
-
## Step
|
|
153
|
+
## Step 9: Map Existing Codebase (if code exists)
|
|
154
154
|
|
|
155
155
|
If there's existing source code:
|
|
156
156
|
1. Scan the codebase structure
|
|
@@ -159,7 +159,7 @@ If there's existing source code:
|
|
|
159
159
|
4. Add findings to CLAUDE.md
|
|
160
160
|
5. Log in progress.md: "Existing codebase analyzed — {summary}"
|
|
161
161
|
|
|
162
|
-
## Step
|
|
162
|
+
## Step 10: Document Ripple
|
|
163
163
|
|
|
164
164
|
After initialization, verify all created documentation is consistent:
|
|
165
165
|
|
|
@@ -174,7 +174,7 @@ After initialization, verify all created documentation is consistent:
|
|
|
174
174
|
|
|
175
175
|
### Skip what's not affected — init creates docs, so most ripple is about consistency verification.
|
|
176
176
|
|
|
177
|
-
## Step
|
|
177
|
+
## Step 11: Playwright Setup (MANDATORY)
|
|
178
178
|
|
|
179
179
|
Every GSD-T project must have Playwright ready for E2E testing. If `playwright.config.*` does not exist:
|
|
180
180
|
|
|
@@ -196,7 +196,7 @@ Every GSD-T project must have Playwright ready for E2E testing. If `playwright.c
|
|
|
196
196
|
|
|
197
197
|
Skip silently if `playwright.config.*` already exists.
|
|
198
198
|
|
|
199
|
-
## Step
|
|
199
|
+
## Step 12: Test Verification
|
|
200
200
|
|
|
201
201
|
After initialization:
|
|
202
202
|
|
|
@@ -205,7 +205,7 @@ After initialization:
|
|
|
205
205
|
3. **If greenfield**: Playwright is ready. Note that unit test infrastructure should be added in Milestone 1
|
|
206
206
|
4. **Verify init outputs**: Confirm all created files exist and are non-empty
|
|
207
207
|
|
|
208
|
-
## Step
|
|
208
|
+
## Step 13: Report
|
|
209
209
|
|
|
210
210
|
Tell the user:
|
|
211
211
|
1. What was created (including backlog files: `.gsd-t/backlog.md` and `.gsd-t/backlog-settings.md`)
|
|
@@ -88,7 +88,7 @@ Result: PASS
|
|
|
88
88
|
Result: PARTIAL — needs pagination contract addition
|
|
89
89
|
```
|
|
90
90
|
|
|
91
|
-
## Step
|
|
91
|
+
## Step 5: Spawn QA Agent
|
|
92
92
|
|
|
93
93
|
Spawn the QA teammate to verify contract compliance at domain boundaries:
|
|
94
94
|
|
|
@@ -101,7 +101,7 @@ Teammate "qa": Read commands/gsd-t-qa.md for your full instructions.
|
|
|
101
101
|
|
|
102
102
|
QA failure blocks integration completion.
|
|
103
103
|
|
|
104
|
-
## Step
|
|
104
|
+
## Step 6: Document Ripple
|
|
105
105
|
|
|
106
106
|
Integration is where the real system takes shape. Verify documentation matches reality:
|
|
107
107
|
|
|
@@ -117,7 +117,7 @@ Integration is where the real system takes shape. Verify documentation matches r
|
|
|
117
117
|
|
|
118
118
|
### Skip what's not affected.
|
|
119
119
|
|
|
120
|
-
## Step
|
|
120
|
+
## Step 7: Test Verification
|
|
121
121
|
|
|
122
122
|
After integration and doc ripple, verify everything works together:
|
|
123
123
|
|
|
@@ -127,7 +127,7 @@ After integration and doc ripple, verify everything works together:
|
|
|
127
127
|
4. **Run E2E tests**: If an E2E framework exists, run the full E2E suite — integration is where end-to-end flows break
|
|
128
128
|
5. **Smoke test results**: Ensure the Step 4 smoke test results are still valid after any fixes
|
|
129
129
|
|
|
130
|
-
## Step
|
|
130
|
+
## Step 8: Handle Integration Issues
|
|
131
131
|
|
|
132
132
|
For each issue found:
|
|
133
133
|
1. Determine if it's a contract gap (missing specification) or implementation bug
|
|
@@ -135,7 +135,7 @@ For each issue found:
|
|
|
135
135
|
3. **Implementation bug**: Fix it directly, document the fix
|
|
136
136
|
4. Log everything in progress.md
|
|
137
137
|
|
|
138
|
-
## Step
|
|
138
|
+
## Step 9: Update State
|
|
139
139
|
|
|
140
140
|
Update `.gsd-t/progress.md`:
|
|
141
141
|
- Set status to `INTEGRATED`
|
|
@@ -50,7 +50,7 @@ Before formal partitioning, do a quick assessment:
|
|
|
50
50
|
|
|
51
51
|
Present the assessment and ask: "Ready to partition into domains now, or want to discuss first?"
|
|
52
52
|
|
|
53
|
-
## Step
|
|
53
|
+
## Step 5: Document Ripple
|
|
54
54
|
|
|
55
55
|
After defining the milestone, update affected documentation:
|
|
56
56
|
|
|
@@ -65,7 +65,7 @@ After defining the milestone, update affected documentation:
|
|
|
65
65
|
|
|
66
66
|
### Skip what's not affected.
|
|
67
67
|
|
|
68
|
-
## Step
|
|
68
|
+
## Step 6: Test Verification
|
|
69
69
|
|
|
70
70
|
Before proceeding to partition:
|
|
71
71
|
|
|
@@ -73,7 +73,7 @@ Before proceeding to partition:
|
|
|
73
73
|
2. **Verify passing**: If any tests fail, flag them as pre-existing — they should be addressed as part of this milestone or logged as tech debt
|
|
74
74
|
3. **Baseline**: Record test state so the milestone has a clear starting point for quality measurement
|
|
75
75
|
|
|
76
|
-
## Step
|
|
76
|
+
## Step 7: Auto-Partition (if user confirms)
|
|
77
77
|
|
|
78
78
|
If the user wants to proceed immediately, execute the partition workflow (same as gsd-t-partition) for this milestone.
|
|
79
79
|
|
|
@@ -153,7 +153,7 @@ Write `.gsd-t/progress.md`:
|
|
|
153
153
|
- {date}: {decision and rationale}
|
|
154
154
|
```
|
|
155
155
|
|
|
156
|
-
## Step
|
|
156
|
+
## Step 5: Document Ripple
|
|
157
157
|
|
|
158
158
|
After creating domains and contracts, update affected documentation:
|
|
159
159
|
|
|
@@ -167,7 +167,7 @@ After creating domains and contracts, update affected documentation:
|
|
|
167
167
|
|
|
168
168
|
### Skip what's not affected.
|
|
169
169
|
|
|
170
|
-
## Step
|
|
170
|
+
## Step 6: Test Verification
|
|
171
171
|
|
|
172
172
|
Before finalizing the partition:
|
|
173
173
|
|
|
@@ -175,7 +175,7 @@ Before finalizing the partition:
|
|
|
175
175
|
2. **Verify passing**: If any tests fail, assign them to the appropriate domain as pre-existing issues
|
|
176
176
|
3. **Map tests to domains**: Note which test files belong to which domain — this informs task planning
|
|
177
177
|
|
|
178
|
-
## Step
|
|
178
|
+
## Step 7: Spawn QA Agent
|
|
179
179
|
|
|
180
180
|
After contracts are written, spawn the QA teammate to generate contract test skeletons:
|
|
181
181
|
|
|
@@ -188,7 +188,7 @@ Teammate "qa": Read commands/gsd-t-qa.md for your full instructions.
|
|
|
188
188
|
|
|
189
189
|
Wait for QA agent to complete before proceeding. QA failure blocks partition completion.
|
|
190
190
|
|
|
191
|
-
## Step
|
|
191
|
+
## Step 8: Validate
|
|
192
192
|
|
|
193
193
|
Before finishing, verify:
|
|
194
194
|
- [ ] Every file in `src/` is owned by exactly one domain
|
package/commands/gsd-t-plan.md
CHANGED
|
@@ -95,7 +95,7 @@ Add to each domain's `tasks.md`:
|
|
|
95
95
|
- Estimated checkpoints: {N}
|
|
96
96
|
```
|
|
97
97
|
|
|
98
|
-
## Step
|
|
98
|
+
## Step 5: Document Ripple
|
|
99
99
|
|
|
100
100
|
After creating task lists and mapping dependencies, update affected documentation:
|
|
101
101
|
|
|
@@ -110,7 +110,7 @@ After creating task lists and mapping dependencies, update affected documentatio
|
|
|
110
110
|
|
|
111
111
|
### Skip what's not affected.
|
|
112
112
|
|
|
113
|
-
## Step
|
|
113
|
+
## Step 6: Test Verification
|
|
114
114
|
|
|
115
115
|
Before finalizing the plan:
|
|
116
116
|
|
|
@@ -118,7 +118,7 @@ Before finalizing the plan:
|
|
|
118
118
|
2. **Verify passing**: Document any pre-existing failures — assign them to appropriate domain tasks
|
|
119
119
|
3. **Include test tasks**: Ensure each domain's task list includes test creation/update tasks where acceptance criteria require verification
|
|
120
120
|
|
|
121
|
-
## Step
|
|
121
|
+
## Step 7: Spawn QA Agent
|
|
122
122
|
|
|
123
123
|
After task lists are created, spawn the QA teammate to generate acceptance test scenarios:
|
|
124
124
|
|
|
@@ -129,16 +129,16 @@ Teammate "qa": Read commands/gsd-t-qa.md for your full instructions.
|
|
|
129
129
|
Report: number of acceptance test scenarios generated.
|
|
130
130
|
```
|
|
131
131
|
|
|
132
|
-
Wait for QA agent to complete before proceeding.
|
|
132
|
+
Wait for QA agent to complete before proceeding. QA failure blocks plan completion.
|
|
133
133
|
|
|
134
|
-
## Step
|
|
134
|
+
## Step 8: Update Progress
|
|
135
135
|
|
|
136
136
|
Update `.gsd-t/progress.md`:
|
|
137
137
|
- Set status to `PLANNED`
|
|
138
138
|
- Update domain table with task counts
|
|
139
139
|
- Record any planning decisions in the Decision Log
|
|
140
140
|
|
|
141
|
-
## Step
|
|
141
|
+
## Step 9: Report
|
|
142
142
|
|
|
143
143
|
### Autonomy Behavior
|
|
144
144
|
|
|
@@ -166,7 +166,7 @@ Initialize or update `.gsd-t/progress.md`:
|
|
|
166
166
|
|
|
167
167
|
Ensure `CLAUDE.md` exists and references the roadmap and tech stack.
|
|
168
168
|
|
|
169
|
-
## Step
|
|
169
|
+
## Step 6: Document Ripple
|
|
170
170
|
|
|
171
171
|
After creating the roadmap and updating project state, verify all documentation is consistent:
|
|
172
172
|
|
|
@@ -183,7 +183,7 @@ After creating the roadmap and updating project state, verify all documentation
|
|
|
183
183
|
|
|
184
184
|
### Skip what's not affected — early project stage means many docs are still minimal.
|
|
185
185
|
|
|
186
|
-
## Step
|
|
186
|
+
## Step 7: Test Verification
|
|
187
187
|
|
|
188
188
|
Before reporting to the user:
|
|
189
189
|
|
|
@@ -191,7 +191,7 @@ Before reporting to the user:
|
|
|
191
191
|
2. **If greenfield**: Note that test infrastructure should be established in Milestone 1
|
|
192
192
|
3. **Document baseline**: Record the test state so progress can be measured across milestones
|
|
193
193
|
|
|
194
|
-
## Step
|
|
194
|
+
## Step 8: Report to User
|
|
195
195
|
|
|
196
196
|
Present:
|
|
197
197
|
1. The full milestone roadmap (summary view)
|
|
@@ -77,7 +77,7 @@ In `.gsd-t/progress.md`:
|
|
|
77
77
|
- Log promotion in Decision Log: "{date}: Promoted {N} tech debt items to Milestone {N}: {name}"
|
|
78
78
|
- Reorder milestones if critical items were inserted
|
|
79
79
|
|
|
80
|
-
## Step
|
|
80
|
+
## Step 6: Document Ripple
|
|
81
81
|
|
|
82
82
|
After promoting debt items to milestones, update affected documentation:
|
|
83
83
|
|
|
@@ -92,7 +92,7 @@ After promoting debt items to milestones, update affected documentation:
|
|
|
92
92
|
|
|
93
93
|
### Skip what's not affected.
|
|
94
94
|
|
|
95
|
-
## Step
|
|
95
|
+
## Step 7: Test Verification
|
|
96
96
|
|
|
97
97
|
Before reporting:
|
|
98
98
|
|
|
@@ -100,7 +100,7 @@ Before reporting:
|
|
|
100
100
|
2. **Verify passing**: Document any pre-existing failures that relate to the promoted debt items — these validate the promotion was warranted
|
|
101
101
|
3. **Note test requirements**: For each promoted milestone, note what tests will need to be added or updated during execution
|
|
102
102
|
|
|
103
|
-
## Step
|
|
103
|
+
## Step 8: Report
|
|
104
104
|
|
|
105
105
|
Present:
|
|
106
106
|
1. Milestones created (with item list)
|