flow-workflows 0.99.2 → 0.100.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.
@@ -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.99.2`.** Compare it once, at the start of the session, against
20
+ **This file belongs to flow `0.100.0`.** 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
@@ -302,14 +302,15 @@ configuration; these orders are the whole interface, and nothing else about the
302
302
  assumed:
303
303
 
304
304
  ```
305
- <cmd> why → start | study | answer | review | pipeline | merged | conflict
306
- <cmd> ticket --json → {number, title, body, comments[{author, at, text}], base, kind}
305
+ <cmd> why → start | study | answer | review | pipeline | merged | conflict | next
306
+ <cmd> ticket --json → {number, title, body, comments[{author, at, text}], base, kind, stack?}
307
307
  <cmd> answer → one option's exact text, or free text; exit 2 = no reply
308
308
  <cmd> events --json → {"comments":[{thread,kind,id,author,at,body,url,path?,line?,owner?}]}
309
309
  | {"sha":…, "failed":[{name,conclusion,url,log_tail}]}
310
310
  | {"conflict":{"base":…, "base_sha":…}}
311
+ | {"part":…, "parts":…, "part_pr":{number,url,branch}|null, "umbrella":{…}}
311
312
  <cmd> ask --question-file F --options-file F [--recommended N] [--free-text] [--gate NAME]
312
- <cmd> publish --title-file F --body-file F [--part N --of M]
313
+ <cmd> publish --title-file F --body-file F [--part N --of M [--stack]]
313
314
  <cmd> blocked --reason-file F
314
315
  <cmd> done [--summary-file F] [--depends-on N]…
315
316
  <cmd> reply --thread ID --body-file F
@@ -330,6 +331,12 @@ assumed:
330
331
  (`$flow-feat-ship`). A publish that updates one already open — `$flow-work-green`,
331
332
  `$flow-work-respond` — carries neither: the MR/PR is already that part, and an orchestrator may
332
333
  refuse a part declared on a run launched for `pipeline`, `conflict` or `review`.
334
+ - **`--stack` goes with every `--part` when `<cmd> ticket --json` says `"stack": true`** — an
335
+ orchestrator that can stack a split's parts says so there, and only there. It then builds the next
336
+ part without waiting for this one to merge: the run ends at `publish` as always, and the next
337
+ launch is `why = next`, with `base` the branch of the part just published (or the umbrella, once
338
+ every part below it is in). `stack` absent or false → no `--stack`, and the next part waits for
339
+ `why = merged` as before.
333
340
  - **Free text travels in files, never on the command line.** Question, options (one per line, the
334
341
  recommended one first), title, body, reason and summary are written into the work folder
