prizmkit 1.0.152 → 1.0.153
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 +42 -8
- package/bundled/dev-pipeline/templates/bootstrap-tier2.md +48 -1
- package/bundled/dev-pipeline/templates/bootstrap-tier3.md +40 -9
- package/bundled/skills/_metadata.json +1 -1
- package/package.json +1 -1
package/bundled/VERSION.json
CHANGED
|
@@ -41,7 +41,7 @@ You are running in headless mode with a FINITE context window. Exceeding it will
|
|
|
41
41
|
4. **One task at a time** — In Phase 3 (implement), complete and test one task before starting the next.
|
|
42
42
|
5. **Minimize tool output** — When running commands, use `| head -20` or `| tail -20` to limit output. Never dump entire test suites or logs.
|
|
43
43
|
6. **No intermediate commits** — Do NOT run `git add`/`git commit` during Phase 1-3. All changes are committed once at the end in Phase 4 via `/prizmkit-committer`.
|
|
44
|
-
7. **Capture test output once** — When running
|
|
44
|
+
7. **Capture test output once** — When running test suites, always use `$TEST_CMD 2>&1 | tee /tmp/test-out.txt | tail -20`. Then grep `/tmp/test-out.txt` for details. Never re-run the suite just to apply a different filter.
|
|
45
45
|
|
|
46
46
|
---
|
|
47
47
|
|
|
@@ -130,14 +130,11 @@ grep -q '^/binary-name$' .gitignore || echo '/binary-name' >> .gitignore
|
|
|
130
130
|
```
|
|
131
131
|
Never commit compiled binaries, build output, or generated artifacts.
|
|
132
132
|
|
|
133
|
-
**3a.** Detect
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
node --test tests/**/*.test.js 2>&1 | tail -3 # Node built-in
|
|
137
|
-
npm test 2>&1 | tail -3 # npm fallback
|
|
138
|
-
```
|
|
139
|
-
Record the working command as `TEST_CMD`. Then record baseline failures (if any):
|
|
133
|
+
**3a.** Detect test commands and record baseline:
|
|
134
|
+
|
|
135
|
+
You know this project's tech stack. Identify ALL test commands that apply (e.g., `go test ./...`, `npm test`, `cargo test`, `pytest`, `make test`, etc.). Record them as `TEST_CMDS` (one or more commands). Then record baseline:
|
|
140
136
|
```bash
|
|
137
|
+
# Run each test command, capture output
|
|
141
138
|
$TEST_CMD 2>&1 | tee /tmp/test-baseline.txt | tail -20
|
|
142
139
|
```
|
|
143
140
|
|
|
@@ -191,6 +188,43 @@ You MUST execute this phase. Do NOT skip it. Do NOT mark it as completed without
|
|
|
191
188
|
If verification fails, log the failure details but continue to commit. Failures do NOT block the commit, but you MUST attempt verification and MUST clean up the dev server.
|
|
192
189
|
{{END_IF_BROWSER_INTERACTION}}
|
|
193
190
|
|
|
191
|
+
### Phase 3.8: Local Deploy Verification
|
|
192
|
+
|
|
193
|
+
You just implemented this feature — you know the project's tech stack and build tools.
|
|
194
|
+
|
|
195
|
+
1. **Build**: Run the project's build/compile commands. If a required tool is missing, install it first.
|
|
196
|
+
2. **Fix**: If build fails with code errors (type errors, missing imports, config issues), fix them (max 2 rounds), then re-verify.
|
|
197
|
+
3. **Assess and record** — append to context-snapshot.md:
|
|
198
|
+
- **ALL builds pass** → `## Deploy Verification: PASS` — proceed to commit
|
|
199
|
+
- **Some builds fail with fixable errors** → fix and re-verify (already handled in step 2)
|
|
200
|
+
- **Cannot build locally** (missing system-level deps you cannot install) → Generate `DEPLOY.md` with:
|
|
201
|
+
```
|
|
202
|
+
# Local Development Setup
|
|
203
|
+
|
|
204
|
+
## Prerequisites
|
|
205
|
+
- [tool]: [install instruction]
|
|
206
|
+
|
|
207
|
+
## Build Steps
|
|
208
|
+
1. [exact command]
|
|
209
|
+
|
|
210
|
+
## Run / Dev Mode
|
|
211
|
+
[exact command to start the app locally]
|
|
212
|
+
|
|
213
|
+
## Verify
|
|
214
|
+
[how to confirm the app is running correctly]
|
|
215
|
+
```
|
|
216
|
+
Record: `## Deploy Verification: PARTIAL — see DEPLOY.md for missing prerequisites`
|
|
217
|
+
|
|
218
|
+
Deploy verification does NOT block the commit, but you MUST attempt it.
|
|
219
|
+
|
|
220
|
+
**Step 4 — Smoke test** (only if build passed and project can be started):
|
|
221
|
+
1. Start the project locally (e.g., `make dev`, `npm start`, `go run .`, etc.)
|
|
222
|
+
2. Verify basic functionality: hit key endpoints, check health routes, confirm the UI loads
|
|
223
|
+
3. Stop the server process you started — do NOT leave it running
|
|
224
|
+
4. Record smoke test results in `## Deploy Verification` section
|
|
225
|
+
|
|
226
|
+
If the project cannot be started locally (e.g., requires external services, databases, credentials), skip the smoke test and note why.
|
|
227
|
+
|
|
194
228
|
### Phase 4: Architecture Sync & Commit (SINGLE COMMIT)
|
|
195
229
|
|
|
196
230
|
**4a.** Run `/prizmkit-retrospective` — maintains `.prizm-docs/` (architecture index):
|
|
@@ -41,7 +41,7 @@ You are running in headless mode with a FINITE context window. Exceeding it will
|
|
|
41
41
|
4. **One task at a time** — In Phase 4 (implement), complete and test one task before starting the next.
|
|
42
42
|
5. **Minimize tool output** — When running commands, use `| head -20` or `| tail -20` to limit output. Never dump entire test suites or logs.
|
|
43
43
|
6. **No intermediate commits** — Do NOT run `git add`/`git commit` during Phase 1-5. All changes are committed once at the end in Phase 6 via `/prizmkit-committer`.
|
|
44
|
-
7. **Capture test output once** — When running
|
|
44
|
+
7. **Capture test output once** — When running test suites, always use `$TEST_CMD 2>&1 | tee /tmp/test-out.txt | tail -20`. Then grep `/tmp/test-out.txt` for details. Never re-run the suite just to apply a different filter.
|
|
45
45
|
|
|
46
46
|
---
|
|
47
47
|
|
|
@@ -82,6 +82,16 @@ If any agent times out:
|
|
|
82
82
|
Check `.prizmkit/specs/{{FEATURE_SLUG}}/context-snapshot.md` — if exists, skip Phase 1 and proceed to Phase {{RESUME_PHASE}}.
|
|
83
83
|
{{END_IF_RESUME}}
|
|
84
84
|
|
|
85
|
+
### Phase 0.5: Detect Test Commands
|
|
86
|
+
|
|
87
|
+
You know this project's tech stack. Identify ALL test commands that apply (e.g., `go test ./...`, `npm test`, `cargo test`, `pytest`, `make test`, etc.). Record them as `TEST_CMDS`. Then record baseline:
|
|
88
|
+
```bash
|
|
89
|
+
$TEST_CMD 2>&1 | tee /tmp/test-baseline.txt | tail -20
|
|
90
|
+
```
|
|
91
|
+
Save pre-existing failing tests as `BASELINE_FAILURES`.
|
|
92
|
+
|
|
93
|
+
> **⚠️ Test Output Rule**: Always capture test output to a temp file (`tee /tmp/test-out.txt`). Then grep the file instead of re-running the suite.
|
|
94
|
+
|
|
85
95
|
### Phase 1: Build Context Snapshot (you, the orchestrator)
|
|
86
96
|
|
|
87
97
|
**Check for previous failure log:**
|
|
@@ -302,6 +312,43 @@ You MUST execute this phase. Do NOT skip it. Do NOT mark it as completed without
|
|
|
302
312
|
If verification fails, log the failure details but continue to commit. Failures do NOT block the commit, but you MUST attempt verification and MUST clean up the dev server.
|
|
303
313
|
{{END_IF_BROWSER_INTERACTION}}
|
|
304
314
|
|
|
315
|
+
### Phase 5.8: Local Deploy Verification
|
|
316
|
+
|
|
317
|
+
You just implemented this feature — you know the project's tech stack and build tools.
|
|
318
|
+
|
|
319
|
+
1. **Build**: Run the project's build/compile commands. If a required tool is missing, install it first.
|
|
320
|
+
2. **Fix**: If build fails with code errors (type errors, missing imports, config issues), fix them (max 2 rounds), then re-verify.
|
|
321
|
+
3. **Assess and record** — append to context-snapshot.md:
|
|
322
|
+
- **ALL builds pass** → `## Deploy Verification: PASS` — proceed to commit
|
|
323
|
+
- **Some builds fail with fixable errors** → fix and re-verify (already handled in step 2)
|
|
324
|
+
- **Cannot build locally** (missing system-level deps you cannot install) → Generate `DEPLOY.md` with:
|
|
325
|
+
```
|
|
326
|
+
# Local Development Setup
|
|
327
|
+
|
|
328
|
+
## Prerequisites
|
|
329
|
+
- [tool]: [install instruction]
|
|
330
|
+
|
|
331
|
+
## Build Steps
|
|
332
|
+
1. [exact command]
|
|
333
|
+
|
|
334
|
+
## Run / Dev Mode
|
|
335
|
+
[exact command to start the app locally]
|
|
336
|
+
|
|
337
|
+
## Verify
|
|
338
|
+
[how to confirm the app is running correctly]
|
|
339
|
+
```
|
|
340
|
+
Record: `## Deploy Verification: PARTIAL — see DEPLOY.md for missing prerequisites`
|
|
341
|
+
|
|
342
|
+
Deploy verification does NOT block the commit, but you MUST attempt it.
|
|
343
|
+
|
|
344
|
+
**Step 4 — Smoke test** (only if build passed and project can be started):
|
|
345
|
+
1. Start the project locally (e.g., `make dev`, `npm start`, `go run .`, etc.)
|
|
346
|
+
2. Verify basic functionality: hit key endpoints, check health routes, confirm the UI loads
|
|
347
|
+
3. Stop the server process you started — do NOT leave it running
|
|
348
|
+
4. Record smoke test results in `## Deploy Verification` section
|
|
349
|
+
|
|
350
|
+
If the project cannot be started locally (e.g., requires external services, databases, credentials), skip the smoke test and note why.
|
|
351
|
+
|
|
305
352
|
### Phase 6: Architecture Sync & Commit (SINGLE COMMIT)
|
|
306
353
|
|
|
307
354
|
**6a.** Run `/prizmkit-retrospective` — maintains `.prizm-docs/` (architecture index):
|
|
@@ -75,23 +75,18 @@ If any agent times out:
|
|
|
75
75
|
- **CP-0**: Verify `.prizm-docs/root.prizm`, `.prizmkit/config.json` exist
|
|
76
76
|
{{END_IF_INIT_NEEDED}}
|
|
77
77
|
{{IF_INIT_DONE}}
|
|
78
|
-
### Phase 0: Record Test Baseline & Detect Test
|
|
78
|
+
### Phase 0: Record Test Baseline & Detect Test Commands
|
|
79
79
|
|
|
80
|
-
**Step 1 — Detect
|
|
81
|
-
```bash
|
|
82
|
-
# Try in order, use the first one that exits 0
|
|
83
|
-
node --test tests/**/*.test.js 2>&1 | tail -3 # Node built-in
|
|
84
|
-
npm test 2>&1 | tail -3 # npm script fallback
|
|
85
|
-
```
|
|
86
|
-
Record the working command as `TEST_CMD`. If both fail, record `TEST_CMD="npm test"` as default.
|
|
80
|
+
**Step 1 — Detect test commands**: You know this project's tech stack. Identify ALL test commands that apply (e.g., `go test ./...`, `npm test`, `cargo test`, `pytest`, `make test`, etc.). Record them as `TEST_CMDS`.
|
|
87
81
|
|
|
88
82
|
**Step 2 — Record pre-existing failure baseline**:
|
|
89
83
|
```bash
|
|
84
|
+
# Run each test command, capture output
|
|
90
85
|
$TEST_CMD 2>&1 | tee /tmp/test-baseline.txt | tail -20
|
|
91
86
|
```
|
|
92
87
|
Save the list of **pre-existing failing tests** (if any) as `BASELINE_FAILURES`. These are known failures that existed before this session — Dev must NOT be blamed for them, but must list them in COMPLETION_SIGNAL.
|
|
93
88
|
|
|
94
|
-
> **⚠️ Test Output Rule**: Always capture test output to a temp file (`tee /tmp/test-out.txt`). Then grep the file instead of re-running the suite.
|
|
89
|
+
> **⚠️ Test Output Rule**: Always capture test output to a temp file (`tee /tmp/test-out.txt`). Then grep the file instead of re-running the suite.
|
|
95
90
|
{{END_IF_INIT_DONE}}
|
|
96
91
|
|
|
97
92
|
### Step 1: Initialize
|
|
@@ -400,6 +395,42 @@ You MUST execute this phase. Do NOT skip it. Do NOT mark it as completed without
|
|
|
400
395
|
If verification fails, log the failure details but continue to commit. Failures do NOT block the commit, but you MUST attempt verification and MUST clean up the dev server.
|
|
401
396
|
{{END_IF_BROWSER_INTERACTION}}
|
|
402
397
|
|
|
398
|
+
### Phase 5.8: Local Deploy Verification
|
|
399
|
+
|
|
400
|
+
You just implemented this feature — you know the project's tech stack and build tools.
|
|
401
|
+
|
|
402
|
+
1. **Build**: Run the project's build/compile commands. If a required tool is missing, install it first.
|
|
403
|
+
2. **Fix**: If build fails with code errors (type errors, missing imports, config issues), fix them (max 2 rounds), then re-verify.
|
|
404
|
+
3. **Assess and record** — append to context-snapshot.md:
|
|
405
|
+
- **ALL builds pass** → `## Deploy Verification: PASS` — proceed to commit
|
|
406
|
+
- **Some builds fail with fixable errors** → fix and re-verify (already handled in step 2)
|
|
407
|
+
- **Cannot build locally** (missing system-level deps you cannot install) → Generate `DEPLOY.md` with:
|
|
408
|
+
```
|
|
409
|
+
# Local Development Setup
|
|
410
|
+
|
|
411
|
+
## Prerequisites
|
|
412
|
+
- [tool]: [install instruction]
|
|
413
|
+
|
|
414
|
+
## Build Steps
|
|
415
|
+
1. [exact command]
|
|
416
|
+
|
|
417
|
+
## Run / Dev Mode
|
|
418
|
+
[exact command to start the app locally]
|
|
419
|
+
|
|
420
|
+
## Verify
|
|
421
|
+
[how to confirm the app is running correctly]
|
|
422
|
+
```
|
|
423
|
+
Record: `## Deploy Verification: PARTIAL — see DEPLOY.md for missing prerequisites`
|
|
424
|
+
|
|
425
|
+
Deploy verification does NOT block the commit, but you MUST attempt it.
|
|
426
|
+
|
|
427
|
+
**Step 4 — Smoke test** (only if build passed and project can be started):
|
|
428
|
+
1. Start the project locally (e.g., `make dev`, `npm start`, `go run .`, etc.)
|
|
429
|
+
2. Verify basic functionality: hit key endpoints, check health routes, confirm the UI loads
|
|
430
|
+
3. Stop the server process you started — do NOT leave it running
|
|
431
|
+
4. Record smoke test results in `## Deploy Verification` section
|
|
432
|
+
|
|
433
|
+
If the project cannot be started locally (e.g., requires external services, databases, credentials), skip the smoke test and note why.
|
|
403
434
|
|
|
404
435
|
### Phase 6: Retrospective & Commit (SINGLE COMMIT) — DO NOT SKIP
|
|
405
436
|
|