create-sdd-project 0.8.1 → 0.8.2
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
|
|
43
|
+
- If bugs are found: record each one in `docs/project_notes/bugs.md` with root cause, solution, and prevention notes
|
|
44
|
+
- This ensures institutional memory — future sessions can avoid the same issues
|
|
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
|
|
|
@@ -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: step `3/6 (Implement)`, context summary (Active Session + Features table).
|
|
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: step `4/6 (Finalize)` (Active Session + Features table)
|
|
141
141
|
|
|
142
142
|
---
|
|
143
143
|
|
|
@@ -148,11 +148,12 @@ 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
|
-
Update tracker: step `5/6 (Review)
|
|
156
|
+
Update tracker: step `5/6 (Review)`, update Features table status
|
|
156
157
|
|
|
157
158
|
---
|
|
158
159
|
|
|
@@ -160,9 +161,8 @@ Update tracker: step `5/6 (Review)`
|
|
|
160
161
|
|
|
161
162
|
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
163
|
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"
|
|
164
|
+
3. Update product tracker: Features table status → `done`, add to Completion Log, clear Active Session → "No active work"
|
|
165
|
+
4. Record any bugs found during the feature in `bugs.md`, decisions in `decisions.md`
|
|
166
166
|
|
|
167
167
|
---
|
|
168
168
|
|
|
@@ -195,6 +195,6 @@ Update tracker: step `5/6 (Review)`
|
|
|
195
195
|
- **Type safety** — fully typed, no `any`
|
|
196
196
|
- **English only** — all technical artifacts
|
|
197
197
|
- **Memory first** — check `project_notes/` before changes
|
|
198
|
-
- **Product tracker** — keep Active Session updated at every step
|
|
198
|
+
- **Product tracker** — keep Active Session AND Features table updated at every step
|
|
199
199
|
- **Correct agents** — Backend → `backend-planner` + `backend-developer`, Frontend → `frontend-planner` + `frontend-developer`
|
|
200
200
|
- **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: record each one in `docs/project_notes/bugs.md` with root cause, solution, and prevention notes
|
|
19
|
+
6. Report findings (QA Verified or Issues Found)
|
|
19
20
|
|
|
20
21
|
## Rules
|
|
21
22
|
|
|
@@ -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: step `3/6 (Implement)`, context summary (Active Session + Features table).
|
|
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: step `4/6 (Finalize)` (Active Session + Features table)
|
|
141
141
|
|
|
142
142
|
---
|
|
143
143
|
|
|
@@ -148,11 +148,12 @@ 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
|
-
Update tracker: step `5/6 (Review)
|
|
156
|
+
Update tracker: step `5/6 (Review)`, update Features table status
|
|
156
157
|
|
|
157
158
|
---
|
|
158
159
|
|
|
@@ -160,9 +161,8 @@ Update tracker: step `5/6 (Review)`
|
|
|
160
161
|
|
|
161
162
|
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
163
|
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"
|
|
164
|
+
3. Update product tracker: Features table status → `done`, add to Completion Log, clear Active Session → "No active work"
|
|
165
|
+
4. Record any bugs found during the feature in `bugs.md`, decisions in `decisions.md`
|
|
166
166
|
|
|
167
167
|
---
|
|
168
168
|
|
|
@@ -197,6 +197,6 @@ Agent instructions are in `.gemini/agents/`. Read the relevant agent file when e
|
|
|
197
197
|
- **Type safety** — fully typed, no `any`
|
|
198
198
|
- **English only** — all technical artifacts
|
|
199
199
|
- **Memory first** — check `project_notes/` before changes
|
|
200
|
-
- **Product tracker** — keep Active Session updated at every step
|
|
200
|
+
- **Product tracker** — keep Active Session AND Features table updated at every step
|
|
201
201
|
- **Correct agents** — Backend → `backend-planner` + `backend-developer`, Frontend → `frontend-planner` + `frontend-developer`
|
|
202
202
|
- **Correct base branch** — check `key_facts.md` before creating branches
|