flow-workflows 0.63.0 → 0.64.0

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.
@@ -136,8 +136,8 @@ was wise.
136
136
  | Mode | Decisions | End of the command |
137
137
  |---|---|---|
138
138
  | `manual` | Stop at every decision point | Propose the next command with one `AskUserQuestion` (recommended step as default). Invoke it only on confirmation. Never make the user type it. |
139
- | `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically. |
140
- | `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing. |
139
+ | `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically — the call that starts it first, no closing report before it (§3). |
140
+ | `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing, same rule. |
141
141
 
142
142
  **Hard gates — stop and ask in every mode, no exceptions:**
143
143
  1. Any push or MR/PR creation (all of `ship`).
@@ -164,15 +164,33 @@ Asking these anyway is how an unattended run degrades into a manual one.
164
164
 
165
165
  ## 3. Reporting — how every stop reads
166
166
 
167
+ **A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
168
+ Nothing else is a stop, however much has just finished — a phase closing into the next one, a
169
+ chained command, a fan-out about to launch. The header below is the *shape* of a stop, so writing
170
+ it is how you stop: render it while meaning to continue and you will stop anyway. The shape
171
+ decides, not the intention — and on a harness where a message carrying text and no tool call is
172
+ terminal by construction, the turn is over before you notice.
173
+
174
+ - **Continuing? Do not report — act.** No header, no closing bullets. At most one short line naming
175
+ what you are moving to, and the tool call that starts it **in the same message**. Never end a
176
+ message on a promise to keep going.
177
+ - **The continuing call goes first.** When a step closes and the next one runs anyway
178
+ (`guided`/`auto` chaining, §2), the turn opens with the call that starts it, not with prose about
179
+ the one that ended. **A report is never the last thing in a turn you meant to continue.**
180
+ - **Progress belongs to the panel, not to a turn.** Someone watching reads `panel.json` (§4):
181
+ `Now`, `Next`. Writing it costs no turn and no stop; saying it in chat costs both.
182
+ - **Stopping? Then say so.** `I need:` names the decision or the action you are waiting on. It
183
+ never announces that you are continuing — if you were, you would not be writing this header.
184
+
167
185
  The user comes back to a screen they walked away from, often with other works in other panes.
168
- They have read none of your tool calls, subagent reports or artifacts. So every stop — a question,
169
- a hard gate, the end of the turn — **opens with this header**, before any prose:
186
+ They have read none of your tool calls, subagent reports or artifacts. So every stop **opens with
187
+ this header**, before any prose:
170
188
 
171
189
  ```
172
190
  <TICKET> · <size> · phase <phase> · MR #<n> of <N>
173
191
  Plan: <k> of <N> shipped — #1 <url/id> <state> · #2 <state> · #3–#N pending
174
192
  Now: <one line — what just finished>
175
- I need: <one line — the decision or action needed, or "nothing, continuing with X">
193
+ I need: <one line — the decision or action you are waiting on>
176
194
  ```
177
195
 
178
196
  - Every fact from `meta.json` (`ticket`, `size`, `phase`, `mrs[]`), never from memory. Drop the `MR #` and `Plan:` lines when the work has no `mrs`.
@@ -186,7 +204,8 @@ I need: <one line — the decision or action needed, or "nothing, continuing wit
186
204
  ## 4. Live panel — `panel.json`
187
205
 
188
206
  Whenever the state a panel would show changes, overwrite `.claude/work/<work>/panel.json`
189
- **whole** (never patch) from `meta.json` plus what you know right now:
207
+ **whole** (never patch) from `meta.json` plus what you know right now. **Any progress line you were
208
+ about to type into the chat is a panel write instead** (§3):
190
209
 
