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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-dev-flow",
3
- "version": "0.64.2",
3
+ "version": "0.64.4",
4
4
  "description": "Enforced feature workflow for Pi: plan → implement → pre-release → release, gated checkpoints, self-improvement reflections, one git worktree per feature, changelog + publish as part of the release",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -33,6 +33,13 @@ Ground rules:
33
33
  when the session is demonstrably wrong, stuck, or claiming a gate result it
34
34
  never ran (and `/reload` when `flow version` says this session runs an older
35
35
  build).
36
+ - **Stage reports** — a gate message = a **stage line** (statusbar glyph 💬 pre-flow / 📝 / 🔨 / 🔍 / 🚀 / 🏁
37
+ + slug + `·`-separated decision fields, provenance-marked `✓` operator · `✓playbook`/`✓detected` rule
38
+ · `~` agent-assumed · `?` pending; never fenced; undecided reads `pending`, never invented) + event
39
+ title + **`Done:`**/**`Next steps:`** on own lines: verbs italic (***bold italic*** = recommended),
40
+ no gate commands; recommended first, *yolo* last, plain closing line
41
+ "or say what to do differently". Long form: docs/playbook.md;
42
+ per-stage fields: the stage reference file.
36
43
  - **yolo** at any checkpoint → run that gate `--yolo --confirmed`; every later
37
44
  checkpoint is pre-confirmed — run the remaining gates back to back without
38
45
  asking, honoring guidance attached to the word ("yolo, create a patch
@@ -14,6 +14,9 @@ the session context goes with it. Run the end-of-session reflection (bare
14
14
  `flow doctor`, drop = discard them. The answer replaces **Finish?** — act
15
15
  on it, then run `flow finish --confirmed` without asking again;
16
16
  - nothing parked → ask the operator **Finish?** → `flow finish --confirmed`.
17
+ Checkpoint report: stage line **🏁 finish · `<slug>`** — release recorded ·
18
+ main state · unmerged count · reflections open · release-checklist open,
19
+ then `Done:`/`Next steps:` per the Stage reports rule.
17
20
 
18
21
  The question covers the whole cleanup and mentions any commits that look
19
22
  unmerged. `flow finish [slug]`:
@@ -36,7 +36,9 @@ feature).
36
36
  container starts is not a failed deploy; say so rather than declaring a
37
37
  healthy deploy broken. Walk the **tier-2 checklist** (`- [ ]`) with the
38
38
  operator honestly — it cannot be scripted. Then ask **Verified?** →
39
- `flow verify --confirmed`. Fixes = iterate and re-verify; that loop is
39
+ `flow verify --confirmed`. Checkpoint report: stage line **🔨 implement ·
40
+ `<slug>`** — commits `N ahead, M uncommitted` · tier-1 · tier-2 · deploy/
41
+ health · `branch@sha`, then `Done:`/`Next steps:` per the Stage reports rule. Fixes = iterate and re-verify; that loop is
40
42
  free.
41
43
 
42
44
  `flow verify` re-runs build, runs the `dev` deploy when configured (the
@@ -46,7 +46,9 @@
46
46
  via DOM/code and move on — screenshots are a spot-check, not a test loop.
47
47
  5. Tell the user the plan is ready and **stop** — one word: **Approve?**
48
48
  Answered → `flow approve --confirmed` (yolo → `flow approve --yolo
49
- --confirmed`).
49
+ --confirmed`). Checkpoint report: stage line **📝 plan · `<slug>`** — mode ·
50
+ ui · plan status · mockups `rendered/total` · open questions, then
51
+ `Done:`/`Next steps:` per the Stage reports rule.
50
52
 
51
53
  Approval creates the worktree and branch, running `commands.setup` inside when
52
54
  configured — a failing setup fails the gate and the next `approve` **retries**
@@ -25,7 +25,11 @@ invent one mid-release. Sequence:
25
25
  4. `flow check` — the prep edits invalidated the implement checks; the release
26
26
  gate demands them green again.
27
27
  5. State what the PR will contain, present version and changelog entry,
28
- **stop** — **Release?** → `flow release --confirmed`. The gate re-checks
28
+ **stop** — **Release?** → `flow release --confirmed`. Checkpoint report:
29
+ stage line **🔍 pre-release · `<slug>`** — version decision (`pending` /
30
+ `bump <level> → vX.Y.Z ~` / `no-version ✓`) · tag · changelog · fold ·
31
+ review tally · merge style, then `Done:`/`Next steps:` per the Stage
32
+ reports rule. The gate re-checks
29
33
  tier-1, requires the manifest **ahead of the last tag**, a changelog
30
34
  **heading** naming that version (a mention in prose is not an entry) and that
31
35
  this branch prepared the entry. Operator ships this flow **without
@@ -26,7 +26,10 @@ the worktree unless noted:
26
26
  `Unreleased` until the next versioned release folds it), `release-done`
27
27
  asks nothing version-side.
28
28
  3. `flow release-done` — **no question** (the Release? answer covered the
29
- publication). It re-verifies (tag on the default branch, on origin, artifact
29
+ publication). Reporting at this stage is stage lines only, one per step —
30
+ **🚀 release · `<slug>`** — PR + state · merge style used · tag state ·
31
+ artifact · forge release (all values `✓` — the Release? verb locked them);
32
+ no `Done:`/`Next steps:` block, nothing is asked. It re-verifies (tag on the default branch, on origin, artifact
30
33
  when configured) against **the version the release gate stamped** — never a
31
34
  re-read from a checkout that may be behind — and refuses anything older than
32
35
  the newest matching tag on origin (lists come from `git ls-remote`, so an
@@ -35,7 +35,9 @@ operator how a merged PR should land on the default branch — `squash`, `merge`
35
35
  or `any` (no policy) — with the suggestion the refusal read off their own history, then re-run
36
36
  `flow start <slug> --merge=<style> --confirmed`. The gate writes the answer into `## release` (single-line
37
37
  insert, validated, `.bak` kept) and never asks again. Never pick the style yourself and never write
38
- `project.md` by hand to get rid of the question.
38
+ `project.md` by hand to get rid of the question. Pre-flow reports open with **💬 pre-flow · new work** —
39
+ mode proposal + why · detected knobs · merge-policy state (💬 = "operator, your turn": a grant or
40
+ answer is pending).
39
41
 
40
42
 
41
43
  ---