prizmkit 1.0.105 → 1.0.106
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 +3 -3
- package/bundled/dev-pipeline/templates/bootstrap-tier1.md +6 -1
- package/bundled/dev-pipeline/templates/bootstrap-tier2.md +6 -1
- package/bundled/dev-pipeline/templates/bootstrap-tier3.md +6 -1
- package/bundled/skills/_metadata.json +1 -1
- package/bundled/skills/prizmkit-prizm-docs/assets/PRIZM-SPEC.md +1 -1
- package/bundled/skills/prizmkit-retrospective/SKILL.md +5 -5
- package/package.json +1 -1
package/bundled/VERSION.json
CHANGED
|
@@ -80,7 +80,7 @@ cat .prizmkit/specs/{{FEATURE_SLUG}}/failure-log.md 2>/dev/null || echo "NO_PREV
|
|
|
80
80
|
If failure-log.md exists:
|
|
81
81
|
- Read ROOT_CAUSE and SUGGESTION — adjust your approach accordingly
|
|
82
82
|
- Read DISCOVERED_TRAPS — if any are genuine, inject into .prizm-docs/ during Phase 4 retrospective
|
|
83
|
-
- Do NOT delete failure-log.md until this session
|
|
83
|
+
- Do NOT delete failure-log.md until this session completes all phases and commits successfully
|
|
84
84
|
|
|
85
85
|
```bash
|
|
86
86
|
ls .prizmkit/specs/{{FEATURE_SLUG}}/context-snapshot.md 2>/dev/null && echo "EXISTS" || echo "MISSING"
|
|
@@ -193,6 +193,11 @@ If you encounter an unrecoverable error, context overflow, or are about to exit
|
|
|
193
193
|
|
|
194
194
|
2. This file is intentionally lightweight — write it BEFORE context runs out.
|
|
195
195
|
|
|
196
|
+
**Lifecycle**: failure-log.md is a temporary cross-session artifact. Do NOT commit it to git. After a successful session (all phases complete + commit done), delete it:
|
|
197
|
+
```bash
|
|
198
|
+
rm -f .prizmkit/specs/{{FEATURE_SLUG}}/failure-log.md
|
|
199
|
+
```
|
|
200
|
+
|
|
196
201
|
## Reminders
|
|
197
202
|
|
|
198
203
|
- Tier 1: you handle everything directly — no subagents needed
|
|
@@ -91,7 +91,7 @@ cat .prizmkit/specs/{{FEATURE_SLUG}}/failure-log.md 2>/dev/null || echo "NO_PREV
|
|
|
91
91
|
If failure-log.md exists:
|
|
92
92
|
- Read ROOT_CAUSE and SUGGESTION — adjust your approach accordingly
|
|
93
93
|
- Read DISCOVERED_TRAPS — if any are genuine, inject into .prizm-docs/ during Phase 5 retrospective
|
|
94
|
-
- Do NOT delete failure-log.md until this session
|
|
94
|
+
- Do NOT delete failure-log.md until this session completes all phases and commits successfully
|
|
95
95
|
|
|
96
96
|
```bash
|
|
97
97
|
ls .prizmkit/specs/{{FEATURE_SLUG}}/context-snapshot.md 2>/dev/null && echo "EXISTS" || echo "MISSING"
|
|
@@ -242,6 +242,11 @@ If you encounter an unrecoverable error, context overflow, or are about to exit
|
|
|
242
242
|
|
|
243
243
|
2. This file is intentionally lightweight — write it BEFORE context runs out.
|
|
244
244
|
|
|
245
|
+
**Lifecycle**: failure-log.md is a temporary cross-session artifact. Do NOT commit it to git. After a successful session (all phases complete + commit done), delete it:
|
|
246
|
+
```bash
|
|
247
|
+
rm -f .prizmkit/specs/{{FEATURE_SLUG}}/failure-log.md
|
|
248
|
+
```
|
|
249
|
+
|
|
245
250
|
## Reminders
|
|
246
251
|
|
|
247
252
|
- Tier 2: orchestrator builds context+plan, Dev implements, Reviewer reviews+tests — use direct Agent spawn for agents
|
|
@@ -154,7 +154,7 @@ cat .prizmkit/specs/{{FEATURE_SLUG}}/failure-log.md 2>/dev/null || echo "NO_PREV
|
|
|
154
154
|
If failure-log.md exists:
|
|
155
155
|
- Read ROOT_CAUSE and SUGGESTION — adjust your approach accordingly
|
|
156
156
|
- Read DISCOVERED_TRAPS — if any are genuine, inject into .prizm-docs/ during Phase 6 retrospective
|
|
157
|
-
- Do NOT delete failure-log.md until this session
|
|
157
|
+
- Do NOT delete failure-log.md until this session completes all phases and commits successfully
|
|
158
158
|
|
|
159
159
|
Check existing artifacts first:
|
|
160
160
|
```bash
|
|
@@ -422,6 +422,11 @@ If you encounter an unrecoverable error, context overflow, or are about to exit
|
|
|
422
422
|
|
|
423
423
|
2. This file is intentionally lightweight — write it BEFORE context runs out.
|
|
424
424
|
|
|
425
|
+
**Lifecycle**: failure-log.md is a temporary cross-session artifact. Do NOT commit it to git. After a successful session (all phases complete + commit done), delete it:
|
|
426
|
+
```bash
|
|
427
|
+
rm -f .prizmkit/specs/{{FEATURE_SLUG}}/failure-log.md
|
|
428
|
+
```
|
|
429
|
+
|
|
425
430
|
## Reminders
|
|
426
431
|
|
|
427
432
|
- Tier 3: full team — Dev (implementation) → Reviewer (review + test) — spawn agents directly via Agent tool
|
|
@@ -250,7 +250,7 @@ CONSTRAINTS:
|
|
|
250
250
|
- TRAPS section is CRITICAL for preventing AI from making known mistakes
|
|
251
251
|
- TRAPS entries MUST have severity prefix ([CRITICAL], [HIGH], or [LOW]). [REVIEW] may precede severity as a temporary staleness marker.
|
|
252
252
|
- TRAPS optional fields: append `| REF: <7-char-hash>` for traceability, `| STALE_IF: <glob>` for auto-expiry detection
|
|
253
|
-
- TRAPS severity
|
|
253
|
+
- TRAPS severity: CRITICAL = data loss/security/financial/crash, HIGH = functional failure/silent error, LOW = naming/minor quality (see TRAPS_FORMAT_REFERENCE in Section 3.2)
|
|
254
254
|
- REJECTED entries prevent AI from re-proposing failed approaches
|
|
255
255
|
- FILES lists all files, not just key ones
|
|
256
256
|
- RULES may only SUPPLEMENT root.prizm RULES with module-specific exceptions, never contradict them
|
|
@@ -78,8 +78,8 @@ While updating an affected L1/L2 doc, if you encounter TRAPS entries **without**
|
|
|
78
78
|
**1g. TRAPS staleness check** (only when an L2 doc's TRAPS section has > 10 entries):
|
|
79
79
|
|
|
80
80
|
Perform a quick staleness scan on existing TRAPS to prevent unbounded accumulation:
|
|
81
|
-
1. If a TRAP has `STALE_IF:` and the glob-matched files no longer exist (verified via `ls`
|
|
82
|
-
2. If a TRAP has `REF:`
|
|
81
|
+
1. If a TRAP has `STALE_IF:` and the glob-matched files no longer exist (verified via `ls`) → delete the TRAP entry, append CHANGELOG: `remove: archived stale TRAP - <summary>`
|
|
82
|
+
2. If a TRAP has `REF:` → check if the referenced file still exists and the REF commit is less than 180 days old (via `git log --since="180 days ago" <hash> 2>/dev/null`). If the file is deleted OR the REF commit is older than 180 days → prepend `[REVIEW]` to the severity, signaling it needs verification during the next retrospective Job 2
|
|
83
83
|
3. Process at most 5 of the oldest TRAPS per L2 doc per session (to bound context cost)
|
|
84
84
|
|
|
85
85
|
This step is lightweight — it only triggers when TRAPS exceed 10 entries, and processes at most 5 per run.
|
|
@@ -117,10 +117,10 @@ Extract TRAPS, RULES, and DECISIONS from development work and inject into `.priz
|
|
|
117
117
|
- Full format: `- [SEVERITY] <description> | FIX: <approach> | REF: <hash> | STALE_IF: <glob>`
|
|
118
118
|
- Source: actual bugs hit, surprising behavior discovered in code, non-obvious coupling
|
|
119
119
|
|
|
120
|
-
**TRAPS severity classification
|
|
121
|
-
- `[CRITICAL]`: data loss, security
|
|
120
|
+
**TRAPS severity classification**:
|
|
121
|
+
- `[CRITICAL]`: data loss, security, financial error, system crash
|
|
122
122
|
- `[HIGH]`: functional failure, silent error, interface incompatibility
|
|
123
|
-
- `[LOW]`: misleading naming, non-intuitive API
|
|
123
|
+
- `[LOW]`: misleading naming, non-intuitive API, minor performance issue
|
|
124
124
|
|
|
125
125
|
When writing TRAPS:
|
|
126
126
|
- Severity prefix is MANDATORY (e.g., `[CRITICAL]`, `[HIGH]`, `[LOW]`)
|