flow-workflows 0.99.0 → 0.99.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adapters/codex/CORE.md +1 -1
- package/adapters/codex/skills/flow-feat-plan/SKILL.md +2 -0
- package/adapters/codex/skills/flow-work-run/SKILL.md +2 -1
- package/adapters/gemini/CORE.md +1 -1
- package/adapters/gemini/commands/flow/feat/plan.toml +2 -0
- package/adapters/gemini/commands/flow/work/run.toml +2 -1
- package/adapters/hermes/CORE.md +1 -1
- package/adapters/hermes/skills/flow-feat-plan/SKILL.md +2 -0
- package/adapters/hermes/skills/flow-work-run/SKILL.md +2 -1
- package/adapters/opencode/CORE.md +1 -1
- package/adapters/opencode/commands/flow-feat-plan.md +2 -0
- package/adapters/opencode/commands/flow-work-run.md +2 -1
- package/package.json +1 -1
- package/plugins/flow/.claude-plugin/plugin.json +1 -1
- package/plugins/flow/CHANGELOG.md +15 -0
package/adapters/codex/CORE.md
CHANGED
|
@@ -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.
|
|
20
|
+
**This file belongs to flow `0.99.1`.** 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
|
|
@@ -56,6 +56,8 @@ Launch a subagent with this brief (self-contained):
|
|
|
56
56
|
>
|
|
57
57
|
> Then build the **dependency graph** (which MR/PR needs another one merged or deployed before it can start) and **sort it topologically into execution waves**: wave 1 = everything with no unmet dependency (can start immediately, in parallel); wave 2 = everything unlocked once wave 1 is in; and so on. **Number the MRs/PRs following that wave order** — the lowest numbers to wave 1, then wave 2, etc. — so that **every MR/PR's dependencies have a strictly lower number than itself** (`#1` is always a legitimate starting point, never "start at #5"). Within a wave (parallel, no dependency between them) the order is free; number them consecutively. **The number is the execution order, not a grouping by feature area** — do not number by "Part A / Part B" and then reorder in prose.
|
|
58
58
|
>
|
|
59
|
+
> **"Released" or "deployed" means on the default branch.** In `unattended` the orchestrator may merge each MR/PR of a split into a base of its own (`meta.json.base`, not `git.default_base`): nothing of the split reaches the default branch, so no release or deploy can carry it, until the last one merges. A link that needs an earlier MR/PR released or deployed before the next can start cannot be met inside such a split — merge the two, or let the later one start without that wait and leave the check on a real release to a person on its MR/PR.
|
|
60
|
+
>
|
|
59
61
|
> **Merge test — run it before you return the table.** For every pair of MRs/PRs in the **same wave**, and for every direct link `#a → #b` where `#b` is the *only* thing depending on `#a`, state what is lost by merging the two into one. If the only answer is "they close different tickets" — one MR/PR can close several — or "the first has no product value of its own, it is scaffolding for the second", **merge them**. Report the pairs you merged and the pairs you kept apart, each with its reason; "no pair was worth evaluating" is not an answer, name the pairs you looked at.
|
|
60
62
|
>
|
|
61
63
|
> Return a table with: **`n`** (final number = execution order), **`wave`**, **`depends_on`** (list of the `n` it needs merged first; empty if it can start immediately), what it includes, standalone-mergeable (yes/no + how it is guaranteed), what it unlocks for the next one, risk if it stays alone on the main branch indefinitely, **`lines_est`** (approximate lines, sum of added + modified) and **`files_est`** (approximate files it touches). Estimates are **soft** — they serve as a thermometer during build, not as a contract. If the correct answer is "1 single MR/PR", justify it and return that. Under 600 words.
|
|
@@ -61,7 +61,8 @@ of truth, and an argument that disagrees with it is ignored and named in the log
|
|
|
61
61
|
| `answer` | `pending` set | apply `<cmd> answer` as flow-core §2.1 "The answer comes back" says, then `pending.resume` at `pending.resume_at`. The order fails or prints nothing → `blocked` |
|
|
62
62
|
| `answer` | nothing pending | `blocked` — there is no question for that answer to decide |
|
|
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
|
-
| `merged` |
|
|
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
|
+
| `merged` | none, or nothing published and nothing merged | `blocked` — nothing of this ticket was published from here |
|
|
65
66
|
| `review` | exists | `$flow-work-respond` — the threads come from `<cmd> events --json` |
|
|
66
67
|
| `pipeline` | exists | `$flow-work-green` — the failed jobs come from `<cmd> events --json` |
|
|
67
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/adapters/gemini/CORE.md
CHANGED
|
@@ -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.
|
|
19
|
+
**This file belongs to flow `0.99.1`.** 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
|
|
@@ -52,6 +52,8 @@ Launch a subagent with this brief (self-contained):
|
|
|
52
52
|
>
|
|
53
53
|
> Then build the **dependency graph** (which MR/PR needs another one merged or deployed before it can start) and **sort it topologically into execution waves**: wave 1 = everything with no unmet dependency (can start immediately, in parallel); wave 2 = everything unlocked once wave 1 is in; and so on. **Number the MRs/PRs following that wave order** — the lowest numbers to wave 1, then wave 2, etc. — so that **every MR/PR's dependencies have a strictly lower number than itself** (`#1` is always a legitimate starting point, never "start at #5"). Within a wave (parallel, no dependency between them) the order is free; number them consecutively. **The number is the execution order, not a grouping by feature area** — do not number by "Part A / Part B" and then reorder in prose.
|
|
54
54
|
>
|
|
55
|
+
> **"Released" or "deployed" means on the default branch.** In `unattended` the orchestrator may merge each MR/PR of a split into a base of its own (`meta.json.base`, not `git.default_base`): nothing of the split reaches the default branch, so no release or deploy can carry it, until the last one merges. A link that needs an earlier MR/PR released or deployed before the next can start cannot be met inside such a split — merge the two, or let the later one start without that wait and leave the check on a real release to a person on its MR/PR.
|
|
56
|
+
>
|
|
55
57
|
> **Merge test — run it before you return the table.** For every pair of MRs/PRs in the **same wave**, and for every direct link `#a → #b` where `#b` is the *only* thing depending on `#a`, state what is lost by merging the two into one. If the only answer is "they close different tickets" — one MR/PR can close several — or "the first has no product value of its own, it is scaffolding for the second", **merge them**. Report the pairs you merged and the pairs you kept apart, each with its reason; "no pair was worth evaluating" is not an answer, name the pairs you looked at.
|
|
56
58
|
>
|
|
57
59
|
> Return a table with: **`n`** (final number = execution order), **`wave`**, **`depends_on`** (list of the `n` it needs merged first; empty if it can start immediately), what it includes, standalone-mergeable (yes/no + how it is guaranteed), what it unlocks for the next one, risk if it stays alone on the main branch indefinitely, **`lines_est`** (approximate lines, sum of added + modified) and **`files_est`** (approximate files it touches). Estimates are **soft** — they serve as a thermometer during build, not as a contract. If the correct answer is "1 single MR/PR", justify it and return that. Under 600 words.
|
|
@@ -57,7 +57,8 @@ of truth, and an argument that disagrees with it is ignored and named in the log
|
|
|
57
57
|
| `answer` | `pending` set | apply `<cmd> answer` as flow-core §2.1 "The answer comes back" says, then `pending.resume` at `pending.resume_at`. The order fails or prints nothing → `blocked` |
|
|
58
58
|
| `answer` | nothing pending | `blocked` — there is no question for that answer to decide |
|
|
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
|
-
| `merged` |
|
|
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
|
+
| `merged` | none, or nothing published and nothing merged | `blocked` — nothing of this ticket was published from here |
|
|
61
62
|
| `review` | exists | `/flow:work:respond` — the threads come from `<cmd> events --json` |
|
|
62
63
|
| `pipeline` | exists | `/flow:work:green` — the failed jobs come from `<cmd> events --json` |
|
|
63
64
|
| `conflict` | exists | `/flow:work:green` — the MR/PR conflicts with its base; which base, and where it stands, come from `<cmd> events --json` |
|
package/adapters/hermes/CORE.md
CHANGED
|
@@ -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.
|
|
20
|
+
**This file belongs to flow `0.99.1`.** 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
|
|
@@ -56,6 +56,8 @@ Launch a subagent with this brief (self-contained):
|
|
|
56
56
|
>
|
|
57
57
|
> Then build the **dependency graph** (which MR/PR needs another one merged or deployed before it can start) and **sort it topologically into execution waves**: wave 1 = everything with no unmet dependency (can start immediately, in parallel); wave 2 = everything unlocked once wave 1 is in; and so on. **Number the MRs/PRs following that wave order** — the lowest numbers to wave 1, then wave 2, etc. — so that **every MR/PR's dependencies have a strictly lower number than itself** (`#1` is always a legitimate starting point, never "start at #5"). Within a wave (parallel, no dependency between them) the order is free; number them consecutively. **The number is the execution order, not a grouping by feature area** — do not number by "Part A / Part B" and then reorder in prose.
|
|
58
58
|
>
|
|
59
|
+
> **"Released" or "deployed" means on the default branch.** In `unattended` the orchestrator may merge each MR/PR of a split into a base of its own (`meta.json.base`, not `git.default_base`): nothing of the split reaches the default branch, so no release or deploy can carry it, until the last one merges. A link that needs an earlier MR/PR released or deployed before the next can start cannot be met inside such a split — merge the two, or let the later one start without that wait and leave the check on a real release to a person on its MR/PR.
|
|
60
|
+
>
|
|
59
61
|
> **Merge test — run it before you return the table.** For every pair of MRs/PRs in the **same wave**, and for every direct link `#a → #b` where `#b` is the *only* thing depending on `#a`, state what is lost by merging the two into one. If the only answer is "they close different tickets" — one MR/PR can close several — or "the first has no product value of its own, it is scaffolding for the second", **merge them**. Report the pairs you merged and the pairs you kept apart, each with its reason; "no pair was worth evaluating" is not an answer, name the pairs you looked at.
|
|
60
62
|
>
|
|
61
63
|
> Return a table with: **`n`** (final number = execution order), **`wave`**, **`depends_on`** (list of the `n` it needs merged first; empty if it can start immediately), what it includes, standalone-mergeable (yes/no + how it is guaranteed), what it unlocks for the next one, risk if it stays alone on the main branch indefinitely, **`lines_est`** (approximate lines, sum of added + modified) and **`files_est`** (approximate files it touches). Estimates are **soft** — they serve as a thermometer during build, not as a contract. If the correct answer is "1 single MR/PR", justify it and return that. Under 600 words.
|
|
@@ -61,7 +61,8 @@ of truth, and an argument that disagrees with it is ignored and named in the log
|
|
|
61
61
|
| `answer` | `pending` set | apply `<cmd> answer` as flow-core §2.1 "The answer comes back" says, then `pending.resume` at `pending.resume_at`. The order fails or prints nothing → `blocked` |
|
|
62
62
|
| `answer` | nothing pending | `blocked` — there is no question for that answer to decide |
|
|
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
|
-
| `merged` |
|
|
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
|
+
| `merged` | none, or nothing published and nothing merged | `blocked` — nothing of this ticket was published from here |
|
|
65
66
|
| `review` | exists | `/flow-work-respond` — the threads come from `<cmd> events --json` |
|
|
66
67
|
| `pipeline` | exists | `/flow-work-green` — the failed jobs come from `<cmd> events --json` |
|
|
67
68
|
| `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.
|
|
19
|
+
**This file belongs to flow `0.99.1`.** 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
|
|
@@ -54,6 +54,8 @@ Launch a subagent with this brief (self-contained):
|
|
|
54
54
|
>
|
|
55
55
|
> Then build the **dependency graph** (which MR/PR needs another one merged or deployed before it can start) and **sort it topologically into execution waves**: wave 1 = everything with no unmet dependency (can start immediately, in parallel); wave 2 = everything unlocked once wave 1 is in; and so on. **Number the MRs/PRs following that wave order** — the lowest numbers to wave 1, then wave 2, etc. — so that **every MR/PR's dependencies have a strictly lower number than itself** (`#1` is always a legitimate starting point, never "start at #5"). Within a wave (parallel, no dependency between them) the order is free; number them consecutively. **The number is the execution order, not a grouping by feature area** — do not number by "Part A / Part B" and then reorder in prose.
|
|
56
56
|
>
|
|
57
|
+
> **"Released" or "deployed" means on the default branch.** In `unattended` the orchestrator may merge each MR/PR of a split into a base of its own (`meta.json.base`, not `git.default_base`): nothing of the split reaches the default branch, so no release or deploy can carry it, until the last one merges. A link that needs an earlier MR/PR released or deployed before the next can start cannot be met inside such a split — merge the two, or let the later one start without that wait and leave the check on a real release to a person on its MR/PR.
|
|
58
|
+
>
|
|
57
59
|
> **Merge test — run it before you return the table.** For every pair of MRs/PRs in the **same wave**, and for every direct link `#a → #b` where `#b` is the *only* thing depending on `#a`, state what is lost by merging the two into one. If the only answer is "they close different tickets" — one MR/PR can close several — or "the first has no product value of its own, it is scaffolding for the second", **merge them**. Report the pairs you merged and the pairs you kept apart, each with its reason; "no pair was worth evaluating" is not an answer, name the pairs you looked at.
|
|
58
60
|
>
|
|
59
61
|
> Return a table with: **`n`** (final number = execution order), **`wave`**, **`depends_on`** (list of the `n` it needs merged first; empty if it can start immediately), what it includes, standalone-mergeable (yes/no + how it is guaranteed), what it unlocks for the next one, risk if it stays alone on the main branch indefinitely, **`lines_est`** (approximate lines, sum of added + modified) and **`files_est`** (approximate files it touches). Estimates are **soft** — they serve as a thermometer during build, not as a contract. If the correct answer is "1 single MR/PR", justify it and return that. Under 600 words.
|
|
@@ -59,7 +59,8 @@ of truth, and an argument that disagrees with it is ignored and named in the log
|
|
|
59
59
|
| `answer` | `pending` set | apply `<cmd> answer` as flow-core §2.1 "The answer comes back" says, then `pending.resume` at `pending.resume_at`. The order fails or prints nothing → `blocked` |
|
|
60
60
|
| `answer` | nothing pending | `blocked` — there is no question for that answer to decide |
|
|
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
|
-
| `merged` |
|
|
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
|
+
| `merged` | none, or nothing published and nothing merged | `blocked` — nothing of this ticket was published from here |
|
|
63
64
|
| `review` | exists | `/flow-work-respond` — the threads come from `<cmd> events --json` |
|
|
64
65
|
| `pipeline` | exists | `/flow-work-green` — the failed jobs come from `<cmd> events --json` |
|
|
65
66
|
| `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.
|
|
3
|
+
"version": "0.99.1",
|
|
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.
|
|
6
|
+
"version": "0.99.1",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Alberto Vioque",
|
|
9
9
|
"email": "mashware@gmail.com"
|
|
@@ -5,6 +5,21 @@ 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.99.1 — A part's merge that comes back no longer blocks the split · 2026-10-22
|
|
9
|
+
|
|
10
|
+
**In short**
|
|
11
|
+
- **`/flow:work:run` with `why = merged` and the merge already recorded goes on.** A run that
|
|
12
|
+
recorded a part's merge and then stopped (a block, a crash) is relaunched with the same `merged`,
|
|
13
|
+
since no part was published after it. It used to block with «nothing published»; it now takes
|
|
14
|
+
the next startable MR/PR, or closes the work when none is left.
|
|
15
|
+
- **`/flow:feat:plan` knows a split's parts may not reach the default branch.** In `unattended`, an
|
|
16
|
+
orchestrator may merge each part into a base of its own until the last one merges, so a part
|
|
17
|
+
that waits for an earlier one to be *released or deployed* can never start. The plan merges the
|
|
18
|
+
two, or drops the wait and leaves the check on a real release to a person on the MR/PR.
|
|
19
|
+
|
|
20
|
+
An unattended split stopped for good: its plan waited for a release of part 1, which only lived on
|
|
21
|
+
the split's own base, and every relaunch came back as a `merged` that was already recorded.
|
|
22
|
+
|
|
8
23
|
## v0.99.0 — After an approved study, an unattended run answers its own questions · 2026-10-22
|
|
9
24
|
|
|
10
25
|
**In short**
|