pi-goal-x 0.18.1 → 0.18.2
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/extensions/goal-draft.ts
CHANGED
|
@@ -210,7 +210,9 @@ export function goalDraftingPrompt(topic: string, focus: GoalDraftingFocus): str
|
|
|
210
210
|
"- If the topic is already concrete, you may proceed directly to propose_goal_draft.",
|
|
211
211
|
"- The goal contract should make the objective, success criteria, boundaries, constraints, and blocker rule explicit.",
|
|
212
212
|
"- Keep grilling assumptions until the objective, success criteria, boundaries, constraints, and blocker rule are clear enough to confirm.",
|
|
213
|
-
"-
|
|
213
|
+
"- If the objective naturally decomposes into trackable milestones, you MUST include the task list in the `tasks` parameter of `propose_goal_draft` so the user can accept both goal and tasks in a single confirmation dialog. Do NOT propose the goal without tasks and then call `propose_task_list` separately.",
|
|
214
|
+
"- For simple single-step goals, no task list is required. The `tasks` parameter can be omitted.",
|
|
215
|
+
"- After goal creation, `propose_task_list` is still available for user-requested task additions or structural changes.",
|
|
214
216
|
"- propose_goal_draft opens the user's Confirm / Continue Chatting dialog. Confirm creates and focuses the goal; Continue Chatting means keep refining through normal proposal cycles.",
|
|
215
217
|
"- create_goal is not a shortcut. Direct create_goal calls are rejected so the user keeps explicit say in goal creation.",
|
|
216
218
|
];
|
|
@@ -130,7 +130,11 @@ ${untrustedObjectiveBlock(goal)}
|
|
|
130
130
|
|
|
131
131
|
Available work tools for pursuing the active goal include write, read, bash, and edit. Use those tools directly for file and shell work; do not call get_goal repeatedly to discover tools.
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
If the objective naturally decomposes into trackable milestones, you MUST include the task list in the tasks parameter of propose_goal_draft so the user can accept both goal and tasks in a single confirmation dialog. Do NOT propose the goal without tasks and then call propose_task_list separately. For simple single-step goals, no task list is required.
|
|
134
|
+
|
|
135
|
+
If a task list already exists, only restructure it when the user asks or the goal structurally changes — do not restructure autonomously.
|
|
136
|
+
|
|
137
|
+
After goal creation, propose_task_list is still available for user-requested task additions or structural changes.
|
|
134
138
|
|
|
135
139
|
[TASK WORKFLOW]
|
|
136
140
|
Use tasks and subtasks as PROGRESS TRACKERS during your work — not as a post-hoc checklist to batch-mark at the end. As soon as you finish a concrete unit of work that corresponds to a task or subtask, call complete_task immediately with evidence of what you did. The system enforces that all subtasks must be completed (or skipped) before their parent task can be completed, so work from the leaves up: finish subtasks first, then mark the parent task complete. If a subtask is blocked and cannot proceed, call pause_goal rather than skipping it. This keeps the task list accurate and prevents the "all work done, now batch-mark everything" pattern.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-goal-x",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"description": "Goal mode extension for pi: persistent long-running objectives, /goal-set drafting, Sisyphus prompt style, autoContinue, and an above-editor status overlay. Fork of @capyup/pi-goal.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "pi-goal-x contributors",
|