@linimin/pi-letscook 0.1.58 → 0.1.60

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.
@@ -14,9 +14,10 @@ This skill governs the boundary between:
14
14
 
15
15
  ## Core Contract
16
16
 
17
- - Ordinary chat may be used to clarify requirements, discuss tradeoffs, and propose implementation approaches.
17
+ - Ordinary chat may be used to clarify requirements, discuss tradeoffs, propose implementation approaches, and refine scope with the user.
18
18
  - `/cook` is the only explicit entrypoint into long-running completion workflow.
19
- - When the primary agent judges that a task has matured into completion-workflow scope, it must stop short of implementation and direct the user to `/cook`.
19
+ - When the primary agent judges that a task has matured into completion-workflow scope, it must stop short of long-running implementation and treat `/cook` as the workflow boundary.
20
+ - Before the user explicitly runs `/cook`, ordinary chat remains ordinary chat: the agent may still answer follow-up questions and refine requirements instead of switching into a handoff-only refusal mode.
20
21
 
21
22
  ## When To Hand Off To `/cook`
22
23
 
@@ -34,12 +35,14 @@ When the task is judged ready for completion workflow, the primary agent must:
34
35
 
35
36
  - stop before long-running implementation
36
37
  - not edit tracked product files in ordinary chat for that workflow-level task
37
- - tell the user to run `/cook`
38
- - explain that `/cook` will first look for a fresh explicit primary-agent handoff and otherwise fall back to recent discussion before asking for confirmation
39
- - distinguish a workflow-worthy handoff from an implementation-ready handoff
40
- - only append an implementation-ready `/cook` handoff capsule when the first bounded implementation slice is concrete enough to start immediately
38
+ - recommend bare `/cook` as the explicit workflow boundary once the task is implementation-ready
39
+ - explain that bare `/cook` synthesizes a startup brief from recent ordinary-chat discussion for a new workflow or next round, while active workflows resume from canonical state unless the user explicitly chooses a replacement path backed by a fresh valid explicit handoff
40
+ - distinguish a workflow-worthy handoff from an opt-in preview request
41
+ - not append an implementation-ready `/cook` handoff capsule by default once the task becomes concrete enough; ordinary chat stays advisory-first until explicit `/cook`
42
+ - only provide a `/cook` startup preview or `cook_handoff` capsule when the user explicitly asks for that preview behavior in ordinary chat
43
+ - if the user asks follow-up questions or refines requirements before running `/cook`, continue ordinary-chat discussion normally without acting as though workflow already started
41
44
 
42
- Required capsule format:
45
+ Optional preview capsule format when the user explicitly asks for it:
43
46
 
44
47
  ````text
45
48
  ```cook_handoff
@@ -71,13 +74,15 @@ Required capsule format:
71
74
  Notes:
72
75
 
73
76
  - `constraints` may be replaced or supplemented by `non_goals` when clearer.
74
- - `first_slice_goal`, `first_slice_non_goals`, `implementation_surfaces`, `verification_commands`, and `why_this_slice_first` are required only for implementation-ready handoffs; if the work is workflow-worthy but that first slice is still vague, tell the user to run `/cook` without emitting this implementation-ready capsule.
77
+ - `first_slice_goal`, `first_slice_non_goals`, `implementation_surfaces`, `verification_commands`, and `why_this_slice_first` are required only for an implementation-ready preview capsule.
78
+ - If the work is workflow-worthy but the first slice still needs refinement, say that `/cook` will be the right next step once the slice is concrete enough, then keep refining in ordinary chat without emitting a preview capsule unless the user explicitly asks for one.
79
+ - If later ordinary-chat discussion materially changes the startup brief before `/cook` runs, update or replace the preview capsule in a later assistant reply.
75
80
  - The mission must be positively startable implementation work; do not use rejection or suppression text as the mission.
76
- - The capsule is startup intake for `/cook` only. It is not canonical `.agent/**` state, not active-slice state, and not a second repo contract source.
81
+ - Any preview capsule is startup intake for `/cook` only. It is not canonical `.agent/**` state, not active-slice state, and not a second repo contract source.
77
82
 
78
83
  Suggested wording:
79
84
 
80
- > This task is now mature enough for the `/cook` workflow. If you want me to start implementation, run `/cook`. I’ve also attached an explicit `/cook` handoff capsule so `/cook` can confirm this plan directly before the workflow begins.
85
+ > This task now looks like `/cook` workflow work, but we are still in ordinary chat until you explicitly run `/cook`. If you want to keep refining the first slice first, we can do that here. Once you want to start implementation workflow, run bare `/cook` and it will synthesize the startup brief from our recent discussion before the Start/Cancel gate. If you explicitly want a preview capsule first, ask and I can sketch one here.
81
86
 
82
87
  A short recap may include mission, scope, or acceptance, but that recap must not be presented as canonical plan state.
83
88
 
@@ -89,6 +94,7 @@ Once the task is judged ready for completion workflow, the primary agent must no
89
94
  - modify tracked product files as part of that workflow-level task
90
95
  - act as though `/cook` had already been invoked
91
96
  - silently rewrite ordinary-chat discussion into active workflow state
97
+ - refuse ordinary-chat clarification or requirement-refinement turns solely because `/cook` would now be appropriate
92
98
 
93
99
  ## Relationship To `completion-protocol`
94
100