191
210
  ```json
192
211
  {
@@ -167,5 +167,5 @@ Never the third way: building the mechanism here because the ticket says bug.
167
167
  - Update `meta.json`: `phase = "fix"`, add to `phases_done`.
168
168
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
169
169
  - Suggest next: `$flow-bug-validate` (S/M/L) or `$flow-bug-review` (XS).
170
- - Report **following the stop header** (flow-core §3) and name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
170
+ - Report **following the stop header** (flow-core §3) **when this is a stop** — in `guided`/`auto` the next command runs in this same turn, so the body below goes to the artifact and the turn opens with the call that chains. Name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
171
171
  - **Autonomy handoff** (flow-core §2): `manual` → propose that command with a single `AskUserQuestion` (recommended option by default), invoke it only on confirmation; `guided`/`auto` → chain into it in this same turn.
@@ -346,5 +346,5 @@ If there were no copied contracts (design said "none"), skip this step and recor
346
346
  - Update `meta.json`: `phase = "build"`, add to `phases_done`.
347
347
  - Multi-MR/PR build: leave the current MR/PR `in_progress` in `meta.json.mrs` (it becomes `merged` when `$flow-feat-ship` confirms the merge). **Also add `build` to that MR/PR's own `phases_done`** (its `mrs[]` entry) — the per-MR/PR marker the downstream gates read.
348
348
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
349
- - Report **following the stop header** (flow-core §3), then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. Next command: `$flow-feat-review` — in `guided`/`auto` say so in the `I need:` line ("nothing, chaining into review"), never as a question.
349
+ - Report **following the stop header** (flow-core §3) **only when this is a stop** — `manual`, or a blocker in any mode. Then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. In `guided`/`auto` `$flow-feat-review` runs in this same turn, so there is no report here: those same points go to the phase artifact, `panel.json` carries `Now`/`Next`, and the turn opens with the call that chains.
350
350
  - **Autonomy handoff.** The summary is a report, not the end of the flow. `manual`: stop and propose `$flow-feat-review` with a single `AskUserQuestion` (recommended option by default); invoke it only on confirmation, never make the user type it. `guided`/`auto`: **chain into `$flow-feat-review` automatically** in this same turn, without asking — never end the turn with the next command as a suggestion.
@@ -346,5 +346,5 @@ Write `.claude/work/<TICKET>/06-review.md`. The `Cost:` line of `## Summary` is
346
346
  - **Stage what the review taught** (`knowledge.stage` set; silence by default). Review is where a project teaches the most and, until now, the one phase that never staged — a work with three review rounds and seventeen blockers produced zero knowledge cards because nothing asked for them while they were in context. Candidates are findings about the **domain or the codebase's real behaviour**, not about this diff: a library that does other than its name says, a test disguise that kept the suite green over a live defect, a module rule the reviewers had to cite from its own prose, a measurement. A blocker fixed here is not knowledge; *why it was written wrong* may be. Same evidence rule as `$flow-feat-design` §8 — one line of evidence per finding or it is not staged. One call per finding, one line to the user («Staged N finding(s) for `ship`»). Never `knowledge.save` here.
347
347
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
348
348
  - **Configuration this phase earned the right to ask about** (flow-core §0, `manual` only, at most one key per work, as an extra option on this same stop — never a question of its own): a role the panel had to improvise on an M/L or sensitive diff → `agents.<role>`; a `Cost:` line that went over `agents.budget_max` → `quality.review_depth`. In `guided`/`auto` neither is asked: the default is taken and recorded in `meta.json.defaults_used[]`.
349
- - Report findings and next step **following the stop header** (flow-core §3); include the `Cost:` line once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
349
+ - Report findings and next step **following the stop header** (flow-core §3) **when this is a stop**; in `guided`/`auto` with a clean gate the next command runs in this same turn, so this goes to `06-review.md` and the turn opens with the call that chains — the `Cost:` line then travels to the stop the run does reach, added to that phase's own. Include it once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
350
350
  - **Autonomy handoff.** Only when there are **no blockers and no unresolved high-severity findings** — with any of those, stop in every mode (hard gate). Clean: in `manual`, propose `$flow-feat-validate` with a single `AskUserQuestion` and invoke it on confirmation; in `guided`/`auto`, **chain into `$flow-feat-validate` automatically** in this same turn. Never chain into `$flow-feat-ship` from here — ship is reached through `validate`.
@@ -285,5 +285,5 @@ Run `tracker.start_cmd` with `{TICKET}` = `meta.json.ticket`, `{ASSIGNEE}` = `tr
285
285
  ## 7. Close
286
286
 
287
287
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5) — first written in §6; refresh it if §6.5 changed anything.
288
- - Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so say so in the `I need:` line instead of asking.
288
+ - Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so there is no report and no question here: update `panel.json` and chain (flow-core §3).
289
289
  - Apply `autonomy.mode`: `manual` → stop and let the user invoke the recommended command; `guided`/`auto` → chain into it, subject to the hard gates (the §5 branch-base ambiguity already stops on its own).
@@ -135,8 +135,8 @@ was wise.
135
135
  | Mode | Decisions | End of the command |
136
136
  |---|---|---|
137
137
  | `manual` | Stop at every decision point | Propose the next command with one `AskUserQuestion` (recommended step as default). Invoke it only on confirmation. Never make the user type it. |
138
- | `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically. |
139
- | `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing. |
138
+ | `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically — the call that starts it first, no closing report before it (§3). |
139
+ | `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing, same rule. |
140
140
 
141
141
  **Hard gates — stop and ask in every mode, no exceptions:**
142
142
  1. Any push or MR/PR creation (all of `ship`).
@@ -163,15 +163,33 @@ Asking these anyway is how an unattended run degrades into a manual one.
163
163
 
164
164
  ## 3. Reporting — how every stop reads
165
165
 
166
+ **A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
167
+ Nothing else is a stop, however much has just finished — a phase closing into the next one, a
168
+ chained command, a fan-out about to launch. The header below is the *shape* of a stop, so writing
169
+ it is how you stop: render it while meaning to continue and you will stop anyway. The shape
170
+ decides, not the intention — and on a harness where a message carrying text and no tool call is
171
+ terminal by construction, the turn is over before you notice.
172
+
173
+ - **Continuing? Do not report — act.** No header, no closing bullets. At most one short line naming
174
+ what you are moving to, and the tool call that starts it **in the same message**. Never end a
175
+ message on a promise to keep going.
176
+ - **The continuing call goes first.** When a step closes and the next one runs anyway
177
+ (`guided`/`auto` chaining, §2), the turn opens with the call that starts it, not with prose about
178
+ the one that ended. **A report is never the last thing in a turn you meant to continue.**
179
+ - **Progress belongs to the panel, not to a turn.** Someone watching reads `panel.json` (§4):
180
+ `Now`, `Next`. Writing it costs no turn and no stop; saying it in chat costs both.
181
+ - **Stopping? Then say so.** `I need:` names the decision or the action you are waiting on. It
182
+ never announces that you are continuing — if you were, you would not be writing this header.
183
+
166
184
  The user comes back to a screen they walked away from, often with other works in other panes.
167
- They have read none of your tool calls, subagent reports or artifacts. So every stop — a question,
168
- a hard gate, the end of the turn — **opens with this header**, before any prose:
185
+ They have read none of your tool calls, subagent reports or artifacts. So every stop **opens with
186
+ this header**, before any prose:
169
187
 
170
188
  ```
