flow-workflows 0.97.1 → 0.97.2

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.
@@ -17,7 +17,7 @@ Every `$flow-*` command assumes these rules. They are stated once, here, so a co
17
17
  carries what is specific to its phase. Read this once per session; a command that says "load
18
18
  `flow-core`" means this file.
19
19
 
20
- **This file belongs to flow `0.97.1`.** Compare it once, at the start of the session, against
20
+ **This file belongs to flow `0.97.2`.** Compare it once, at the start of the session, against
21
21
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
22
22
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
23
23
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -321,9 +321,15 @@ assumed:
321
321
  - **Exactly one closing order per run** — `ask`, `publish`, `blocked` or `done` — and the run ends
322
322
  right after it: no further phase starts. The one write that follows it is its own result in
323
323
  `meta.json` — `publish` marking what it published (`$flow-feat-ship`) — inside the work folder,
324
- never committed. A closing order that exits ≠ 0 → print its stderr in the
325
- stop header and end; **never try another closing order** in its place, and never retry a question
326
- as a different one.
324
+ never committed. A closing order that exits ≠ 0 closed nothing — the orchestrator records an
325
+ order only when it accepts it. When its stderr names something this run wrote — an argument, a
326
+ file, an uncommitted tree — fix that and send **the same order once more**; a second refusal, or
327
+ one about something the run cannot change → print its stderr in the stop header and end.
328
+ **Never try another closing order** in its place, and never retry a question as a different one.
329
+ - **`--part N --of M` belongs to the publish that opens an MR/PR** of a split work
330
+ (`$flow-feat-ship`). A publish that updates one already open — `$flow-work-green`,
331
+ `$flow-work-respond` — carries neither: the MR/PR is already that part, and an orchestrator may
332
+ refuse a part declared on a run launched for `pipeline`, `conflict` or `review`.
327
333
  - **Free text travels in files, never on the command line.** Question, options (one per line, the
328
334
  recommended one first), title, body, reason and summary are written into the work folder
329
335
  (`ask-question.md`, `ask-options.md`, `publish-title.md`, `publish-body.md`, `blocked-reason.md`,
@@ -80,8 +80,8 @@ others resolve this way:
80
80
  - **§7 before the closing order** — logged as written; offers are `Later`; re-posting the
81
81
  performance comment is not done — a changed number goes into `publish-body.md`.
82
82
  - **§6** — no push, no rerun, no watch. The closing order, after the WIP commit (flow-core §2.1): `publish` with the
83
- work's `publish-title.md` / `publish-body.md` and the `--part/--of` `$flow-feat-ship` passed; the
84
- orchestrator pushes and the pipeline runs again.
83
+ work's `publish-title.md` / `publish-body.md` and no `--part/--of` — the MR/PR is already open
84
+ (flow-core §2.1); the orchestrator pushes and the pipeline runs again.
85
85
 
86
86
  ## 1. Pre-flight — locate the work and the MR/PR
87
87
 
@@ -100,8 +100,8 @@ back through it, and the hard gates above resolve this way:
100
100
  ≠ 0 is recorded in `08-feedback.md` and the remaining replies still go out.
101
101
  - **The one closing order**, after the WIP commit (flow-core §2.1): code changed this round →
102
102
  `publish` with the work's `publish-title.md` / `publish-body.md` (updated when the round changed
103
- what they say, and naming any thread whose reply failed) and the `--part/--of` `$flow-feat-ship`
104
- passed — the commits the replies name must reach the branch; no code changed and every reply went
103
+ what they say, and naming any thread whose reply failed) and no `--part/--of` — the MR/PR is
104
+ already open (flow-core §2.1) — so the commits the replies name reach the branch; no code changed and every reply went
105
105
  out → `done`, the summary listing the threads answered; no code changed and a reply failed →
106
106
  `blocked`, naming those threads.
107
107
 
@@ -16,7 +16,7 @@ Every `/flow:*` command assumes these rules. They are stated once, here, so a co
16
16
  carries what is specific to its phase. Read this once per session; a command that says "load
17
17
  `flow-core`" means this file.
18
18
 
