@linimin/pi-letscook 0.1.35 → 0.1.36
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/CHANGELOG.md +6 -0
- package/README.md +25 -76
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.36
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- simplified the README opening so first-time users can understand the problem `/cook` solves, what the extension provides, and how to start using it without reading the full control-plane details first
|
|
8
|
+
|
|
3
9
|
## 0.1.35
|
|
4
10
|
|
|
5
11
|
### Changed
|
package/README.md
CHANGED
|
@@ -1,28 +1,25 @@
|
|
|
1
1
|
# @linimin/pi-letscook
|
|
2
2
|
|
|
3
|
-
A Pi extension that
|
|
3
|
+
A Pi extension that turns `/cook` into a repo-local workflow command for long-running coding work.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Why this exists
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
- resume later from repo-local workflow state
|
|
9
|
-
- refocus an active workflow without losing control of the mission
|
|
10
|
-
- drive implementation through isolated completion roles
|
|
11
|
-
- keep verification, review, audit, and stop checks tied to the repo
|
|
7
|
+
Normal chat is good for one-off tasks. It is much worse for work that needs to:
|
|
12
8
|
|
|
13
|
-
|
|
9
|
+
- continue across sessions
|
|
10
|
+
- stay anchored to one mission
|
|
11
|
+
- resume from repo state instead of chat memory
|
|
12
|
+
- keep review, audit, and verification tied to the repo
|
|
14
13
|
|
|
15
|
-
|
|
14
|
+
`@linimin/pi-letscook` solves that by storing canonical workflow state in `.agent/**` and using `/cook` to start, resume, or refocus the workflow.
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
## What you get
|
|
18
17
|
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
- **isolated completion roles** via `completion_role`
|
|
25
|
-
- **deterministic verification** through repo-local scripts and regression checks
|
|
18
|
+
- one command: `/cook`
|
|
19
|
+
- repo-local canonical state in `.agent/**`
|
|
20
|
+
- resumable long-running workflows
|
|
21
|
+
- startup proposals from an explicit goal or recent discussion
|
|
22
|
+
- deterministic verification, review, audit, and stop checks
|
|
26
23
|
|
|
27
24
|
## Install
|
|
28
25
|
|
|
@@ -52,64 +49,23 @@ Replace the active workflow with a different goal:
|
|
|
52
49
|
/cook fix onboarding crash first, with regression tests
|
|
53
50
|
```
|
|
54
51
|
|
|
55
|
-
|
|
52
|
+
## How `/cook` works
|
|
56
53
|
|
|
57
|
-
|
|
58
|
-
/cook improve startup proposal confirmation UX
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
## How `/cook` behaves
|
|
62
|
-
|
|
63
|
-
`/cook` is the only public workflow command, but it behaves differently depending on the current canonical workflow state.
|
|
54
|
+
`/cook` is the only public workflow command, but it reacts to canonical workflow state:
|
|
64
55
|
|
|
65
56
|
| Repo state | `/cook` | `/cook <goal>` |
|
|
66
57
|
|---|---|---|
|
|
67
|
-
| No
|
|
68
|
-
| Active workflow exists | Resumes
|
|
69
|
-
| Previous workflow is
|
|
70
|
-
|
|
71
|
-
## Startup proposal behavior
|
|
72
|
-
|
|
73
|
-
### `/cook <goal>`
|
|
74
|
-
|
|
75
|
-
When you provide an explicit goal:
|
|
76
|
-
|
|
77
|
-
- the explicit goal stays the mission anchor
|
|
78
|
-
- recent discussion is supplemental only
|
|
79
|
-
- recent discussion may enrich scope, constraints, and acceptance details when analyst output is available
|
|
80
|
-
|
|
81
|
-
Example:
|
|
82
|
-
|
|
83
|
-
```text
|
|
84
|
-
/cook Build feature X with tests and docs
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
### `/cook` without a goal
|
|
88
|
-
|
|
89
|
-
When you do **not** provide a goal:
|
|
58
|
+
| No workflow yet | Summarizes recent discussion into a startup proposal, then asks for approval | Builds a proposal anchored on the explicit goal, then asks for approval |
|
|
59
|
+
| Active workflow exists | Resumes from canonical `.agent/**` state | First asks whether to continue or replace the current workflow |
|
|
60
|
+
| Previous workflow is `done` | Starts the next round from recent discussion | Starts the next round from the explicit goal |
|
|
90
61
|
|
|
91
|
-
|
|
92
|
-
- the proposal is shown in a custom approval-only confirmation UI before canonical state is written
|
|
93
|
-
- if analyst output is unavailable, provide an explicit goal with `/cook <goal>`
|
|
62
|
+
## Startup confirmation
|
|
94
63
|
|
|
95
|
-
|
|
64
|
+
Startup and replacement proposals are **approval-only**:
|
|
96
65
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
## Confirmation UI
|
|
102
|
-
|
|
103
|
-
Startup and replacement confirmation use a custom approval-only UI that:
|
|
104
|
-
|
|
105
|
-
- renders the proposal body separately from the action list
|
|
106
|
-
- keeps Mission / Scope / Constraints / Acceptance readable as a content area
|
|
107
|
-
- renders analyst-derived **Critique and risks** separately from the non-editable proposal body
|
|
108
|
-
- renders recommended `task_type` / `evaluation_profile` routing hints separately from both the proposal body and the action list
|
|
109
|
-
- presents explicit actions for:
|
|
110
|
-
- **Start**
|
|
111
|
-
- **Cancel**
|
|
112
|
-
- treats the proposal as approval-only: if it needs changes, Cancel, discuss them in the main chat, and rerun `/cook`
|
|
66
|
+
- the proposal body is shown separately from actions
|
|
67
|
+
- actions are only **Start** and **Cancel**
|
|
68
|
+
- if the proposal needs changes, **Cancel**, discuss them in the main chat, and rerun `/cook`
|
|
113
69
|
|
|
114
70
|
When an active workflow already exists and you run `/cook <goal>`, `/cook` still shows a separate chooser first:
|
|
115
71
|
|
|
@@ -119,14 +75,7 @@ When an active workflow already exists and you run `/cook <goal>`, `/cook` still
|
|
|
119
75
|
|
|
120
76
|
Only the follow-on startup/replacement proposal uses the approval-only Start/Cancel gate.
|
|
121
77
|
|
|
122
|
-
When you accept startup or refocus from that flow, `/cook`
|
|
123
|
-
|
|
124
|
-
The same approval-only confirmation flow is reused across:
|
|
125
|
-
|
|
126
|
-
- discussion-only startup
|
|
127
|
-
- explicit-goal startup
|
|
128
|
-
- next-round startup after completion
|
|
129
|
-
- replacement-workflow startup
|
|
78
|
+
When you accept startup or refocus from that flow, `/cook` persists the chosen `task_type` and `evaluation_profile` across `.agent/profile.json`, `.agent/state.json`, `.agent/plan.json`, and `.agent/active-slice.json`, and records the accepted critique outcome in canonical continuation state before the re-ground round begins.
|
|
130
79
|
|
|
131
80
|
## Observability
|
|
132
81
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linimin/pi-letscook",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.36",
|
|
4
4
|
"description": "Pi package for long-running completion workflows with canonical .agent state, role-based subagents, continuity, and verification helpers.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|