171
189
  <TICKET> · <size> · phase <phase> · MR #<n> of <N>
172
190
  Plan: <k> of <N> shipped — #1 <url/id> <state> · #2 <state> · #3–#N pending
173
191
  Now: <one line — what just finished>
174
- I need: <one line — the decision or action needed, or "nothing, continuing with X">
192
+ I need: <one line — the decision or action you are waiting on>
175
193
  ```
176
194
 
177
195
  - Every fact from `meta.json` (`ticket`, `size`, `phase`, `mrs[]`), never from memory. Drop the `MR #` and `Plan:` lines when the work has no `mrs`.
@@ -185,7 +203,8 @@ I need: <one line — the decision or action needed, or "nothing, continuing wit
185
203
  ## 4. Live panel — `panel.json`
186
204
 
187
205
  Whenever the state a panel would show changes, overwrite `.claude/work/<work>/panel.json`
188
- **whole** (never patch) from `meta.json` plus what you know right now:
206
+ **whole** (never patch) from `meta.json` plus what you know right now. **Any progress line you were
207
+ about to type into the chat is a panel write instead** (§3):
189
208
 
190
209
  ```json
191
210
  {
@@ -163,6 +163,6 @@ Never the third way: building the mechanism here because the ticket says bug.
163
163
  - Update `meta.json`: `phase = "fix"`, add to `phases_done`.
164
164
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
165
165
  - Suggest next: `/flow:bug:validate` (S/M/L) or `/flow:bug:review` (XS).
166
- - Report **following the stop header** (flow-core §3) and name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
166
+ - Report **following the stop header** (flow-core §3) **when this is a stop** — in `guided`/`auto` the next command runs in this same turn, so the body below goes to the artifact and the turn opens with the call that chains. Name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
167
167
  - **Autonomy handoff** (flow-core §2): `manual` → propose that command with a single `AskUserQuestion` (recommended option by default), invoke it only on confirmation; `guided`/`auto` → chain into it in this same turn.
168
168
  """
@@ -342,6 +342,6 @@ If there were no copied contracts (design said "none"), skip this step and recor
342
342
  - Update `meta.json`: `phase = "build"`, add to `phases_done`.
343
343
  - Multi-MR/PR build: leave the current MR/PR `in_progress` in `meta.json.mrs` (it becomes `merged` when `/flow:feat:ship` confirms the merge). **Also add `build` to that MR/PR's own `phases_done`** (its `mrs[]` entry) — the per-MR/PR marker the downstream gates read.
344
344
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
345
- - Report **following the stop header** (flow-core §3), then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. Next command: `/flow:feat:review` — in `guided`/`auto` say so in the `I need:` line ("nothing, chaining into review"), never as a question.
345
+ - Report **following the stop header** (flow-core §3) **only when this is a stop** — `manual`, or a blocker in any mode. Then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. In `guided`/`auto` `/flow:feat:review` runs in this same turn, so there is no report here: those same points go to the phase artifact, `panel.json` carries `Now`/`Next`, and the turn opens with the call that chains.
346
346
  - **Autonomy handoff.** The summary is a report, not the end of the flow. `manual`: stop and propose `/flow:feat:review` with a single `AskUserQuestion` (recommended option by default); invoke it only on confirmation, never make the user type it. `guided`/`auto`: **chain into `/flow:feat:review` automatically** in this same turn, without asking — never end the turn with the next command as a suggestion.
347
347
  """
@@ -342,6 +342,6 @@ Write `.claude/work/<TICKET>/06-review.md`. The `Cost:` line of `## Summary` is
342
342
  - **Stage what the review taught** (`knowledge.stage` set; silence by default). Review is where a project teaches the most and, until now, the one phase that never staged — a work with three review rounds and seventeen blockers produced zero knowledge cards because nothing asked for them while they were in context. Candidates are findings about the **domain or the codebase's real behaviour**, not about this diff: a library that does other than its name says, a test disguise that kept the suite green over a live defect, a module rule the reviewers had to cite from its own prose, a measurement. A blocker fixed here is not knowledge; *why it was written wrong* may be. Same evidence rule as `/flow:feat:design` §8 — one line of evidence per finding or it is not staged. One call per finding, one line to the user («Staged N finding(s) for `ship`»). Never `knowledge.save` here.