19
- **This file belongs to flow `0.97.1`.** Compare it once, at the start of the session, against
19
+ **This file belongs to flow `0.97.2`.** Compare it once, at the start of the session, against
20
20
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
21
21
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
22
22
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -320,9 +320,15 @@ assumed:
320
320
  - **Exactly one closing order per run** — `ask`, `publish`, `blocked` or `done` — and the run ends
321
321
  right after it: no further phase starts. The one write that follows it is its own result in
322
322
  `meta.json` — `publish` marking what it published (`/flow:feat:ship`) — inside the work folder,
323
- never committed. A closing order that exits ≠ 0 → print its stderr in the
324
- stop header and end; **never try another closing order** in its place, and never retry a question
325
- as a different one.
323
+ never committed. A closing order that exits ≠ 0 closed nothing — the orchestrator records an
324
+ order only when it accepts it. When its stderr names something this run wrote — an argument, a
325
+ file, an uncommitted tree — fix that and send **the same order once more**; a second refusal, or
326
+ one about something the run cannot change → print its stderr in the stop header and end.
327
+ **Never try another closing order** in its place, and never retry a question as a different one.
328
+ - **`--part N --of M` belongs to the publish that opens an MR/PR** of a split work
329
+ (`/flow:feat:ship`). A publish that updates one already open — `/flow:work:green`,
330
+ `/flow:work:respond` — carries neither: the MR/PR is already that part, and an orchestrator may
331
+ refuse a part declared on a run launched for `pipeline`, `conflict` or `review`.
326
332
  - **Free text travels in files, never on the command line.** Question, options (one per line, the
327
333
  recommended one first), title, body, reason and summary are written into the work folder
328
334
  (`ask-question.md`, `ask-options.md`, `publish-title.md`, `publish-body.md`, `blocked-reason.md`,
@@ -76,8 +76,8 @@ others resolve this way:
76
76
  - **§7 before the closing order** — logged as written; offers are `Later`; re-posting the
77
77
  performance comment is not done — a changed number goes into `publish-body.md`.
78
78
  - **§6** — no push, no rerun, no watch. The closing order, after the WIP commit (flow-core §2.1): `publish` with the
79
- work's `publish-title.md` / `publish-body.md` and the `--part/--of` `/flow:feat:ship` passed; the
80
- orchestrator pushes and the pipeline runs again.
79
+ work's `publish-title.md` / `publish-body.md` and no `--part/--of` — the MR/PR is already open
80
+ (flow-core §2.1); the orchestrator pushes and the pipeline runs again.
81
81
 
82
82
  ## 1. Pre-flight — locate the work and the MR/PR
83
83
 
@@ -96,8 +96,8 @@ back through it, and the hard gates above resolve this way:
96
96
  ≠ 0 is recorded in `08-feedback.md` and the remaining replies still go out.
97
97
  - **The one closing order**, after the WIP commit (flow-core §2.1): code changed this round →
98
98
  `publish` with the work's `publish-title.md` / `publish-body.md` (updated when the round changed
99
- what they say, and naming any thread whose reply failed) and the `--part/--of` `/flow:feat:ship`
100
- passed — the commits the replies name must reach the branch; no code changed and every reply went
99
+ what they say, and naming any thread whose reply failed) and no `--part/--of` — the MR/PR is
100
+ already open (flow-core §2.1) — so the commits the replies name reach the branch; no code changed and every reply went
101
101
  out → `done`, the summary listing the threads answered; no code changed and a reply failed →
102
102
  `blocked`, naming those threads.
103
103
 
@@ -17,7 +17,7 @@ Every `/flow-*` command assumes these rules. They are stated once, here, so a co
17
17
  carries what is specific to its phase. Read this once per session; a command that says "load
18
18
  `flow-core`" means this file.
19
19
 
20
- **This file belongs to flow `0.97.1`.** Compare it once, at the start of the session, against
20
+ **This file belongs to flow `0.97.2`.** Compare it once, at the start of the session, against
21
21
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
22
22
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
23
23
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -321,9 +321,15 @@ assumed:
321
321
  - **Exactly one closing order per run** — `ask`, `publish`, `blocked` or `done` — and the run ends
