prizmkit 1.1.36 → 1.1.37
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/bundled/VERSION.json
CHANGED
|
@@ -48,11 +48,12 @@ For trivial bugs with clear root cause and minimal scope:
|
|
|
48
48
|
1. Branch Setup → `fix/<BUG_ID>-<short-desc>`
|
|
49
49
|
2. Write reproduction test → confirm failing
|
|
50
50
|
3. Apply fix → confirm test passes + full suite green
|
|
51
|
-
4.
|
|
52
|
-
5.
|
|
53
|
-
6.
|
|
51
|
+
4. Run `/prizmkit-code-review` for quality check
|
|
52
|
+
5. Ask user: "Quick fix applied. Verify before commit? (Y/skip)"
|
|
53
|
+
6. Commit with `fix(<scope>):` prefix
|
|
54
|
+
7. Ask merge preference
|
|
54
55
|
|
|
55
|
-
**Fast Path still requires**: fix branch, reproduction test, full test suite pass, user merge decision.
|
|
56
|
+
**Fast Path still requires**: fix branch, reproduction test, full test suite pass, code review, user merge decision.
|
|
56
57
|
|
|
57
58
|
---
|
|
58
59
|
|
|
@@ -196,9 +197,11 @@ AskUserQuestion:
|
|
|
196
197
|
```
|
|
197
198
|
|
|
198
199
|
- **Plan and fix now** → Invoke `/prizmkit-plan` with `artifact_dir=.prizmkit/bugfix/<BUG_ID>/`:
|
|
199
|
-
1. prizmkit-plan generates `spec.md` + `plan.md` under `.prizmkit/bugfix/<BUG_ID>/`
|
|
200
|
-
2. Invoke `/prizmkit-implement` to execute the plan
|
|
201
|
-
3.
|
|
200
|
+
1. `/prizmkit-plan` generates `spec.md` (bug description + acceptance criteria) + `plan.md` (fix strategy + test specifications) under `.prizmkit/bugfix/<BUG_ID>/`
|
|
201
|
+
2. Invoke `/prizmkit-implement` to execute the plan (TDD: write failing reproduction test → implement fix → tests pass)
|
|
202
|
+
3. Run `/prizmkit-code-review` for quality check
|
|
203
|
+
4. Commit via `/prizmkit-committer` with `fix(<scope>):` prefix
|
|
204
|
+
5. **End workflow** — skip Phase 2-7. No `/prizmkit-retrospective` (bug fixes are incomplete features, not new architecture)
|
|
202
205
|
- **Add to bug-fix-list.json** → Invoke `bug-planner` to add this bug to `.prizmkit/plans/bug-fix-list.json`, then suggest user run `bugfix-pipeline-launcher` to start the pipeline. End this workflow.
|
|
203
206
|
|
|
204
207
|
**NEVER proceed with direct code changes without explicit user confirmation via `AskUserQuestion`. Do NOT render options as plain text — the user must be able to click/select.**
|
|
@@ -276,22 +279,12 @@ If the fix causes test regressions:
|
|
|
276
279
|
|
|
277
280
|
**Goal**: Verify fix quality before committing.
|
|
278
281
|
|
|
279
|
-
1. **
|
|
280
|
-
-
|
|
281
|
-
-
|
|
282
|
-
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
3. **Present review summary**:
|
|
286
|
-
```
|
|
287
|
-
Fix Review:
|
|
288
|
-
- Root cause addressed: Yes (null check added at auth service level)
|
|
289
|
-
- Edge cases: Covered (401, 403, network error)
|
|
290
|
-
- Regression: None (48/48 tests pass)
|
|
291
|
-
- Code quality: Clean, follows existing patterns
|
|
292
|
-
|
|
293
|
-
Ready to commit.
|
|
294
|
-
```
|
|
282
|
+
1. **Run `/prizmkit-code-review`** to review the fix:
|
|
283
|
+
- Reviews git diff against the bug context (root cause, fix approach, affected areas)
|
|
284
|
+
- Iterative Reviewer Agent + Dev Agent loop (max 3 rounds)
|
|
285
|
+
- Checks: root cause addressed (not just symptom), edge cases covered, reproduction test thoroughness, project conventions
|
|
286
|
+
2. **If PASS**: Proceed to Phase 6
|
|
287
|
+
3. **If NEEDS_FIXES after max rounds**: Present unresolved findings to user, ask whether to proceed or revise
|
|
295
288
|
|
|
296
289
|
**CHECKPOINT CP-BFW-5**: Code review completed and quality verified.
|
|
297
290
|
|
|
@@ -323,11 +316,8 @@ If user reports the fix is NOT working:
|
|
|
323
316
|
- Commit message: `fix(<scope>): <description>`
|
|
324
317
|
- Include both fix code and reproduction test
|
|
325
318
|
- Do NOT push (user decides when to push)
|
|
326
|
-
- **Bug Fix Documentation Policy**:
|
|
327
|
-
- DEFAULT: Run `/prizmkit-retrospective` with structural sync only (update file counts, interfaces, dependencies). Skip knowledge injection.
|
|
328
|
-
- UPDATE DOCS when bug fix causes: interface signature changes, dependency additions/removals, observable behavior changes to existing features, or newly discovered TRAPs (gotchas/pitfalls)
|
|
329
|
-
- When any of the above apply, run full `/prizmkit-retrospective` (Job 1 + Job 2)
|
|
330
319
|
- `/prizmkit-committer` is a pure commit tool — it does NOT modify `.prizm-docs/` or any project files
|
|
320
|
+
- No `/prizmkit-retrospective` — bug fixes are incomplete features, not new architecture worth documenting
|
|
331
321
|
2. **Ask merge preference**:
|
|
332
322
|
```
|
|
333
323
|
Fix committed on branch `fix/<BUG_ID>-<short-desc>`.
|