343
343
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
344
344
  - **Configuration this phase earned the right to ask about** (flow-core §0, `manual` only, at most one key per work, as an extra option on this same stop — never a question of its own): a role the panel had to improvise on an M/L or sensitive diff → `agents.<role>`; a `Cost:` line that went over `agents.budget_max` → `quality.review_depth`. In `guided`/`auto` neither is asked: the default is taken and recorded in `meta.json.defaults_used[]`.
345
- - Report findings and next step **following the stop header** (flow-core §3); include the `Cost:` line once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
345
+ - Report findings and next step **following the stop header** (flow-core §3) **when this is a stop**; in `guided`/`auto` with a clean gate the next command runs in this same turn, so this goes to `06-review.md` and the turn opens with the call that chains — the `Cost:` line then travels to the stop the run does reach, added to that phase's own. Include it once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
346
346
  - **Autonomy handoff.** Only when there are **no blockers and no unresolved high-severity findings** — with any of those, stop in every mode (hard gate). Clean: in `manual`, propose `/flow:feat:validate` with a single `AskUserQuestion` and invoke it on confirmation; in `guided`/`auto`, **chain into `/flow:feat:validate` automatically** in this same turn. Never chain into `/flow:feat:ship` from here — ship is reached through `validate`.
347
347
  """
@@ -281,6 +281,6 @@ Run `tracker.start_cmd` with `{TICKET}` = `meta.json.ticket`, `{ASSIGNEE}` = `tr
281
281
  ## 7. Close
282
282
 
283
283
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5) — first written in §6; refresh it if §6.5 changed anything.
284
- - Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so say so in the `I need:` line instead of asking.
284
+ - Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so there is no report and no question here: update `panel.json` and chain (flow-core §3).
285
285
  - Apply `autonomy.mode`: `manual` → stop and let the user invoke the recommended command; `guided`/`auto` → chain into it, subject to the hard gates (the §5 branch-base ambiguity already stops on its own).
286
286
  """
@@ -136,8 +136,8 @@ was wise.
136
136
  | Mode | Decisions | End of the command |
137
137
  |---|---|---|
138
138
  | `manual` | Stop at every decision point | Propose the next command with one `AskUserQuestion` (recommended step as default). Invoke it only on confirmation. Never make the user type it. |
139
- | `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically. |
140
- | `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing. |
139
+ | `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically — the call that starts it first, no closing report before it (§3). |
140
+ | `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing, same rule. |
141
141
 
142
142
  **Hard gates — stop and ask in every mode, no exceptions:**
143
143
  1. Any push or MR/PR creation (all of `ship`).
@@ -164,15 +164,33 @@ Asking these anyway is how an unattended run degrades into a manual one.
164
164
 
165
165
  ## 3. Reporting — how every stop reads
166
166
 
167
+ **A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
168
+ Nothing else is a stop, however much has just finished — a phase closing into the next one, a
169
+ chained command, a fan-out about to launch. The header below is the *shape* of a stop, so writing
170
+ it is how you stop: render it while meaning to continue and you will stop anyway. The shape
171
+ decides, not the intention — and on a harness where a message carrying text and no tool call is
172
+ terminal by construction, the turn is over before you notice.
173
+
174
+ - **Continuing? Do not report — act.** No header, no closing bullets. At most one short line naming
175
+ what you are moving to, and the tool call that starts it **in the same message**. Never end a
176
+ message on a promise to keep going.
177
+ - **The continuing call goes first.** When a step closes and the next one runs anyway
178
+ (`guided`/`auto` chaining, §2), the turn opens with the call that starts it, not with prose about
179
+ the one that ended. **A report is never the last thing in a turn you meant to continue.**
180
+ - **Progress belongs to the panel, not to a turn.** Someone watching reads `panel.json` (§4):
181
+ `Now`, `Next`. Writing it costs no turn and no stop; saying it in chat costs both.
182
+ - **Stopping? Then say so.** `I need:` names the decision or the action you are waiting on. It
183
+ never announces that you are continuing — if you were, you would not be writing this header.
184
+
167
185
  The user comes back to a screen they walked away from, often with other works in other panes.
