@linimin/pi-letscook 0.1.37 → 0.1.39
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 +18 -2
- package/README.md +9 -15
- package/extensions/completion/index.ts +166 -229
- package/package.json +1 -1
- package/scripts/active-slice-contract-test.sh +45 -1
- package/scripts/canonical-evidence-artifact-test.sh +45 -1
- package/scripts/context-proposal-test.sh +324 -133
- package/scripts/refocus-test.sh +76 -31
- package/scripts/release-check.sh +39 -11
- package/scripts/smoke-test.sh +73 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.39
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- aligned public docs and packaged release-gate parity around bare `/cook` as the only supported workflow entrypoint
|
|
8
|
+
- updated operator-facing fail-closed guidance to send users back to the main chat to clarify the mission before rerunning bare `/cook`
|
|
9
|
+
- refreshed `scripts/release-check.sh` so packaged parity now fails closed on the bare-only contract while still covering the supported startup, refocus, and context flows
|
|
10
|
+
|
|
11
|
+
## 0.1.38
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- normalized discussion-derived `/cook` missions through shared proposal finalization so planning-phrased startup, next-round, and bare active-refocus discussions now resolve to implementation-result missions only when scope or acceptance clearly point to shipped code/test/doc/runtime changes
|
|
16
|
+
- preserved genuine planning missions for explicit plan/spec/design-doc/migration-plan/proposal and support-docs-only discussions, while keeping ambiguous generic scope fail-closed instead of promoting it into a new mission
|
|
17
|
+
- aligned analyst-derived and strict structured-fallback `/cook` proposal paths behind the same mission-normalization rules, added deterministic regressions for planning-only preservation and ambiguous-scope fail-closed behavior, and kept the existing approval-only Start/Cancel rewrite gate intact
|
|
18
|
+
|
|
3
19
|
## 0.1.37
|
|
4
20
|
|
|
5
21
|
### Changed
|
|
6
22
|
|
|
7
23
|
- documented `/cook` as the single public discussion-first workflow command for startup, active-workflow continue/refocus, and done-workflow next-round flows
|
|
8
|
-
- reframed
|
|
24
|
+
- reframed the public docs/help copy around `/cook` as the discussion-first workflow entrypoint and documented the conservative fail-closed clarification path before the later runtime removal
|
|
9
25
|
- documented the fail-closed ambiguous-discussion behavior and approval-only Start/Cancel gate before canonical-state writes
|
|
10
26
|
- added release-gated public-parity assertions for README/help/changelog `/cook` single-command copy so docs drift fails closed before packaging
|
|
11
27
|
- 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
|
|
@@ -96,7 +112,7 @@
|
|
|
96
112
|
### Changed
|
|
97
113
|
|
|
98
114
|
- `/cook` with no goal can now propose a context-derived startup plan for confirmation when no active workflow exists, including starting a fresh next round after the previous workflow already reached `done`
|
|
99
|
-
-
|
|
115
|
+
- historically added goal-anchored startup proposals from inline `/cook` arguments before canonical writes, plus more explicit active-workflow replacement wording and direct next-round startup after a completed workflow; that old inline-argument path is no longer supported now that bare `/cook` is the only public entrypoint
|
|
100
116
|
|
|
101
117
|
## 0.1.24
|
|
102
118
|
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Normal chat is good for one-off tasks. It is much worse for work that needs to:
|
|
|
19
19
|
- repo-local canonical state in `.agent/**`
|
|
20
20
|
- resumable long-running workflows
|
|
21
21
|
- discussion-first startup, continue, refocus, and next-round routing
|
|
22
|
-
-
|
|
22
|
+
- fail-closed guidance that sends you back to the main chat when the mission still needs clarification
|
|
23
23
|
- deterministic verification, review, audit, and stop checks
|
|
24
24
|
|
|
25
25
|
## Install
|
|
@@ -45,23 +45,17 @@ Use bare `/cook` after you discuss the mission in the main chat. The same comman
|
|
|
45
45
|
- surface a conservative refocus chooser when recent discussion clearly points to a different workflow
|
|
46
46
|
- start the next workflow round after the previous one is `done`
|
|
47
47
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
```text
|
|
51
|
-
/cook build feature X end-to-end with tests and docs
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
On startup and next-round flows, if recent discussion is missing, weak, or ambiguous, bare `/cook` fails closed and leaves canonical `.agent/**` state unchanged until the discussion is clarified.
|
|
48
|
+
On startup and next-round flows, if recent discussion is missing, weak, or ambiguous, bare `/cook` fails closed, leaves canonical `.agent/**` state unchanged, and tells you to clarify the mission in the main chat before rerunning bare `/cook`.
|
|
55
49
|
|
|
56
50
|
## How `/cook` works
|
|
57
51
|
|
|
58
|
-
Bare `/cook` is
|
|
52
|
+
Bare `/cook` is the only supported workflow entrypoint.
|
|
59
53
|
|
|
60
|
-
| Repo state | Bare `/cook`
|
|
61
|
-
|
|
62
|
-
| No workflow yet | Summarizes recent discussion into a startup proposal, then asks for approval with **Start** or **Cancel**. If the discussion is weak or ambiguous, `/cook` fails closed without writing `.agent/**` state
|
|
63
|
-
| Active workflow exists | Reads the current mission plus recent non-command discussion. Matching or unclear discussion resumes from canonical `.agent/**` state. Clear replacement discussion opens a chooser first, then only rewrites canonical state after the follow-on **Start** confirmation. |
|
|
64
|
-
| Previous workflow is `done` | Starts the next round from recent discussion, then asks for approval with **Start** or **Cancel**. Ambiguous discussion fails closed without rewriting canonical state
|
|
54
|
+
| Repo state | Bare `/cook` |
|
|
55
|
+
|---|---|
|
|
56
|
+
| No workflow yet | Summarizes recent discussion into a startup proposal, then asks for approval with **Start** or **Cancel**. If the discussion is weak or ambiguous, `/cook` fails closed without writing `.agent/**` state and tells you to clarify the mission in the main chat before rerunning bare `/cook`. |
|
|
57
|
+
| Active workflow exists | Reads the current mission plus recent non-command discussion. Matching or unclear discussion resumes from canonical `.agent/**` state. Clear replacement discussion opens a chooser first, then only rewrites canonical state after the follow-on **Start** confirmation. |
|
|
58
|
+
| Previous workflow is `done` | Starts the next round from recent discussion, then asks for approval with **Start** or **Cancel**. Ambiguous discussion fails closed without rewriting canonical state and tells you to clarify the mission in the main chat before rerunning bare `/cook`. |
|
|
65
59
|
|
|
66
60
|
## Approval-only confirmation and fail-closed behavior
|
|
67
61
|
|
|
@@ -71,7 +65,7 @@ All startup, next-round, and replacement proposals are **approval-only**:
|
|
|
71
65
|
- actions are only **Start** and **Cancel**
|
|
72
66
|
- **Cancel** is side-effect free: discuss changes in the main chat and rerun `/cook`
|
|
73
67
|
|
|
74
|
-
When bare `/cook` cannot derive a clear startup, next-round, or replacement proposal from recent discussion, it fails closed instead of guessing. That means no canonical `.agent/**` state is created or rewritten until the discussion is clarified
|
|
68
|
+
When bare `/cook` cannot derive a clear startup, next-round, or replacement proposal from recent discussion, it fails closed instead of guessing. That means no canonical `.agent/**` state is created or rewritten until the discussion is clarified in the main chat and you rerun bare `/cook`.
|
|
75
69
|
|
|
76
70
|
When an active workflow already exists and recent discussion clearly suggests a different workflow, `/cook` shows a separate chooser first:
|
|
77
71
|
|