create-sdd-project 0.8.1 → 0.8.3
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/package.json
CHANGED
|
@@ -39,7 +39,11 @@ Verify the implementation's robustness and strict adherence to `docs/specs/`.
|
|
|
39
39
|
- **Backend**: Write tests for error paths, validation boundaries, concurrent access
|
|
40
40
|
- **Frontend**: Write tests for error states, loading interruptions, accessibility
|
|
41
41
|
|
|
42
|
-
### 5.
|
|
42
|
+
### 5. Bug Documentation (only if bugs were found)
|
|
43
|
+
- Record each bug in `docs/project_notes/bugs.md` with root cause, solution, and prevention notes
|
|
44
|
+
- Do NOT add an entry if no bugs were found — bugs.md is for bugs only, not QA pass reports
|
|
45
|
+
|
|
46
|
+
### 6. Report
|
|
43
47
|
- If tests fail (regressions or new bugs): report them clearly with reproduction steps
|
|
44
48
|
- If ALL tests pass: certify as "QA Verified"
|
|
45
49
|
|
|
@@ -71,7 +71,7 @@ Ask user to classify complexity before starting. See `references/complexity-guid
|
|
|
71
71
|
2. Agent updates global spec files (`api-spec.yaml`, `ui-components.md`) and Zod schemas in `shared/src/schemas/` if applicable
|
|
72
72
|
3. Agent writes spec summary into the ticket's `## Spec` section
|
|
73
73
|
|
|
74
|
-
**→ CHECKPOINT: Spec Approval** — Update tracker: step `0/6 (Spec)`
|
|
74
|
+
**→ CHECKPOINT: Spec Approval** — Update tracker (Active Session + Features table): step `0/6 (Spec)`
|
|
75
75
|
|
|
76
76
|
---
|
|
77
77
|
|
|
@@ -87,7 +87,7 @@ See `references/branching-strategy.md` for details.
|
|
|
87
87
|
2. Create feature branch: `feature/<feature-id>-<short-description>`
|
|
88
88
|
3. **Std/Cplx:** Generate ticket from `references/ticket-template.md` → fill `## Spec` section
|
|
89
89
|
4. **Complex:** Also review `decisions.md` for related ADRs
|
|
90
|
-
5. Update product tracker → Active Session: feature, step `1/6 (Setup)`, branch, complexity
|
|
90
|
+
5. Update product tracker → Active Session: feature, step `1/6 (Setup)`, branch, complexity. Update Features table: status `in-progress`, step `1/6`
|
|
91
91
|
|
|
92
92
|
**→ CHECKPOINT: Ticket Approval** (Std/Cplx only — Simple skips to Step 3)
|
|
93
93
|
|
|
@@ -98,7 +98,7 @@ See `references/branching-strategy.md` for details.
|
|
|
98
98
|
1. Use Task tool with planner agent (`backend-planner` for backend features, `frontend-planner` for frontend features)
|
|
99
99
|
2. **Fullstack features:** Run `backend-planner` first, then `frontend-planner`. Each writes its own section in the Implementation Plan
|
|
100
100
|
3. Agent writes Implementation Plan into ticket's `## Implementation Plan`
|
|
101
|
-
4. Update tracker: step `2/6 (Plan)`
|
|
101
|
+
4. Update tracker: step `2/6 (Plan)` (Active Session + Features table)
|
|
102
102
|
|
|
103
103
|
**→ CHECKPOINT: Plan Approval**
|
|
104
104
|
|
|
@@ -122,7 +122,7 @@ See `references/branching-strategy.md` for details.
|
|
|
122
122
|
|
|
123
123
|
**Commits:** Commit freely during implementation (one per logical unit is fine). Final history cleanup happens via squash merge in Step 5.
|
|
124
124
|
|
|
125
|
-
Update tracker: step `3/6 (Implement)`, context summary.
|
|
125
|
+
Update tracker (Active Session + Features table): step `3/6 (Implement)`, context summary. Mark ticket Workflow Checklist `[x]` for Step 3.
|
|
126
126
|
|
|
127
127
|
---
|
|
128
128
|
|
|
@@ -137,7 +137,7 @@ Update tracker: step `3/6 (Implement)`, context summary.
|
|
|
137
137
|
|
|
138
138
|
**Commit format:** `<type>(<scope>): <description>` + `Co-Authored-By: Claude <noreply@anthropic.com>`
|
|
139
139
|
|
|
140
|
-
Update tracker: step `4/6 (Finalize)`
|
|
140
|
+
Update tracker (Active Session + Features table): step `4/6 (Finalize)`. Mark ticket Workflow Checklist `[x]` for Step 4.
|
|
141
141
|
|
|
142
142
|
---
|
|
143
143
|
|
|
@@ -148,11 +148,20 @@ Update tracker: step `4/6 (Finalize)`
|
|
|
148
148
|
1. Push branch, create PR (use `references/pr-template.md`)
|
|
149
149
|
2. **Std/Cplx:** Run `code-review-specialist` via Task tool — **do NOT skip**
|
|
150
150
|
3. **Std/Cplx:** Also run `qa-engineer` via Task tool
|
|
151
|
-
4. **
|
|
151
|
+
4. **Fix loop:** If review or QA finds issues → fix them → commit fixes → re-run quality gates (`npm test` / lint / build). Repeat until clean.
|
|
152
|
+
5. **Merge strategy:** Features/bugfixes → **squash merge** (clean single commit on target branch); Releases/hotfixes → merge commit
|
|
152
153
|
|
|
153
154
|
**→ CHECKPOINT: Merge Approval**
|
|
154
155
|
|
|
155
|
-
|
|
156
|
+
Before requesting merge approval, verify and complete this checklist:
|
|
157
|
+
- [ ] Ticket: Workflow Checklist — all completed steps marked `[x]` (through Step 5)
|
|
158
|
+
- [ ] Ticket: Completion Log — entry for each completed step (dates, actions, test counts)
|
|
159
|
+
- [ ] Ticket: Acceptance Criteria — mark `[x]` where met
|
|
160
|
+
- [ ] Tracker: Active Session — reflects step `5/6 (Review)`, current context, next actions
|
|
161
|
+
- [ ] Tracker: Features table — status and step updated to match Active Session
|
|
162
|
+
- [ ] `key_facts.md` — updated if new models, schemas, migrations, or reusable components were added
|
|
163
|
+
- [ ] `decisions.md` — ADR created if Definition of Done requires it
|
|
164
|
+
- [ ] All fixes committed — no unstaged files remaining from review/QA fixes
|
|
156
165
|
|
|
157
166
|
---
|
|
158
167
|
|
|
@@ -160,9 +169,8 @@ Update tracker: step `5/6 (Review)`
|
|
|
160
169
|
|
|
161
170
|
1. **Update ticket with final state:** correct test count in acceptance criteria, mark all checkboxes, update Completion Log with all commits and key events
|
|
162
171
|
2. Delete feature branch (local + remote)
|
|
163
|
-
3. Update product tracker:
|
|
164
|
-
4. Record bugs in `bugs.md`, decisions in `decisions.md`
|
|
165
|
-
5. Clear Active Session → "No active work"
|
|
172
|
+
3. Update product tracker: Features table status → `done`, add to Completion Log, clear Active Session → "No active work"
|
|
173
|
+
4. Record any bugs found during the feature in `bugs.md`, decisions in `decisions.md`
|
|
166
174
|
|
|
167
175
|
---
|
|
168
176
|
|
|
@@ -195,6 +203,6 @@ Update tracker: step `5/6 (Review)`
|
|
|
195
203
|
- **Type safety** — fully typed, no `any`
|
|
196
204
|
- **English only** — all technical artifacts
|
|
197
205
|
- **Memory first** — check `project_notes/` before changes
|
|
198
|
-
- **Product tracker** — keep Active Session updated at every step
|
|
206
|
+
- **Product tracker** — keep Active Session AND Features table updated at every step
|
|
199
207
|
- **Correct agents** — Backend → `backend-planner` + `backend-developer`, Frontend → `frontend-planner` + `frontend-developer`
|
|
200
208
|
- **Correct base branch** — check `key_facts.md` before creating branches
|
|
@@ -15,7 +15,8 @@ You assume the happy path works (checked by Developer). Hunt for edge cases, sec
|
|
|
15
15
|
2. Identify missing test cases and spec deviations
|
|
16
16
|
3. Run full test suite for regressions
|
|
17
17
|
4. Create new edge-case tests (e.g., `*.edge-cases.test.ts`)
|
|
18
|
-
5.
|
|
18
|
+
5. If bugs are found (and ONLY if bugs are found): record each one in `docs/project_notes/bugs.md` with root cause, solution, and prevention notes. Do NOT add an entry if no bugs were found.
|
|
19
|
+
6. Report findings (QA Verified or Issues Found)
|
|
19
20
|
|
|
20
21
|
## Rules
|
|
21
22
|
|
|
@@ -71,7 +71,7 @@ Ask user to classify complexity before starting. See `references/complexity-guid
|
|
|
71
71
|
2. Update global spec files (`api-spec.yaml`, `ui-components.md`) and Zod schemas in `shared/src/schemas/` if applicable
|
|
72
72
|
3. Write spec summary into the ticket's `## Spec` section
|
|
73
73
|
|
|
74
|
-
**→ CHECKPOINT: Spec Approval** — Update tracker: step `0/6 (Spec)`
|
|
74
|
+
**→ CHECKPOINT: Spec Approval** — Update tracker (Active Session + Features table): step `0/6 (Spec)`
|
|
75
75
|
|
|
76
76
|
---
|
|
77
77
|
|
|
@@ -87,7 +87,7 @@ See `references/branching-strategy.md` for details.
|
|
|
87
87
|
2. Create feature branch: `feature/<feature-id>-<short-description>`
|
|
88
88
|
3. **Std/Cplx:** Generate ticket from `references/ticket-template.md` → fill `## Spec` section
|
|
89
89
|
4. **Complex:** Also review `decisions.md` for related ADRs
|
|
90
|
-
5. Update product tracker → Active Session: feature, step `1/6 (Setup)`, branch, complexity
|
|
90
|
+
5. Update product tracker → Active Session: feature, step `1/6 (Setup)`, branch, complexity. Update Features table: status `in-progress`, step `1/6`
|
|
91
91
|
|
|
92
92
|
**→ CHECKPOINT: Ticket Approval** (Std/Cplx only — Simple skips to Step 3)
|
|
93
93
|
|
|
@@ -98,7 +98,7 @@ See `references/branching-strategy.md` for details.
|
|
|
98
98
|
1. Follow the planner agent instructions (`backend-planner` for backend features, `frontend-planner` for frontend features) in `.gemini/agents/`
|
|
99
99
|
2. **Fullstack features:** Run `backend-planner` first, then `frontend-planner`. Each writes its own section in the Implementation Plan
|
|
100
100
|
3. Write Implementation Plan into ticket's `## Implementation Plan`
|
|
101
|
-
4. Update tracker: step `2/6 (Plan)`
|
|
101
|
+
4. Update tracker: step `2/6 (Plan)` (Active Session + Features table)
|
|
102
102
|
|
|
103
103
|
**→ CHECKPOINT: Plan Approval**
|
|
104
104
|
|
|
@@ -122,7 +122,7 @@ See `references/branching-strategy.md` for details.
|
|
|
122
122
|
|
|
123
123
|
**Commits:** Commit freely during implementation (one per logical unit is fine). Final history cleanup happens via squash merge in Step 5.
|
|
124
124
|
|
|
125
|
-
Update tracker: step `3/6 (Implement)`, context summary.
|
|
125
|
+
Update tracker (Active Session + Features table): step `3/6 (Implement)`, context summary. Mark ticket Workflow Checklist `[x]` for Step 3.
|
|
126
126
|
|
|
127
127
|
---
|
|
128
128
|
|
|
@@ -137,7 +137,7 @@ Update tracker: step `3/6 (Implement)`, context summary.
|
|
|
137
137
|
|
|
138
138
|
**Commit format:** `<type>(<scope>): <description>`
|
|
139
139
|
|
|
140
|
-
Update tracker: step `4/6 (Finalize)`
|
|
140
|
+
Update tracker (Active Session + Features table): step `4/6 (Finalize)`. Mark ticket Workflow Checklist `[x]` for Step 4.
|
|
141
141
|
|
|
142
142
|
---
|
|
143
143
|
|
|
@@ -148,11 +148,20 @@ Update tracker: step `4/6 (Finalize)`
|
|
|
148
148
|
1. Push branch, create PR (use `references/pr-template.md`)
|
|
149
149
|
2. **Std/Cplx:** Follow `code-review-specialist` instructions in `.gemini/agents/` — **do NOT skip**
|
|
150
150
|
3. **Std/Cplx:** Also follow `qa-engineer` instructions in `.gemini/agents/`
|
|
151
|
-
4. **
|
|
151
|
+
4. **Fix loop:** If review or QA finds issues → fix them → commit fixes → re-run quality gates (`npm test` / lint / build). Repeat until clean.
|
|
152
|
+
5. **Merge strategy:** Features/bugfixes → **squash merge** (clean single commit on target branch); Releases/hotfixes → merge commit
|
|
152
153
|
|
|
153
154
|
**→ CHECKPOINT: Merge Approval**
|
|
154
155
|
|
|
155
|
-
|
|
156
|
+
Before requesting merge approval, verify and complete this checklist:
|
|
157
|
+
- [ ] Ticket: Workflow Checklist — all completed steps marked `[x]` (through Step 5)
|
|
158
|
+
- [ ] Ticket: Completion Log — entry for each completed step (dates, actions, test counts)
|
|
159
|
+
- [ ] Ticket: Acceptance Criteria — mark `[x]` where met
|
|
160
|
+
- [ ] Tracker: Active Session — reflects step `5/6 (Review)`, current context, next actions
|
|
161
|
+
- [ ] Tracker: Features table — status and step updated to match Active Session
|
|
162
|
+
- [ ] `key_facts.md` — updated if new models, schemas, migrations, or reusable components were added
|
|
163
|
+
- [ ] `decisions.md` — ADR created if Definition of Done requires it
|
|
164
|
+
- [ ] All fixes committed — no unstaged files remaining from review/QA fixes
|
|
156
165
|
|
|
157
166
|
---
|
|
158
167
|
|
|
@@ -160,9 +169,8 @@ Update tracker: step `5/6 (Review)`
|
|
|
160
169
|
|
|
161
170
|
1. **Update ticket with final state:** correct test count in acceptance criteria, mark all checkboxes, update Completion Log with all commits and key events
|
|
162
171
|
2. Delete feature branch (local + remote)
|
|
163
|
-
3. Update product tracker:
|
|
164
|
-
4. Record bugs in `bugs.md`, decisions in `decisions.md`
|
|
165
|
-
5. Clear Active Session → "No active work"
|
|
172
|
+
3. Update product tracker: Features table status → `done`, add to Completion Log, clear Active Session → "No active work"
|
|
173
|
+
4. Record any bugs found during the feature in `bugs.md`, decisions in `decisions.md`
|
|
166
174
|
|
|
167
175
|
---
|
|
168
176
|
|
|
@@ -197,6 +205,6 @@ Agent instructions are in `.gemini/agents/`. Read the relevant agent file when e
|
|
|
197
205
|
- **Type safety** — fully typed, no `any`
|
|
198
206
|
- **English only** — all technical artifacts
|
|
199
207
|
- **Memory first** — check `project_notes/` before changes
|
|
200
|
-
- **Product tracker** — keep Active Session updated at every step
|
|
208
|
+
- **Product tracker** — keep Active Session AND Features table updated at every step
|
|
201
209
|
- **Correct agents** — Backend → `backend-planner` + `backend-developer`, Frontend → `frontend-planner` + `frontend-developer`
|
|
202
210
|
- **Correct base branch** — check `key_facts.md` before creating branches
|