prizmkit 1.0.110 → 1.0.111
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
|
@@ -130,6 +130,55 @@ Checkpoints catch cascading errors early — skipping one means the next phase b
|
|
|
130
130
|
|
|
131
131
|
**Resume Detection**: See §Resume Support for checkpoint-based resumption.
|
|
132
132
|
|
|
133
|
+
## Architecture Decision Capture
|
|
134
|
+
|
|
135
|
+
During planning, key **framework-level** architectural decisions may emerge. When they do, capture them in the project instruction file so all future AI sessions have this context.
|
|
136
|
+
|
|
137
|
+
### What Qualifies (ALL must apply)
|
|
138
|
+
|
|
139
|
+
Only capture decisions that are **framework-shaping** — NOT individual feature details. Qualifying categories:
|
|
140
|
+
|
|
141
|
+
| Category | Examples |
|
|
142
|
+
|----------|----------|
|
|
143
|
+
| Tech stack choices | PostgreSQL over MongoDB, React over Vue, Node.js runtime |
|
|
144
|
+
| Communication patterns | REST vs GraphQL, WebSocket vs SSE vs polling |
|
|
145
|
+
| Architectural patterns | Monorepo, microservices, monolith, event-driven |
|
|
146
|
+
| Data model strategies | Relational vs document, event sourcing, CQRS |
|
|
147
|
+
| Security architecture | JWT vs session, OAuth provider, RBAC model |
|
|
148
|
+
|
|
149
|
+
**Do NOT capture**: individual feature implementation details, UI component choices, specific API endpoint designs, or anything scoped to a single feature.
|
|
150
|
+
|
|
151
|
+
**This is conditional** — most planning sessions will NOT produce architecture decisions. Only capture when genuinely impactful decisions are made during the discussion.
|
|
152
|
+
|
|
153
|
+
### When to Capture
|
|
154
|
+
|
|
155
|
+
After Phase 5 (DAG verification), before Phase 6 (JSON generation). At this point decisions are settled.
|
|
156
|
+
|
|
157
|
+
### How to Capture
|
|
158
|
+
|
|
159
|
+
1. **Detect platform** — determine which project instruction file to update:
|
|
160
|
+
- `.claude/` directory exists → append to `CLAUDE.md`
|
|
161
|
+
- `.codebuddy/` directory exists → append to `CODEBUDDY.md`
|
|
162
|
+
- Both exist → append to both
|
|
163
|
+
- Neither exists → skip (no project instruction file)
|
|
164
|
+
|
|
165
|
+
2. **Check for existing section** — read the target file and look for `### Architecture Decisions` heading:
|
|
166
|
+
- If heading exists → append new entries below it (avoid duplicates with existing entries)
|
|
167
|
+
- If heading does not exist → create it at the end of the file
|
|
168
|
+
|
|
169
|
+
3. **Format** — one line per decision, no feature IDs:
|
|
170
|
+
```markdown
|
|
171
|
+
### Architecture Decisions
|
|
172
|
+
- WebSocket for real-time: sub-second latency required for collaboration features
|
|
173
|
+
- PostgreSQL: relational data model with complex queries, ACID compliance needed
|
|
174
|
+
- Monorepo structure: shared types between frontend and backend
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
4. **User confirmation** — before writing, show the collected decisions and ask:
|
|
178
|
+
> "These architecture decisions were identified during planning. Record them to [CLAUDE.md / CODEBUDDY.md]? (Y/n)"
|
|
179
|
+
|
|
180
|
+
If user declines, skip without further prompting.
|
|
181
|
+
|
|
133
182
|
## Fast Path — Incremental Shortcuts
|
|
134
183
|
|
|
135
184
|
For simple incremental planning, skip detailed Phase 2-3 analysis to accelerate delivery:
|