prizmkit 1.1.40 → 1.1.41
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/SCHEMA_ANALYSIS.md +1 -1
- package/bundled/dev-pipeline/run-bugfix.sh +74 -0
- package/bundled/dev-pipeline/run-feature.sh +74 -0
- package/bundled/dev-pipeline/run-refactor.sh +74 -0
- package/bundled/dev-pipeline/scripts/generate-bootstrap-prompt.py +0 -6
- package/bundled/dev-pipeline/templates/bootstrap-tier1.md +0 -23
- package/bundled/dev-pipeline/templates/bootstrap-tier2.md +0 -23
- package/bundled/dev-pipeline/templates/bootstrap-tier3.md +0 -23
- package/bundled/dev-pipeline/tests/test-deploy-safety.sh +223 -0
- package/bundled/skills/_metadata.json +3 -3
- package/bundled/skills/app-planner/SKILL.md +0 -3
- package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +8 -2
- package/bundled/skills/feature-pipeline-launcher/SKILL.md +8 -2
- package/bundled/skills/prizmkit-committer/SKILL.md +0 -1
- package/bundled/skills/prizmkit-deploy/SKILL.md +491 -209
- package/bundled/skills/prizmkit-deploy/references/cloud-platform-deploy.md +93 -0
- package/bundled/skills/prizmkit-deploy/references/deploy-config-schema.md +147 -0
- package/bundled/skills/prizmkit-deploy/references/deploy-history-schema.md +62 -0
- package/bundled/skills/prizmkit-deploy/references/docker-deploy.md +31 -0
- package/bundled/skills/prizmkit-deploy/references/nginx-blue-green.md +59 -0
- package/bundled/skills/prizmkit-init/SKILL.md +0 -2
- package/bundled/skills/prizmkit-plan/SKILL.md +0 -3
- package/bundled/skills/refactor-pipeline-launcher/SKILL.md +8 -2
- package/package.json +1 -1
- package/bundled/dev-pipeline/templates/sections/phase-deploy-verification.md +0 -31
- package/bundled/skills/prizmkit-deploy/assets/deploy-template.md +0 -187
|
@@ -154,6 +154,10 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
154
154
|
- Off (default) — Pipeline continues to next task after failure
|
|
155
155
|
- On — Pipeline halts immediately when a task exhausts all retries (`STOP_ON_FAILURE=1`)
|
|
156
156
|
|
|
157
|
+
**Question 3 — Deploy after completion?** (multiSelect: false):
|
|
158
|
+
- No (default) — Skip deployment after pipeline completes
|
|
159
|
+
- Yes — Run /prizmkit-deploy automatically after all bugs fixed successfully (`ENABLE_DEPLOY=1`). Deployment is blocked if any bug was not fixed (status not 'completed', 'skipped', or 'needs_info').
|
|
160
|
+
|
|
157
161
|
**Environment variable mapping** (for translating user responses → env vars):
|
|
158
162
|
|
|
159
163
|
| Config choice | Environment variable |
|
|
@@ -164,6 +168,7 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
164
168
|
| Critic: On | `ENABLE_CRITIC=true` |
|
|
165
169
|
| Timeout: value | `SESSION_TIMEOUT=<seconds>` |
|
|
166
170
|
| Stop on failure: On | `STOP_ON_FAILURE=1` |
|
|
171
|
+
| Deploy: Yes | `ENABLE_DEPLOY=1` |
|
|
167
172
|
|
|
168
173
|
**Advanced environment variables** (not exposed in interactive menu, pass via `--env`):
|
|
169
174
|
|
|
@@ -188,7 +193,7 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
188
193
|
```
|
|
189
194
|
With all options:
|
|
190
195
|
```bash
|
|
191
|
-
VERBOSE=1 MAX_RETRIES=5 SESSION_TIMEOUT=3600 \
|
|
196
|
+
VERBOSE=1 MAX_RETRIES=5 SESSION_TIMEOUT=3600 ENABLE_DEPLOY=1 \
|
|
192
197
|
dev-pipeline/run-bugfix.sh run .prizmkit/plans/bug-fix-list.json
|
|
193
198
|
```
|
|
194
199
|
|
|
@@ -199,7 +204,7 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
199
204
|
With all options:
|
|
200
205
|
```bash
|
|
201
206
|
dev-pipeline/launch-bugfix-daemon.sh start .prizmkit/plans/bug-fix-list.json \
|
|
202
|
-
--env "VERBOSE=1 MAX_RETRIES=5"
|
|
207
|
+
--env "VERBOSE=1 MAX_RETRIES=5 ENABLE_DEPLOY=1"
|
|
203
208
|
```
|
|
204
209
|
|
|
205
210
|
**Manual mode**: Print the assembled command(s) and **stop here**. Do not execute anything. Do not proceed to step 7.
|
|
@@ -334,6 +339,7 @@ dev-pipeline/reset-bug.sh B-001 --clean --run .prizmkit/plans/bug-fix-list.json
|
|
|
334
339
|
| All bugs blocked/failed/needs-info | Show status, suggest retrying or providing more info |
|
|
335
340
|
| `playwright-cli` not installed | Browser verification skipped for playwright bugs (non-blocking). Suggest: `npm install -g @playwright/cli@latest && playwright-cli install --skills` |
|
|
336
341
|
| `opencli` not installed | Browser verification skipped for opencli bugs (non-blocking). Install opencli for Chrome session-based browser verification |
|
|
342
|
+
| Deploy session failed | Pipeline completed but deploy session exited non-zero. Check `.prizmkit/state/bugfix/deploy/<session_id>/logs/session.log`. Retry manually: `/prizmkit-deploy`. |
|
|
337
343
|
| Permission denied on script | Run `chmod +x dev-pipeline/launch-bugfix-daemon.sh dev-pipeline/run-bugfix.sh` |
|
|
338
344
|
|
|
339
345
|
### Integration Notes
|
|
@@ -173,6 +173,10 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
173
173
|
- Off (default) — Pipeline continues to next task after failure
|
|
174
174
|
- On — Pipeline halts immediately when a task exhausts all retries (`STOP_ON_FAILURE=1`)
|
|
175
175
|
|
|
176
|
+
**Question 3 — Deploy after completion?** (multiSelect: false):
|
|
177
|
+
- No (default) — Skip deployment after pipeline completes
|
|
178
|
+
- Yes — Run /prizmkit-deploy automatically after all features complete successfully (`ENABLE_DEPLOY=1`). Deployment is blocked if any feature did not complete successfully (status not 'completed' or manually 'skipped').
|
|
179
|
+
|
|
176
180
|
**Environment variable mapping** (for translating user responses → env vars):
|
|
177
181
|
|
|
178
182
|
| Config choice | Environment variable |
|
|
@@ -183,6 +187,7 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
183
187
|
| Max retries: N | `MAX_RETRIES=N` |
|
|
184
188
|
| Timeout: value | `SESSION_TIMEOUT=<seconds>` |
|
|
185
189
|
| Stop on failure: On | `STOP_ON_FAILURE=1` |
|
|
190
|
+
| Deploy: Yes | `ENABLE_DEPLOY=1` |
|
|
186
191
|
|
|
187
192
|
**Advanced environment variables** (not exposed in interactive menu, pass via `--env`):
|
|
188
193
|
|
|
@@ -208,7 +213,7 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
208
213
|
```
|
|
209
214
|
With all options:
|
|
210
215
|
```bash
|
|
211
|
-
VERBOSE=1 ENABLE_CRITIC=true MAX_RETRIES=5 SESSION_TIMEOUT=3600 \
|
|
216
|
+
VERBOSE=1 ENABLE_CRITIC=true MAX_RETRIES=5 SESSION_TIMEOUT=3600 ENABLE_DEPLOY=1 \
|
|
212
217
|
dev-pipeline/run-feature.sh run .prizmkit/plans/feature-list.json --features F-001:F-005
|
|
213
218
|
```
|
|
214
219
|
|
|
@@ -219,7 +224,7 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
219
224
|
With all options:
|
|
220
225
|
```bash
|
|
221
226
|
dev-pipeline/launch-feature-daemon.sh start .prizmkit/plans/feature-list.json --features F-001:F-005 \
|
|
222
|
-
--env "VERBOSE=1 ENABLE_CRITIC=true MAX_RETRIES=5"
|
|
227
|
+
--env "VERBOSE=1 ENABLE_CRITIC=true MAX_RETRIES=5 ENABLE_DEPLOY=1"
|
|
223
228
|
```
|
|
224
229
|
|
|
225
230
|
**Manual mode**: Print the assembled command(s) and **stop here**. Do not execute anything. Do not proceed to step 8.
|
|
@@ -399,6 +404,7 @@ After pipeline completion, if features have `browser_interaction` fields and the
|
|
|
399
404
|
| `opencli` not installed | Browser verification skipped for opencli features (non-blocking). Install opencli for Chrome session-based browser verification |
|
|
400
405
|
| Permission denied on script | Run `chmod +x dev-pipeline/launch-feature-daemon.sh dev-pipeline/run-feature.sh` |
|
|
401
406
|
| Pipeline stop failed (process won't die) | Process may be stuck in I/O wait. Try `kill -9 <PID>` manually. Check for orphaned child processes with `ps aux \| grep claude` |
|
|
407
|
+
| Deploy session failed | Pipeline completed but deploy session exited non-zero. Check `.prizmkit/state/features/deploy/<session_id>/logs/session.log`. Retry manually: `/prizmkit-deploy`. |
|
|
402
408
|
| `.env.local` missing or incomplete | Warn: database connection variables not found. Suggest creating env file with required connection variables for the project's database |
|
|
403
409
|
| Database unreachable | Warn: database features will produce mock-only tests. Suggest checking database service status and connection credentials |
|
|
404
410
|
| Migrations not applied | Warn: tables or schema referenced in migration files not found in database. Suggest applying pending migrations |
|
|
@@ -17,7 +17,6 @@ description: "Pure git commit workflow with safety checks. Stages files, generat
|
|
|
17
17
|
| Uncommitted changes exist | `git status` shows modified/added/untracked files | Inform user "nothing to commit" and stop |
|
|
18
18
|
| `.prizm-docs/` synced (feature/refactor) | `/prizmkit-retrospective` has run | Run `/prizmkit-retrospective` first |
|
|
19
19
|
| Code review passed (pipeline mode) | `review-report.md` in artifact directory has `## Verdict: PASS` | Run `/prizmkit-code-review` first |
|
|
20
|
-
| `.prizmkit/deploy.md` updated (if applicable) | If `/prizmkit-deploy` ran, `.prizmkit/deploy.md` is staged | Run `/prizmkit-deploy` or skip if no infrastructure changes |
|
|
21
20
|
|
|
22
21
|
### Workflow
|
|
23
22
|
|