335
342
  (`ask-question.md`, `ask-options.md`, `publish-title.md`, `publish-body.md`, `blocked-reason.md`,
@@ -373,7 +380,7 @@ run has.
373
380
  runs the study phases as any run does, and three rules make it stop where it should:
374
381
 
375
382
  - **The door to code.** The first step of `$flow-feat-build` and `$flow-bug-fix` pre-flight, in
376
- `unattended`, re-reads `<cmd> why`: `start`, `answer`, `merged`, `review`, `pipeline` or `conflict` → go on;
383
+ `unattended`, re-reads `<cmd> why`: `start`, `answer`, `merged`, `next`, `review`, `pipeline` or `conflict` → go on;
377
384
  `study` → the study ends here; anything else, or the order failing → `blocked`. Every path from a
378
385
  study to code crosses that door, an answered question that resumes straight into `build`
379
386
  included, so the phases before it carry no clause. The run kind is read there, never stored: the
@@ -420,8 +427,8 @@ person asking for changes, a ticket that already has code — is `$flow-work-run
420
427
  | Criteria that need a person to verify (`validate`) | record — `not-verified-unattended`; every later `ship`, in any mode, lists them in the body under "Not verified — needs a human" |
421
428
  | The query duel needs a database (`review`, `query`) | record — schema-only verdict; never create or seed a database |
422
429
  | "Was it merged?" (`ship` close) | record — not merged; the orchestrator relaunches with `why = merged` when it is |
423
- | The next MR/PR of a train (`ship` close) | record — not started: one MR/PR per unattended run |
424
- | `build` with no startable MR/PR (its `depends_on` not `merged` in `meta.json`) | blocked — the reason names what must merge; an unattended `build` never stacks a branch on another, and never creates a remote branch |
430
+ | The next MR/PR of a train (`ship` close) | record — not started: one MR/PR per unattended run; with `--stack` the orchestrator relaunches with `why = next` |
431
+ | `build` with no startable MR/PR (its `depends_on` not `merged` in `meta.json`) | blocked — the reason names what must merge; an unattended `build` never stacks a branch on another, and never creates a remote branch. **On `why = next`** a dependency `published` counts as met: the orchestrator's `base` already holds it, and the new branch starts there |
425
432
  | The parent of a stacked MR/PR merged — rebase and force-push | blocked — never force-push unattended |
426
433
  | An approved study's branch (`run`, `why = start`, no build or fix begun) | record — fast-forwarded to its base when it holds no commit of its own (`$flow-work-run` §2); the base unreadable or the fast-forward failing → blocked. Not integrating: nothing of the run's is merged |
427
434
  | Integrating the base into the MR/PR's branch (`green`) | on `why = conflict`, record — `git merge origin/<base>` as the orchestrator left it, never rebase, each conflict resolved on its merits (`$flow-work-green` §5.C); on any other `why`, blocked — the orchestrator brings the base in |
@@ -44,7 +44,7 @@ Implementation phase. Code is written here.
44
44
  before writing against it. Nothing is checked; waiting is the builder's call.
45
45
  - `size` M/L: require both `03-design.md` **and** `04-mr-plan.md`. Plan missing → send to `$flow-feat-plan`; design missing → send to `$flow-feat-design`.
46
46
  - `size` XS/S: may start without a design — ask the user for a 2-3 line note on what will be done and save it as a minimal `03-design.md`. No MR/PR plan (always 1 MR/PR).
47
- - **If `meta.json.mrs` has more than one entry**: pick the **startable** MR/PR — the `pending` one with the **lowest `n` whose `depends_on` are all `merged`**. Dependencies still `pending`/`in_progress` → not startable, even with a low `n`. (No `wave`/`depends_on` — an older plan — → "first pending by `n`".)
47
+ - **If `meta.json.mrs` has more than one entry**: pick the **startable** MR/PR — the `pending` one with the **lowest `n` whose `depends_on` are all `merged`**. Dependencies still `pending`/`in_progress` → not startable, even with a low `n`. **In `unattended` on `why = next`** (a stacked split, flow-core §2.1) a dependency `published` counts as met: `meta.json.base` is that part's branch, so the new branch starts on top of it. (No `wave`/`depends_on` — an older plan — → "first pending by `n`".)
48
48
  - **Parallel siblings**: startable `pending` MRs/PRs in the **same `wave`** with no dependency between them can be built in parallel or as a train. `manual`: let the user choose which to take now (default: lowest `n`); `guided`/`auto`: take the lowest `n`, record the choice. Mark the chosen one `in_progress`.
49
49
  - All `merged` → warn: feature is done, nothing to build (in `unattended`: `done`, the summary saying so).
50
50
  - Some `pending` but **none** startable → start nothing: tell the user which MR/PR must merge to unlock the next wave, and stop. In `unattended`: `blocked`, the reason naming it.
@@ -52,11 +52,13 @@ place it would ask:
52
52
  the work folder.
53
53
  - **"Was it merged?" (§6.1)** → not merged: the entry stays `in_progress` (a work with no `mrs`
54
54
  keeps `phase = "ship"`) until `publish` succeeds, below. **The parent merged first (§6.2.1)** → blocked, never
55
- force-push. **Train continuation (§6.2)** → not started: one MR/PR per unattended run.
55
+ force-push. **Train continuation (§6.2)** → not started: one MR/PR per unattended run (with
56
+ `--stack`, the orchestrator launches the next one as `why = next`).
56
57
  - **At Close**, after `meta.json` and `00-summary.md` are written: commit what is left outside
57
58
  `.claude/work/` so the tree is clean, then the run's closing order — `<cmd> publish --title-file
58
59
  <work>/publish-title.md --body-file <work>/publish-body.md`, plus `--part <n> --of <N>` when
59
- `meta.json.mrs` has more than one entry (`n` this MR/PR's, `N` the number of entries). Exit 0 →
60
+ `meta.json.mrs` has more than one entry (`n` this MR/PR's, `N` the number of entries), and
61
+ `--stack` beside them when `<cmd> ticket --json` says `"stack": true` (flow-core §2.1). Exit 0 →
60
62
  this MR/PR's `mrs[]` entry gets `status: "published"` (a work with no `mrs`: `meta.json.published:
61
63
  true`) — what `$flow-work-run` turns into `merged` when the orchestrator relaunches with
62
64
  `why = merged` — and nothing else runs. The summary and the panel written before it say the work
@@ -36,7 +36,7 @@ of truth, and an argument that disagrees with it is ignored and named in the log
36
36
  other mode a person is the router (`$flow-next`).
37
37
  - `autonomy.orchestrator_cmd` empty → flow-core §2.1: no phase runs.
38
38
  - Run `<cmd> why`. It fails, or prints anything but `start`, `study`, `answer`, `review`,
39
- `pipeline`, `merged` or `conflict` → print what it returned and its stderr in the §3 header and end. No closing order: an
39
+ `pipeline`, `merged`, `conflict` or `next` → print what it returned and its stderr in the §3 header and end. No closing order: an
40
40
  orchestrator that cannot say why it launched the run cannot take one either.
41
41
  - Run `<cmd> ticket --json` and keep `number`, `title`, `base` and `kind` (`kind` absent or `null` → `feat`: the tracker could not tell, so flow decides). `kind` is re-read on every run; only a run that starts the work uses it — once the work exists, its folder says feat or bug.
42
42
  It fails or prints no `number` → `blocked` (flow-core §2.1).
@@ -63,6 +63,8 @@ of truth, and an argument that disagrees with it is ignored and named in the log
63
63
  | `merged` | exists, something published | the entry of `meta.json.mrs` whose `status` is `published` (the only one: one MR/PR per run) becomes `merged`; set `meta.json.base` to the `base` just read (empty → `git.default_base`); the next startable MR/PR → `$flow-feat-build`; none left, or a work with no `mrs` and `published` true (one MR/PR, every bug) → `phase = done` and `done`, the summary naming the ticket as complete |
64
64
  | `merged` | exists, nothing published, its last `mrs[]` entry with a number `merged` | the same merge again: a run that recorded it and then stopped (a block, a crash) is relaunched with the same `why`, since no part was published after it. Nothing to record — the next startable MR/PR → `$flow-feat-build`; none left → `phase = done` and `done`, as the row above |
65
65
  | `merged` | none, or nothing published and nothing merged | `blocked` — nothing of this ticket was published from here |
66
+ | `next` | exists, something published | a stacked split (flow-core §2.1, `--stack`): nothing merged, so every `published` entry stays `published`. Set `meta.json.base` to the `base` just read — the branch of the part published last, or the umbrella — then the next startable MR/PR, a `published` dependency counting as met → `$flow-feat-build`; none left → `done`, the summary saying every part is published and waits to merge |
67
+ | `next` | none, or nothing published | `blocked` — there is no published part to build on |
66
68
  | `review` | exists | `$flow-work-respond` — the threads come from `<cmd> events --json` |
67
69
  | `pipeline` | exists | `$flow-work-green` — the failed jobs come from `<cmd> events --json` |
68
70
  | `conflict` | exists | `$flow-work-green` — the MR/PR conflicts with its base; which base, and where it stands, come from `<cmd> events --json` |
@@ -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.99.2`.** Compare it once, at the start of the session, against
19
+ **This file belongs to flow `0.100.0`.** 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
@@ -301,14 +301,15 @@ configuration; these orders are the whole interface, and nothing else about the
301
301
  assumed:
302
302
 
303
303
  ```
304
- <cmd> why → start | study | answer | review | pipeline | merged | conflict
305
- <cmd> ticket --json → {number, title, body, comments[{author, at, text}], base, kind}
304
+ <cmd> why → start | study | answer | review | pipeline | merged | conflict | next
305
+ <cmd> ticket --json → {number, title, body, comments[{author, at, text}], base, kind, stack?}
306
306
  <cmd> answer → one option's exact text, or free text; exit 2 = no reply
307
307
  <cmd> events --json → {"comments":[{thread,kind,id,author,at,body,url,path?,line?,owner?}]}
308
308
  | {"sha":…, "failed":[{name,conclusion,url,log_tail}]}
309
309
  | {"conflict":{"base":…, "base_sha":…}}
310
+ | {"part":…, "parts":…, "part_pr":{number,url,branch}|null, "umbrella":{…}}
310
311
  <cmd> ask --question-file F --options-file F [--recommended N] [--free-text] [--gate NAME]
311
- <cmd> publish --title-file F --body-file F [--part N --of M]
312
+ <cmd> publish --title-file F --body-file F [--part N --of M [--stack]]
312
313
  <cmd> blocked --reason-file F
313
314
  <cmd> done [--summary-file F] [--depends-on N]…
314
315
  <cmd> reply --thread ID --body-file F
@@ -329,6 +330,12 @@ assumed:
329
330
  (`/flow:feat:ship`). A publish that updates one already open — `/flow:work:green`,
330
331
  `/flow:work:respond` — carries neither: the MR/PR is already that part, and an orchestrator may
331
332
  refuse a part declared on a run launched for `pipeline`, `conflict` or `review`.
333
+ - **`--stack` goes with every `--part` when `<cmd> ticket --json` says `"stack": true`** — an
334
+ orchestrator that can stack a split's parts says so there, and only there. It then builds the next
335
+ part without waiting for this one to merge: the run ends at `publish` as always, and the next
336
+ launch is `why = next`, with `base` the branch of the part just published (or the umbrella, once
337
+ every part below it is in). `stack` absent or false → no `--stack`, and the next part waits for
338
+ `why = merged` as before.
332
339
  - **Free text travels in files, never on the command line.** Question, options (one per line, the
333
340
  recommended one first), title, body, reason and summary are written into the work folder
334
341
  (`ask-question.md`, `ask-options.md`, `publish-title.md`, `publish-body.md`, `blocked-reason.md`,
@@ -372,7 +379,7 @@ run has.
372
379
  runs the study phases as any run does, and three rules make it stop where it should:
373
380
 
374
381
  - **The door to code.** The first step of `/flow:feat:build` and `/flow:bug:fix` pre-flight, in
375
- `unattended`, re-reads `<cmd> why`: `start`, `answer`, `merged`, `review`, `pipeline` or `conflict` → go on;
382
+ `unattended`, re-reads `<cmd> why`: `start`, `answer`, `merged`, `next`, `review`, `pipeline` or `conflict` → go on;
376
383
  `study` → the study ends here; anything else, or the order failing → `blocked`. Every path from a
377
384
  study to code crosses that door, an answered question that resumes straight into `build`
378
385
  included, so the phases before it carry no clause. The run kind is read there, never stored: the
@@ -419,8 +426,8 @@ person asking for changes, a ticket that already has code — is `/flow:work:run
419
426
  | Criteria that need a person to verify (`validate`) | record — `not-verified-unattended`; every later `ship`, in any mode, lists them in the body under "Not verified — needs a human" |
420
427
  | The query duel needs a database (`review`, `query`) | record — schema-only verdict; never create or seed a database |
421
428
  | "Was it merged?" (`ship` close) | record — not merged; the orchestrator relaunches with `why = merged` when it is |
422
- | The next MR/PR of a train (`ship` close) | record — not started: one MR/PR per unattended run |
423
- | `build` with no startable MR/PR (its `depends_on` not `merged` in `meta.json`) | blocked — the reason names what must merge; an unattended `build` never stacks a branch on another, and never creates a remote branch |
429
+ | The next MR/PR of a train (`ship` close) | record — not started: one MR/PR per unattended run; with `--stack` the orchestrator relaunches with `why = next` |
430
+ | `build` with no startable MR/PR (its `depends_on` not `merged` in `meta.json`) | blocked — the reason names what must merge; an unattended `build` never stacks a branch on another, and never creates a remote branch. **On `why = next`** a dependency `published` counts as met: the orchestrator's `base` already holds it, and the new branch starts there |
424
431
  | The parent of a stacked MR/PR merged — rebase and force-push | blocked — never force-push unattended |
425
432
  | An approved study's branch (`run`, `why = start`, no build or fix begun) | record — fast-forwarded to its base when it holds no commit of its own (`/flow:work:run` §2); the base unreadable or the fast-forward failing → blocked. Not integrating: nothing of the run's is merged |
426
433
  | Integrating the base into the MR/PR's branch (`green`) | on `why = conflict`, record — `git merge origin/<base>` as the orchestrator left it, never rebase, each conflict resolved on its merits (`/flow:work:green` §5.C); on any other `why`, blocked — the orchestrator brings the base in |
@@ -40,7 +40,7 @@ Implementation phase. Code is written here.
40
40
  before writing against it. Nothing is checked; waiting is the builder's call.
41
41
  - `size` M/L: require both `03-design.md` **and** `04-mr-plan.md`. Plan missing → send to `/flow:feat:plan`; design missing → send to `/flow:feat:design`.
42
42
  - `size` XS/S: may start without a design — ask the user for a 2-3 line note on what will be done and save it as a minimal `03-design.md`. No MR/PR plan (always 1 MR/PR).
43
- - **If `meta.json.mrs` has more than one entry**: pick the **startable** MR/PR — the `pending` one with the **lowest `n` whose `depends_on` are all `merged`**. Dependencies still `pending`/`in_progress` → not startable, even with a low `n`. (No `wave`/`depends_on` — an older plan — → "first pending by `n`".)
43
+ - **If `meta.json.mrs` has more than one entry**: pick the **startable** MR/PR — the `pending` one with the **lowest `n` whose `depends_on` are all `merged`**. Dependencies still `pending`/`in_progress` → not startable, even with a low `n`. **In `unattended` on `why = next`** (a stacked split, flow-core §2.1) a dependency `published` counts as met: `meta.json.base` is that part's branch, so the new branch starts on top of it. (No `wave`/`depends_on` — an older plan — → "first pending by `n`".)
44
44
  - **Parallel siblings**: startable `pending` MRs/PRs in the **same `wave`** with no dependency between them can be built in parallel or as a train. `manual`: let the user choose which to take now (default: lowest `n`); `guided`/`auto`: take the lowest `n`, record the choice. Mark the chosen one `in_progress`.
45
45
  - All `merged` → warn: feature is done, nothing to build (in `unattended`: `done`, the summary saying so).
46
46
  - Some `pending` but **none** startable → start nothing: tell the user which MR/PR must merge to unlock the next wave, and stop. In `unattended`: `blocked`, the reason naming it.
@@ -48,11 +48,13 @@ place it would ask:
48
48
  the work folder.
49
49
  - **"Was it merged?" (§6.1)** → not merged: the entry stays `in_progress` (a work with no `mrs`
50
50
  keeps `phase = "ship"`) until `publish` succeeds, below. **The parent merged first (§6.2.1)** → blocked, never
51
- force-push. **Train continuation (§6.2)** → not started: one MR/PR per unattended run.
51
+ force-push. **Train continuation (§6.2)** → not started: one MR/PR per unattended run (with
52
+ `--stack`, the orchestrator launches the next one as `why = next`).
52
53
  - **At Close**, after `meta.json` and `00-summary.md` are written: commit what is left outside
53
54
  `.claude/work/` so the tree is clean, then the run's closing order — `<cmd> publish --title-file
54
55
  <work>/publish-title.md --body-file <work>/publish-body.md`, plus `--part <n> --of <N>` when
55
- `meta.json.mrs` has more than one entry (`n` this MR/PR's, `N` the number of entries). Exit 0 →
56
+ `meta.json.mrs` has more than one entry (`n` this MR/PR's, `N` the number of entries), and
57
+ `--stack` beside them when `<cmd> ticket --json` says `"stack": true` (flow-core §2.1). Exit 0 →
56
58
  this MR/PR's `mrs[]` entry gets `status: "published"` (a work with no `mrs`: `meta.json.published:
57
59
  true`) — what `/flow:work:run` turns into `merged` when the orchestrator relaunches with
58
60
  `why = merged` — and nothing else runs. The summary and the panel written before it say the work
@@ -32,7 +32,7 @@ of truth, and an argument that disagrees with it is ignored and named in the log
32
32
  other mode a person is the router (`/flow:next`).
33
33
  - `autonomy.orchestrator_cmd` empty → flow-core §2.1: no phase runs.
34
34
  - Run `<cmd> why`. It fails, or prints anything but `start`, `study`, `answer`, `review`,
35
- `pipeline`, `merged` or `conflict` → print what it returned and its stderr in the §3 header and end. No closing order: an
35
+ `pipeline`, `merged`, `conflict` or `next` → print what it returned and its stderr in the §3 header and end. No closing order: an
36
36
  orchestrator that cannot say why it launched the run cannot take one either.
37
37
  - Run `<cmd> ticket --json` and keep `number`, `title`, `base` and `kind` (`kind` absent or `null` → `feat`: the tracker could not tell, so flow decides). `kind` is re-read on every run; only a run that starts the work uses it — once the work exists, its folder says feat or bug.
38
38
  It fails or prints no `number` → `blocked` (flow-core §2.1).
@@ -59,6 +59,8 @@ of truth, and an argument that disagrees with it is ignored and named in the log
59
59
  | `merged` | exists, something published | the entry of `meta.json.mrs` whose `status` is `published` (the only one: one MR/PR per run) becomes `merged`; set `meta.json.base` to the `base` just read (empty → `git.default_base`); the next startable MR/PR → `/flow:feat:build`; none left, or a work with no `mrs` and `published` true (one MR/PR, every bug) → `phase = done` and `done`, the summary naming the ticket as complete |
60
60
  | `merged` | exists, nothing published, its last `mrs[]` entry with a number `merged` | the same merge again: a run that recorded it and then stopped (a block, a crash) is relaunched with the same `why`, since no part was published after it. Nothing to record — the next startable MR/PR → `/flow:feat:build`; none left → `phase = done` and `done`, as the row above |
61
61
  | `merged` | none, or nothing published and nothing merged | `blocked` — nothing of this ticket was published from here |
62
+ | `next` | exists, something published | a stacked split (flow-core §2.1, `--stack`): nothing merged, so every `published` entry stays `published`. Set `meta.json.base` to the `base` just read — the branch of the part published last, or the umbrella — then the next startable MR/PR, a `published` dependency counting as met → `/flow:feat:build`; none left → `done`, the summary saying every part is published and waits to merge |
63
+ | `next` | none, or nothing published | `blocked` — there is no published part to build on |
62
64
  | `review` | exists | `/flow:work:respond` — the threads come from `<cmd> events --json` |
63
65
  | `pipeline` | exists | `/flow:work:green` — the failed jobs come from `<cmd> events --json` |
64
66
  | `conflict` | exists | `/flow:work:green` — the MR/PR conflicts with its base; which base, and where it stands, come from `<cmd> events --json` |
@@ -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.99.2`.** Compare it once, at the start of the session, against
20
+ **This file belongs to flow `0.100.0`.** 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
@@ -302,14 +302,15 @@ configuration; these orders are the whole interface, and nothing else about the
302
302
  assumed:
303
303
 
304
304
  ```
305
- <cmd> why → start | study | answer | review | pipeline | merged | conflict
306
- <cmd> ticket --json → {number, title, body, comments[{author, at, text}], base, kind}
305
+ <cmd> why → start | study | answer | review | pipeline | merged | conflict | next
306
+ <cmd> ticket --json → {number, title, body, comments[{author, at, text}], base, kind, stack?}
307
307
  <cmd> answer → one option's exact text, or free text; exit 2 = no reply
308
308
  <cmd> events --json → {"comments":[{thread,kind,id,author,at,body,url,path?,line?,owner?}]}
309
309
  | {"sha":…, "failed":[{name,conclusion,url,log_tail}]}
310
310
  | {"conflict":{"base":…, "base_sha":…}}
311
+ | {"part":…, "parts":…, "part_pr":{number,url,branch}|null, "umbrella":{…}}
311
312
  <cmd> ask --question-file F --options-file F [--recommended N] [--free-text] [--gate NAME]
312
- <cmd> publish --title-file F --body-file F [--part N --of M]
313
+ <cmd> publish --title-file F --body-file F [--part N --of M [--stack]]
313
314
  <cmd> blocked --reason-file F
314
315
  <cmd> done [--summary-file F] [--depends-on N]…
315
316
  <cmd> reply --thread ID --body-file F
@@ -330,6 +331,12 @@ assumed:
330
331
  (`/flow-feat-ship`). A publish that updates one already open — `/flow-work-green`,
331
332
  `/flow-work-respond` — carries neither: the MR/PR is already that part, and an orchestrator may
332
333
  refuse a part declared on a run launched for `pipeline`, `conflict` or `review`.
334
+ - **`--stack` goes with every `--part` when `<cmd> ticket --json` says `"stack": true`** — an
335
+ orchestrator that can stack a split's parts says so there, and only there. It then builds the next
336
+ part without waiting for this one to merge: the run ends at `publish` as always, and the next
337
+ launch is `why = next`, with `base` the branch of the part just published (or the umbrella, once
338
+ every part below it is in). `stack` absent or false → no `--stack`, and the next part waits for
339
+ `why = merged` as before.
333
340
  - **Free text travels in files, never on the command line.** Question, options (one per line, the
334
341
  recommended one first), title, body, reason and summary are written into the work folder
335
342
  (`ask-question.md`, `ask-options.md`, `publish-title.md`, `publish-body.md`, `blocked-reason.md`,
@@ -373,7 +380,7 @@ run has.
373
380
  runs the study phases as any run does, and three rules make it stop where it should:
374
381
 
375
382
  - **The door to code.** The first step of `/flow-feat-build` and `/flow-bug-fix` pre-flight, in
376
- `unattended`, re-reads `<cmd> why`: `start`, `answer`, `merged`, `review`, `pipeline` or `conflict` → go on;
383
+ `unattended`, re-reads `<cmd> why`: `start`, `answer`, `merged`, `next`, `review`, `pipeline` or `conflict` → go on;
377
384
  `study` → the study ends here; anything else, or the order failing → `blocked`. Every path from a
378
385
  study to code crosses that door, an answered question that resumes straight into `build`
379
386
  included, so the phases before it carry no clause. The run kind is read there, never stored: the
@@ -420,8 +427,8 @@ person asking for changes, a ticket that already has code — is `/flow-work-run
420
427
  | Criteria that need a person to verify (`validate`) | record — `not-verified-unattended`; every later `ship`, in any mode, lists them in the body under "Not verified — needs a human" |
421
428
  | The query duel needs a database (`review`, `query`) | record — schema-only verdict; never create or seed a database |
422
429
  | "Was it merged?" (`ship` close) | record — not merged; the orchestrator relaunches with `why = merged` when it is |
423
- | The next MR/PR of a train (`ship` close) | record — not started: one MR/PR per unattended run |
424
- | `build` with no startable MR/PR (its `depends_on` not `merged` in `meta.json`) | blocked — the reason names what must merge; an unattended `build` never stacks a branch on another, and never creates a remote branch |
430
+ | The next MR/PR of a train (`ship` close) | record — not started: one MR/PR per unattended run; with `--stack` the orchestrator relaunches with `why = next` |
431
+ | `build` with no startable MR/PR (its `depends_on` not `merged` in `meta.json`) | blocked — the reason names what must merge; an unattended `build` never stacks a branch on another, and never creates a remote branch. **On `why = next`** a dependency `published` counts as met: the orchestrator's `base` already holds it, and the new branch starts there |
425
432
  | The parent of a stacked MR/PR merged — rebase and force-push | blocked — never force-push unattended |
426
433
  | An approved study's branch (`run`, `why = start`, no build or fix begun) | record — fast-forwarded to its base when it holds no commit of its own (`/flow-work-run` §2); the base unreadable or the fast-forward failing → blocked. Not integrating: nothing of the run's is merged |
427
434
  | Integrating the base into the MR/PR's branch (`green`) | on `why = conflict`, record — `git merge origin/<base>` as the orchestrator left it, never rebase, each conflict resolved on its merits (`/flow-work-green` §5.C); on any other `why`, blocked — the orchestrator brings the base in |
@@ -44,7 +44,7 @@ Implementation phase. Code is written here.
44
44
  before writing against it. Nothing is checked; waiting is the builder's call.
45
45
  - `size` M/L: require both `03-design.md` **and** `04-mr-plan.md`. Plan missing → send to `/flow-feat-plan`; design missing → send to `/flow-feat-design`.
46
46
  - `size` XS/S: may start without a design — ask the user for a 2-3 line note on what will be done and save it as a minimal `03-design.md`. No MR/PR plan (always 1 MR/PR).
47
- - **If `meta.json.mrs` has more than one entry**: pick the **startable** MR/PR — the `pending` one with the **lowest `n` whose `depends_on` are all `merged`**. Dependencies still `pending`/`in_progress` → not startable, even with a low `n`. (No `wave`/`depends_on` — an older plan — → "first pending by `n`".)
47
+ - **If `meta.json.mrs` has more than one entry**: pick the **startable** MR/PR — the `pending` one with the **lowest `n` whose `depends_on` are all `merged`**. Dependencies still `pending`/`in_progress` → not startable, even with a low `n`. **In `unattended` on `why = next`** (a stacked split, flow-core §2.1) a dependency `published` counts as met: `meta.json.base` is that part's branch, so the new branch starts on top of it. (No `wave`/`depends_on` — an older plan — → "first pending by `n`".)
48
48
  - **Parallel siblings**: startable `pending` MRs/PRs in the **same `wave`** with no dependency between them can be built in parallel or as a train. `manual`: let the user choose which to take now (default: lowest `n`); `guided`/`auto`: take the lowest `n`, record the choice. Mark the chosen one `in_progress`.
49
49
  - All `merged` → warn: feature is done, nothing to build (in `unattended`: `done`, the summary saying so).
50
50
  - Some `pending` but **none** startable → start nothing: tell the user which MR/PR must merge to unlock the next wave, and stop. In `unattended`: `blocked`, the reason naming it.
@@ -52,11 +52,13 @@ place it would ask:
52
52
  the work folder.
53
53
  - **"Was it merged?" (§6.1)** → not merged: the entry stays `in_progress` (a work with no `mrs`
54
54
  keeps `phase = "ship"`) until `publish` succeeds, below. **The parent merged first (§6.2.1)** → blocked, never
55
- force-push. **Train continuation (§6.2)** → not started: one MR/PR per unattended run.
55
+ force-push. **Train continuation (§6.2)** → not started: one MR/PR per unattended run (with
56
+ `--stack`, the orchestrator launches the next one as `why = next`).
56
57
  - **At Close**, after `meta.json` and `00-summary.md` are written: commit what is left outside
57
58
  `.claude/work/` so the tree is clean, then the run's closing order — `<cmd> publish --title-file
58
59
  <work>/publish-title.md --body-file <work>/publish-body.md`, plus `--part <n> --of <N>` when
59
- `meta.json.mrs` has more than one entry (`n` this MR/PR's, `N` the number of entries). Exit 0 →
60
+ `meta.json.mrs` has more than one entry (`n` this MR/PR's, `N` the number of entries), and
61
+ `--stack` beside them when `<cmd> ticket --json` says `"stack": true` (flow-core §2.1). Exit 0 →
60
62
  this MR/PR's `mrs[]` entry gets `status: "published"` (a work with no `mrs`: `meta.json.published:
61
63
  true`) — what `/flow-work-run` turns into `merged` when the orchestrator relaunches with
62
64
  `why = merged` — and nothing else runs. The summary and the panel written before it say the work
@@ -36,7 +36,7 @@ of truth, and an argument that disagrees with it is ignored and named in the log
36
36
  other mode a person is the router (`/flow-next`).
37
37
  - `autonomy.orchestrator_cmd` empty → flow-core §2.1: no phase runs.
38
38
  - Run `<cmd> why`. It fails, or prints anything but `start`, `study`, `answer`, `review`,
39
- `pipeline`, `merged` or `conflict` → print what it returned and its stderr in the §3 header and end. No closing order: an
39
+ `pipeline`, `merged`, `conflict` or `next` → print what it returned and its stderr in the §3 header and end. No closing order: an
40
40
  orchestrator that cannot say why it launched the run cannot take one either.
41
41
  - Run `<cmd> ticket --json` and keep `number`, `title`, `base` and `kind` (`kind` absent or `null` → `feat`: the tracker could not tell, so flow decides). `kind` is re-read on every run; only a run that starts the work uses it — once the work exists, its folder says feat or bug.
42
42
  It fails or prints no `number` → `blocked` (flow-core §2.1).
@@ -63,6 +63,8 @@ of truth, and an argument that disagrees with it is ignored and named in the log
63
63
  | `merged` | exists, something published | the entry of `meta.json.mrs` whose `status` is `published` (the only one: one MR/PR per run) becomes `merged`; set `meta.json.base` to the `base` just read (empty → `git.default_base`); the next startable MR/PR → `/flow-feat-build`; none left, or a work with no `mrs` and `published` true (one MR/PR, every bug) → `phase = done` and `done`, the summary naming the ticket as complete |
64
64
  | `merged` | exists, nothing published, its last `mrs[]` entry with a number `merged` | the same merge again: a run that recorded it and then stopped (a block, a crash) is relaunched with the same `why`, since no part was published after it. Nothing to record — the next startable MR/PR → `/flow-feat-build`; none left → `phase = done` and `done`, as the row above |
65
65
  | `merged` | none, or nothing published and nothing merged | `blocked` — nothing of this ticket was published from here |
66
+ | `next` | exists, something published | a stacked split (flow-core §2.1, `--stack`): nothing merged, so every `published` entry stays `published`. Set `meta.json.base` to the `base` just read — the branch of the part published last, or the umbrella — then the next startable MR/PR, a `published` dependency counting as met → `/flow-feat-build`; none left → `done`, the summary saying every part is published and waits to merge |
67
+ | `next` | none, or nothing published | `blocked` — there is no published part to build on |
66
68
  | `review` | exists | `/flow-work-respond` — the threads come from `<cmd> events --json` |
67
69
  | `pipeline` | exists | `/flow-work-green` — the failed jobs come from `<cmd> events --json` |
68
70
  | `conflict` | exists | `/flow-work-green` — the MR/PR conflicts with its base; which base, and where it stands, come from `<cmd> events --json` |
@@ -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.99.2`.** Compare it once, at the start of the session, against
19
+ **This file belongs to flow `0.100.0`.** 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
@@ -301,14 +301,15 @@ configuration; these orders are the whole interface, and nothing else about the
301
301
  assumed:
302
302
 
303
303
  ```
304
- <cmd> why → start | study | answer | review | pipeline | merged | conflict
305
- <cmd> ticket --json → {number, title, body, comments[{author, at, text}], base, kind}
304
+ <cmd> why → start | study | answer | review | pipeline | merged | conflict | next
305
+ <cmd> ticket --json → {number, title, body, comments[{author, at, text}], base, kind, stack?}
306
306
  <cmd> answer → one option's exact text, or free text; exit 2 = no reply
307
307
  <cmd> events --json → {"comments":[{thread,kind,id,author,at,body,url,path?,line?,owner?}]}
308
308
  | {"sha":…, "failed":[{name,conclusion,url,log_tail}]}
309
309
  | {"conflict":{"base":…, "base_sha":…}}
310
+ | {"part":…, "parts":…, "part_pr":{number,url,branch}|null, "umbrella":{…}}
310
311
  <cmd> ask --question-file F --options-file F [--recommended N] [--free-text] [--gate NAME]
311
- <cmd> publish --title-file F --body-file F [--part N --of M]
312
+ <cmd> publish --title-file F --body-file F [--part N --of M [--stack]]
312
313
  <cmd> blocked --reason-file F
313
314
  <cmd> done [--summary-file F] [--depends-on N]…
314
315
  <cmd> reply --thread ID --body-file F
@@ -329,6 +330,12 @@ assumed:
329
330
  (`/flow-feat-ship`). A publish that updates one already open — `/flow-work-green`,
330
331
  `/flow-work-respond` — carries neither: the MR/PR is already that part, and an orchestrator may
331
332
  refuse a part declared on a run launched for `pipeline`, `conflict` or `review`.
333
+ - **`--stack` goes with every `--part` when `<cmd> ticket --json` says `"stack": true`** — an
334
+ orchestrator that can stack a split's parts says so there, and only there. It then builds the next
335
+ part without waiting for this one to merge: the run ends at `publish` as always, and the next
336
+ launch is `why = next`, with `base` the branch of the part just published (or the umbrella, once
337
+ every part below it is in). `stack` absent or false → no `--stack`, and the next part waits for
338
+ `why = merged` as before.
332
339
  - **Free text travels in files, never on the command line.** Question, options (one per line, the
333
340
  recommended one first), title, body, reason and summary are written into the work folder
334
341
  (`ask-question.md`, `ask-options.md`, `publish-title.md`, `publish-body.md`, `blocked-reason.md`,
@@ -372,7 +379,7 @@ run has.
372
379
  runs the study phases as any run does, and three rules make it stop where it should:
373
380
 
374
381
  - **The door to code.** The first step of `/flow-feat-build` and `/flow-bug-fix` pre-flight, in
375
- `unattended`, re-reads `<cmd> why`: `start`, `answer`, `merged`, `review`, `pipeline` or `conflict` → go on;
382
+ `unattended`, re-reads `<cmd> why`: `start`, `answer`, `merged`, `next`, `review`, `pipeline` or `conflict` → go on;
376
383
  `study` → the study ends here; anything else, or the order failing → `blocked`. Every path from a
377
384
  study to code crosses that door, an answered question that resumes straight into `build`
378
385
  included, so the phases before it carry no clause. The run kind is read there, never stored: the
@@ -419,8 +426,8 @@ person asking for changes, a ticket that already has code — is `/flow-work-run
419
426
  | Criteria that need a person to verify (`validate`) | record — `not-verified-unattended`; every later `ship`, in any mode, lists them in the body under "Not verified — needs a human" |
420
427
  | The query duel needs a database (`review`, `query`) | record — schema-only verdict; never create or seed a database |
421
428
  | "Was it merged?" (`ship` close) | record — not merged; the orchestrator relaunches with `why = merged` when it is |
422
- | The next MR/PR of a train (`ship` close) | record — not started: one MR/PR per unattended run |
423
- | `build` with no startable MR/PR (its `depends_on` not `merged` in `meta.json`) | blocked — the reason names what must merge; an unattended `build` never stacks a branch on another, and never creates a remote branch |
429
+ | The next MR/PR of a train (`ship` close) | record — not started: one MR/PR per unattended run; with `--stack` the orchestrator relaunches with `why = next` |
430
+ | `build` with no startable MR/PR (its `depends_on` not `merged` in `meta.json`) | blocked — the reason names what must merge; an unattended `build` never stacks a branch on another, and never creates a remote branch. **On `why = next`** a dependency `published` counts as met: the orchestrator's `base` already holds it, and the new branch starts there |
424
431
  | The parent of a stacked MR/PR merged — rebase and force-push | blocked — never force-push unattended |
425
432
  | An approved study's branch (`run`, `why = start`, no build or fix begun) | record — fast-forwarded to its base when it holds no commit of its own (`/flow-work-run` §2); the base unreadable or the fast-forward failing → blocked. Not integrating: nothing of the run's is merged |
426
433
  | Integrating the base into the MR/PR's branch (`green`) | on `why = conflict`, record — `git merge origin/<base>` as the orchestrator left it, never rebase, each conflict resolved on its merits (`/flow-work-green` §5.C); on any other `why`, blocked — the orchestrator brings the base in |
@@ -42,7 +42,7 @@ Implementation phase. Code is written here.
42
42
  before writing against it. Nothing is checked; waiting is the builder's call.
43
43
  - `size` M/L: require both `03-design.md` **and** `04-mr-plan.md`. Plan missing → send to `/flow-feat-plan`; design missing → send to `/flow-feat-design`.
44
44
  - `size` XS/S: may start without a design — ask the user for a 2-3 line note on what will be done and save it as a minimal `03-design.md`. No MR/PR plan (always 1 MR/PR).
45
- - **If `meta.json.mrs` has more than one entry**: pick the **startable** MR/PR — the `pending` one with the **lowest `n` whose `depends_on` are all `merged`**. Dependencies still `pending`/`in_progress` → not startable, even with a low `n`. (No `wave`/`depends_on` — an older plan — → "first pending by `n`".)
45
+ - **If `meta.json.mrs` has more than one entry**: pick the **startable** MR/PR — the `pending` one with the **lowest `n` whose `depends_on` are all `merged`**. Dependencies still `pending`/`in_progress` → not startable, even with a low `n`. **In `unattended` on `why = next`** (a stacked split, flow-core §2.1) a dependency `published` counts as met: `meta.json.base` is that part's branch, so the new branch starts on top of it. (No `wave`/`depends_on` — an older plan — → "first pending by `n`".)
46
46
  - **Parallel siblings**: startable `pending` MRs/PRs in the **same `wave`** with no dependency between them can be built in parallel or as a train. `manual`: let the user choose which to take now (default: lowest `n`); `guided`/`auto`: take the lowest `n`, record the choice. Mark the chosen one `in_progress`.
47
47
  - All `merged` → warn: feature is done, nothing to build (in `unattended`: `done`, the summary saying so).
48
48
  - Some `pending` but **none** startable → start nothing: tell the user which MR/PR must merge to unlock the next wave, and stop. In `unattended`: `blocked`, the reason naming it.
@@ -50,11 +50,13 @@ place it would ask:
50
50
  the work folder.
51
51
  - **"Was it merged?" (§6.1)** → not merged: the entry stays `in_progress` (a work with no `mrs`
52
52
  keeps `phase = "ship"`) until `publish` succeeds, below. **The parent merged first (§6.2.1)** → blocked, never
53
- force-push. **Train continuation (§6.2)** → not started: one MR/PR per unattended run.
53
+ force-push. **Train continuation (§6.2)** → not started: one MR/PR per unattended run (with
54
+ `--stack`, the orchestrator launches the next one as `why = next`).
54
55
  - **At Close**, after `meta.json` and `00-summary.md` are written: commit what is left outside
55
56
  `.claude/work/` so the tree is clean, then the run's closing order — `<cmd> publish --title-file
56
57
  <work>/publish-title.md --body-file <work>/publish-body.md`, plus `--part <n> --of <N>` when
57
- `meta.json.mrs` has more than one entry (`n` this MR/PR's, `N` the number of entries). Exit 0 →
58
+ `meta.json.mrs` has more than one entry (`n` this MR/PR's, `N` the number of entries), and
59
+ `--stack` beside them when `<cmd> ticket --json` says `"stack": true` (flow-core §2.1). Exit 0 →
58
60
  this MR/PR's `mrs[]` entry gets `status: "published"` (a work with no `mrs`: `meta.json.published:
59
61
  true`) — what `/flow-work-run` turns into `merged` when the orchestrator relaunches with
60
62
  `why = merged` — and nothing else runs. The summary and the panel written before it say the work
@@ -34,7 +34,7 @@ of truth, and an argument that disagrees with it is ignored and named in the log
34
34
  other mode a person is the router (`/flow-next`).
35
35
  - `autonomy.orchestrator_cmd` empty → flow-core §2.1: no phase runs.
36
36
  - Run `<cmd> why`. It fails, or prints anything but `start`, `study`, `answer`, `review`,
37
- `pipeline`, `merged` or `conflict` → print what it returned and its stderr in the §3 header and end. No closing order: an
37
+ `pipeline`, `merged`, `conflict` or `next` → print what it returned and its stderr in the §3 header and end. No closing order: an
38
38
  orchestrator that cannot say why it launched the run cannot take one either.
39
39
  - Run `<cmd> ticket --json` and keep `number`, `title`, `base` and `kind` (`kind` absent or `null` → `feat`: the tracker could not tell, so flow decides). `kind` is re-read on every run; only a run that starts the work uses it — once the work exists, its folder says feat or bug.
40
40
  It fails or prints no `number` → `blocked` (flow-core §2.1).
@@ -61,6 +61,8 @@ of truth, and an argument that disagrees with it is ignored and named in the log
61
61
  | `merged` | exists, something published | the entry of `meta.json.mrs` whose `status` is `published` (the only one: one MR/PR per run) becomes `merged`; set `meta.json.base` to the `base` just read (empty → `git.default_base`); the next startable MR/PR → `/flow-feat-build`; none left, or a work with no `mrs` and `published` true (one MR/PR, every bug) → `phase = done` and `done`, the summary naming the ticket as complete |
62
62
  | `merged` | exists, nothing published, its last `mrs[]` entry with a number `merged` | the same merge again: a run that recorded it and then stopped (a block, a crash) is relaunched with the same `why`, since no part was published after it. Nothing to record — the next startable MR/PR → `/flow-feat-build`; none left → `phase = done` and `done`, as the row above |
63
63
  | `merged` | none, or nothing published and nothing merged | `blocked` — nothing of this ticket was published from here |
64
+ | `next` | exists, something published | a stacked split (flow-core §2.1, `--stack`): nothing merged, so every `published` entry stays `published`. Set `meta.json.base` to the `base` just read — the branch of the part published last, or the umbrella — then the next startable MR/PR, a `published` dependency counting as met → `/flow-feat-build`; none left → `done`, the summary saying every part is published and waits to merge |
65
+ | `next` | none, or nothing published | `blocked` — there is no published part to build on |
64
66
  | `review` | exists | `/flow-work-respond` — the threads come from `<cmd> events --json` |
65
67
  | `pipeline` | exists | `/flow-work-green` — the failed jobs come from `<cmd> events --json` |
66
68
  | `conflict` | exists | `/flow-work-green` — the MR/PR conflicts with its base; which base, and where it stands, come from `<cmd> events --json` |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flow-workflows",
3
- "version": "0.99.2",
3
+ "version": "0.100.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.99.2",
6
+ "version": "0.100.0",
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.100.0 — An unattended split builds every part without waiting for merges · 2026-10-23
9
+
10
+ **In short**
11
+ - **`publish --part … --stack` when the orchestrator offers it.** `<cmd> ticket --json` saying
12
+ `"stack": true` means the orchestrator can stack a split's parts: `ship` passes `--stack` with
13
+ every part, and the next part no longer waits for the previous one to merge.
14
+ - **`/flow:work:run` routes `why = next`.** Nothing merged: the published parts stay `published`,
15
+ `meta.json.base` becomes the part published last (or the umbrella), and the next startable MR/PR
16
+ is built on it — a `published` dependency counts as met on this route only.
17
+ - **Without `stack` nothing changes:** the next part waits for `why = merged`, as before.
18
+
19
+ An unattended split used to stop after each part until a person merged it, so a split ticket left
20
+ to run overnight was one part long in the morning.
21
+
8
22
  ## v0.99.2 — A failure is called pre-existing only under the same load · 2026-10-22
9
23
 
10
24
  **In short**