168
- They have read none of your tool calls, subagent reports or artifacts. So every stop — a question,
169
- a hard gate, the end of the turn — **opens with this header**, before any prose:
186
+ They have read none of your tool calls, subagent reports or artifacts. So every stop **opens with
187
+ this header**, before any prose:
170
188
 
171
189
  ```
172
190
  <TICKET> · <size> · phase <phase> · MR #<n> of <N>
173
191
  Plan: <k> of <N> shipped — #1 <url/id> <state> · #2 <state> · #3–#N pending
174
192
  Now: <one line — what just finished>
175
- I need: <one line — the decision or action needed, or "nothing, continuing with X">
193
+ I need: <one line — the decision or action you are waiting on>
176
194
  ```
177
195
 
178
196
  - Every fact from `meta.json` (`ticket`, `size`, `phase`, `mrs[]`), never from memory. Drop the `MR #` and `Plan:` lines when the work has no `mrs`.
@@ -186,7 +204,8 @@ I need: <one line — the decision or action needed, or "nothing, continuing wit
186
204
  ## 4. Live panel — `panel.json`
187
205
 
188
206
  Whenever the state a panel would show changes, overwrite `.claude/work/<work>/panel.json`
189
- **whole** (never patch) from `meta.json` plus what you know right now:
207
+ **whole** (never patch) from `meta.json` plus what you know right now. **Any progress line you were
208
+ about to type into the chat is a panel write instead** (§3):
190
209
 
191
210
  ```json
192
211
  {
@@ -167,5 +167,5 @@ Never the third way: building the mechanism here because the ticket says bug.
167
167
  - Update `meta.json`: `phase = "fix"`, add to `phases_done`.
168
168
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
169
169
  - Suggest next: `/flow-bug-validate` (S/M/L) or `/flow-bug-review` (XS).
170
- - Report **following the stop header** (flow-core §3) and name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
170
+ - Report **following the stop header** (flow-core §3) **when this is a stop** — in `guided`/`auto` the next command runs in this same turn, so the body below goes to the artifact and the turn opens with the call that chains. Name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
171
171
  - **Autonomy handoff** (flow-core §2): `manual` → propose that command with a single `AskUserQuestion` (recommended option by default), invoke it only on confirmation; `guided`/`auto` → chain into it in this same turn.
@@ -346,5 +346,5 @@ If there were no copied contracts (design said "none"), skip this step and recor
346
346
  - Update `meta.json`: `phase = "build"`, add to `phases_done`.
347
347
  - Multi-MR/PR build: leave the current MR/PR `in_progress` in `meta.json.mrs` (it becomes `merged` when `/flow-feat-ship` confirms the merge). **Also add `build` to that MR/PR's own `phases_done`** (its `mrs[]` entry) — the per-MR/PR marker the downstream gates read.
348
348
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
349
- - Report **following the stop header** (flow-core §3), then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. Next command: `/flow-feat-review` — in `guided`/`auto` say so in the `I need:` line ("nothing, chaining into review"), never as a question.
349
+ - Report **following the stop header** (flow-core §3) **only when this is a stop** — `manual`, or a blocker in any mode. Then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. In `guided`/`auto` `/flow-feat-review` runs in this same turn, so there is no report here: those same points go to the phase artifact, `panel.json` carries `Now`/`Next`, and the turn opens with the call that chains.
350
350
  - **Autonomy handoff.** The summary is a report, not the end of the flow. `manual`: stop and propose `/flow-feat-review` with a single `AskUserQuestion` (recommended option by default); invoke it only on confirmation, never make the user type it. `guided`/`auto`: **chain into `/flow-feat-review` automatically** in this same turn, without asking — never end the turn with the next command as a suggestion.
@@ -346,5 +346,5 @@ Write `.claude/work/<TICKET>/06-review.md`. The `Cost:` line of `## Summary` is
346
346
  - **Stage what the review taught** (`knowledge.stage` set; silence by default). Review is where a project teaches the most and, until now, the one phase that never staged — a work with three review rounds and seventeen blockers produced zero knowledge cards because nothing asked for them while they were in context. Candidates are findings about the **domain or the codebase's real behaviour**, not about this diff: a library that does other than its name says, a test disguise that kept the suite green over a live defect, a module rule the reviewers had to cite from its own prose, a measurement. A blocker fixed here is not knowledge; *why it was written wrong* may be. Same evidence rule as `/flow-feat-design` §8 — one line of evidence per finding or it is not staged. One call per finding, one line to the user («Staged N finding(s) for `ship`»). Never `knowledge.save` here.
