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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "frameworkVersion": "1.1.47",
3
- "bundledAt": "2026-05-21T00:55:32.225Z",
4
- "bundledFrom": "59d8ec1"
2
+ "frameworkVersion": "1.1.48",
3
+ "bundledAt": "2026-05-21T01:37:14.355Z",
4
+ "bundledFrom": "a20d996"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.1.47",
2
+ "version": "1.1.48",
3
3
  "skills": {
4
4
  "prizm-kit": {
5
5
  "description": "Full-lifecycle dev toolkit. Covers spec-driven development, Prizm context docs, code quality, debugging, deployment, and knowledge management.",
@@ -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
- Present the three modes and ask the user to choose:
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
- 5. **Ask configuration options** ⚠️ MANDATORY INTERACTIVE STEP — applies to ALL execution modes (Foreground, Background, AND Manual). You MUST ask the user to configure options and WAIT for their response BEFORE proceeding to step 6. Do NOT skip this step or merge it with step 6.
119
+ Use `AskUserQuestion` with exactly 1 question:
123
120
 
124
- **HARD STOP**: You MUST call `AskUserQuestion` with the questions below and WAIT for the user's response. You MUST NOT:
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 the following configuration choices. Each question is a separate selectable option:
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
- Present the three modes and ask the user to choose:
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
- 6. **Ask configuration options** ⚠️ MANDATORY INTERACTIVE STEP — applies to ALL execution modes (Foreground, Background, AND Manual). You MUST ask the user to configure options and WAIT for their response BEFORE proceeding to step 7. Do NOT skip this step or merge it with step 7.
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 the following configuration choices. Each question is a separate selectable option:
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 and stop-on-failure options
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. **Auto-generate** `browser_interaction` for ALL qualifying features. Read `${SKILL_DIR}/references/browser-interaction.md` for the object format, field rules, and `tool` selection guide.
288
- 2. **Tool selection**: Default `tool` to `"auto"`. 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).
289
- 3. **Present a summary** to the user showing which features received `browser_interaction` (including the `tool` value).
290
- 4. **User can opt-OUT** specific features or override the `tool` choice.
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 determines which browser tool is used (default: `auto` AI chooses at runtime between `playwright-cli` and `opencli`).
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` after implementation.
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
- Present the three modes and ask the user to choose:
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
- 6. **Ask configuration options** ⚠️ MANDATORY INTERACTIVE STEP — applies to ALL execution modes (Foreground, Background, AND Manual). You MUST ask the user to configure options and WAIT for their response BEFORE proceeding to step 7. Do NOT skip this step or merge it with step 7.
137
+ Use `AskUserQuestion` with exactly 1 question:
141
138
 
142
- **HARD STOP**: You MUST call `AskUserQuestion` with the questions below and WAIT for the user's response. You MUST NOT:
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 the following configuration choices. Each question is a separate selectable option:
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prizmkit",
3
- "version": "1.1.47",
3
+ "version": "1.1.48",
4
4
  "description": "Create a new PrizmKit-powered project with clean initialization — no framework dev files, just what you need.",
5
5
  "type": "module",
6
6
  "bin": {