322
322
  right after it: no further phase starts. The one write that follows it is its own result in
323
323
  `meta.json` — `publish` marking what it published (`/flow-feat-ship`) — inside the work folder,
324
- never committed. A closing order that exits ≠ 0 → print its stderr in the
325
- stop header and end; **never try another closing order** in its place, and never retry a question
326
- as a different one.
324
+ never committed. A closing order that exits ≠ 0 closed nothing — the orchestrator records an
325
+ order only when it accepts it. When its stderr names something this run wrote — an argument, a
326
+ file, an uncommitted tree — fix that and send **the same order once more**; a second refusal, or
327
+ one about something the run cannot change → print its stderr in the stop header and end.
328
+ **Never try another closing order** in its place, and never retry a question as a different one.
329
+ - **`--part N --of M` belongs to the publish that opens an MR/PR** of a split work
330
+ (`/flow-feat-ship`). A publish that updates one already open — `/flow-work-green`,
331
+ `/flow-work-respond` — carries neither: the MR/PR is already that part, and an orchestrator may
332
+ refuse a part declared on a run launched for `pipeline`, `conflict` or `review`.
327
333
  - **Free text travels in files, never on the command line.** Question, options (one per line, the
328
334
  recommended one first), title, body, reason and summary are written into the work folder
329
335
  (`ask-question.md`, `ask-options.md`, `publish-title.md`, `publish-body.md`, `blocked-reason.md`,
@@ -80,8 +80,8 @@ others resolve this way:
80
80
  - **§7 before the closing order** — logged as written; offers are `Later`; re-posting the
81
81
  performance comment is not done — a changed number goes into `publish-body.md`.
82
82
  - **§6** — no push, no rerun, no watch. The closing order, after the WIP commit (flow-core §2.1): `publish` with the
83
- work's `publish-title.md` / `publish-body.md` and the `--part/--of` `/flow-feat-ship` passed; the
84
- orchestrator pushes and the pipeline runs again.
83
+ work's `publish-title.md` / `publish-body.md` and no `--part/--of` — the MR/PR is already open
84
+ (flow-core §2.1); the orchestrator pushes and the pipeline runs again.
85
85
 
86
86
  ## 1. Pre-flight — locate the work and the MR/PR
87
87
 
@@ -100,8 +100,8 @@ back through it, and the hard gates above resolve this way:
100
100
  ≠ 0 is recorded in `08-feedback.md` and the remaining replies still go out.
101
101
  - **The one closing order**, after the WIP commit (flow-core §2.1): code changed this round →
102
102
  `publish` with the work's `publish-title.md` / `publish-body.md` (updated when the round changed
103
- what they say, and naming any thread whose reply failed) and the `--part/--of` `/flow-feat-ship`
104
- passed — the commits the replies name must reach the branch; no code changed and every reply went
103
+ what they say, and naming any thread whose reply failed) and no `--part/--of` — the MR/PR is
104
+ already open (flow-core §2.1) — so the commits the replies name reach the branch; no code changed and every reply went
105
105
  out → `done`, the summary listing the threads answered; no code changed and a reply failed →
106
106
  `blocked`, naming those threads.
107
107
 
@@ -16,7 +16,7 @@ Every `/flow-*` command assumes these rules. They are stated once, here, so a co
16
16
  carries what is specific to its phase. Read this once per session; a command that says "load
17
17
  `flow-core`" means this file.
18
18
 
19
- **This file belongs to flow `0.97.1`.** Compare it once, at the start of the session, against
19
+ **This file belongs to flow `0.97.2`.** Compare it once, at the start of the session, against
20
20
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
21
21
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
22
22
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -320,9 +320,15 @@ assumed:
320
320
  - **Exactly one closing order per run** — `ask`, `publish`, `blocked` or `done` — and the run ends
321
321
  right after it: no further phase starts. The one write that follows it is its own result in
322
322
  `meta.json` — `publish` marking what it published (`/flow-feat-ship`) — inside the work folder,
