@pi-unipi/workflow 0.1.11 → 0.1.13
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/index.ts +1 -1
- package/package.json +1 -1
- package/skills/brainstorm/SKILL.md +3 -3
package/index.ts
CHANGED
|
@@ -149,7 +149,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
149
149
|
});
|
|
150
150
|
|
|
151
151
|
// Listen for ralph module ready event
|
|
152
|
-
pi.on(UNIPI_EVENTS.MODULE_READY
|
|
152
|
+
pi.events.on(UNIPI_EVENTS.MODULE_READY, (event: any) => {
|
|
153
153
|
if (event?.name === MODULES.RALPH) {
|
|
154
154
|
ralphDetected = true;
|
|
155
155
|
}
|
package/package.json
CHANGED
|
@@ -61,7 +61,7 @@ Start with:
|
|
|
61
61
|
2. "Who has this problem and when?" — context changes solutions
|
|
62
62
|
3. "What does success look like?" — outcomes, not features
|
|
63
63
|
|
|
64
|
-
Prefer multiple choice when natural options exist. Validate assumptions explicitly.
|
|
64
|
+
Use `ask_user` for structured decisions (approach selection, scope tradeoffs) when the tool is available. If `ask_user` is not available, use conversational text with clearly numbered options (e.g., "1. Option A — ... 2. Option B — ... Please pick one."). Use conversational text for open-ended exploration. Prefer multiple choice when natural options exist. Validate assumptions explicitly.
|
|
65
65
|
|
|
66
66
|
**Exit:** Problem statement clear and reframed. Both agree on what solving.
|
|
67
67
|
|
|
@@ -76,7 +76,7 @@ Propose 2-3 different approaches with trade-offs:
|
|
|
76
76
|
|
|
77
77
|
Present conversationally with recommendation and reasoning.
|
|
78
78
|
|
|
79
|
-
**If open questions emerge:** MUST ask user about each one. Don't assume.
|
|
79
|
+
**If open questions emerge:** MUST ask user about each one. Don't assume. Use `ask_user` with clearly labeled options and descriptions for each approach when available; otherwise present numbered options conversationally.
|
|
80
80
|
|
|
81
81
|
**Exit:** Approach chosen. User signals decision.
|
|
82
82
|
|
|
@@ -86,7 +86,7 @@ Present conversationally with recommendation and reasoning.
|
|
|
86
86
|
|
|
87
87
|
Once approach chosen, present design in sections:
|
|
88
88
|
- Scale each section to complexity (few sentences if straightforward, 200-300 words if nuanced)
|
|
89
|
-
- Ask after each section whether it looks right
|
|
89
|
+
- Ask after each section whether it looks right (use `ask_user` for "approve / needs changes / go back" checkpoints if available; otherwise ask conversationally and wait for response)
|
|
90
90
|
- Cover: architecture, components, data flow, error handling, testing
|
|
91
91
|
- Be ready to go back and clarify
|
|
92
92
|
|