347
347
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
348
348
  - **Configuration this phase earned the right to ask about** (flow-core §0, `manual` only, at most one key per work, as an extra option on this same stop — never a question of its own): a role the panel had to improvise on an M/L or sensitive diff → `agents.<role>`; a `Cost:` line that went over `agents.budget_max` → `quality.review_depth`. In `guided`/`auto` neither is asked: the default is taken and recorded in `meta.json.defaults_used[]`.
349
- - Report findings and next step **following the stop header** (flow-core §3); include the `Cost:` line once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
349
+ - Report findings and next step **following the stop header** (flow-core §3) **when this is a stop**; in `guided`/`auto` with a clean gate the next command runs in this same turn, so this goes to `06-review.md` and the turn opens with the call that chains — the `Cost:` line then travels to the stop the run does reach, added to that phase's own. Include it once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
350
350
  - **Autonomy handoff.** Only when there are **no blockers and no unresolved high-severity findings** — with any of those, stop in every mode (hard gate). Clean: in `manual`, propose `/flow-feat-validate` with a single `AskUserQuestion` and invoke it on confirmation; in `guided`/`auto`, **chain into `/flow-feat-validate` automatically** in this same turn. Never chain into `/flow-feat-ship` from here — ship is reached through `validate`.
@@ -285,5 +285,5 @@ Run `tracker.start_cmd` with `{TICKET}` = `meta.json.ticket`, `{ASSIGNEE}` = `tr
285
285
  ## 7. Close
286
286
 
287
287
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5) — first written in §6; refresh it if §6.5 changed anything.
288
- - Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so say so in the `I need:` line instead of asking.
288
+ - Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so there is no report and no question here: update `panel.json` and chain (flow-core §3).
289
289
  - Apply `autonomy.mode`: `manual` → stop and let the user invoke the recommended command; `guided`/`auto` → chain into it, subject to the hard gates (the §5 branch-base ambiguity already stops on its own).
@@ -135,8 +135,8 @@ was wise.
135
135
  | Mode | Decisions | End of the command |
136
136
  |---|---|---|
137
137
  | `manual` | Stop at every decision point | Propose the next command with one `AskUserQuestion` (recommended step as default). Invoke it only on confirmation. Never make the user type it. |
138
- | `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically. |
139
- | `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing. |
138
+ | `guided` | Resolve low-risk, unambiguous ones with the recommended default and **record** the choice in the phase artifact. Ask at genuine decision points. | Chain into the recommended next command automatically — the call that starts it first, no closing report before it (§3). |
139
+ | `auto` | As `guided`, plus resolve the remaining decision points with sensible, recorded defaults. | Chain without pausing, same rule. |
140
140
 
141
141
  **Hard gates — stop and ask in every mode, no exceptions:**
142
142
  1. Any push or MR/PR creation (all of `ship`).
@@ -163,15 +163,33 @@ Asking these anyway is how an unattended run degrades into a manual one.
163
163
 
164
164
  ## 3. Reporting — how every stop reads
165
165
 
166
+ **A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
167
+ Nothing else is a stop, however much has just finished — a phase closing into the next one, a
168
+ chained command, a fan-out about to launch. The header below is the *shape* of a stop, so writing
169
+ it is how you stop: render it while meaning to continue and you will stop anyway. The shape
170
+ decides, not the intention — and on a harness where a message carrying text and no tool call is
171
+ terminal by construction, the turn is over before you notice.
172
+
173
+ - **Continuing? Do not report — act.** No header, no closing bullets. At most one short line naming
174
+ what you are moving to, and the tool call that starts it **in the same message**. Never end a
175
+ message on a promise to keep going.
176
+ - **The continuing call goes first.** When a step closes and the next one runs anyway
177
+ (`guided`/`auto` chaining, §2), the turn opens with the call that starts it, not with prose about
178
+ the one that ended. **A report is never the last thing in a turn you meant to continue.**
179
+ - **Progress belongs to the panel, not to a turn.** Someone watching reads `panel.json` (§4):
180
+ `Now`, `Next`. Writing it costs no turn and no stop; saying it in chat costs both.
181
+ - **Stopping? Then say so.** `I need:` names the decision or the action you are waiting on. It
182
+ never announces that you are continuing — if you were, you would not be writing this header.
183
+
166
184
  The user comes back to a screen they walked away from, often with other works in other panes.
167
- They have read none of your tool calls, subagent reports or artifacts. So every stop — a question,
168
- a hard gate, the end of the turn — **opens with this header**, before any prose:
185
+ They have read none of your tool calls, subagent reports or artifacts. So every stop **opens with
186
+ this header**, before any prose:
169
187
 
170
188
  ```
171
189
  <TICKET> · <size> · phase <phase> · MR #<n> of <N>
172
190
  Plan: <k> of <N> shipped — #1 <url/id> <state> · #2 <state> · #3–#N pending
173
191
  Now: <one line — what just finished>