323
- never committed. A closing order that exits ≠ 0 → print its stderr in the
324
- stop header and end; **never try another closing order** in its place, and never retry a question
325
- as a different one.
323
+ never committed. A closing order that exits ≠ 0 closed nothing — the orchestrator records an
324
+ order only when it accepts it. When its stderr names something this run wrote — an argument, a
325
+ file, an uncommitted tree — fix that and send **the same order once more**; a second refusal, or
326
+ one about something the run cannot change → print its stderr in the stop header and end.
327
+ **Never try another closing order** in its place, and never retry a question as a different one.
328
+ - **`--part N --of M` belongs to the publish that opens an MR/PR** of a split work
329
+ (`/flow-feat-ship`). A publish that updates one already open — `/flow-work-green`,
330
+ `/flow-work-respond` — carries neither: the MR/PR is already that part, and an orchestrator may
331
+ refuse a part declared on a run launched for `pipeline`, `conflict` or `review`.
326
332
  - **Free text travels in files, never on the command line.** Question, options (one per line, the
327
333
  recommended one first), title, body, reason and summary are written into the work folder
328
334
  (`ask-question.md`, `ask-options.md`, `publish-title.md`, `publish-body.md`, `blocked-reason.md`,
@@ -78,8 +78,8 @@ others resolve this way:
78
78
  - **§7 before the closing order** — logged as written; offers are `Later`; re-posting the
79
79
  performance comment is not done — a changed number goes into `publish-body.md`.
80
80
  - **§6** — no push, no rerun, no watch. The closing order, after the WIP commit (flow-core §2.1): `publish` with the
81
- work's `publish-title.md` / `publish-body.md` and the `--part/--of` `/flow-feat-ship` passed; the
82
- orchestrator pushes and the pipeline runs again.
81
+ work's `publish-title.md` / `publish-body.md` and no `--part/--of` — the MR/PR is already open
82
+ (flow-core §2.1); the orchestrator pushes and the pipeline runs again.
83
83
 
84
84
  ## 1. Pre-flight — locate the work and the MR/PR
85
85
 
@@ -98,8 +98,8 @@ back through it, and the hard gates above resolve this way:
98
98
  ≠ 0 is recorded in `08-feedback.md` and the remaining replies still go out.
99
99
  - **The one closing order**, after the WIP commit (flow-core §2.1): code changed this round →
100
100
  `publish` with the work's `publish-title.md` / `publish-body.md` (updated when the round changed
101
- what they say, and naming any thread whose reply failed) and the `--part/--of` `/flow-feat-ship`
102
- passed — the commits the replies name must reach the branch; no code changed and every reply went
101
+ what they say, and naming any thread whose reply failed) and no `--part/--of` — the MR/PR is
102
+ already open (flow-core §2.1) — so the commits the replies name reach the branch; no code changed and every reply went
103
103
  out → `done`, the summary listing the threads answered; no code changed and a reply failed →
104
104
  `blocked`, naming those threads.
105
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flow-workflows",
3
- "version": "0.97.1",
3
+ "version": "0.97.2",
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.97.1",
6
+ "version": "0.97.2",
7
7
  "author": {
8
8
  "name": "Alberto Vioque",
9
9
  "email": "mashware@gmail.com"
@@ -5,6 +5,20 @@ 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.97.2 — An update to an open MR/PR no longer declares a part · 2026-10-20
9
+
10
+ **In short**
11
+ - **Updating an MR/PR that is already open publishes without `--part/--of`.** `/flow:work:green`
12
+ and `/flow:work:respond` used to repeat the part `ship` declared; an orchestrator may refuse a
13
+ part on a run launched for a pipeline, a conflict or a review.
14
+ - **A refused closing order can be corrected once.** An order that exits ≠ 0 closed nothing: when
15
+ its error names something the run wrote — an argument, a file, an uncommitted tree — the run
16
+ fixes it and sends the same order again. A second refusal still ends the run.
17
+
18
+ A conflict run merged the base, got its suite green and then sent `publish --part 1 --of 2`; the
19
+ orchestrator refused the part, and the rule against a second closing order left the run nothing
20
+ to do but exit — the work was done and never handed over.
21
+
8
22
  ## v0.97.1 — Repair rounds go on while the red count drops · 2026-10-20
9
23
 
10
24
  **In short**