prizmkit 1.1.79 → 1.1.81
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/scripts/init-pipeline.py +2 -0
- package/bundled/dev-pipeline-windows/scripts/init-pipeline.py +2 -0
- package/bundled/skills/_metadata.json +1 -1
- package/bundled/skills/app-planner/SKILL.md +12 -356
- package/bundled/skills/app-planner/references/infrastructure-convention-discovery.md +108 -0
- package/bundled/skills/app-planner/references/project-conventions-discovery.md +59 -0
- package/bundled/skills/app-planner/references/project-state-detection.md +88 -0
- package/bundled/skills/app-planner/references/rules/backend/derivation-rules.md +10 -0
- package/bundled/skills/app-planner/references/rules/database/derivation-rules.md +9 -0
- package/bundled/skills/app-planner/references/rules/frontend/derivation-rules.md +10 -0
- package/bundled/skills/app-planner/references/rules/frontend/question-bank.md +17 -0
- package/bundled/skills/app-planner/references/rules/frontend/template.md +19 -0
- package/bundled/skills/app-planner/references/rules/mobile/derivation-rules.md +10 -0
- package/bundled/skills/app-planner/references/rules-configuration.md +46 -0
- package/bundled/skills/bug-fix-workflow/SKILL.md +18 -54
- package/bundled/skills/bug-fix-workflow/references/bug-diagnosis.md +41 -0
- package/bundled/skills/bug-planner/SKILL.md +20 -12
- package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +9 -108
- package/bundled/skills/bugfix-pipeline-launcher/references/configuration.md +98 -0
- package/bundled/skills/feature-pipeline-launcher/SKILL.md +20 -103
- package/bundled/skills/feature-pipeline-launcher/references/configuration.md +81 -0
- package/bundled/skills/feature-planner/SKILL.md +5 -9
- package/bundled/skills/feature-workflow/SKILL.md +27 -184
- package/bundled/skills/feature-workflow/references/brainstorm-guide.md +137 -0
- package/bundled/skills/prizm-kit/SKILL.md +14 -2
- package/bundled/skills/prizmkit-code-review/SKILL.md +67 -136
- package/bundled/skills/prizmkit-code-review/references/dev-agent-prompt.md +30 -0
- package/bundled/skills/prizmkit-code-review/references/review-report-template.md +31 -0
- package/bundled/skills/prizmkit-code-review/references/reviewer-agent-prompt.md +62 -0
- package/bundled/skills/prizmkit-code-review/scripts/check_loop.py +186 -0
- package/bundled/skills/prizmkit-committer/SKILL.md +8 -0
- package/bundled/skills/prizmkit-deploy/SKILL.md +49 -73
- package/bundled/skills/prizmkit-deploy/references/data-safety-examples.md +120 -0
- package/bundled/skills/prizmkit-deploy/references/ssh-bootstrap-flow.md +49 -0
- package/bundled/skills/prizmkit-deploy/references/ssh-execution-flow.md +41 -0
- package/bundled/skills/prizmkit-deploy/references/ssh-takeover.md +20 -0
- package/bundled/skills/prizmkit-implement/SKILL.md +7 -1
- package/bundled/skills/prizmkit-plan/SKILL.md +1 -83
- package/bundled/skills/prizmkit-plan/references/examples.md +85 -0
- package/bundled/skills/prizmkit-prizm-docs/SKILL.md +14 -0
- package/bundled/skills/prizmkit-retrospective/SKILL.md +1 -1
- package/bundled/skills/prizmkit-test/SKILL.md +3 -151
- package/bundled/skills/prizmkit-test/references/examples.md +70 -0
- package/bundled/skills/prizmkit-test/references/test-generation-steps.md +49 -0
- package/bundled/skills/prizmkit-test/references/test-report-template.md +42 -0
- package/bundled/skills/recovery-workflow/SKILL.md +24 -103
- package/bundled/skills/recovery-workflow/references/detection.md +58 -0
- package/bundled/skills/refactor-pipeline-launcher/SKILL.md +9 -96
- package/bundled/skills/refactor-pipeline-launcher/references/configuration.md +88 -0
- package/bundled/skills/refactor-planner/SKILL.md +15 -157
- package/bundled/skills/refactor-planner/references/fast-path.md +59 -0
- package/bundled/skills/refactor-planner/references/planning-phases.md +135 -0
- package/bundled/skills/refactor-workflow/SKILL.md +18 -178
- package/bundled/skills/refactor-workflow/references/brainstorm-guide.md +116 -0
- package/bundled/skills-windows/app-planner/SKILL.md +12 -358
- package/bundled/skills-windows/app-planner/references/infrastructure-convention-discovery.md +108 -0
- package/bundled/skills-windows/app-planner/references/project-conventions-discovery.md +59 -0
- package/bundled/skills-windows/app-planner/references/project-state-detection.md +90 -0
- package/bundled/skills-windows/app-planner/references/rules/backend/derivation-rules.md +10 -0
- package/bundled/skills-windows/app-planner/references/rules/database/derivation-rules.md +9 -0
- package/bundled/skills-windows/app-planner/references/rules/frontend/derivation-rules.md +10 -0
- package/bundled/skills-windows/app-planner/references/rules/frontend/question-bank.md +17 -0
- package/bundled/skills-windows/app-planner/references/rules/frontend/template.md +19 -0
- package/bundled/skills-windows/app-planner/references/rules/mobile/derivation-rules.md +10 -0
- package/bundled/skills-windows/app-planner/references/rules-configuration.md +46 -0
- package/bundled/skills-windows/bug-fix-workflow/SKILL.md +18 -54
- package/bundled/skills-windows/bug-fix-workflow/references/bug-diagnosis.md +41 -0
- package/bundled/skills-windows/bug-planner/SKILL.md +20 -12
- package/bundled/skills-windows/bugfix-pipeline-launcher/SKILL.md +6 -91
- package/bundled/skills-windows/bugfix-pipeline-launcher/references/configuration.md +94 -0
- package/bundled/skills-windows/feature-pipeline-launcher/SKILL.md +19 -88
- package/bundled/skills-windows/feature-pipeline-launcher/references/configuration.md +77 -0
- package/bundled/skills-windows/feature-planner/SKILL.md +5 -9
- package/bundled/skills-windows/feature-workflow/SKILL.md +27 -184
- package/bundled/skills-windows/feature-workflow/references/brainstorm-guide.md +137 -0
- package/bundled/skills-windows/prizm-kit/SKILL.md +14 -2
- package/bundled/skills-windows/prizmkit-code-review/SKILL.md +67 -136
- package/bundled/skills-windows/prizmkit-code-review/references/dev-agent-prompt.md +30 -0
- package/bundled/skills-windows/prizmkit-code-review/references/review-report-template.md +31 -0
- package/bundled/skills-windows/prizmkit-code-review/references/reviewer-agent-prompt.md +62 -0
- package/bundled/skills-windows/prizmkit-code-review/scripts/check_loop.py +186 -0
- package/bundled/skills-windows/prizmkit-committer/SKILL.md +8 -0
- package/bundled/skills-windows/prizmkit-deploy/SKILL.md +50 -74
- package/bundled/skills-windows/prizmkit-deploy/references/data-safety-examples.md +120 -0
- package/bundled/skills-windows/prizmkit-deploy/references/direct-upload.md +3 -3
- package/bundled/skills-windows/prizmkit-deploy/references/ssh-bootstrap-flow.md +49 -0
- package/bundled/skills-windows/prizmkit-deploy/references/ssh-execution-flow.md +41 -0
- package/bundled/skills-windows/prizmkit-deploy/references/ssh-takeover.md +20 -0
- package/bundled/skills-windows/prizmkit-deploy/references/ssl-setup.md +2 -2
- package/bundled/skills-windows/prizmkit-implement/SKILL.md +7 -1
- package/bundled/skills-windows/prizmkit-plan/SKILL.md +1 -83
- package/bundled/skills-windows/prizmkit-plan/references/examples.md +85 -0
- package/bundled/skills-windows/prizmkit-prizm-docs/SKILL.md +14 -0
- package/bundled/skills-windows/prizmkit-retrospective/SKILL.md +1 -1
- package/bundled/skills-windows/prizmkit-retrospective/references/structural-sync-steps.md +1 -1
- package/bundled/skills-windows/prizmkit-test/SKILL.md +3 -151
- package/bundled/skills-windows/prizmkit-test/references/examples.md +70 -0
- package/bundled/skills-windows/prizmkit-test/references/test-generation-steps.md +49 -0
- package/bundled/skills-windows/prizmkit-test/references/test-report-template.md +42 -0
- package/bundled/skills-windows/recovery-workflow/SKILL.md +24 -125
- package/bundled/skills-windows/recovery-workflow/references/detection.md +58 -0
- package/bundled/skills-windows/refactor-pipeline-launcher/SKILL.md +8 -77
- package/bundled/skills-windows/refactor-pipeline-launcher/references/configuration.md +82 -0
- package/bundled/skills-windows/refactor-planner/SKILL.md +15 -157
- package/bundled/skills-windows/refactor-planner/references/fast-path.md +59 -0
- package/bundled/skills-windows/refactor-planner/references/planning-phases.md +135 -0
- package/bundled/skills-windows/refactor-workflow/SKILL.md +18 -178
- package/bundled/skills-windows/refactor-workflow/references/brainstorm-guide.md +116 -0
- package/package.json +1 -1
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# Configuration Reference — Bugfix Pipeline Launcher (Windows)
|
|
2
|
+
|
|
3
|
+
Environment variable mappings for the bugfix launcher.
|
|
4
|
+
|
|
5
|
+
## Environment Variable Mapping
|
|
6
|
+
|
|
7
|
+
Translating user responses to env vars:
|
|
8
|
+
|
|
9
|
+
| Config choice | Environment variable |
|
|
10
|
+
|-----------|---------------------|
|
|
11
|
+
| Verbose: Off | `VERBOSE=0` |
|
|
12
|
+
| Verbose: On | `VERBOSE=1` |
|
|
13
|
+
| Max retries: N | `MAX_RETRIES=N` |
|
|
14
|
+
| Critic: On | `ENABLE_CRITIC=1` |
|
|
15
|
+
| Timeout: value | `SESSION_TIMEOUT=<seconds>` |
|
|
16
|
+
| Stop on failure: On | `STOP_ON_FAILURE=1` |
|
|
17
|
+
| Deploy: Yes | `ENABLE_DEPLOY=1` |
|
|
18
|
+
| Effort: value | `PRIZMKIT_EFFORT=<value>` |
|
|
19
|
+
|
|
20
|
+
## Advanced Environment Variables
|
|
21
|
+
|
|
22
|
+
Not exposed in interactive menu, pass via `--env`:
|
|
23
|
+
|
|
24
|
+
| Variable | Default | Purpose |
|
|
25
|
+
|----------|---------|---------|
|
|
26
|
+
| `MODEL` | (none) | AI model override (e.g. `claude-opus-4.6`) |
|
|
27
|
+
| `AUTO_PUSH` | `0` | Auto-push to remote after successful bug fix (`1` to enable) |
|
|
28
|
+
| `DEV_BRANCH` | auto-generated | Custom dev branch name (default: `bugfix/pipeline-{run_id}`) |
|
|
29
|
+
| `HEARTBEAT_INTERVAL` | `30` | Heartbeat log interval in seconds |
|
|
30
|
+
| `HEARTBEAT_STALE_THRESHOLD` | `600` | Max seconds without heartbeat before marking stale |
|
|
31
|
+
| `LOG_CLEANUP_ENABLED` | `1` | Run periodic log cleanup (`0` to disable) |
|
|
32
|
+
| `LOG_RETENTION_DAYS` | `14` | Delete logs older than N days |
|
|
33
|
+
| `LOG_MAX_TOTAL_MB` | `1024` | Keep total logs under N MB via oldest-first cleanup |
|
|
34
|
+
|
|
35
|
+
## Interactive Configuration Options
|
|
36
|
+
|
|
37
|
+
Present these via `AskUserQuestion` in step 5. Round 1 is one `AskUserQuestion` call with all 4 questions; round 2 only runs if the user picks "Yes" to Advanced config.
|
|
38
|
+
|
|
39
|
+
### Round 1 (always asked)
|
|
40
|
+
|
|
41
|
+
**Question 1 — Verbose logging** (multiSelect: false):
|
|
42
|
+
- On (default) — Detailed AI session logs including tool calls and subagent activity
|
|
43
|
+
- Off — Minimal logging
|
|
44
|
+
|
|
45
|
+
**Question 2 — Max retries** (multiSelect: false):
|
|
46
|
+
- 3 (default)
|
|
47
|
+
- 1
|
|
48
|
+
- 5
|
|
49
|
+
|
|
50
|
+
**Question 3 — Critic review** (multiSelect: false):
|
|
51
|
+
- Off (default) — Skip adversarial review (`ENABLE_CRITIC=0`)
|
|
52
|
+
- On — Enable adversarial critic review (`ENABLE_CRITIC=1`): an independent AI agent reviews the diagnosis/plan for completeness and the fix for defects, edge cases, and regression risks. Adds ~5-10 min per bug.
|
|
53
|
+
|
|
54
|
+
**Question 4 — Advanced config?** (multiSelect: false):
|
|
55
|
+
- No (default) — Use defaults for session timeout and failure behavior
|
|
56
|
+
- Yes — Configure session timeout, stop-on-failure, and reasoning effort options
|
|
57
|
+
|
|
58
|
+
Note: Bug filter defaults to all bugs (by severity order). Default Critic to Off unless bugs have `severity: "critical"` or `severity: "high"` (in which case default to On). If the user selects "Other" on any option, handle their custom input.
|
|
59
|
+
|
|
60
|
+
### Round 2 (only if Advanced config = Yes)
|
|
61
|
+
|
|
62
|
+
**Question 1 — Session timeout** (multiSelect: false):
|
|
63
|
+
- None (default) — No timeout
|
|
64
|
+
- 30 min — `SESSION_TIMEOUT=1800`
|
|
65
|
+
- 1 hour — `SESSION_TIMEOUT=3600`
|
|
66
|
+
- 2 hours — `SESSION_TIMEOUT=7200`
|
|
67
|
+
|
|
68
|
+
**Question 2 — Stop on failure** (multiSelect: false):
|
|
69
|
+
- Off (default) — Pipeline continues to next task after failure
|
|
70
|
+
- On — Pipeline halts immediately when a task exhausts all retries (`STOP_ON_FAILURE=1`)
|
|
71
|
+
|
|
72
|
+
**Question 3 — Reasoning effort** (multiSelect: false):
|
|
73
|
+
- Default (none) — Use CLI default
|
|
74
|
+
- low — Minimize reasoning, fastest output (`PRIZMKIT_EFFORT=low`)
|
|
75
|
+
- medium — Moderate reasoning (`PRIZMKIT_EFFORT=medium`)
|
|
76
|
+
- high — Thorough reasoning for complex tasks (`PRIZMKIT_EFFORT=high`)
|
|
77
|
+
- xhigh — Extensive reasoning (`PRIZMKIT_EFFORT=xhigh`)
|
|
78
|
+
- max — Maximum reasoning, Claude Code only (`PRIZMKIT_EFFORT=max`)
|
|
79
|
+
|
|
80
|
+
## Error Handling
|
|
81
|
+
|
|
82
|
+
| Error | Action |
|
|
83
|
+
|-------|--------|
|
|
84
|
+
| `.prizmkit/plans/bug-fix-list.json` not found | Tell user to run `bug-planner` skill first |
|
|
85
|
+
| JSON parsing failed | Use the bundled Python validation/status scripts instead of external JSON tools |
|
|
86
|
+
| AI CLI not in PATH | Check Codex (`codex`), Claude (`claude`), or CodeBuddy (`cbc`) installation |
|
|
87
|
+
| Bugfix pipeline already running | Show status, ask if user wants to stop and restart |
|
|
88
|
+
| PID file stale (process dead) | `launch-bugfix-daemon.ps1` auto-cleans, retry start |
|
|
89
|
+
| Launch failed (process died immediately) | Show last 20 lines of log: `Get-Content -Tail 20 .prizmkit/state/daemon/bugfix-daemon.log` |
|
|
90
|
+
| All bugs blocked/failed/needs-info | Show status, suggest retrying or providing more info |
|
|
91
|
+
| `playwright-cli` not installed | Browser verification skipped for playwright bugs (non-blocking). Suggest: `npm install -g @playwright/cli@latest; playwright-cli install --skills` |
|
|
92
|
+
| `opencli` not installed | Browser verification skipped for opencli bugs (non-blocking). Install opencli for Chrome session-based browser verification |
|
|
93
|
+
| 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`. |
|
|
94
|
+
| PowerShell execution policy blocks script | Run `Set-ExecutionPolicy -Scope Process Bypass` for the current terminal |
|
|
@@ -7,37 +7,27 @@ description: "Launch and manage the dev-pipeline from within an AI CLI session.
|
|
|
7
7
|
|
|
8
8
|
Launch the autonomous development pipeline from within an AI CLI conversation. The pipeline runs as a fully detached background process -- closing the AI CLI session does NOT stop the pipeline.
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Three execution modes are available. The user chooses one before configuring other options:
|
|
13
|
-
|
|
14
|
-
1. **Foreground** (recommended) — `.\.prizmkit\dev-pipeline\run-feature.ps1 run`. Visible output, direct error feedback, no orphaned processes.
|
|
15
|
-
2. **Background daemon** — `.\.prizmkit\dev-pipeline\launch-feature-daemon.ps1`. Runs fully detached, survives AI CLI session closure.
|
|
16
|
-
3. **Manual** — Display the assembled command(s) only. Do not execute anything. User runs them on their own.
|
|
10
|
+
Three execution modes are available (Foreground / Background daemon / Manual); they are defined authoritatively in **Intent A, step 5** below.
|
|
17
11
|
|
|
18
12
|
### When to Use
|
|
19
13
|
|
|
20
14
|
**Start pipeline** -- User says:
|
|
21
|
-
- "run pipeline", "
|
|
22
|
-
- "
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
- "run only F-001 to F-005", "run features F-001,F-003", "only build these features"
|
|
15
|
+
- "run feature pipeline", "run pipeline", "start building features", "launch feature pipeline"
|
|
16
|
+
- "start implementing", "execute feature list", "build all features"
|
|
17
|
+
- After feature-planner completes: "build them", "start building from the list"
|
|
18
|
+
- Supports running a feature subset (e.g. "run only F-001 to F-005", "run features F-001,F-003").
|
|
26
19
|
|
|
27
20
|
**Check status** -- User says:
|
|
28
|
-
- "pipeline status", "check pipeline", "how's
|
|
29
|
-
- "check progress", "what's the current situation"
|
|
21
|
+
- "pipeline status", "feature progress", "check the pipeline", "how's the build going"
|
|
30
22
|
|
|
31
23
|
**Stop pipeline** -- User says:
|
|
32
|
-
- "stop pipeline", "
|
|
33
|
-
- "stop the pipeline", "pause the pipeline"
|
|
24
|
+
- "stop pipeline", "stop the pipeline", "halt pipeline", "pause the build"
|
|
34
25
|
|
|
35
26
|
**Show logs** -- User says:
|
|
36
|
-
- "
|
|
37
|
-
- "view logs", "check the logs"
|
|
27
|
+
- "pipeline logs", "show pipeline logs", "what's building"
|
|
38
28
|
|
|
39
|
-
**Retry single feature
|
|
40
|
-
- "retry F-
|
|
29
|
+
**Retry single feature** -- User says:
|
|
30
|
+
- "retry F-001", "re-run F-001", "retry this feature"
|
|
41
31
|
|
|
42
32
|
**Do NOT use this skill when:**
|
|
43
33
|
- User wants to plan features (use `feature-planner` instead)
|
|
@@ -155,9 +145,9 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
155
145
|
|
|
156
146
|
If `global_context.database` is absent and no features mention database keywords, the script skips DB checks automatically.
|
|
157
147
|
|
|
158
|
-
5. **Ask execution mode** (first user decision
|
|
148
|
+
5. **Ask execution mode** (first user decision):
|
|
159
149
|
|
|
160
|
-
|
|
150
|
+
**RULE: Ask step 5 and step 6 in separate `AskUserQuestion` calls.** Combining them makes the model merge the questions and skip the mode selection. Ask execution mode ALONE here, wait for the response, THEN proceed to step 6.
|
|
161
151
|
|
|
162
152
|
Use `AskUserQuestion` with exactly 1 question:
|
|
163
153
|
|
|
@@ -166,19 +156,11 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
166
156
|
- Background daemon — pipeline runs fully detached via `launch-feature-daemon.ps1`. Survives AI CLI session closure.
|
|
167
157
|
- Manual — display the final assembled commands only. Do not execute anything. User runs them on their own.
|
|
168
158
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
6. **Ask configuration options** ⚠️ MANDATORY INTERACTIVE STEP — applies to ALL execution modes (Foreground, Background, AND Manual). This is a SEPARATE `AskUserQuestion` call from step 5. You MUST ask the user to configure options and WAIT for their response BEFORE proceeding to step 7.
|
|
159
|
+
STOP HERE and wait for user response before continuing to step 6.
|
|
172
160
|
|
|
173
|
-
|
|
174
|
-
- Combine step 5 and step 6 into one `AskUserQuestion` call (this is the most common violation — execution mode MUST be asked separately in step 5)
|
|
175
|
-
- Skip this step and jump to step 7
|
|
176
|
-
- Merge step 6 and step 7 into one response
|
|
177
|
-
- Assume default values and show the command without asking
|
|
178
|
-
- Show the command as text and ask "ready?" without presenting the options
|
|
179
|
-
If you find yourself writing the final command before the user has answered these 4 questions, STOP — you are violating this rule.
|
|
161
|
+
6. **Ask configuration options** — MANDATORY INTERACTIVE STEP, applies to ALL execution modes (Foreground, Background, AND Manual). This is a SEPARATE `AskUserQuestion` call from step 5 (see the RULE above). You MUST call `AskUserQuestion` with the 4 questions below and WAIT for the user's response before proceeding to step 7. Do NOT assume defaults, do NOT show the command as text and ask "ready?", and do NOT merge step 6 and step 7. If you find yourself writing the final command before the user has answered these 4 questions, STOP — you are violating this rule.
|
|
180
162
|
|
|
181
|
-
Use `AskUserQuestion` to present ALL 4 configuration choices
|
|
163
|
+
Use `AskUserQuestion` to present ALL 4 configuration choices:
|
|
182
164
|
|
|
183
165
|
**Question 1 — Critic review** (multiSelect: false):
|
|
184
166
|
- Off (default) — Skip adversarial review
|
|
@@ -199,46 +181,11 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
199
181
|
|
|
200
182
|
Default Critic to Off unless features have `estimated_complexity: "high"` or above (in which case default to On).
|
|
201
183
|
|
|
202
|
-
**If user chose "Yes" to Advanced config**, ask a second round of `AskUserQuestion
|
|
203
|
-
|
|
204
|
-
**Question 1 — Session timeout** (multiSelect: false):
|
|
205
|
-
- None (default) — No timeout
|
|
206
|
-
- 30 min — `SESSION_TIMEOUT=1800`
|
|
207
|
-
- 1 hour — `SESSION_TIMEOUT=3600`
|
|
208
|
-
- 2 hours — `SESSION_TIMEOUT=7200`
|
|
209
|
-
|
|
210
|
-
**Question 2 — Stop on failure** (multiSelect: false):
|
|
211
|
-
- Off (default) — Pipeline continues to next task after failure
|
|
212
|
-
- On — Pipeline halts immediately when a task exhausts all retries (`STOP_ON_FAILURE=1`)
|
|
213
|
-
|
|
214
|
-
**Question 3 — Reasoning effort** (multiSelect: false):
|
|
215
|
-
- Default (none) — Use CLI default
|
|
216
|
-
- low — Minimize reasoning, fastest output (`PRIZMKIT_EFFORT=low`)
|
|
217
|
-
- medium — Moderate reasoning (`PRIZMKIT_EFFORT=medium`)
|
|
218
|
-
- high — Thorough reasoning for complex tasks (`PRIZMKIT_EFFORT=high`)
|
|
219
|
-
- xhigh — Extensive reasoning (`PRIZMKIT_EFFORT=xhigh`)
|
|
220
|
-
- max — Maximum reasoning, Claude Code only (`PRIZMKIT_EFFORT=max`)
|
|
221
|
-
|
|
222
|
-
**Environment variable mapping** (for translating user responses → env vars):
|
|
223
|
-
|
|
224
|
-
| Config choice | Environment variable |
|
|
225
|
-
|-----------|---------------------|
|
|
226
|
-
| Critic: On | `ENABLE_CRITIC=true` |
|
|
227
|
-
| Verbose: Off | `VERBOSE=0` |
|
|
228
|
-
| Verbose: On | `VERBOSE=1` |
|
|
229
|
-
| Max retries: N | `MAX_RETRIES=N` |
|
|
230
|
-
| Timeout: value | `SESSION_TIMEOUT=<seconds>` |
|
|
231
|
-
| Stop on failure: On | `STOP_ON_FAILURE=1` |
|
|
232
|
-
| Effort: value | `PRIZMKIT_EFFORT=<value>` |
|
|
233
|
-
|
|
234
|
-
**Advanced environment variables** (not exposed in interactive menu, pass via `--env`):
|
|
184
|
+
**If user chose "Yes" to Advanced config**, ask a second round of `AskUserQuestion` — see the advanced config questions (session timeout, stop-on-failure, reasoning effort) in `${SKILL_DIR}/references/configuration.md`.
|
|
235
185
|
|
|
236
|
-
|
|
237
|
-
|----------|---------|---------|
|
|
238
|
-
| `MODEL` | (none) | AI model override (e.g. `claude-opus-4.6`) |
|
|
239
|
-
| `PIPELINE_MODE` | (none) | Override mode for all features: `lite`\|`standard`\|`full` |
|
|
186
|
+
**Environment variable mapping** and **advanced environment variables** tables — read `${SKILL_DIR}/references/configuration.md` for the full translation tables (8 config→env mappings + 9 advanced variables).
|
|
240
187
|
|
|
241
|
-
|
|
188
|
+
STOP HERE and wait for user response before continuing to step 7.
|
|
242
189
|
|
|
243
190
|
7. **Show final command**: After user confirms configuration in step 6, assemble the complete command from execution mode + user-confirmed configuration, and present it to the user.
|
|
244
191
|
|
|
@@ -422,23 +369,7 @@ After pipeline completion, if features have `browser_interaction` fields and the
|
|
|
422
369
|
|
|
423
370
|
### Error Handling
|
|
424
371
|
|
|
425
|
-
|
|
426
|
-
|-------|--------|
|
|
427
|
-
| `.prizmkit/plans/feature-list.json` not found | Tell user to run `feature-planner` skill first |
|
|
428
|
-
| JSON parsing failed | Use the bundled Python validation/status scripts instead of external JSON tools |
|
|
429
|
-
| AI CLI not in PATH | Check Codex (`codex`), Claude (`claude`), or CodeBuddy (`cbc`) installation |
|
|
430
|
-
| Pipeline already running | Show status, ask if user wants to stop and restart |
|
|
431
|
-
| PID file stale (process dead) | `launch-feature-daemon.ps1` auto-cleans, retry start |
|
|
432
|
-
| Launch failed (process died immediately) | Show last 20 lines of log: `Get-Content -Tail 20 .prizmkit/state/daemon/feature-daemon.log` |
|
|
433
|
-
| Feature stuck/blocked | Use `reset-feature.ps1 <F-XXX> --clean --run` for a fresh retry |
|
|
434
|
-
| All features blocked/failed | Show status, suggest daemon-safe recovery: `.\.prizmkit\dev-pipeline\reset-feature.ps1 <F-XXX> --clean --run .prizmkit/plans/feature-list.json` |
|
|
435
|
-
| `playwright-cli` not installed | Browser verification skipped for playwright features (non-blocking). Suggest: `npm install -g @playwright/cli@latest; playwright-cli install --skills` |
|
|
436
|
-
| `opencli` not installed | Browser verification skipped for opencli features (non-blocking). Install opencli for Chrome session-based browser verification |
|
|
437
|
-
| PowerShell execution policy blocks script | Run `Set-ExecutionPolicy -Scope Process Bypass` for the current terminal |
|
|
438
|
-
| Pipeline stop failed | Use `Stop-Process -Id <PID> -Force`; inspect AI CLI processes with `Get-Process | Select-String codex` |
|
|
439
|
-
| `.env.local` missing or incomplete | Warn: database connection variables not found. Suggest creating env file with required connection variables for the project's database |
|
|
440
|
-
| Database unreachable | Warn: database features will produce mock-only tests. Suggest checking database service status and connection credentials |
|
|
441
|
-
| Migrations not applied | Warn: tables or schema referenced in migration files not found in database. Suggest applying pending migrations |
|
|
372
|
+
Read `${SKILL_DIR}/references/configuration.md` for the full error handling table (16 entries covering feature-list not found, dependency checks, pipeline state, browser tooling, permission, and deploy failures).
|
|
442
373
|
|
|
443
374
|
### Integration Notes
|
|
444
375
|
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Configuration Reference — Feature Pipeline Launcher (Windows)
|
|
2
|
+
|
|
3
|
+
Environment variable mappings for the feature launcher.
|
|
4
|
+
|
|
5
|
+
## Advanced Config Questions (second AskUserQuestion round)
|
|
6
|
+
|
|
7
|
+
Asked only when the user chose "Yes" to Advanced config in step 6.
|
|
8
|
+
|
|
9
|
+
**Question 1 — Session timeout** (multiSelect: false):
|
|
10
|
+
- None (default) — No timeout
|
|
11
|
+
- 30 min — `SESSION_TIMEOUT=1800`
|
|
12
|
+
- 1 hour — `SESSION_TIMEOUT=3600`
|
|
13
|
+
- 2 hours — `SESSION_TIMEOUT=7200`
|
|
14
|
+
|
|
15
|
+
**Question 2 — Stop on failure** (multiSelect: false):
|
|
16
|
+
- Off (default) — Pipeline continues to next task after failure
|
|
17
|
+
- On — Pipeline halts immediately when a task exhausts all retries (`STOP_ON_FAILURE=1`)
|
|
18
|
+
|
|
19
|
+
**Question 3 — Reasoning effort** (multiSelect: false):
|
|
20
|
+
- Default (none) — Use CLI default
|
|
21
|
+
- low — Minimize reasoning, fastest output (`PRIZMKIT_EFFORT=low`)
|
|
22
|
+
- medium — Moderate reasoning (`PRIZMKIT_EFFORT=medium`)
|
|
23
|
+
- high — Thorough reasoning for complex tasks (`PRIZMKIT_EFFORT=high`)
|
|
24
|
+
- xhigh — Extensive reasoning (`PRIZMKIT_EFFORT=xhigh`)
|
|
25
|
+
- max — Maximum reasoning, Claude Code only (`PRIZMKIT_EFFORT=max`)
|
|
26
|
+
|
|
27
|
+
## Environment Variable Mapping
|
|
28
|
+
|
|
29
|
+
Translating user responses to env vars:
|
|
30
|
+
|
|
31
|
+
| Config choice | Environment variable |
|
|
32
|
+
|-----------|---------------------|
|
|
33
|
+
| Critic: On | `ENABLE_CRITIC=true` |
|
|
34
|
+
| Verbose: Off | `VERBOSE=0` |
|
|
35
|
+
| Verbose: On | `VERBOSE=1` |
|
|
36
|
+
| Max retries: N | `MAX_RETRIES=N` |
|
|
37
|
+
| Timeout: value | `SESSION_TIMEOUT=<seconds>` |
|
|
38
|
+
| Stop on failure: On | `STOP_ON_FAILURE=1` |
|
|
39
|
+
| Deploy: Yes | `ENABLE_DEPLOY=1` |
|
|
40
|
+
| Effort: value | `PRIZMKIT_EFFORT=<value>` |
|
|
41
|
+
|
|
42
|
+
## Advanced Environment Variables
|
|
43
|
+
|
|
44
|
+
Not exposed in interactive menu, pass via `--env`:
|
|
45
|
+
|
|
46
|
+
| Variable | Default | Purpose |
|
|
47
|
+
|----------|---------|---------|
|
|
48
|
+
| `MODEL` | (none) | AI model override (e.g. `claude-opus-4.6`) |
|
|
49
|
+
| `AUTO_PUSH` | `0` | Auto-push to remote after successful feature (`1` to enable) |
|
|
50
|
+
| `DEV_BRANCH` | auto-generated | Custom dev branch name (default: `dev/{feature_id}-YYYYMMDDHHmm`) |
|
|
51
|
+
| `HEARTBEAT_INTERVAL` | `30` | Heartbeat log interval in seconds |
|
|
52
|
+
| `HEARTBEAT_STALE_THRESHOLD` | `600` | Max seconds without heartbeat before marking stale |
|
|
53
|
+
| `PIPELINE_MODE` | (none) | Override mode for all features: `lite`\|`standard`\|`full` |
|
|
54
|
+
| `LOG_CLEANUP_ENABLED` | `1` | Run periodic log cleanup (`0` to disable) |
|
|
55
|
+
| `LOG_RETENTION_DAYS` | `14` | Delete logs older than N days |
|
|
56
|
+
| `LOG_MAX_TOTAL_MB` | `1024` | Keep total logs under N MB via oldest-first cleanup |
|
|
57
|
+
|
|
58
|
+
## Error Handling
|
|
59
|
+
|
|
60
|
+
| Error | Action |
|
|
61
|
+
|-------|--------|
|
|
62
|
+
| `.prizmkit/plans/feature-list.json` not found | Tell user to run `feature-planner` skill first |
|
|
63
|
+
| JSON parsing failed | Use the bundled Python validation/status scripts instead of external JSON tools |
|
|
64
|
+
| AI CLI not in PATH | Check Codex (`codex`), Claude (`claude`), or CodeBuddy (`cbc`) installation |
|
|
65
|
+
| Pipeline already running | Show status, ask if user wants to stop and restart |
|
|
66
|
+
| PID file stale (process dead) | `launch-feature-daemon.ps1` auto-cleans, retry start |
|
|
67
|
+
| Launch failed (process died immediately) | Show last 20 lines of log: `Get-Content -Tail 20 .prizmkit/state/daemon/feature-daemon.log` |
|
|
68
|
+
| Feature stuck/blocked | Use `reset-feature.ps1 <F-XXX> --clean --run` for a fresh retry |
|
|
69
|
+
| All features blocked/failed | Show status, suggest daemon-safe recovery: `.\.prizmkit\dev-pipeline\reset-feature.ps1 <F-XXX> --clean --run .prizmkit/plans/feature-list.json` |
|
|
70
|
+
| `playwright-cli` not installed | Browser verification skipped for playwright features (non-blocking). Suggest: `npm install -g @playwright/cli@latest; playwright-cli install --skills` |
|
|
71
|
+
| `opencli` not installed | Browser verification skipped for opencli features (non-blocking). Install opencli for Chrome session-based browser verification |
|
|
72
|
+
| PowerShell execution policy blocks script | Run `Set-ExecutionPolicy -Scope Process Bypass` for the current terminal |
|
|
73
|
+
| Pipeline stop failed | Use `Stop-Process -Id <PID> -Force`; inspect AI CLI processes with `Get-Process \| Select-String codex` |
|
|
74
|
+
| 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`. |
|
|
75
|
+
| `.env.local` missing or incomplete | Warn: database connection variables not found. Suggest creating env file with required connection variables for the project's database |
|
|
76
|
+
| Database unreachable | Warn: database features will produce mock-only tests. Suggest checking database service status and connection credentials |
|
|
77
|
+
| Migrations not applied | Warn: tables or schema referenced in migration files not found in database. Suggest applying pending migrations |
|
|
@@ -60,13 +60,7 @@ When the user provides detailed specifications, rules, or implementation require
|
|
|
60
60
|
|
|
61
61
|
## When to Use
|
|
62
62
|
|
|
63
|
-
Trigger this skill
|
|
64
|
-
- "Add features to existing system", "Continue planning"
|
|
65
|
-
- "Prepare .prizmkit/plans/feature-list.json", "Prepare dev-pipeline input"
|
|
66
|
-
- "Reprioritize features", "Split features"
|
|
67
|
-
- "Plan features for my project" (when the project already exists)
|
|
68
|
-
|
|
69
|
-
Do NOT use this skill when:
|
|
63
|
+
Trigger conditions are covered by the frontmatter `description`. Do NOT use this skill when:
|
|
70
64
|
- The user wants to plan a new app from scratch → use `app-planner`
|
|
71
65
|
- The user only wants to run the pipeline → use `feature-pipeline-launcher`
|
|
72
66
|
- The user is debugging/refactoring or wants to write source code directly
|
|
@@ -115,7 +109,7 @@ Do NOT use this skill when:
|
|
|
115
109
|
If the script is not available, perform these manual validation checks:
|
|
116
110
|
1. **ID sequence**: All feature IDs are sequential (F-001, F-002, F-003, ...)
|
|
117
111
|
2. **No circular dependencies**: No feature depends (directly or transitively) on itself
|
|
118
|
-
3. **Description length**: Minimum 15 words per description (error)
|
|
112
|
+
3. **Description length**: Minimum 15 words per description (error); see §Output Rules for the recommended-length warning thresholds
|
|
119
113
|
4. **Dependency references**: All referenced features in dependencies exist in features array
|
|
120
114
|
5. **Priority enums**: All priority values are exactly "critical", "high", "medium", or "low" (case-sensitive)
|
|
121
115
|
6. **Status enum**: All status values are one of: pending, in_progress, completed, failed, skipped, split, auto_skipped
|
|
@@ -362,7 +356,7 @@ Present a consolidated testing summary table at Phase 8, then ask for confirmati
|
|
|
362
356
|
|
|
363
357
|
## Next-Step Execution Policy (after planning)
|
|
364
358
|
|
|
365
|
-
Recommend invoking `feature-pipeline-launcher` to configure and launch the dev-pipeline. Do NOT recommend running shell scripts directly — that is the launcher's responsibility.
|
|
359
|
+
Recommend invoking `feature-pipeline-launcher` to configure and launch the dev-pipeline. Do NOT recommend running shell scripts directly — that is the launcher's responsibility. Follow the post-planning handoff in §Scope Boundary (never auto-execute).
|
|
366
360
|
|
|
367
361
|
## Error Recovery & Resume
|
|
368
362
|
|
|
@@ -399,3 +393,5 @@ After successful validation, report:
|
|
|
399
393
|
2. Total features + newly added features
|
|
400
394
|
3. Dependency and priority highlights
|
|
401
395
|
4. Recommended next action: `feature-pipeline-launcher`
|
|
396
|
+
|
|
397
|
+
Then apply the post-planning handoff in §Scope Boundary (ask before proceeding; never auto-execute).
|