174
- I need: <one line — the decision or action needed, or "nothing, continuing with X">
192
+ I need: <one line — the decision or action you are waiting on>
175
193
  ```
176
194
 
177
195
  - Every fact from `meta.json` (`ticket`, `size`, `phase`, `mrs[]`), never from memory. Drop the `MR #` and `Plan:` lines when the work has no `mrs`.
@@ -185,7 +203,8 @@ I need: <one line — the decision or action needed, or "nothing, continuing wit
185
203
  ## 4. Live panel — `panel.json`
186
204
 
187
205
  Whenever the state a panel would show changes, overwrite `.claude/work/<work>/panel.json`
188
- **whole** (never patch) from `meta.json` plus what you know right now:
206
+ **whole** (never patch) from `meta.json` plus what you know right now. **Any progress line you were
207
+ about to type into the chat is a panel write instead** (§3):
189
208
 
190
209
  ```json
191
210
  {
@@ -165,5 +165,5 @@ Never the third way: building the mechanism here because the ticket says bug.
165
165
  - Update `meta.json`: `phase = "fix"`, add to `phases_done`.
166
166
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
167
167
  - Suggest next: `/flow-bug-validate` (S/M/L) or `/flow-bug-review` (XS).
168
- - Report **following the stop header** (flow-core §3) and name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
168
+ - Report **following the stop header** (flow-core §3) **when this is a stop** — in `guided`/`auto` the next command runs in this same turn, so the body below goes to the artifact and the turn opens with the call that chains. Name **any premise left unsettled by §2.2** in one line — what breaks if the cause was not the whole cause. `validate` builds its regression test on that assumption, so it is the one thing the user should hear before it is written.
169
169
  - **Autonomy handoff** (flow-core §2): `manual` → propose that command with a single `AskUserQuestion` (recommended option by default), invoke it only on confirmation; `guided`/`auto` → chain into it in this same turn.
@@ -344,5 +344,5 @@ If there were no copied contracts (design said "none"), skip this step and recor
344
344
  - Update `meta.json`: `phase = "build"`, add to `phases_done`.
345
345
  - Multi-MR/PR build: leave the current MR/PR `in_progress` in `meta.json.mrs` (it becomes `merged` when `/flow-feat-ship` confirms the merge). **Also add `build` to that MR/PR's own `phases_done`** (its `mrs[]` entry) — the per-MR/PR marker the downstream gates read.
346
346
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
347
- - Report **following the stop header** (flow-core §3), then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. Next command: `/flow-feat-review` — in `guided`/`auto` say so in the `I need:` line ("nothing, chaining into review"), never as a question.
347
+ - Report **following the stop header** (flow-core §3) **only when this is a stop** — `manual`, or a blocker in any mode. Then in bullets: files touched (high level), pending items, **result of §4.2 (contracts verified)**, and **any premise left unsettled by §2.1bis** — one line, in the language of what breaks if it is false. An open premise the user never hears about is an assumption they were not asked about. In `guided`/`auto` `/flow-feat-review` runs in this same turn, so there is no report here: those same points go to the phase artifact, `panel.json` carries `Now`/`Next`, and the turn opens with the call that chains.
348
348
  - **Autonomy handoff.** The summary is a report, not the end of the flow. `manual`: stop and propose `/flow-feat-review` with a single `AskUserQuestion` (recommended option by default); invoke it only on confirmation, never make the user type it. `guided`/`auto`: **chain into `/flow-feat-review` automatically** in this same turn, without asking — never end the turn with the next command as a suggestion.
@@ -344,5 +344,5 @@ Write `.claude/work/<TICKET>/06-review.md`. The `Cost:` line of `## Summary` is
344
344
  - **Stage what the review taught** (`knowledge.stage` set; silence by default). Review is where a project teaches the most and, until now, the one phase that never staged — a work with three review rounds and seventeen blockers produced zero knowledge cards because nothing asked for them while they were in context. Candidates are findings about the **domain or the codebase's real behaviour**, not about this diff: a library that does other than its name says, a test disguise that kept the suite green over a live defect, a module rule the reviewers had to cite from its own prose, a measurement. A blocker fixed here is not knowledge; *why it was written wrong* may be. Same evidence rule as `/flow-feat-design` §8 — one line of evidence per finding or it is not staged. One call per finding, one line to the user («Staged N finding(s) for `ship`»). Never `knowledge.save` here.
345
345
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
346
346
  - **Configuration this phase earned the right to ask about** (flow-core §0, `manual` only, at most one key per work, as an extra option on this same stop — never a question of its own): a role the panel had to improvise on an M/L or sensitive diff → `agents.<role>`; a `Cost:` line that went over `agents.budget_max` → `quality.review_depth`. In `guided`/`auto` neither is asked: the default is taken and recorded in `meta.json.defaults_used[]`.
