pi-dev-flow 0.64.2 β 0.64.4
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 +12 -0
- package/docs/playbook.md +56 -39
- package/extensions/dev-flow.ts +964 -881
- package/package.json +1 -1
- package/skills/dev-flow/SKILL.md +7 -0
- package/skills/dev-flow/references/finish.md +3 -0
- package/skills/dev-flow/references/implement.md +3 -1
- package/skills/dev-flow/references/plan.md +3 -1
- package/skills/dev-flow/references/pre-release.md +5 -1
- package/skills/dev-flow/references/release.md +4 -1
- package/skills/dev-flow/references/start.md +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ Format: newest first. `Unreleased` collects what's merged but not yet tagged.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.64.4] - 2026-10-25
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- **Stage reports: a uniform output contract for every gate message, carried by the skill itself.** A gate message is now a stage line (the statusbar's own stage glyph π¬ pre-flow / π / π¨ / π / π / π + slug + `Β·`-separated decision fields with provenance marks `β` operator, `βplaybook`/`βdetected` rule, `~` agent-assumed, `?` pending) plus an event title and `Done:`/`Next steps:` blocks β operator verbs in italics (recommended one bold italic), never gate commands, recommended first, *yolo* last, plain "or say what to do differently" closing line. The norm lives in the `SKILL.md` ground rules (budget raised 4000β4500 with the reason noted), each stage reference file names its own fields, the stage-context injection carries a one-line reminder, and `docs/playbook.md` holds the human long form with the worked example β so every repo gets the protocol without writing playbook prose. A consistency test locks the clause, the markers, and every stage file's glyph.
|
|
12
|
+
|
|
13
|
+
## [0.64.3] - 2026-10-25
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- **`runFlow` is now a dispatcher: 938 lines β 74, one handler per gate.** The 0.64.1 simplify pass named the one structural weight left in the repo β a single ~940-line function holding all twenty verbs β and this is the dedicated flow that split it: every case body moved verbatim into a top-level `gateInit`/`gateStart`/β¦/`gateAbort` handler sharing one small `GateCtx` (`root, ui, sess, cfg, rest, flag, slugArg, takeYoloWord`), and `runFlow` keeps only arg parsing, the help/no-playbook guards, the preamble helpers and a switch of one-line dispatches. Zero behavior change by construction, and auditable rather than promised: the extraction was scripted by a brace-matching, string/comment/template-aware splitter (the file defeats indentation-based tooling β roadmap's closer is misindented, init's draft help sits at column 0 inside a template literal), and an independent audit re-compared all 17 handler bodies against the base β verbatim, de-indent only. Same-file split by design: a `src/gates/*.ts` module layout would export half the extension's IO plumbing for the same readability, and can ride later wholesale if ever wanted.
|
|
18
|
+
|
|
7
19
|
## [0.64.2] - 2026-10-25
|
|
8
20
|
|
|
9
21
|
### Changed
|
package/docs/playbook.md
CHANGED
|
@@ -174,43 +174,60 @@ Future features have their own file: `.dev-flow/roadmap.md`, a gitignored backlo
|
|
|
174
174
|
manages (add / pick β `flow start` / done / tidy) β a picked item is checked off by `finish` when
|
|
175
175
|
its feature ships, and it never gates either.
|
|
176
176
|
|
|
177
|
-
### Structured stage reports (a
|
|
178
|
-
|
|
179
|
-
The gates enforce *state*; how the agent *talks* about that state
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
|
195
|
-
|
|
196
|
-
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
177
|
+
### Structured stage reports (a convention, not a gate)
|
|
178
|
+
|
|
179
|
+
The gates enforce *state*; how the agent *talks* about that state is presentation. The norm lives in
|
|
180
|
+
the skill itself β the **Stage reports** clause in `SKILL.md` ground rules, echoed by the
|
|
181
|
+
`Stage reports:` line in every stage-context injection β so every repo using dev-flow gets the same
|
|
182
|
+
output protocol without writing a word of playbook prose. This is the human explanation of it.
|
|
183
|
+
|
|
184
|
+
One gate message = **stage line** + event title + **`Done:`** / **`Next steps:`** blocks, all plain
|
|
185
|
+
markdown, **never fenced** (a fenced block renders monospace with a horizontal scrollbar in web UIs;
|
|
186
|
+
fences stay for diffs and command output).
|
|
187
|
+
|
|
188
|
+
**The stage line** *is* the decision record β one copy of every fact. It opens with the statusbar's
|
|
189
|
+
own stage glyph (the footer is the legend: π¬ pre-flow "operator, your turn" Β· π plan Β· π¨ implement
|
|
190
|
+
Β· π pre-release Β· π release Β· π finish), then `slug β key value` pairs separated by `Β·`, with the
|
|
191
|
+
mode glyphs after the slug as in the footer (β‘ patch Β· π docs Β· π± yolo). Every value carries a
|
|
192
|
+
provenance mark:
|
|
193
|
+
|
|
194
|
+
| mark | meaning |
|
|
195
|
+
|---|---|
|
|
196
|
+
| `β` | operator-decided |
|
|
197
|
+
| `βplaybook` / `βdetected` | decided by a rule or auto-detection |
|
|
198
|
+
| `~` | agent-assumed β vetoable; flips to `β` when the stage's verb is given |
|
|
199
|
+
| `?` | pending the operator's word |
|
|
200
|
+
|
|
201
|
+
A decision not made reads `pending` β never left unstated, never silently invented (a version bump
|
|
202
|
+
needs the operator's word; `no-version` too). Per-stage fields after the core (stage Β· slug Β· mode Β·
|
|
203
|
+
ui): plan status and mockups; commits `N ahead, M uncommitted`, tier-1, deploy/health, `branch@sha`;
|
|
204
|
+
the version decision (`bump <level> β vX.Y.Z ~`) with tag/changelog/fold/review/merge-style beside
|
|
205
|
+
it; PR/tag/artifact/forge proofs at π (stage lines only there β that stage asks nothing); release-
|
|
206
|
+
recorded / main-state / unmerged / reflections at π.
|
|
207
|
+
|
|
208
|
+
**The checkpoint** closes exactly one message per stage (the operator's verb stays a plain-chat word
|
|
209
|
+
β a structured-question tool is not chat). Event title, then the labels **`Done:`** and
|
|
210
|
+
**`Next steps:`** standing alone on their own lines. `Done:` names the review surface β paths, SHAs,
|
|
211
|
+
counts, not vibes. `Next steps:` lists the operator's verbs in italics (the recommended one
|
|
212
|
+
***bold italic***, and no line needs a "(recommended)" tag when the styling carries it) and **never
|
|
213
|
+
gate commands** (the agent runs those): recommended first, then alternatives, then *yolo* last with
|
|
214
|
+
what it pre-confirms, then the plain closing line "or say what to do differently". Example:
|
|
215
|
+
|
|
216
|
+
> **π pre-release Β· `dark-mode`** β `normal` β Β· ui `on β` Β· version **`bump minor β 0.56.0 ~`** Β· tag `v0.56.0 ~` Β· changelog `ready ~` Β· merge `merge βplaybook`
|
|
209
217
|
>
|
|
210
|
-
>
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
218
|
+
> **Release prep done**
|
|
219
|
+
>
|
|
220
|
+
> **Done:**
|
|
221
|
+
> review 0 must / 0 should; CHANGELOG `## [0.56.0]` folded from `Unreleased`; manifest bumped
|
|
222
|
+
>
|
|
223
|
+
> **Next steps:**
|
|
224
|
+
> - ***Release*** β tag `v0.56.0`, forge release β locks the `~` fields
|
|
225
|
+
> - *No-version* β merge only, entry rides under `Unreleased`
|
|
226
|
+
> - *Yolo* β release with these parameters, remaining gates back to back
|
|
227
|
+
> - or say what to do differently β bump level, changelog wording
|
|
228
|
+
|
|
229
|
+
Mid-stage (non-checkpoint) reports are the stage line plus a short body β no `Next steps:` block β
|
|
230
|
+
and mid-stage scope additions amend `plan.md` with an `**Added mid-stage:**` line instead of opening
|
|
231
|
+
a second checkpoint. Like all tier-3 prose this is advisory: gates refuse what gates refuse no matter
|
|
232
|
+
how the report is formatted. A project can still set `prose.<stage>` for its own stage guidance β
|
|
233
|
+
that replaces the built-in guidance text but the Stage reports rule keeps applying.
|