@mjasnikovs/pi-task 0.13.12 → 0.13.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/dist/task/auto-prompts.js +22 -7
- package/package.json +1 -1
|
@@ -34,18 +34,33 @@ fork the breakdown). Account for the answers so far:
|
|
|
34
34
|
real-time vs polling transport, search, deployment).
|
|
35
35
|
- Skip anything /task will naturally resolve per-task during its own research.
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
YOU MUST propose a default answer for the question — every question you emit
|
|
38
|
+
carries exactly one SUGGESTED line. Never omit it, never leave it blank, never
|
|
39
|
+
refuse. Infer the most sensible, concrete, decisive default from the repo, the
|
|
40
|
+
referenced docs, and any stated philosophy or constraints; it is shown to the
|
|
41
|
+
user as a recommendation they accept or override. When the question is a genuine
|
|
42
|
+
binary "A or B?" fork, also give the single best alternative as an ALT line;
|
|
43
|
+
otherwise emit only the one SUGGESTED.
|
|
42
44
|
|
|
43
45
|
OUTPUT FORMAT (exact):
|
|
44
46
|
- One clarifying question as a single numbered line: "1. ...".
|
|
45
|
-
- On the NEXT line (never inline), a line that begins with "SUGGESTED: <your recommended default>".
|
|
47
|
+
- On the NEXT line (never inline), a line that begins with "SUGGESTED: <your recommended default>". This line is REQUIRED for every question.
|
|
46
48
|
- ONLY for a binary "A or B?" fork, on the line after that, a line beginning with "ALT: <the alternative option>". Omit the ALT line entirely for open-ended questions.
|
|
47
49
|
- Put the core question in **bold**, followed by a short one-line rationale in plain prose. Backticks around code/identifiers are fine. Avoid other markdown (headings, bullet lists, links).
|
|
48
|
-
- Only when the spec already pins down every choice that would change the task breakdown — nothing decision-changing is left to ask — output exactly
|
|
50
|
+
- Only when the spec already pins down every choice that would change the task breakdown — nothing decision-changing is left to ask — output exactly the single token NONE on its own line (and no SUGGESTED line).
|
|
51
|
+
|
|
52
|
+
EXAMPLES (format only — your wording will differ):
|
|
53
|
+
|
|
54
|
+
Open-ended question:
|
|
55
|
+
1. **Where should uploaded files be stored?** This forks whether an early storage-abstraction task is needed.
|
|
56
|
+
SUGGESTED: store on local disk under ./uploads, served by the existing static handler
|
|
57
|
+
|
|
58
|
+
Binary "A or B?" fork:
|
|
59
|
+
1. **Should the Zod schemas live in a shared module imported by both server and client, or stay server-only with manual client types?** This decides whether a "shared schema" task must land before any route or API-client work.
|
|
60
|
+
SUGGESTED: a shared schema module imported by both, so \`hc()\` gets typed RPC for free
|
|
61
|
+
ALT: server-only schemas with hand-written client types
|
|
62
|
+
|
|
63
|
+
No question remains:
|
|
49
64
|
NONE`;
|
|
50
65
|
/**
|
|
51
66
|
* Decompose: output a markdown checkbox list of task titles (one line each).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mjasnikovs/pi-task",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.13",
|
|
4
4
|
"description": "Deterministic spec-orchestration for local models, with a bundled real-time remote web view and web/docs/fetch/worker subagent tools.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|