347
- - Report findings and next step **following the stop header** (flow-core §3); include the `Cost:` line once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
347
+ - Report findings and next step **following the stop header** (flow-core §3) **when this is a stop**; in `guided`/`auto` with a clean gate the next command runs in this same turn, so this goes to `06-review.md` and the turn opens with the call that chains — the `Cost:` line then travels to the stop the run does reach, added to that phase's own. Include it once. Body: the findings that **survived** verification and what you did with each — a blocker, an applied fix, a rejection with its reason. Corrections to the reviewers' own reports go to `06-review.md`, not here.
348
348
  - **Autonomy handoff.** Only when there are **no blockers and no unresolved high-severity findings** — with any of those, stop in every mode (hard gate). Clean: in `manual`, propose `/flow-feat-validate` with a single `AskUserQuestion` and invoke it on confirmation; in `guided`/`auto`, **chain into `/flow-feat-validate` automatically** in this same turn. Never chain into `/flow-feat-ship` from here — ship is reached through `validate`.
@@ -283,5 +283,5 @@ Run `tracker.start_cmd` with `{TICKET}` = `meta.json.ticket`, `{ASSIGNEE}` = `tr
283
283
  ## 7. Close
284
284
 
285
285
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5) — first written in §6; refresh it if §6.5 changed anything.
286
- - Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so say so in the `I need:` line instead of asking.
286
+ - Report **following the stop header** (flow-core §3), branch added, body 2-3 lines: ticket, size, branch; recommended next command per the §4 table — in `guided`/`auto` you run it in this same turn, so there is no report and no question here: update `panel.json` and chain (flow-core §3).
287
287
  - Apply `autonomy.mode`: `manual` → stop and let the user invoke the recommended command; `guided`/`auto` → chain into it, subject to the hard gates (the §5 branch-base ambiguity already stops on its own).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flow-workflows",
3
- "version": "0.63.0",
3
+ "version": "0.64.0",
4
4
  "description": "Guided feat/bug workflows (start→ship), post-deploy monitoring and multi-agent code review, stack-agnostic. Each repo uses a shared FLOW.md plus optional harness overlay.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -3,7 +3,7 @@
3
3
  "name": "flow",
4
4
  "displayName": "Flow — guided dev workflows",
5
5
  "description": "Guided feat/bug workflows (start→ship), post-deploy monitoring and multi-agent code review, stack-agnostic. Each repo uses a shared FLOW.md plus optional harness overlay.",
6
- "version": "0.63.0",
6
+ "version": "0.64.0",
7
7
  "author": {
8
8
  "name": "Alberto Vioque",
9
9
  "email": "mashware@gmail.com"
@@ -5,6 +5,33 @@ plugin and is what `/flow:news` reads to show you what changed since your previo
5
5
 
6
6
  The canonical, richest notes live in the [GitHub Releases](https://github.com/mashware/flow-workflows/releases).
7
7
 
8
+ ## v0.64.0 — Announcing the next step was how the run ended · 2026-09-16
9
+
10
+ **In short**
11
+ - **A phase that chains no longer reports.** In `guided`/`auto` the turn opens with the call that starts the next command; the summary it used to print goes to the phase artifact.
12
+ - **`I need: nothing, continuing with X` is gone.** That line now names the decision or action being waited on — nothing else.
13
+ - **Progress lines belong to `panel.json`** (`Now`, `Next`): whoever is watching sees the run advance without it costing a turn or a stop.
14
+ - **Nothing changes for `manual`, for blockers, or for `ship`** — those are real stops and still open with the full header.
15
+
16
+ The stop header exists because the user comes back to a screen they walked away from. It is the
17
+ shape of a goodbye — ticket, plan, what just finished, what is needed — and a model that has just
18
+ written a goodbye stops. That is what `"nothing, continuing with X"` asked for: render the
19
+ farewell, then keep working. In practice the run ended there, having just promised it would not,
20
+ and the user found a pane sitting idle under a sentence saying it was busy.
21
+
22
+ The promise was not merely unlikely, it was unkeepable on some harnesses. A turn ends when the
23
+ model emits text with no tool call behind it: emitting the text *is* handing control back. Claude
24
+ Code allows text and a tool call in the same message, so there the failure is a habit; on an
25
+ OpenAI-shaped API, where a message carrying content and no `tool_calls` is terminal by
26
+ construction, there was never a way for the sentence to come true.
27
+
28
+ So the contract is now ordered rather than intended. `flow-core §3` opens by defining a stop — a
29
+ question, a hard gate, the end of the flow — and says that everything else, however much has just
30
+ finished, is not one. When the next command runs anyway, the continuing call goes **first** and no
31
+ report precedes it. `feat:start`, `feat:build`, `feat:review` and `bug:fix` say the same at their
32
+ own `## Close`, where the temptation actually lives, and `feat:review`'s `Cost:` line travels to
33
+ the stop the run does reach instead of being announced at a juncture that is not one.
34
+
8
35
  ## v0.63.0 — A file collected everything nobody was going to do · 2026-09-16
9
36
 
10
37
  **In short**