flow-workflows 0.98.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 +43 -1
- package/adapters/codex/skills/flow-doctor/SKILL.md +4 -2
- package/adapters/codex/skills/flow-feat-plan/SKILL.md +2 -0
- package/adapters/codex/skills/flow-feat-ship/SKILL.md +4 -1
- package/adapters/codex/skills/flow-work-run/SKILL.md +2 -1
- package/adapters/gemini/CORE.md +43 -1
- package/adapters/gemini/commands/flow/doctor.toml +4 -2
- package/adapters/gemini/commands/flow/feat/plan.toml +2 -0
- package/adapters/gemini/commands/flow/feat/ship.toml +4 -1
- package/adapters/gemini/commands/flow/work/run.toml +2 -1
- package/adapters/hermes/CORE.md +43 -1
- package/adapters/hermes/skills/flow-doctor/SKILL.md +4 -2
- package/adapters/hermes/skills/flow-feat-plan/SKILL.md +2 -0
- package/adapters/hermes/skills/flow-feat-ship/SKILL.md +4 -1
- package/adapters/hermes/skills/flow-work-run/SKILL.md +2 -1
- package/adapters/opencode/CORE.md +43 -1
- package/adapters/opencode/commands/flow-doctor.md +4 -2
- package/adapters/opencode/commands/flow-feat-plan.md +2 -0
- package/adapters/opencode/commands/flow-feat-ship.md +4 -1
- 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 +34 -0
- package/plugins/flow/examples/FLOW.template.md +5 -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.
|
|
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
|
|
@@ -435,6 +435,8 @@ conservative reading, never a guess dressed as a default.
|
|
|
435
435
|
|
|
436
436
|
**A question stop**, in this order: the WIP commit above → the question and options files →
|
|
437
437
|
`meta.json.pending` (its `id` hashes the question file, so the file comes first) → `ask` → end.
|
|
438
|
+
With `autonomy.after_study: recommended` and an approved study, the recommended answer below may
|
|
439
|
+
take the question in its place.
|
|
438
440
|
|
|
439
441
|
```json
|
|
440
442
|
"pending": {"id": "168-unattended-autonomy-mode:build:migration:3f2a9c1:8d41e07",
|
|
@@ -516,6 +518,46 @@ by writing it and ending the run `blocked`, its reason naming what a person must
|
|
|
516
518
|
cannot redesign on its own. A gate this table does not name has no answer path — it stays a
|
|
517
519
|
question for a person.
|
|
518
520
|
|
|
521
|
+
**The recommended answer, after an approved study** — `autonomy.after_study: recommended`, read
|
|
522
|
+
only in `unattended` (empty or `ask` → every question stops as above). It applies once the work
|
|
523
|
+
holds a study a person approved: `done-summary.md` in the work folder (a study run, approved with
|
|
524
|
+
`why = start`) or `meta.json.handoff` true (a study handed off from elsewhere). Then a question
|
|
525
|
+
stop in `build`, `fix`, `review`, `validate` or `ship` is not sent, and the run answers it with its
|
|
526
|
+
own recommended option, in the same turn:
|
|
527
|
+
|
|
528
|
+
1. Write the question and options files as the stop would, and compute its `id` the same way.
|
|
529
|
+
2. Append one entry to `auto-answers.md` in the work folder — whoever reads it later has not seen
|
|
530
|
+
this session:
|
|
531
|
+
|
|
532
|
+
```markdown
|
|
533
|
+
### <gate> · <phase> · MR/PR <n>
|
|
534
|
+
<the question file, whole>
|
|
535
|
+
|
|
536
|
+
- [x] <the recommended option> — taken without asking
|
|
537
|
+
- [ ] <each other option, in its order>
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
`MR/PR <n>` is this MR/PR's `mrs[]` entry, left out for a work with no `mrs`.
|
|
541
|
+
3. Apply that option as an orchestrator's answer is applied (above): written where the re-entry
|
|
542
|
+
table says, with every effect its row names — *Fix them* writes the plan steps and chains into
|
|
543
|
+
`build` / `fix` — and `{ "key": "unattended:answer:<gate>", "default": "<option>", "id": "<id>",
|
|
544
|
+
"phase": "<phase>", "head": "<head>", "mr": <n>, "source": "recommended" }` in
|
|
545
|
+
`meta.json.defaults_used[]`, so "Which site takes it" reads it as it reads any answer.
|
|
546
|
+
4. `pending` stays `null`: no `ask`, no end of the run. The phase goes on from that site.
|
|
547
|
+
|
|
548
|
+
Still a question stop, as above:
|
|
549
|
+
|
|
550
|
+
- **No recommended option** — a question with no options, or a `decision` whose options came
|
|
551
|
+
without one. Free text is never written on a person's behalf.
|
|
552
|
+
- **A third `high_findings` on the same MR/PR** — two `source: "recommended"` answers to that gate
|
|
553
|
+
with this `mr` already in `defaults_used[]`: two rounds of fixes that left high findings behind
|
|
554
|
+
are for a person to judge.
|
|
555
|
+
- **Outside those five phases** — the study phases, and `respond` and `green`, ask or block as
|
|
556
|
+
they always do: a review round answers a reviewer, and the ticket's owner decides that one.
|
|
557
|
+
|
|
558
|
+
`ship` puts this MR/PR's entries in the body (its "In every mode" paragraph), so the person who
|
|
559
|
+
reads the draft sees each question, its options and the one taken, and asks for a change there.
|
|
560
|
+
|
|
519
561
|
## 3. Reporting — how every stop reads
|
|
520
562
|
|
|
521
563
|
**A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
|
|
@@ -193,8 +193,10 @@ base branch resolvable — is §2 below; flag the key here, check the world ther
|
|
|
193
193
|
resolves on `PATH` (`command -v`) — **empty → flag it as an error**: no phase runs in
|
|
194
194
|
`unattended` without it. Say which file set the mode: every session that reads that file — a
|
|
195
195
|
person's included, when they share the checkout and the harness — stops asking too, so it belongs
|
|
196
|
-
in a FLOW file only the orchestrator's environment has. `
|
|
197
|
-
→
|
|
196
|
+
in a FLOW file only the orchestrator's environment has. Echo `autonomy.after_study` (empty =
|
|
197
|
+
`ask`): `recommended` → once a study is approved, the run answers its own questions with the
|
|
198
|
+
recommended option and lists them in the draft MR/PR (flow-core §2.1); any other value → flag,
|
|
199
|
+
`ask` assumed. `orchestrator_cmd` or `after_study` set with any other mode → note it is ignored.
|
|
198
200
|
|
|
199
201
|
## 2. Checks
|
|
200
202
|
|
|
@@ -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.
|
|
@@ -68,7 +68,10 @@ place it would ask:
|
|
|
68
68
|
because they also fail on the base (`unattended:validate-red-base`): each name, and the base sha
|
|
69
69
|
where it failed too — and the review findings an orchestrator's answer accepted unfixed
|
|
70
70
|
(`06-review.md` "Answered (unattended)"), one line each. The §3 preview shows that section like
|
|
71
|
-
any other, and the person reading it is the check the run could not do.
|
|
71
|
+
any other, and the person reading it is the check the run could not do. Entries of
|
|
72
|
+
`auto-answers.md` for this MR/PR (`MR/PR <n>` in their heading, or all of them for a work with no
|
|
73
|
+
`mrs`) go into the body verbatim under `## Decided without asking` — each question, its options,
|
|
74
|
+
the one taken checked (flow-core §2.1, the recommended answer).
|
|
72
75
|
|
|
73
76
|
## 1. Pre-flight
|
|
74
77
|
|
|
@@ -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.
|
|
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
|
|
@@ -434,6 +434,8 @@ conservative reading, never a guess dressed as a default.
|
|
|
434
434
|
|
|
435
435
|
**A question stop**, in this order: the WIP commit above → the question and options files →
|
|
436
436
|
`meta.json.pending` (its `id` hashes the question file, so the file comes first) → `ask` → end.
|
|
437
|
+
With `autonomy.after_study: recommended` and an approved study, the recommended answer below may
|
|
438
|
+
take the question in its place.
|
|
437
439
|
|
|
438
440
|
```json
|
|
439
441
|
"pending": {"id": "168-unattended-autonomy-mode:build:migration:3f2a9c1:8d41e07",
|
|
@@ -515,6 +517,46 @@ by writing it and ending the run `blocked`, its reason naming what a person must
|
|
|
515
517
|
cannot redesign on its own. A gate this table does not name has no answer path — it stays a
|
|
516
518
|
question for a person.
|
|
517
519
|
|
|
520
|
+
**The recommended answer, after an approved study** — `autonomy.after_study: recommended`, read
|
|
521
|
+
only in `unattended` (empty or `ask` → every question stops as above). It applies once the work
|
|
522
|
+
holds a study a person approved: `done-summary.md` in the work folder (a study run, approved with
|
|
523
|
+
`why = start`) or `meta.json.handoff` true (a study handed off from elsewhere). Then a question
|
|
524
|
+
stop in `build`, `fix`, `review`, `validate` or `ship` is not sent, and the run answers it with its
|
|
525
|
+
own recommended option, in the same turn:
|
|
526
|
+
|
|
527
|
+
1. Write the question and options files as the stop would, and compute its `id` the same way.
|
|
528
|
+
2. Append one entry to `auto-answers.md` in the work folder — whoever reads it later has not seen
|
|
529
|
+
this session:
|
|
530
|
+
|
|
531
|
+
```markdown
|
|
532
|
+
### <gate> · <phase> · MR/PR <n>
|
|
533
|
+
<the question file, whole>
|
|
534
|
+
|
|
535
|
+
- [x] <the recommended option> — taken without asking
|
|
536
|
+
- [ ] <each other option, in its order>
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
`MR/PR <n>` is this MR/PR's `mrs[]` entry, left out for a work with no `mrs`.
|
|
540
|
+
3. Apply that option as an orchestrator's answer is applied (above): written where the re-entry
|
|
541
|
+
table says, with every effect its row names — *Fix them* writes the plan steps and chains into
|
|
542
|
+
`build` / `fix` — and `{ "key": "unattended:answer:<gate>", "default": "<option>", "id": "<id>",
|
|
543
|
+
"phase": "<phase>", "head": "<head>", "mr": <n>, "source": "recommended" }` in
|
|
544
|
+
`meta.json.defaults_used[]`, so "Which site takes it" reads it as it reads any answer.
|
|
545
|
+
4. `pending` stays `null`: no `ask`, no end of the run. The phase goes on from that site.
|
|
546
|
+
|
|
547
|
+
Still a question stop, as above:
|
|
548
|
+
|
|
549
|
+
- **No recommended option** — a question with no options, or a `decision` whose options came
|
|
550
|
+
without one. Free text is never written on a person's behalf.
|
|
551
|
+
- **A third `high_findings` on the same MR/PR** — two `source: "recommended"` answers to that gate
|
|
552
|
+
with this `mr` already in `defaults_used[]`: two rounds of fixes that left high findings behind
|
|
553
|
+
are for a person to judge.
|
|
554
|
+
- **Outside those five phases** — the study phases, and `respond` and `green`, ask or block as
|
|
555
|
+
they always do: a review round answers a reviewer, and the ticket's owner decides that one.
|
|
556
|
+
|
|
557
|
+
`ship` puts this MR/PR's entries in the body (its "In every mode" paragraph), so the person who
|
|
558
|
+
reads the draft sees each question, its options and the one taken, and asks for a change there.
|
|
559
|
+
|
|
518
560
|
## 3. Reporting — how every stop reads
|
|
519
561
|
|
|
520
562
|
**A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
|
|
@@ -189,8 +189,10 @@ base branch resolvable — is §2 below; flag the key here, check the world ther
|
|
|
189
189
|
resolves on `PATH` (`command -v`) — **empty → flag it as an error**: no phase runs in
|
|
190
190
|
`unattended` without it. Say which file set the mode: every session that reads that file — a
|
|
191
191
|
person's included, when they share the checkout and the harness — stops asking too, so it belongs
|
|
192
|
-
in a FLOW file only the orchestrator's environment has. `
|
|
193
|
-
→
|
|
192
|
+
in a FLOW file only the orchestrator's environment has. Echo `autonomy.after_study` (empty =
|
|
193
|
+
`ask`): `recommended` → once a study is approved, the run answers its own questions with the
|
|
194
|
+
recommended option and lists them in the draft MR/PR (flow-core §2.1); any other value → flag,
|
|
195
|
+
`ask` assumed. `orchestrator_cmd` or `after_study` set with any other mode → note it is ignored.
|
|
194
196
|
|
|
195
197
|
## 2. Checks
|
|
196
198
|
|
|
@@ -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.
|
|
@@ -64,7 +64,10 @@ place it would ask:
|
|
|
64
64
|
because they also fail on the base (`unattended:validate-red-base`): each name, and the base sha
|
|
65
65
|
where it failed too — and the review findings an orchestrator's answer accepted unfixed
|
|
66
66
|
(`06-review.md` "Answered (unattended)"), one line each. The §3 preview shows that section like
|
|
67
|
-
any other, and the person reading it is the check the run could not do.
|
|
67
|
+
any other, and the person reading it is the check the run could not do. Entries of
|
|
68
|
+
`auto-answers.md` for this MR/PR (`MR/PR <n>` in their heading, or all of them for a work with no
|
|
69
|
+
`mrs`) go into the body verbatim under `## Decided without asking` — each question, its options,
|
|
70
|
+
the one taken checked (flow-core §2.1, the recommended answer).
|
|
68
71
|
|
|
69
72
|
## 1. Pre-flight
|
|
70
73
|
|
|
@@ -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.
|
|
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
|
|
@@ -435,6 +435,8 @@ conservative reading, never a guess dressed as a default.
|
|
|
435
435
|
|
|
436
436
|
**A question stop**, in this order: the WIP commit above → the question and options files →
|
|
437
437
|
`meta.json.pending` (its `id` hashes the question file, so the file comes first) → `ask` → end.
|
|
438
|
+
With `autonomy.after_study: recommended` and an approved study, the recommended answer below may
|
|
439
|
+
take the question in its place.
|
|
438
440
|
|
|
439
441
|
```json
|
|
440
442
|
"pending": {"id": "168-unattended-autonomy-mode:build:migration:3f2a9c1:8d41e07",
|
|
@@ -516,6 +518,46 @@ by writing it and ending the run `blocked`, its reason naming what a person must
|
|
|
516
518
|
cannot redesign on its own. A gate this table does not name has no answer path — it stays a
|
|
517
519
|
question for a person.
|
|
518
520
|
|
|
521
|
+
**The recommended answer, after an approved study** — `autonomy.after_study: recommended`, read
|
|
522
|
+
only in `unattended` (empty or `ask` → every question stops as above). It applies once the work
|
|
523
|
+
holds a study a person approved: `done-summary.md` in the work folder (a study run, approved with
|
|
524
|
+
`why = start`) or `meta.json.handoff` true (a study handed off from elsewhere). Then a question
|
|
525
|
+
stop in `build`, `fix`, `review`, `validate` or `ship` is not sent, and the run answers it with its
|
|
526
|
+
own recommended option, in the same turn:
|
|
527
|
+
|
|
528
|
+
1. Write the question and options files as the stop would, and compute its `id` the same way.
|
|
529
|
+
2. Append one entry to `auto-answers.md` in the work folder — whoever reads it later has not seen
|
|
530
|
+
this session:
|
|
531
|
+
|
|
532
|
+
```markdown
|
|
533
|
+
### <gate> · <phase> · MR/PR <n>
|
|
534
|
+
<the question file, whole>
|
|
535
|
+
|
|
536
|
+
- [x] <the recommended option> — taken without asking
|
|
537
|
+
- [ ] <each other option, in its order>
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
`MR/PR <n>` is this MR/PR's `mrs[]` entry, left out for a work with no `mrs`.
|
|
541
|
+
3. Apply that option as an orchestrator's answer is applied (above): written where the re-entry
|
|
542
|
+
table says, with every effect its row names — *Fix them* writes the plan steps and chains into
|
|
543
|
+
`build` / `fix` — and `{ "key": "unattended:answer:<gate>", "default": "<option>", "id": "<id>",
|
|
544
|
+
"phase": "<phase>", "head": "<head>", "mr": <n>, "source": "recommended" }` in
|
|
545
|
+
`meta.json.defaults_used[]`, so "Which site takes it" reads it as it reads any answer.
|
|
546
|
+
4. `pending` stays `null`: no `ask`, no end of the run. The phase goes on from that site.
|
|
547
|
+
|
|
548
|
+
Still a question stop, as above:
|
|
549
|
+
|
|
550
|
+
- **No recommended option** — a question with no options, or a `decision` whose options came
|
|
551
|
+
without one. Free text is never written on a person's behalf.
|
|
552
|
+
- **A third `high_findings` on the same MR/PR** — two `source: "recommended"` answers to that gate
|
|
553
|
+
with this `mr` already in `defaults_used[]`: two rounds of fixes that left high findings behind
|
|
554
|
+
are for a person to judge.
|
|
555
|
+
- **Outside those five phases** — the study phases, and `respond` and `green`, ask or block as
|
|
556
|
+
they always do: a review round answers a reviewer, and the ticket's owner decides that one.
|
|
557
|
+
|
|
558
|
+
`ship` puts this MR/PR's entries in the body (its "In every mode" paragraph), so the person who
|
|
559
|
+
reads the draft sees each question, its options and the one taken, and asks for a change there.
|
|
560
|
+
|
|
519
561
|
## 3. Reporting — how every stop reads
|
|
520
562
|
|
|
521
563
|
**A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
|
|
@@ -193,8 +193,10 @@ base branch resolvable — is §2 below; flag the key here, check the world ther
|
|
|
193
193
|
resolves on `PATH` (`command -v`) — **empty → flag it as an error**: no phase runs in
|
|
194
194
|
`unattended` without it. Say which file set the mode: every session that reads that file — a
|
|
195
195
|
person's included, when they share the checkout and the harness — stops asking too, so it belongs
|
|
196
|
-
in a FLOW file only the orchestrator's environment has. `
|
|
197
|
-
→
|
|
196
|
+
in a FLOW file only the orchestrator's environment has. Echo `autonomy.after_study` (empty =
|
|
197
|
+
`ask`): `recommended` → once a study is approved, the run answers its own questions with the
|
|
198
|
+
recommended option and lists them in the draft MR/PR (flow-core §2.1); any other value → flag,
|
|
199
|
+
`ask` assumed. `orchestrator_cmd` or `after_study` set with any other mode → note it is ignored.
|
|
198
200
|
|
|
199
201
|
## 2. Checks
|
|
200
202
|
|
|
@@ -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.
|
|
@@ -68,7 +68,10 @@ place it would ask:
|
|
|
68
68
|
because they also fail on the base (`unattended:validate-red-base`): each name, and the base sha
|
|
69
69
|
where it failed too — and the review findings an orchestrator's answer accepted unfixed
|
|
70
70
|
(`06-review.md` "Answered (unattended)"), one line each. The §3 preview shows that section like
|
|
71
|
-
any other, and the person reading it is the check the run could not do.
|
|
71
|
+
any other, and the person reading it is the check the run could not do. Entries of
|
|
72
|
+
`auto-answers.md` for this MR/PR (`MR/PR <n>` in their heading, or all of them for a work with no
|
|
73
|
+
`mrs`) go into the body verbatim under `## Decided without asking` — each question, its options,
|
|
74
|
+
the one taken checked (flow-core §2.1, the recommended answer).
|
|
72
75
|
|
|
73
76
|
## 1. Pre-flight
|
|
74
77
|
|
|
@@ -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.
|
|
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
|
|
@@ -434,6 +434,8 @@ conservative reading, never a guess dressed as a default.
|
|
|
434
434
|
|
|
435
435
|
**A question stop**, in this order: the WIP commit above → the question and options files →
|
|
436
436
|
`meta.json.pending` (its `id` hashes the question file, so the file comes first) → `ask` → end.
|
|
437
|
+
With `autonomy.after_study: recommended` and an approved study, the recommended answer below may
|
|
438
|
+
take the question in its place.
|
|
437
439
|
|
|
438
440
|
```json
|
|
439
441
|
"pending": {"id": "168-unattended-autonomy-mode:build:migration:3f2a9c1:8d41e07",
|
|
@@ -515,6 +517,46 @@ by writing it and ending the run `blocked`, its reason naming what a person must
|
|
|
515
517
|
cannot redesign on its own. A gate this table does not name has no answer path — it stays a
|
|
516
518
|
question for a person.
|
|
517
519
|
|
|
520
|
+
**The recommended answer, after an approved study** — `autonomy.after_study: recommended`, read
|
|
521
|
+
only in `unattended` (empty or `ask` → every question stops as above). It applies once the work
|
|
522
|
+
holds a study a person approved: `done-summary.md` in the work folder (a study run, approved with
|
|
523
|
+
`why = start`) or `meta.json.handoff` true (a study handed off from elsewhere). Then a question
|
|
524
|
+
stop in `build`, `fix`, `review`, `validate` or `ship` is not sent, and the run answers it with its
|
|
525
|
+
own recommended option, in the same turn:
|
|
526
|
+
|
|
527
|
+
1. Write the question and options files as the stop would, and compute its `id` the same way.
|
|
528
|
+
2. Append one entry to `auto-answers.md` in the work folder — whoever reads it later has not seen
|
|
529
|
+
this session:
|
|
530
|
+
|
|
531
|
+
```markdown
|
|
532
|
+
### <gate> · <phase> · MR/PR <n>
|
|
533
|
+
<the question file, whole>
|
|
534
|
+
|
|
535
|
+
- [x] <the recommended option> — taken without asking
|
|
536
|
+
- [ ] <each other option, in its order>
|
|
537
|
+
```
|
|
538
|
+
|
|
539
|
+
`MR/PR <n>` is this MR/PR's `mrs[]` entry, left out for a work with no `mrs`.
|
|
540
|
+
3. Apply that option as an orchestrator's answer is applied (above): written where the re-entry
|
|
541
|
+
table says, with every effect its row names — *Fix them* writes the plan steps and chains into
|
|
542
|
+
`build` / `fix` — and `{ "key": "unattended:answer:<gate>", "default": "<option>", "id": "<id>",
|
|
543
|
+
"phase": "<phase>", "head": "<head>", "mr": <n>, "source": "recommended" }` in
|
|
544
|
+
`meta.json.defaults_used[]`, so "Which site takes it" reads it as it reads any answer.
|
|
545
|
+
4. `pending` stays `null`: no `ask`, no end of the run. The phase goes on from that site.
|
|
546
|
+
|
|
547
|
+
Still a question stop, as above:
|
|
548
|
+
|
|
549
|
+
- **No recommended option** — a question with no options, or a `decision` whose options came
|
|
550
|
+
without one. Free text is never written on a person's behalf.
|
|
551
|
+
- **A third `high_findings` on the same MR/PR** — two `source: "recommended"` answers to that gate
|
|
552
|
+
with this `mr` already in `defaults_used[]`: two rounds of fixes that left high findings behind
|
|
553
|
+
are for a person to judge.
|
|
554
|
+
- **Outside those five phases** — the study phases, and `respond` and `green`, ask or block as
|
|
555
|
+
they always do: a review round answers a reviewer, and the ticket's owner decides that one.
|
|
556
|
+
|
|
557
|
+
`ship` puts this MR/PR's entries in the body (its "In every mode" paragraph), so the person who
|
|
558
|
+
reads the draft sees each question, its options and the one taken, and asks for a change there.
|
|
559
|
+
|
|
518
560
|
## 3. Reporting — how every stop reads
|
|
519
561
|
|
|
520
562
|
**A stop is where you hand the screen back**: a question, a hard gate, the end of the flow.
|
|
@@ -191,8 +191,10 @@ base branch resolvable — is §2 below; flag the key here, check the world ther
|
|
|
191
191
|
resolves on `PATH` (`command -v`) — **empty → flag it as an error**: no phase runs in
|
|
192
192
|
`unattended` without it. Say which file set the mode: every session that reads that file — a
|
|
193
193
|
person's included, when they share the checkout and the harness — stops asking too, so it belongs
|
|
194
|
-
in a FLOW file only the orchestrator's environment has. `
|
|
195
|
-
→
|
|
194
|
+
in a FLOW file only the orchestrator's environment has. Echo `autonomy.after_study` (empty =
|
|
195
|
+
`ask`): `recommended` → once a study is approved, the run answers its own questions with the
|
|
196
|
+
recommended option and lists them in the draft MR/PR (flow-core §2.1); any other value → flag,
|
|
197
|
+
`ask` assumed. `orchestrator_cmd` or `after_study` set with any other mode → note it is ignored.
|
|
196
198
|
|
|
197
199
|
## 2. Checks
|
|
198
200
|
|
|
@@ -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.
|
|
@@ -66,7 +66,10 @@ place it would ask:
|
|
|
66
66
|
because they also fail on the base (`unattended:validate-red-base`): each name, and the base sha
|
|
67
67
|
where it failed too — and the review findings an orchestrator's answer accepted unfixed
|
|
68
68
|
(`06-review.md` "Answered (unattended)"), one line each. The §3 preview shows that section like
|
|
69
|
-
any other, and the person reading it is the check the run could not do.
|
|
69
|
+
any other, and the person reading it is the check the run could not do. Entries of
|
|
70
|
+
`auto-answers.md` for this MR/PR (`MR/PR <n>` in their heading, or all of them for a work with no
|
|
71
|
+
`mrs`) go into the body verbatim under `## Decided without asking` — each question, its options,
|
|
72
|
+
the one taken checked (flow-core §2.1, the recommended answer).
|
|
70
73
|
|
|
71
74
|
## 1. Pre-flight
|
|
72
75
|
|
|
@@ -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.
|
|
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.
|
|
6
|
+
"version": "0.99.1",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Alberto Vioque",
|
|
9
9
|
"email": "mashware@gmail.com"
|
|
@@ -5,6 +5,40 @@ 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
|
+
|
|
23
|
+
## v0.99.0 — After an approved study, an unattended run answers its own questions · 2026-10-22
|
|
24
|
+
|
|
25
|
+
**In short**
|
|
26
|
+
- **New key `autonomy.after_study: recommended`**, read only in `unattended`. Once the work holds a
|
|
27
|
+
study a person approved — a study run approved with `why = start`, or a study handed off from
|
|
28
|
+
elsewhere — a question in `build`, `fix`, `review`, `validate` or `ship` no longer ends the run:
|
|
29
|
+
it takes the recommended option and goes on in the same turn.
|
|
30
|
+
- **Every question still reaches you, in the draft MR/PR.** Each one goes to `auto-answers.md` and
|
|
31
|
+
from there into the body under `## Decided without asking`: the question, its options, the one
|
|
32
|
+
taken checked. Disagree → ask for the change on the MR/PR.
|
|
33
|
+
- **Three cases still ask:** a question with no recommended option, a third high-findings round on
|
|
34
|
+
the same MR/PR, and anything outside those five phases — the study itself, `respond` and `green`.
|
|
35
|
+
- Empty or `ask` → nothing changes.
|
|
36
|
+
|
|
37
|
+
An unattended build stopped on a question whose recommended option was the one the person would
|
|
38
|
+
have picked, and the answer came hours later — a relaunch that started cold, without the context or
|
|
39
|
+
the cache of the run that asked. With the study approved, the person had already decided what
|
|
40
|
+
mattered; the rest can wait for the MR/PR.
|
|
41
|
+
|
|
8
42
|
## v0.98.0 — One overview, and it knows what you merged · 2026-10-21
|
|
9
43
|
|
|
10
44
|
**In short**
|
|
@@ -128,6 +128,11 @@ How much the flow advances on its own vs. stopping to ask you.
|
|
|
128
128
|
# It says why the run was launched, serves the ticket and the answer, and takes
|
|
129
129
|
# the run's one closing order (`ask`, `publish`, `blocked`, `done`). Read only
|
|
130
130
|
# in that mode. The orders: flow-core §2.1.
|
|
131
|
+
- `after_study:` # `ask` (default) | `recommended`. Read only in `unattended`, once the work holds an approved study.
|
|
132
|
+
# ask — a question in build/fix/review/validate/ship ends the run with `ask`.
|
|
133
|
+
# recommended — the run takes the recommended option itself and goes on; the draft
|
|
134
|
+
# MR/PR lists each question with its options, the one taken checked.
|
|
135
|
+
# Questions with no recommended option, and a third high-findings round, still ask.
|
|
131
136
|
|
|
132
137
|
## quality
|
|
133
138
|
Repo commands for quality gates, whatever the stack — `make test`, `./gradlew test`, `dotnet test`,
|