prizmkit 1.1.47 → 1.1.48
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/skills/_metadata.json +1 -1
- package/bundled/skills/bugfix-pipeline-launcher/SKILL.md +16 -9
- package/bundled/skills/feature-pipeline-launcher/SKILL.md +16 -11
- package/bundled/skills/feature-planner/SKILL.md +6 -5
- package/bundled/skills/feature-planner/references/browser-interaction.md +13 -1
- package/bundled/skills/refactor-pipeline-launcher/SKILL.md +16 -9
- package/package.json +1 -1
package/bundled/VERSION.json
CHANGED
|
@@ -112,23 +112,30 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
112
112
|
--action status 2>/dev/null
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
4. **Ask execution mode** (first user decision):
|
|
115
|
+
4. **Ask execution mode** (first user decision — SEPARATE `AskUserQuestion` call):
|
|
116
116
|
|
|
117
|
-
|
|
118
|
-
- **(1) Foreground** (recommended) — pipeline runs in the current session via `run-bugfix.sh run`. Visible output and direct error feedback.
|
|
119
|
-
- **(2) Background daemon** — pipeline runs fully detached via `launch-bugfix-daemon.sh`. Survives AI CLI session closure.
|
|
120
|
-
- **(3) Manual** — display the final assembled commands only. Do not execute anything. User runs them on their own.
|
|
117
|
+
⛔ **This MUST be its own standalone `AskUserQuestion` call.** Do NOT combine execution mode with step 5 config questions. The execution mode question is asked ALONE, user responds, THEN you proceed to step 5.
|
|
121
118
|
|
|
122
|
-
|
|
119
|
+
Use `AskUserQuestion` with exactly 1 question:
|
|
123
120
|
|
|
124
|
-
|
|
121
|
+
**Question 1 — Execution mode** (multiSelect: false):
|
|
122
|
+
- Foreground (Recommended) — pipeline runs in the current session via `run-bugfix.sh run`. Visible output and direct error feedback.
|
|
123
|
+
- Background daemon — pipeline runs fully detached via `launch-bugfix-daemon.sh`. Survives AI CLI session closure.
|
|
124
|
+
- Manual — display the final assembled commands only. Do not execute anything. User runs them on their own.
|
|
125
|
+
|
|
126
|
+
⚠️ STOP HERE and wait for user response before continuing to step 5.
|
|
127
|
+
|
|
128
|
+
5. **Ask configuration options** ⚠️ MANDATORY INTERACTIVE STEP — applies to ALL execution modes (Foreground, Background, AND Manual). This is a SEPARATE `AskUserQuestion` call from step 4. You MUST ask the user to configure options and WAIT for their response BEFORE proceeding to step 6.
|
|
129
|
+
|
|
130
|
+
⛔ **HARD STOP**: You MUST call `AskUserQuestion` with the 4 questions below and WAIT for the user's response. You MUST NOT:
|
|
131
|
+
- Combine step 4 and step 5 into one `AskUserQuestion` call (this is the most common violation — execution mode MUST be asked separately in step 4)
|
|
125
132
|
- Skip this step and jump to the next step
|
|
126
133
|
- Merge this step and the next step into one response
|
|
127
134
|
- Assume default values and show the command without asking
|
|
128
135
|
- Show the command as text and ask "ready?" without presenting the options
|
|
129
|
-
If you find yourself writing the final command before the user has answered these questions, STOP — you are violating this rule.
|
|
136
|
+
If you find yourself writing the final command before the user has answered these 4 questions, STOP — you are violating this rule.
|
|
130
137
|
|
|
131
|
-
Use `AskUserQuestion` to present
|
|
138
|
+
Use `AskUserQuestion` to present ALL 4 configuration choices (the full 4-question budget goes to config, NOT shared with execution mode):
|
|
132
139
|
|
|
133
140
|
**Question 1 — Verbose logging** (multiSelect: false):
|
|
134
141
|
- On (default) — Detailed AI session logs including tool calls and subagent activity
|
|
@@ -129,23 +129,30 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
129
129
|
|
|
130
130
|
If `global_context.database` is absent and no features mention database keywords, the script skips DB checks automatically.
|
|
131
131
|
|
|
132
|
-
5. **Ask execution mode** (first user decision):
|
|
132
|
+
5. **Ask execution mode** (first user decision — SEPARATE `AskUserQuestion` call):
|
|
133
133
|
|
|
134
|
-
|
|
135
|
-
- **(1) Foreground** (recommended) — pipeline runs in the current session via `run-feature.sh run`. Visible output and direct error feedback.
|
|
136
|
-
- **(2) Background daemon** — pipeline runs fully detached via `launch-feature-daemon.sh`. Survives AI CLI session closure.
|
|
137
|
-
- **(3) Manual** — display the final assembled commands only. Do not execute anything. User runs them on their own.
|
|
134
|
+
⛔ **This MUST be its own standalone `AskUserQuestion` call.** Do NOT combine execution mode with step 6 config questions. The execution mode question is asked ALONE, user responds, THEN you proceed to step 6.
|
|
138
135
|
|
|
139
|
-
|
|
136
|
+
Use `AskUserQuestion` with exactly 1 question:
|
|
137
|
+
|
|
138
|
+
**Question 1 — Execution mode** (multiSelect: false):
|
|
139
|
+
- Foreground (Recommended) — pipeline runs in the current session via `run-feature.sh run`. Visible output and direct error feedback.
|
|
140
|
+
- Background daemon — pipeline runs fully detached via `launch-feature-daemon.sh`. Survives AI CLI session closure.
|
|
141
|
+
- Manual — display the final assembled commands only. Do not execute anything. User runs them on their own.
|
|
142
|
+
|
|
143
|
+
⚠️ STOP HERE and wait for user response before continuing to step 6.
|
|
144
|
+
|
|
145
|
+
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.
|
|
140
146
|
|
|
141
147
|
⛔ **HARD STOP**: You MUST call `AskUserQuestion` with the 4 questions below and WAIT for the user's response. You MUST NOT:
|
|
148
|
+
- 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)
|
|
142
149
|
- Skip this step and jump to step 7
|
|
143
150
|
- Merge step 6 and step 7 into one response
|
|
144
151
|
- Assume default values and show the command without asking
|
|
145
152
|
- Show the command as text and ask "ready?" without presenting the options
|
|
146
|
-
If you find yourself writing the final command before the user has answered these questions, STOP — you are violating this rule.
|
|
153
|
+
If you find yourself writing the final command before the user has answered these 4 questions, STOP — you are violating this rule.
|
|
147
154
|
|
|
148
|
-
Use `AskUserQuestion` to present
|
|
155
|
+
Use `AskUserQuestion` to present ALL 4 configuration choices (the full 4-question budget goes to config, NOT shared with execution mode):
|
|
149
156
|
|
|
150
157
|
**Question 1 — Critic review** (multiSelect: false):
|
|
151
158
|
- Off (default) — Skip adversarial review
|
|
@@ -162,9 +169,7 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
162
169
|
|
|
163
170
|
**Question 4 — Advanced config?** (multiSelect: false):
|
|
164
171
|
- No (default) — Use defaults for session timeout and failure behavior
|
|
165
|
-
- Yes — Configure session timeout
|
|
166
|
-
|
|
167
|
-
Note: Due to the 4-question limit per `AskUserQuestion` call, Feature filter and Browser verify use their defaults (all features, auto-detect browser tools). If the user selects "Other" on any option, handle their custom input.
|
|
172
|
+
- Yes — Configure session timeout, stop-on-failure, and deploy-after-completion options
|
|
168
173
|
|
|
169
174
|
Default Critic to Off unless features have `estimated_complexity: "high"` or above (in which case default to On).
|
|
170
175
|
|
|
@@ -284,10 +284,11 @@ A feature is **exempt** when ANY true:
|
|
|
284
284
|
|
|
285
285
|
### Default Behavior (Phase 4.2)
|
|
286
286
|
|
|
287
|
-
1. **
|
|
288
|
-
2. **
|
|
289
|
-
3. **
|
|
290
|
-
4. **
|
|
287
|
+
1. **Ask user for browser tool preference (Mandatory)**: Before generating any `browser_interaction` fields, use `AskUserQuestion` to ask which browser verification tool to use as the project default. Read `${SKILL_DIR}/references/browser-interaction.md` §Browser Tool Selection for the exact question format and options (`auto`/`playwright-cli`/`opencli`). Do NOT skip this step or assume a default without asking.
|
|
288
|
+
2. **Auto-generate** `browser_interaction` for ALL qualifying features. Read `${SKILL_DIR}/references/browser-interaction.md` for the object format, field rules, and per-feature `tool` override logic.
|
|
289
|
+
3. **Tool assignment per feature**: Use the user's chosen default. Override to `"opencli"` when the feature involves OAuth/SSO callbacks, third-party dashboard verification, or requires real login state. Override to `"playwright-cli"` when the feature is purely local UI (forms, components, routing). If user chose `"auto"`, AI assigns per-feature based on these rules.
|
|
290
|
+
4. **Present a summary** to the user showing which features received `browser_interaction` (including the `tool` value for each).
|
|
291
|
+
5. **User can opt-OUT** specific features or override the `tool` choice.
|
|
291
292
|
|
|
292
293
|
## Output Rules
|
|
293
294
|
|
|
@@ -323,7 +324,7 @@ Set default testing-related fields for each feature. The user can opt out.
|
|
|
323
324
|
| medium | `true` | `1` | Single critic review |
|
|
324
325
|
| low | `false` | (omitted) | Skip critic |
|
|
325
326
|
|
|
326
|
-
For frontend features with `browser_interaction`, browser verification is enabled by default. The `tool` field
|
|
327
|
+
For frontend features with `browser_interaction`, browser verification is enabled by default. The `tool` field uses the user's choice from the mandatory browser tool question in Phase 4.2 (see §Browser Interaction Planning → Default Behavior).
|
|
327
328
|
|
|
328
329
|
Present a consolidated testing summary table at Phase 8, then ask for confirmation.
|
|
329
330
|
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
# Browser Interaction Planning
|
|
2
2
|
|
|
3
|
-
For web apps with UI, features that involve user-facing pages or interactive flows can optionally include a `browser_interaction` field. This enables the dev-pipeline to verify UI behavior automatically using `playwright-cli`
|
|
3
|
+
For web apps with UI, features that involve user-facing pages or interactive flows can optionally include a `browser_interaction` field. This enables the dev-pipeline to verify UI behavior automatically after implementation using the configured browser tool (`playwright-cli` or `opencli`).
|
|
4
|
+
|
|
5
|
+
## Browser Tool Selection (Mandatory — Ask User)
|
|
6
|
+
|
|
7
|
+
Before auto-generating `browser_interaction` for features, you MUST ask the user which browser tool to use as the project default via `AskUserQuestion`:
|
|
8
|
+
|
|
9
|
+
**Question**: "Which browser verification tool should this project use by default?"
|
|
10
|
+
- **Auto — AI chooses per feature (Recommended)** — `playwright-cli` for local UI, `opencli` for authenticated flows. AI decides per-feature at planning time.
|
|
11
|
+
- **playwright-cli** — isolated browser instance, no login state. Best for local dev server, forms, components.
|
|
12
|
+
- **opencli** — reuses Chrome's logged-in sessions via Browser Bridge. Best for OAuth, third-party dashboards, SSO.
|
|
13
|
+
|
|
14
|
+
Store the user's choice as the project-level default. Individual features can still override (see Tool Selection per Feature below).
|
|
4
15
|
|
|
5
16
|
## How to Capture
|
|
6
17
|
|
|
@@ -11,6 +22,7 @@ For each qualifying feature, generate the `browser_interaction` object:
|
|
|
11
22
|
```json
|
|
12
23
|
{
|
|
13
24
|
"browser_interaction": {
|
|
25
|
+
"tool": "auto",
|
|
14
26
|
"verify_steps": [
|
|
15
27
|
"Verify login form renders with email and password fields",
|
|
16
28
|
"Verify valid credentials redirect to dashboard",
|
|
@@ -130,23 +130,30 @@ Detect user intent from their message, then follow the corresponding workflow:
|
|
|
130
130
|
|
|
131
131
|
Wait for user confirmation before proceeding.
|
|
132
132
|
|
|
133
|
-
5. **Ask execution mode** (first user decision):
|
|
133
|
+
5. **Ask execution mode** (first user decision — SEPARATE `AskUserQuestion` call):
|
|
134
134
|
|
|
135
|
-
|
|
136
|
-
- **(1) Foreground** (recommended) — pipeline runs in the current session via `run-refactor.sh run`. Visible output and direct error feedback.
|
|
137
|
-
- **(2) Background daemon** — pipeline runs fully detached via `launch-refactor-daemon.sh`. Survives AI CLI session closure.
|
|
138
|
-
- **(3) Manual** — display the final assembled commands only. Do not execute anything. User runs them on their own.
|
|
135
|
+
⛔ **This MUST be its own standalone `AskUserQuestion` call.** Do NOT combine execution mode with step 6 config questions. The execution mode question is asked ALONE, user responds, THEN you proceed to step 6.
|
|
139
136
|
|
|
140
|
-
|
|
137
|
+
Use `AskUserQuestion` with exactly 1 question:
|
|
141
138
|
|
|
142
|
-
|
|
139
|
+
**Question 1 — Execution mode** (multiSelect: false):
|
|
140
|
+
- Foreground (Recommended) — pipeline runs in the current session via `run-refactor.sh run`. Visible output and direct error feedback.
|
|
141
|
+
- Background daemon — pipeline runs fully detached via `launch-refactor-daemon.sh`. Survives AI CLI session closure.
|
|
142
|
+
- Manual — display the final assembled commands only. Do not execute anything. User runs them on their own.
|
|
143
|
+
|
|
144
|
+
⚠️ STOP HERE and wait for user response before continuing to step 6.
|
|
145
|
+
|
|
146
|
+
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.
|
|
147
|
+
|
|
148
|
+
⛔ **HARD STOP**: You MUST call `AskUserQuestion` with the 4 questions below and WAIT for the user's response. You MUST NOT:
|
|
149
|
+
- 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)
|
|
143
150
|
- Skip this step and jump to step 7
|
|
144
151
|
- Merge step 6 and step 7 into one response
|
|
145
152
|
- Assume default values and show the command without asking
|
|
146
153
|
- Show the command as text and ask "ready?" without presenting the options
|
|
147
|
-
If you find yourself writing the final command before the user has answered these questions, STOP — you are violating this rule.
|
|
154
|
+
If you find yourself writing the final command before the user has answered these 4 questions, STOP — you are violating this rule.
|
|
148
155
|
|
|
149
|
-
Use `AskUserQuestion` to present
|
|
156
|
+
Use `AskUserQuestion` to present ALL 4 configuration choices (the full 4-question budget goes to config, NOT shared with execution mode):
|
|
150
157
|
|
|
151
158
|
**Question 1 — Verbose logging** (multiSelect: false):
|
|
152
159
|
- On (default) — Detailed AI session logs including tool calls and subagent activity
|