flow-workflows 0.62.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.
- package/LICENSE +21 -0
- package/README.md +320 -0
- package/adapters/README.md +128 -0
- package/adapters/codex/AGENTS.md +82 -0
- package/adapters/codex/CORE.md +522 -0
- package/adapters/codex/PRIMITIVES.md +64 -0
- package/adapters/codex/README.md +126 -0
- package/adapters/codex/config.snippet.toml +88 -0
- package/adapters/codex/skills/flow-bug-fix/SKILL.md +171 -0
- package/adapters/codex/skills/flow-bug-investigate/SKILL.md +216 -0
- package/adapters/codex/skills/flow-bug-postmortem/SKILL.md +98 -0
- package/adapters/codex/skills/flow-bug-review/SKILL.md +190 -0
- package/adapters/codex/skills/flow-bug-ship/SKILL.md +187 -0
- package/adapters/codex/skills/flow-bug-start/SKILL.md +212 -0
- package/adapters/codex/skills/flow-bug-validate/SKILL.md +99 -0
- package/adapters/codex/skills/flow-doctor/SKILL.md +254 -0
- package/adapters/codex/skills/flow-feat-build/SKILL.md +350 -0
- package/adapters/codex/skills/flow-feat-design/SKILL.md +399 -0
- package/adapters/codex/skills/flow-feat-plan/SKILL.md +165 -0
- package/adapters/codex/skills/flow-feat-review/SKILL.md +350 -0
- package/adapters/codex/skills/flow-feat-ship/SKILL.md +417 -0
- package/adapters/codex/skills/flow-feat-start/SKILL.md +289 -0
- package/adapters/codex/skills/flow-feat-validate/SKILL.md +216 -0
- package/adapters/codex/skills/flow-init/SKILL.md +153 -0
- package/adapters/codex/skills/flow-news/SKILL.md +57 -0
- package/adapters/codex/skills/flow-next/SKILL.md +55 -0
- package/adapters/codex/skills/flow-work-README/SKILL.md +247 -0
- package/adapters/codex/skills/flow-work-abandon/SKILL.md +103 -0
- package/adapters/codex/skills/flow-work-clean/SKILL.md +228 -0
- package/adapters/codex/skills/flow-work-daily/SKILL.md +114 -0
- package/adapters/codex/skills/flow-work-green/SKILL.md +162 -0
- package/adapters/codex/skills/flow-work-query/SKILL.md +169 -0
- package/adapters/codex/skills/flow-work-respond/SKILL.md +176 -0
- package/adapters/codex/skills/flow-work-resume/SKILL.md +123 -0
- package/adapters/codex/skills/flow-work-status/SKILL.md +127 -0
- package/adapters/codex/skills/flow-work-try/SKILL.md +94 -0
- package/adapters/codex/skills/flow-work-watch/SKILL.md +223 -0
- package/adapters/gemini/CORE.md +521 -0
- package/adapters/gemini/PRIMITIVES.md +117 -0
- package/adapters/gemini/README.md +149 -0
- package/adapters/gemini/commands/flow/bug/fix.toml +168 -0
- package/adapters/gemini/commands/flow/bug/investigate.toml +213 -0
- package/adapters/gemini/commands/flow/bug/postmortem.toml +95 -0
- package/adapters/gemini/commands/flow/bug/review.toml +187 -0
- package/adapters/gemini/commands/flow/bug/ship.toml +184 -0
- package/adapters/gemini/commands/flow/bug/start.toml +209 -0
- package/adapters/gemini/commands/flow/bug/validate.toml +96 -0
- package/adapters/gemini/commands/flow/doctor.toml +251 -0
- package/adapters/gemini/commands/flow/feat/build.toml +347 -0
- package/adapters/gemini/commands/flow/feat/design.toml +396 -0
- package/adapters/gemini/commands/flow/feat/plan.toml +162 -0
- package/adapters/gemini/commands/flow/feat/review.toml +347 -0
- package/adapters/gemini/commands/flow/feat/ship.toml +414 -0
- package/adapters/gemini/commands/flow/feat/start.toml +286 -0
- package/adapters/gemini/commands/flow/feat/validate.toml +213 -0
- package/adapters/gemini/commands/flow/init.toml +150 -0
- package/adapters/gemini/commands/flow/news.toml +54 -0
- package/adapters/gemini/commands/flow/next.toml +52 -0
- package/adapters/gemini/commands/flow/work/README.toml +244 -0
- package/adapters/gemini/commands/flow/work/abandon.toml +100 -0
- package/adapters/gemini/commands/flow/work/clean.toml +225 -0
- package/adapters/gemini/commands/flow/work/daily.toml +111 -0
- package/adapters/gemini/commands/flow/work/green.toml +159 -0
- package/adapters/gemini/commands/flow/work/query.toml +166 -0
- package/adapters/gemini/commands/flow/work/respond.toml +173 -0
- package/adapters/gemini/commands/flow/work/resume.toml +120 -0
- package/adapters/gemini/commands/flow/work/status.toml +124 -0
- package/adapters/gemini/commands/flow/work/try.toml +91 -0
- package/adapters/gemini/commands/flow/work/watch.toml +220 -0
- package/adapters/gemini/settings.snippet.json +11 -0
- package/adapters/hermes/CORE.md +522 -0
- package/adapters/hermes/PRIMITIVES.md +86 -0
- package/adapters/hermes/README.md +145 -0
- package/adapters/hermes/config.snippet.yaml +63 -0
- package/adapters/hermes/skills/flow-bug-fix/SKILL.md +171 -0
- package/adapters/hermes/skills/flow-bug-investigate/SKILL.md +216 -0
- package/adapters/hermes/skills/flow-bug-postmortem/SKILL.md +98 -0
- package/adapters/hermes/skills/flow-bug-review/SKILL.md +190 -0
- package/adapters/hermes/skills/flow-bug-ship/SKILL.md +187 -0
- package/adapters/hermes/skills/flow-bug-start/SKILL.md +212 -0
- package/adapters/hermes/skills/flow-bug-validate/SKILL.md +99 -0
- package/adapters/hermes/skills/flow-doctor/SKILL.md +254 -0
- package/adapters/hermes/skills/flow-feat-build/SKILL.md +350 -0
- package/adapters/hermes/skills/flow-feat-design/SKILL.md +399 -0
- package/adapters/hermes/skills/flow-feat-plan/SKILL.md +165 -0
- package/adapters/hermes/skills/flow-feat-review/SKILL.md +350 -0
- package/adapters/hermes/skills/flow-feat-ship/SKILL.md +417 -0
- package/adapters/hermes/skills/flow-feat-start/SKILL.md +289 -0
- package/adapters/hermes/skills/flow-feat-validate/SKILL.md +216 -0
- package/adapters/hermes/skills/flow-init/SKILL.md +153 -0
- package/adapters/hermes/skills/flow-news/SKILL.md +57 -0
- package/adapters/hermes/skills/flow-next/SKILL.md +55 -0
- package/adapters/hermes/skills/flow-work-README/SKILL.md +247 -0
- package/adapters/hermes/skills/flow-work-abandon/SKILL.md +103 -0
- package/adapters/hermes/skills/flow-work-clean/SKILL.md +228 -0
- package/adapters/hermes/skills/flow-work-daily/SKILL.md +114 -0
- package/adapters/hermes/skills/flow-work-green/SKILL.md +162 -0
- package/adapters/hermes/skills/flow-work-query/SKILL.md +169 -0
- package/adapters/hermes/skills/flow-work-respond/SKILL.md +176 -0
- package/adapters/hermes/skills/flow-work-resume/SKILL.md +123 -0
- package/adapters/hermes/skills/flow-work-status/SKILL.md +127 -0
- package/adapters/hermes/skills/flow-work-try/SKILL.md +94 -0
- package/adapters/hermes/skills/flow-work-watch/SKILL.md +223 -0
- package/adapters/install.sh +99 -0
- package/adapters/opencode/CORE.md +521 -0
- package/adapters/opencode/PRIMITIVES.md +118 -0
- package/adapters/opencode/README.md +113 -0
- package/adapters/opencode/commands/flow-bug-fix.md +169 -0
- package/adapters/opencode/commands/flow-bug-investigate.md +214 -0
- package/adapters/opencode/commands/flow-bug-postmortem.md +96 -0
- package/adapters/opencode/commands/flow-bug-review.md +188 -0
- package/adapters/opencode/commands/flow-bug-ship.md +185 -0
- package/adapters/opencode/commands/flow-bug-start.md +210 -0
- package/adapters/opencode/commands/flow-bug-validate.md +97 -0
- package/adapters/opencode/commands/flow-doctor.md +252 -0
- package/adapters/opencode/commands/flow-feat-build.md +348 -0
- package/adapters/opencode/commands/flow-feat-design.md +397 -0
- package/adapters/opencode/commands/flow-feat-plan.md +163 -0
- package/adapters/opencode/commands/flow-feat-review.md +348 -0
- package/adapters/opencode/commands/flow-feat-ship.md +415 -0
- package/adapters/opencode/commands/flow-feat-start.md +287 -0
- package/adapters/opencode/commands/flow-feat-validate.md +214 -0
- package/adapters/opencode/commands/flow-init.md +151 -0
- package/adapters/opencode/commands/flow-news.md +55 -0
- package/adapters/opencode/commands/flow-next.md +53 -0
- package/adapters/opencode/commands/flow-work-README.md +245 -0
- package/adapters/opencode/commands/flow-work-abandon.md +101 -0
- package/adapters/opencode/commands/flow-work-clean.md +226 -0
- package/adapters/opencode/commands/flow-work-daily.md +112 -0
- package/adapters/opencode/commands/flow-work-green.md +160 -0
- package/adapters/opencode/commands/flow-work-query.md +167 -0
- package/adapters/opencode/commands/flow-work-respond.md +174 -0
- package/adapters/opencode/commands/flow-work-resume.md +121 -0
- package/adapters/opencode/commands/flow-work-status.md +125 -0
- package/adapters/opencode/commands/flow-work-try.md +92 -0
- package/adapters/opencode/commands/flow-work-watch.md +221 -0
- package/adapters/opencode/opencode.json +8 -0
- package/bin/cli.mjs +222 -0
- package/package.json +43 -0
- package/plugins/flow/.claude-plugin/plugin.json +21 -0
- package/plugins/flow/CHANGELOG.md +1744 -0
- package/plugins/flow/examples/FLOW.template.md +324 -0
|
@@ -0,0 +1,1744 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to the **flow** plugin, newest first. This file is bundled with the
|
|
4
|
+
plugin and is what `/flow:news` reads to show you what changed since your previous version.
|
|
5
|
+
|
|
6
|
+
The canonical, richest notes live in the [GitHub Releases](https://github.com/mashware/flow-workflows/releases).
|
|
7
|
+
|
|
8
|
+
## v0.62.0 — Three harnesses could be installed but never updated · 2026-09-16
|
|
9
|
+
|
|
10
|
+
**In short**
|
|
11
|
+
- **`npx flow-workflows install opencode`** — one command, nothing to clone. Same for `gemini`, `hermes` and `codex`.
|
|
12
|
+
- **Updating is that same line again**: it sweeps the previous version's files before copying, so a command dropped upstream stops being invocable instead of lingering for ever.
|
|
13
|
+
- **`npx flow-workflows check`** answers the question nobody could answer before — what your harnesses actually run, versus the newest release.
|
|
14
|
+
- **Claude Code and Codex are unchanged**: they have their own marketplaces, and `npx flow-workflows install claude` just prints the two marketplace lines rather than pretending npm is the way.
|
|
15
|
+
- **Two installers, verified identical**: `bin/cli.mjs` for npx, `adapters/install.sh` for a clone. The preflight installs every harness both ways into throwaway `HOME`s and fails if the trees differ by one byte.
|
|
16
|
+
|
|
17
|
+
Until now the honest answer to "how does an opencode user update flow?" was: clone the repo, `git
|
|
18
|
+
pull`, re-run `adapters/install.sh`, and remember to do it — the word *update* did not appear once
|
|
19
|
+
in the adapter documentation. Claude Code has a marketplace and a hook that tells you a new version
|
|
20
|
+
landed; Codex has its own. The other three had first-class installation and no updating at all.
|
|
21
|
+
|
|
22
|
+
opencode has no registry for commands — they are markdown files in `~/.config/opencode/commands/`,
|
|
23
|
+
and nothing distributes them. So the distribution cannot come from the harness; it has to come from
|
|
24
|
+
here. npm is the one channel all three already have: Node is a given, `npx` needs no install step,
|
|
25
|
+
and the package carries the adapters plus the three plugin files the installer reads.
|
|
26
|
+
|
|
27
|
+
The install now also copies this harness's **config fragment** and **`FLOW.template.md`** into
|
|
28
|
+
`~/.claude/flow/`, rather than printing a path into the package. Under `npx` that directory is
|
|
29
|
+
deleted the moment the command returns, so every path it used to print would have been dead on
|
|
30
|
+
arrival.
|
|
31
|
+
|
|
32
|
+
Two implementations of one installer is a drift risk, and the repo's answer to drift is mechanical:
|
|
33
|
+
`adapter-smoke.py` runs both against throwaway `HOME`s and compares the resulting trees file by
|
|
34
|
+
file and hash by hash. `package.json` is generated by `adapter-build.py` from the plugin manifest,
|
|
35
|
+
so the published version cannot lag behind the plugin's.
|
|
36
|
+
|
|
37
|
+
## v0.61.0 — An artifact named a command the next agent did not have · 2026-09-16
|
|
38
|
+
|
|
39
|
+
**In short**
|
|
40
|
+
- **Artifacts now name the phase, never the command** — `validate`, `review`, `ship #2`, not the invocation that runs them. A work folder outlives the session that wrote it, and the agent that resumes it may not be the one that started it.
|
|
41
|
+
- **The bug was silent and cross-harness**: a work started in Claude Code wrote `/flow:feat:review` into `06-review.md` and `panel.json`; resumed from opencode, Codex, Gemini or Hermes, the handoff dictated a command that does not exist there — each has its own prefix.
|
|
42
|
+
- **Five templates fixed** — the `## Next step` block of `06-review.md`, two `01-context.md` headings, the `Next` line of the `panel.json` example in `work:resume`, and the `Proof` note inside `03-design.md`.
|
|
43
|
+
- **The real cause was the absence of a rule, not a bad template**: flow-core §5 already described the handoff in neutral terms and never asked for a command — the agent filled that neutral slot with one on its own. §5 now says so explicitly, for every artifact.
|
|
44
|
+
- **The prose you *say* at a stop is untouched** — the generator already rewrites it to each harness's prefix. Only what gets written to disk changed.
|
|
45
|
+
|
|
46
|
+
The handoff between phases is the one piece of a work that is read by whoever comes next, and until
|
|
47
|
+
now it quietly assumed that whoever comes next is Claude Code. It is not: the same work folder is
|
|
48
|
+
read by five harnesses, and `/flow:feat:review` is `/flow-feat-review` on opencode and Hermes,
|
|
49
|
+
`$flow-feat-review` on Codex, `$flow:feat-review` in the Codex package. An artifact that spells out
|
|
50
|
+
the invocation hands the next agent an instruction it cannot follow — and because the text looks
|
|
51
|
+
authoritative, the agent repeats it to the user rather than translating it.
|
|
52
|
+
|
|
53
|
+
The fix has two halves. The five templates that prescribed a literal command no longer do. And
|
|
54
|
+
flow-core §5 carries the rule the templates were missing: **name the phase, never the command**,
|
|
55
|
+
across `00-summary.md`, `panel.json`'s `Next` line and every numbered artifact. The second half is
|
|
56
|
+
the one that matters — the summary contract was already neutral, which is why the templates alone
|
|
57
|
+
never explained the volume of command names found in real work folders.
|
|
58
|
+
|
|
59
|
+
Nothing about how a stop *reads* changes. The generator rewrites spoken prose per harness and
|
|
60
|
+
always did; this is only about what survives on disk.
|
|
61
|
+
|
|
62
|
+
## v0.60.0 — A small change could rest on a belief nobody had checked · 2026-09-15
|
|
63
|
+
|
|
64
|
+
**In short**
|
|
65
|
+
- **`/flow:feat:build` and `/flow:bug:fix` now spend one skeptic on the premise the change depends on** — at **any size, XS included**, once per MR/PR, read-only and refute-by-default. A category, like the query duel, not a depth tier.
|
|
66
|
+
- **Four conditions, or it is a doubt**: the code depends on it · it lives outside this diff · nothing in the diff or the artifacts verifies it · being wrong costs data, money, a silent wrong result or a security hole. Short of all four it is recorded as an assumption and gets no agent.
|
|
67
|
+
- **Unsettled stays unsettled.** Refuted sends the brief or the design back; a premise the skeptic cannot close is written into the artifact and named in the stop, never promoted to an assumption by prose.
|
|
68
|
+
- **Size is a route, never a target** (flow-core §9): no estimate and no review threshold is ever met by deleting a comment, a test or a blank line, compressing readable code, or cutting mid-change.
|
|
69
|
+
- **The review says when the diff landed just under the line.** Within 10% below the threshold that set its tier, `06-review.md` says so — one line, no tier change, so the new rule is checkable rather than merely stated.
|
|
70
|
+
|
|
71
|
+
Two gaps, and the same cause behind both: the number that tells the flow how much apparatus a change
|
|
72
|
+
deserves.
|
|
73
|
+
|
|
74
|
+
**A premise nobody contrasted.** `/flow:feat:design §6` interrogates the beliefs a plan rests on —
|
|
75
|
+
and XS never runs `design`. The skeptic round at the end of `review` does not cover it either: it
|
|
76
|
+
refutes findings that were *already reported*, and its gate needs M/L plus a diff over 150 lines plus
|
|
77
|
+
four ambiguous findings. So the one thing left unchallenged was the belief a small change depended
|
|
78
|
+
on. The upstream always normalises the address. The webhook never retries. That column is never null
|
|
79
|
+
in practice. Each is a sentence, each is load-bearing, and none of them gets safer for having a short
|
|
80
|
+
diff around it — the cheapness of the change is precisely what closed every gate flow had.
|
|
81
|
+
|
|
82
|
+
So `build` and `fix` get one round, and it is deliberately narrow. Four conditions must hold together
|
|
83
|
+
before an agent is spent, because a phase that challenges every uncertainty is a phase that stops
|
|
84
|
+
building. Fewer than four is a doubt: it goes under "Premises the change depends on" in the
|
|
85
|
+
implementation log as the assumption it is, which is all it was. And the rule that makes the round
|
|
86
|
+
worth running is the query duel's: **no number, no win**. A premise the skeptic cannot settle is
|
|
87
|
+
recorded as open, carried into the stop in the language of what breaks if it is false, and read by
|
|
88
|
+
`review` from the log — arriving there named instead of as a surprise. In a bug the premise is usually
|
|
89
|
+
the root cause itself, so `fix` sends a refuted one back to `/flow:bug:investigate` rather than
|
|
90
|
+
layering a second patch on the first; `validate` is about to write a regression test against exactly
|
|
91
|
+
that assumption.
|
|
92
|
+
|
|
93
|
+
**A number with an incentive on it.** `review` scales to the diff in front of it, on the lower of the
|
|
94
|
+
recorded size and the diff's own — the single largest saving the review has, and the reason a 41-line
|
|
95
|
+
MR/PR in an L-sized train is no longer reviewed as an L. But it also means a diff of 148 lines is
|
|
96
|
+
reviewed at `medium` with no project panel and with the skeptic gate closed, while one of 160 gets the
|
|
97
|
+
panel. An agent can land under that line by deleting a comment, dropping a test, collapsing blank
|
|
98
|
+
lines, compressing three readable statements into one, or cutting where the piece is not coherent.
|
|
99
|
+
Every one of those makes the *diff* smaller without making the *change* smaller, so the review that
|
|
100
|
+
arrives is the one a different, smaller change had earned. Nothing in the plugin forbade it.
|
|
101
|
+
|
|
102
|
+
Now one clause does, written once in flow-core and referenced from the three places that create the
|
|
103
|
+
pressure: where `lines_est` is defined, where the thermometer fires, and where the diff size selects
|
|
104
|
+
the tier. The honest moves were already there and are unchanged — a coherent cut, or "continue and
|
|
105
|
+
record the overrun" when the cut would be artificial. What is new is that a rule nobody can check is a
|
|
106
|
+
wish, so the review states in one line when the measured diff landed within 10% under the threshold
|
|
107
|
+
that set its tier. It is not an accusation and it changes no tier; it is the one place a reader can see
|
|
108
|
+
that the review they are holding was selected by a number. The same clause travels into delegated
|
|
109
|
+
briefs, because an agent optimising for a size nobody told it was advisory returns tidier, shorter,
|
|
110
|
+
worse code — and returns it looking finished.
|
|
111
|
+
|
|
112
|
+
Both halves are prior art from outside this repo: the ODD proposal in
|
|
113
|
+
[`Gentleman-Programming/gentle-ai#4607`](https://github.com/Gentleman-Programming/gentle-ai/issues/4607)
|
|
114
|
+
argues for a single independent challenge of a high-consequence assumption with no size exemption, and
|
|
115
|
+
for an advisory size that is never an acceptance gate — with the explicit list of what an agent must
|
|
116
|
+
not do to meet a number. The reasoning is theirs; what flow adds is a phase to hang it on and an
|
|
117
|
+
artifact that shows afterwards whether it happened.
|
|
118
|
+
|
|
119
|
+
## v0.59.0 — Your repo decides what counts as sensitive code · 2026-09-15
|
|
120
|
+
|
|
121
|
+
**In short**
|
|
122
|
+
- **`quality.sensitive_paths` is new**: path globs your repo declares sensitive. A diff touching one raises the review a tier and forces the panel, whatever its size.
|
|
123
|
+
- **It is additive.** The six generic categories (auth, secrets, payments/billing, personal data, public contracts, schema changes) always apply; this key widens them. Declaring your own surfaces never costs you the ones you did not think about, and a repo that adds nothing behaves exactly as before.
|
|
124
|
+
- **Use it for what is sensitive in your repo and nowhere in that list**: an internal event or message contract consumers depend on, a pricing or entitlement table, a consent flow, a feature-flag resolver.
|
|
125
|
+
- **A sensitive path is no longer automatically a sensitive diff.** The bump asks what the change *does*: control flow, or the data reaching a person, a charge or a stored record. A change that moves observability alone — log level, channel, message text, a metric, a comment — gets the review its size already earned.
|
|
126
|
+
- **Both `/flow:feat:review` and `/flow:bug:review`** read the key and record which of the two a diff was.
|
|
127
|
+
|
|
128
|
+
Deciding which surfaces carry risk was the last judgement `review` still made on your behalf, and it
|
|
129
|
+
made it from a fixed list written into the command. That list is not wrong — it is just generic, and
|
|
130
|
+
generic resolves at the wrong grain: it asks whether a file lives somewhere risky, never whether the
|
|
131
|
+
change does anything risky there. A module named after money is not the same as the lines that move
|
|
132
|
+
it, and only the repo knows which of its paths are which.
|
|
133
|
+
|
|
134
|
+
So the question splits in two, and each half goes where it can be answered. **Which paths** is the
|
|
135
|
+
repo's, and now lives in `FLOW.md` next to `test:` and `agents.architecture:` — the other judgements
|
|
136
|
+
that were never the plugin's to make. **Which diffs** stays here, because it is a statement about
|
|
137
|
+
diffs and not about domains: a new guard, a new `catch`, a changed condition, a changed value or a
|
|
138
|
+
changed contract buys the bump; moving a log line from one channel to another does not. A mixed diff
|
|
139
|
+
is not observability-only, so it bumps.
|
|
140
|
+
|
|
141
|
+
That second half is why the key adds instead of replacing. A list that replaced the categories would
|
|
142
|
+
make every repo re-derive auth, secrets and schema changes to keep them, and the first repo to forget
|
|
143
|
+
one would lose it silently — paying for precision it could get for free, because the precision comes
|
|
144
|
+
from reading the diff, not from a shorter list. Widening is the job nobody else can do: only your repo
|
|
145
|
+
knows that its event contracts, its pricing table or its consent flow carry the same weight.
|
|
146
|
+
|
|
147
|
+
Queries are the one thing that does not belong in the key. §3.6 already duels every query a diff adds
|
|
148
|
+
or modifies, at every size, sensitive or not — a path glob would buy a second opinion on prose where
|
|
149
|
+
the duel buys an execution plan.
|
|
150
|
+
|
|
151
|
+
What this is worth is measurable in the case that prompted it: a nine-MR feature inside a payments
|
|
152
|
+
module, where every slice inherited the sensitive bump from the module's name. The slices that
|
|
153
|
+
changed control flow returned real blockers. The one that only moved log levels between Monolog
|
|
154
|
+
channels ran a full panel at raised effort and returned three sentences, all of them saying nothing
|
|
155
|
+
was found. Same list, same rule, opposite value — because the rule was reading the path and not the
|
|
156
|
+
change.
|
|
157
|
+
|
|
158
|
+
A demotion is the one place a missed defect is expensive, so it is never silent: the review artifact
|
|
159
|
+
records which of the two the diff was, and why.
|
|
160
|
+
## v0.58.0 — The one harness that can reschedule itself had no adapter · 2026-09-12
|
|
161
|
+
|
|
162
|
+
**In short**
|
|
163
|
+
- **A fourth adapter: Hermes Agent.** `adapters/install.sh hermes` puts the 29 commands in `~/.hermes/skills/`, invoked `/flow-feat-start`, `/flow-bug-fix`, `/flow-work-status`.
|
|
164
|
+
- **Nothing in the generator had to be invented**: Hermes reads the agentskills.io `SKILL.md` layout Codex already gets, and invokes it with a slash like opencode.
|
|
165
|
+
- **`work:watch` loses its cron caveat** — Hermes schedules itself (`/cron add "every 30m" "…"`), the first adapter whose autopilot needs nothing outside the agent.
|
|
166
|
+
- **Subagents with nothing to declare**: `delegate_task` builds each child from the prompt it is handed, so the `agents` map in `FLOW.md` names a role to state, not a definition to install.
|
|
167
|
+
- **`FLOW.hermes.md`** is the new overlay, and `config.snippet.yaml` holds the MCP, delegation and cron keys to merge into `~/.hermes/config.yaml`.
|
|
168
|
+
|
|
169
|
+
Three adapters existed because three terminal agents had users running real work through them.
|
|
170
|
+
Hermes Agent is the fourth, and the cheapest to add: its skills are folders with a `SKILL.md` keyed
|
|
171
|
+
by `name:` — the same shape the Codex adapter has emitted since v0.30.0 — read from
|
|
172
|
+
`~/.hermes/skills/` and invoked with a slash. So the generator gained one target, not one format:
|
|
173
|
+
Codex's wrapper on opencode's prefix, and the prose the mirrors carry is the plugin's, verbatim,
|
|
174
|
+
like every other mirror.
|
|
175
|
+
|
|
176
|
+
What it buys is one honest paragraph back. Every adapter until now had to say that
|
|
177
|
+
`/flow:work:watch` cannot re-wake itself, that a cycle ends when it ends, and that repeating it is
|
|
178
|
+
the user's cron job. Hermes has its own scheduler, so the loop closes inside the agent:
|
|
179
|
+
`/cron add "every 30m" "/flow-work-watch PROJ-412"`. What does not port is continuity — each firing
|
|
180
|
+
is a fresh session with no history — which is precisely what `monitor.md` was written for, and why
|
|
181
|
+
the watch has always re-read it instead of remembering. A firing can also retire its own job, but
|
|
182
|
+
only with `cron.allow_agent_scheduling: true`; off by default, you stop the watch yourself.
|
|
183
|
+
|
|
184
|
+
Two things read differently here and are worth knowing before the first run. Subagents are not
|
|
185
|
+
declared anywhere: `delegate_task` builds each child from the `goal` and `context` it is given, so a
|
|
186
|
+
name in `agents.<role>` is a role to state in that prompt. And a round's model is
|
|
187
|
+
`delegation.model`, one value for every child, with no per-task override — so `models.agents` and
|
|
188
|
+
`models.workers` are honoured by setting that key, and a round cannot mix two models.
|
|
189
|
+
|
|
190
|
+
Unchanged for everyone else: the plugin, the three existing adapters, and every `FLOW.md` in a repo.
|
|
191
|
+
And the same warning the other three carry applies to this one — the mirrors are checked for shape,
|
|
192
|
+
prefix, cited paths and install location, and nobody has yet run a full chain inside Hermes.
|
|
193
|
+
|
|
194
|
+
## v0.57.0 — Every extra MR/PR now has to name what it buys · 2026-09-10
|
|
195
|
+
|
|
196
|
+
**In short**
|
|
197
|
+
- **`/flow:feat:plan` stops treating "it could merge on its own" as a reason to split.** That was a test of viability, and with enough scaffolding almost every slice passes it.
|
|
198
|
+
- **Each MR/PR must claim one of four criteria**: it repairs something broken today, it closes a ticket that stands alone, it unblocks two or more later slices, or its halves are asymmetric. None of the four → it is part of another MR/PR.
|
|
199
|
+
- **A merge test runs before the plan is returned**: every pair inside a wave, and every link whose dependent is its only one. "They close different tickets" and "the first is scaffolding" are not reasons to keep them apart.
|
|
200
|
+
- **The target becomes the number of waves, not the size of each MR/PR** — a second MR/PR inside an existing wave is cheap, another wave costs a full merge, pipeline and rebase round for everything downstream.
|
|
201
|
+
- **Over three waves the plan is challenged**, and the artifact keeps a `Merge test` section recording the pairs considered.
|
|
202
|
+
|
|
203
|
+
The only hard criterion this phase had was that each MR/PR must be able to live on the main branch
|
|
204
|
+
alone even if the following ones never land. That sentence decides whether a split is *possible*.
|
|
205
|
+
It says nothing about whether it is *worth it* — and a feature flag, a nullable column or a few
|
|
206
|
+
lines of temporarily dead code will carry almost any slice over that bar. A filter that rarely
|
|
207
|
+
refuses is not a filter, and plans came back split further than anyone had asked for, with each
|
|
208
|
+
extra MR/PR pulling a whole build, review, validate and ship cycle behind it.
|
|
209
|
+
|
|
210
|
+
What was missing is the other half of the question: what does this split buy that merging would
|
|
211
|
+
lose? So the brief now asks for it in three places. Each proposed MR/PR names which of the four
|
|
212
|
+
criteria it is claiming and how. Every adjacent pair goes through an explicit merge test, and the
|
|
213
|
+
two answers that look like reasons but are not — one MR/PR can close several tickets, and
|
|
214
|
+
scaffolding has no product value of its own — are named as the ones that do not survive it. And the
|
|
215
|
+
thing being minimised changes: not the size of a slice but the length of the chain, because that is
|
|
216
|
+
what the person waiting actually pays.
|
|
217
|
+
|
|
218
|
+
The count that used to be checked was the number of MRs/PRs, which invited the answer "yes, but
|
|
219
|
+
these are all small ones". Now it is the waves: over three, the links that produce them go back
|
|
220
|
+
through the merge test, and whatever survives has to name the dependency that makes the chain
|
|
221
|
+
unavoidable. A single-MR/PR plan is unaffected, and forcing an artificial split remains explicitly
|
|
222
|
+
forbidden.
|
|
223
|
+
|
|
224
|
+
## v0.56.1 — Fourteen commands named a model key that had been retired · 2026-09-09
|
|
225
|
+
|
|
226
|
+
**In short**
|
|
227
|
+
- **Every command's `Models:` line now names only the two keys that exist** — `models.agents` and `models.workers` — instead of the phase-shaped `study`/`code`/`test`/`review` that v0.50.0 removed.
|
|
228
|
+
- **A command that launches no subagent says so**: `feat:start`, `bug:start` and `bug:postmortem` no longer imply there is anything to configure for them.
|
|
229
|
+
- **The preflight pins that line to its three legal forms**, closing the blind spot that let the stale one survive six releases.
|
|
230
|
+
|
|
231
|
+
v0.50.0 collapsed the five phase-named `models.*` keys into two, because an agent cannot switch its
|
|
232
|
+
own model and the value only ever reached the subagents. The keys went; the fourteen headers that
|
|
233
|
+
advertised them did not. A reader following `Models key for this command: \`review\`` was being sent
|
|
234
|
+
to configuration that no longer resolves, and `/flow:doctor` would not print it because the key is
|
|
235
|
+
not in the template any more.
|
|
236
|
+
|
|
237
|
+
Each line was rewritten against what its command actually launches: nothing (the model you launched
|
|
238
|
+
it with), improvised subagents (`models.agents`), or those plus parallel rounds (`models.workers`).
|
|
239
|
+
`check_template_keys_are_read` could not have caught this — it walks template → commands, and the
|
|
240
|
+
stale clause named its key bare, not section-qualified. So `check_models_clause` pins the clause
|
|
241
|
+
itself to its three legal forms.
|
|
242
|
+
|
|
243
|
+
## v0.56.0 — A Claude model no longer leaks into Codex · 2026-09-09
|
|
244
|
+
|
|
245
|
+
**In short**
|
|
246
|
+
- **`FLOW.md` remains the shared base**, so every existing repository behaves exactly as before.
|
|
247
|
+
- **Each harness may add one sparse overlay**: `FLOW.claude.md`, `FLOW.codex.md`, `FLOW.opencode.md`, or `FLOW.gemini.md`; the active file wins key by key, and an explicitly empty key masks the base.
|
|
248
|
+
- **`/flow:init` separates new harness-owned values without migrating old files**, creates no empty overlay, and offers root-only gitignore patterns for both shapes.
|
|
249
|
+
- **`/flow:doctor` shows each effective value's source**, while `/flow:next` recognises a base, an active overlay, or both as configured.
|
|
250
|
+
|
|
251
|
+
One personal configuration file was being read by four products with different model catalogues,
|
|
252
|
+
agent registries, skills, and orchestration tools. A value valid in Claude could therefore be handed
|
|
253
|
+
unchanged to Codex. Commands now resolve the common base and only the overlay belonging to the
|
|
254
|
+
product executing them. Lists replace as a unit; overlay conventions are additive; inactive and
|
|
255
|
+
unknown overlays never affect a run.
|
|
256
|
+
|
|
257
|
+
## v0.55.0 — Installing it on Codex no longer means cloning the repo · 2026-09-09
|
|
258
|
+
|
|
259
|
+
**In short**
|
|
260
|
+
- **`codex plugin add flow@flow-plugins` now installs the whole workflow set.** Add the marketplace once (`codex plugin marketplace add https://github.com/mashware/flow-workflows.git`), and `codex plugin marketplace upgrade` updates it — no clone, no installer.
|
|
261
|
+
- **Codex namespaces a plugin's skills**, so those are `$flow:feat-start`, `$flow:bug-fix`, `$flow:work-status`, and the shared rules are the sibling skill `$flow:flow-core`.
|
|
262
|
+
- **The package is generated, like every other mirror**: `plugins/flow/codex-skills/` and `plugins/flow/.codex-plugin/plugin.json`, written by `script/adapter-build.py` from the same commands. Claude Code reads neither.
|
|
263
|
+
- **The loose-skill adapter stays** for a single repo's `.agents/skills/` or an unpublished build: `adapters/install.sh codex`, invoked `$flow-feat-start`.
|
|
264
|
+
- **One wart, no fix**: Codex's importer still adds `$flow:source-command-next`, a duplicate of `$flow:next`. Nothing in the manifest turns it off.
|
|
265
|
+
|
|
266
|
+
**A plugin Codex installs but cannot run is worse than no plugin.** v0.54.0 established that Codex
|
|
267
|
+
drops 28 of the 29 commands when it converts them, and answered it with an adapter you install by
|
|
268
|
+
hand from a clone. That is the right answer for one person with the repo already checked out and the
|
|
269
|
+
wrong one for everybody else: the whole point of a marketplace is that a user types two commands and
|
|
270
|
+
has the thing. So the package now carries what Codex actually reads. `.codex-plugin/plugin.json`
|
|
271
|
+
takes precedence over `.claude-plugin/plugin.json` for Codex and nothing else looks at it; its
|
|
272
|
+
`skills` field points at `codex-skills/`, a generated folder of the same 29 workflows plus the shared
|
|
273
|
+
rules. Codex loads them whole — the ~4 KB ceiling belongs to its command converter, not to skills; a
|
|
274
|
+
10 KB probe skill loads fine, and so does the 36 KB `feat-ship`.
|
|
275
|
+
|
|
276
|
+
**Being inside a package changes three things, and the generator knows all three.** The names lose
|
|
277
|
+
their `flow-` prefix, because Codex prefixes them itself: `$flow:feat-start`, not
|
|
278
|
+
`$flow:flow-feat-start`. The pointer at the shared rules goes back to being what the plugin says
|
|
279
|
+
verbatim — *"Load the `flow:flow-core` skill first"* — because in a Codex package that skill exists
|
|
280
|
+
under exactly that name, where the loose adapter has to send you to a file under `~/.claude/flow/`.
|
|
281
|
+
And `${CLAUDE_PLUGIN_ROOT}`, which `news` and `doctor` cite for the changelog and the manifest,
|
|
282
|
+
becomes `../..`, the plugin root two folders above any skill file, with a legend line saying so.
|
|
283
|
+
|
|
284
|
+
**Also**: `news` described the plugin root as *"unset"*, a sentence that is true only in Claude Code,
|
|
285
|
+
where it is an environment variable. Every mirror now names the file it would be missing instead.
|
|
286
|
+
The smoke test learned the packaged shape — a fourth mirror, its own invocation prefix, and a
|
|
287
|
+
lookbehind that stops reading `../flow-core/SKILL.md` as an invocation.
|
|
288
|
+
|
|
289
|
+
## v0.54.0 — Codex installed the plugin and kept one command out of twenty-nine · 2026-09-09
|
|
290
|
+
|
|
291
|
+
**In short**
|
|
292
|
+
- **The Codex adapter is a set of skills now**, not custom prompts: `install.sh codex` writes `~/.codex/skills/flow-*/SKILL.md`, and `install.sh codex project` writes the repo's own `.agents/skills/`. They are invoked with `$flow-feat-start`, `$flow-bug-fix`, `$flow-work-status`.
|
|
293
|
+
- **Installing this repo as a Codex plugin gives you one workflow, not twenty-nine.** Codex converts Claude Code `commands/` into skills on install and silently drops any whose rendered skill passes ~4 KB or whose body uses `$ARGUMENTS` — every `flow` command but `next`.
|
|
294
|
+
- **`~/.codex/prompts/` is no longer a target.** Recent Codex versions discover skills; the directory the installer used to write into does not exist on a current install.
|
|
295
|
+
- **Every generated adapter file said `\g<what>`** where it should have said what the shared rules contain — 87 files across all three harnesses, one line each, since the generator landed.
|
|
296
|
+
- **The smoke test reads the new shape**: a Codex mirror must carry a `name:` matching its folder, and every invocation in it must use `$`.
|
|
297
|
+
|
|
298
|
+
**A plugin Codex can install is not a plugin Codex can run.** Codex reads this repo's marketplace,
|
|
299
|
+
the manifest, `skills/` and the hooks, so installing it looks like it worked. What it does not read
|
|
300
|
+
is `commands/`: on install it renders each one into a skill of its own under
|
|
301
|
+
`.codex-plugin/migrated-command-skills/`, and its converter has two limits nothing reports — a
|
|
302
|
+
rendered skill over roughly 4 000 characters is dropped, and so is any command whose body contains
|
|
303
|
+
`$ARGUMENTS`. The `flow` commands run from 3 KB to 36 KB and ten of them take an argument, so
|
|
304
|
+
exactly one survived: `next`, as `$source-command-next`. Measured on Codex CLI 0.153.4 by installing
|
|
305
|
+
probe plugins with graded sizes; the cut sits between 3 800 and 4 000 bytes of source.
|
|
306
|
+
|
|
307
|
+
**So the adapter stops pretending to be a prompt.** `adapters/codex/prompts/*.md` is now
|
|
308
|
+
`adapters/codex/skills/flow-*/SKILL.md`: the same generated body, wrapped in the frontmatter Codex
|
|
309
|
+
keys a skill by, with every `/flow-…` invocation in the prose rewritten to `$flow-…`. Because skills
|
|
310
|
+
substitute nothing into the body, the legend after each title now also defines `$ARGUMENTS` as
|
|
311
|
+
whatever the user typed after the skill name. And because Codex discovers `.agents/skills/` inside a
|
|
312
|
+
repo, `install.sh codex project` finally means something — it used to warn that Codex had no
|
|
313
|
+
per-project directory and install globally instead.
|
|
314
|
+
|
|
315
|
+
**`\g<what>`, 87 times.** The generator rewrites the plugin's *"Load the `flow:flow-core` skill
|
|
316
|
+
first (shared rules: …)"* into *"Read `~/.claude/flow/CORE.<tool>.md` first (…)"*, and it built the
|
|
317
|
+
replacement with a lambda — where a backreference is just text. Every opencode, Gemini and Codex
|
|
318
|
+
mirror has been telling its agent to read the core rules `(\g<what>)` since the adapters became
|
|
319
|
+
build output. The parenthetical is back.
|
|
320
|
+
|
|
321
|
+
## v0.53.0 — Four commands that were steps of another one · 2026-09-09
|
|
322
|
+
|
|
323
|
+
**In short**
|
|
324
|
+
- **32 commands → 28.** `config` folds into `doctor`, `feat:brainstorm` into `feat:design` §1.5, `bug:diagnose` into `bug:investigate` §1.5, and `save-knowledge` into flow-core §0 as the step it always was.
|
|
325
|
+
- **`/flow:doctor` now answers the whole question**: what this repo's `FLOW.md` resolves to (§1.5), then whether the world it assumes exists (§2). One question had two commands answering different halves.
|
|
326
|
+
- **The bug chain on S is `start → investigate (reproduce only) → fix → …`**, which is what it already was under two names. The feature chain on M/L is `start → design → plan → …`, with the approach panel as `design` §1.5.
|
|
327
|
+
- **Nothing is lost from an existing work.** `phase: "brainstorm"` maps to `design`, `phase: "diagnose"` to `investigate`; `resume` says which mapping it applied, and the old `02-*.md` artifacts are read as that section's output.
|
|
328
|
+
- **The preflight refuses an orphan command** — one nothing links to from another command, `flow-core`, or the README. `save-knowledge` would have shown up.
|
|
329
|
+
|
|
330
|
+
**Two commands answering one question.** `/flow:config` printed what `FLOW.md` says; `/flow:doctor`
|
|
331
|
+
checked whether the environment honours it. Nobody wants one of those answers on its own: a key
|
|
332
|
+
nobody set is the commonest reason a `doctor` finding looks broken, and a tool that is missing is the
|
|
333
|
+
commonest reason a `config` value does nothing. So `doctor` prints the effective configuration first
|
|
334
|
+
— the resolved knowledge roles, the two model keys, the defaults that keep being used, the problems
|
|
335
|
+
in the file itself — and then runs the six areas of environment checks. `config` is gone; the
|
|
336
|
+
description of `doctor` says what it now covers.
|
|
337
|
+
|
|
338
|
+
**`brainstorm` wrote a file only `design` ever read.** 124 lines whose whole output was
|
|
339
|
+
`02-brainstorm.md`, consumed by exactly one command, on M/L only. It is now `design` §1.5
|
|
340
|
+
"Approaches": the same panel, the same lenses, the same cross-critique on L, the same ceilings, the
|
|
341
|
+
same *"choosing is a genuine decision point"* — and its output is the first section of
|
|
342
|
+
`03-design.md` instead of a file of its own. XS and S skip §1.5 exactly as they skipped the command.
|
|
343
|
+
|
|
344
|
+
**`diagnose` and `investigate` were reproduce-then-explain.** Five shared headings, and the S-size
|
|
345
|
+
table already ran `diagnose → fix` with no `investigate` between them, which is to say: on S the
|
|
346
|
+
"investigation" was the reproduction. Now `investigate` §1.5 reproduces — the symptom knowledge
|
|
347
|
+
query, the minimal case by surface, locating the code, the size re-check, and *"cannot reproduce it"*
|
|
348
|
+
as a legitimate stop — and §3 finds the cause. `03-investigation.md` carries both halves.
|
|
349
|
+
|
|
350
|
+
**`save-knowledge` was already a step.** `ship` and `postmortem` invoked it as a skill; nothing
|
|
351
|
+
linked to it as a command. Its 24 lines are now flow-core §0 — *how a consolidation runs* — called by
|
|
352
|
+
`ship`, `postmortem` and, new, `abandon`, which is where it matters most: nobody comes back to read
|
|
353
|
+
`99-abandoned.md`, and what the analysis learned about the domain is true whether or not the feature
|
|
354
|
+
shipped. A mid-work save is an extra option in `/flow:work:status` when the branch has staging.
|
|
355
|
+
|
|
356
|
+
**Not merged, on purpose.** `feat:review` vs `bug:review`, `feat:ship` vs `bug:ship`, `feat:validate`
|
|
357
|
+
vs `bug:validate`, `feat:start` vs `bug:start`: line similarity 0.23-0.34, at most 7 of ~20 headings
|
|
358
|
+
shared. They diverged deliberately and merging them would save nothing. `next` / `resume` / `status`
|
|
359
|
+
stay three entry points with clear roles. And the five commands outside both chains — `watch`,
|
|
360
|
+
`clean`, `daily`, `try`, `news` — stay in the core plugin.
|
|
361
|
+
|
|
362
|
+
## v0.52.0 — The wizard asked on day one about things that matter in week three · 2026-09-09
|
|
363
|
+
|
|
364
|
+
**In short**
|
|
365
|
+
- **`/flow:init` asks five questions**: tracker, base branch (only when detection fails), autonomy mode, the quality commands as one block, and git-ignore. Everything §2 detects is one confirmation screen, not a questionnaire.
|
|
366
|
+
- **Every other key is offered by the phase that first needs it**, at a stop it was making anyway — `agents.<role>` when a panel improvises a role, `quality.review_depth` when a review goes over budget, `data.volumes` when the duel comes back schema-only, `quality.functional_check` when `validate` finds a runnable app and no way to drive it, `tracker.*_cmd` the first time a ticket could be transitioned.
|
|
367
|
+
- **`manual` only, one key per work, never its own question** — it is an extra option on a stop that was already happening.
|
|
368
|
+
- **`guided`/`auto` never ask**: the default is taken and recorded in the new `meta.json.defaults_used[]`. Asking there is the never-a-question contract breaking one reasonable question at a time.
|
|
369
|
+
- **`/flow:config` adds them up** across every work, `_archive/` included, and prints the line to paste for the keys that keep defaulting.
|
|
370
|
+
|
|
371
|
+
**Half of the wizard's questions had no answer yet.** Which agent reviews security — none exist on a
|
|
372
|
+
fresh machine. How deep reviews should go — you have not seen a cost line. How big the hot tables are
|
|
373
|
+
— that is a lookup, and being asked to do one in the middle of a wizard is homework, not
|
|
374
|
+
configuration. The honest answer to each was *skip*, and skipping was final: `FLOW.md` got written
|
|
375
|
+
once, in the dark, and the keys that would actually have helped never got a second chance to be
|
|
376
|
+
asked.
|
|
377
|
+
|
|
378
|
+
**The fix is not fewer keys, it is a better moment.** A review that had to improvise
|
|
379
|
+
`agents.security` on a diff touching authentication knows exactly which key is missing and why it
|
|
380
|
+
matters, and it is already stopping to report its findings. So it adds one option to that stop —
|
|
381
|
+
*"write `agents.security: <name>` to FLOW.md"* — and nothing else changes: no new question, no
|
|
382
|
+
interruption, at most one key per work, and only for keys on a short list in flow-core §0. A key
|
|
383
|
+
whose default is fine forever (`request_sections`, `worktree_path`, `knowledge.timeout_s`) never
|
|
384
|
+
appears there, in any mode.
|
|
385
|
+
|
|
386
|
+
**In `guided` and `auto` the answer is to record, not to ask.** Those modes exist so a run can go
|
|
387
|
+
from brief to `ship` unattended; a phase that stops to offer a configuration line, however
|
|
388
|
+
reasonable, is the exact failure the never-ask list was written to prevent. Instead the resolution
|
|
389
|
+
lands in `meta.json.defaults_used[]` — key, default, phase — and `/flow:config` aggregates it across
|
|
390
|
+
every work on disk. A default used in four works out of four is a decision that has been taken four
|
|
391
|
+
times, and that is the sentence the block is there to let you read.
|
|
392
|
+
|
|
393
|
+
## v0.51.0 — You said it once, the agent complied, and the next work proposed the same thing again · 2026-09-09
|
|
394
|
+
|
|
395
|
+
**In short**
|
|
396
|
+
- **A correction you make mid-phase is now recorded as a candidate convention**: `meta.json.conventions_candidates[]` plus a `## Conventions learned` row in the phase artifact. Nothing is asked while you are working.
|
|
397
|
+
- **The test is one question**: would the same correction apply to an unrelated ticket in this repo? Yes → a convention. No → it stays in the artifact of the phase that heard it.
|
|
398
|
+
- **`review`'s idiom audit reads them in the same work**, so a rule learned in `build` is enforced on that MR/PR rather than the next one.
|
|
399
|
+
- **`ship` offers them once, at Close** — Add to FLOW.md · Not a rule · Later, or **Replace** when it contradicts a line already there. In every mode, because it edits a file in your tree.
|
|
400
|
+
- **Never domain knowledge.** The *why* of the business still goes to the knowledge store; the *what* of the code goes to `FLOW.md`. Two buckets, two destinations.
|
|
401
|
+
|
|
402
|
+
**Four sentences a repo hears over and over.** *«We don't put that in a listener here, use a message
|
|
403
|
+
handler.»* *«Never mock the repository in that layer.»* *«The test command is `make test-unit`, not
|
|
404
|
+
`bin/phpunit`.»* *«Stop proposing a DTO for that, we pass the entity.»* Each is said once, in `build`
|
|
405
|
+
or in `review`, the agent complies, and the next work on the same repo proposes the same thing again.
|
|
406
|
+
The destination existed the whole time — `FLOW.md`'s `conventions` and `quality` — and nothing on the
|
|
407
|
+
path from the correction to that file was automatic: you had to notice you had said it three times
|
|
408
|
+
and go and edit it by hand.
|
|
409
|
+
|
|
410
|
+
**The knowledge store was deliberately not that place.** `knowledge.stage`/`save` is about the *why*
|
|
411
|
+
of the business, never the *what* of the code, and that filter is right and unchanged. What it left
|
|
412
|
+
without a home is this other bucket, and this release gives it one: capture at the moment of the
|
|
413
|
+
correction, no interpretation and no question, and one offer at the end of the work.
|
|
414
|
+
|
|
415
|
+
**Flow can do this precisely because it knows when a correction happens** — at a stop, in a named
|
|
416
|
+
phase, about a specific diff. The candidate keeps the user's own sentence rather than a policy
|
|
417
|
+
rewrite of it, records which stop it came from, and marks whether it belongs in `conventions` or in a
|
|
418
|
+
`quality` key. Duplicates never reach the question: a rule already in the file, in any wording, is
|
|
419
|
+
dropped silently, and one that contradicts a line that is there is offered as **Replace**, both lines
|
|
420
|
+
shown, the current one first.
|
|
421
|
+
|
|
422
|
+
**Asked in every mode, `auto` included, and asked exactly once.** `FLOW.md` is personal config, so
|
|
423
|
+
this is not a team decision — but it is an edit to a file in the tree, which is the same bar
|
|
424
|
+
`KNOWLEDGE.md`'s first creation has to clear. Declining a candidate is permanent: it is never offered
|
|
425
|
+
again, in this work or a later one.
|
|
426
|
+
|
|
427
|
+
## v0.50.0 — Seventy-five keys, two of which nothing read and five that promised what the harness cannot do · 2026-09-09
|
|
428
|
+
|
|
429
|
+
**In short**
|
|
430
|
+
- **Eight keys retired, 75 → 67.** `domain_memory.enabled`, `quality.frontend_test`, `agents.frontend_test`, `git.train_chain`, `git.request_term`, and the five `models.*` step-kind keys collapsed into two.
|
|
431
|
+
- **`models` is now `agents` and `workers`.** The old five were named after phases the main agent runs itself — and an agent cannot switch its own model, so the value only ever reached the subagents. The two that remain name exactly what can be set.
|
|
432
|
+
- **`git.host` admits the forges `/flow:init` already detects** — `gitlab | github | bitbucket | azure | gitea` — each with its term and default CLI in one table. The term is never configured; it follows the host.
|
|
433
|
+
- **The train follows `autonomy.mode`.** `manual` asks before the next MR/PR, `guided`/`auto` continue. The `wait` behaviour goes: a run that wants it answers *no*.
|
|
434
|
+
- **The preflight refuses a key nothing reads.** `check.py` now cross-references every template key against the commands and `flow-core` — it would have caught `models.study` on the day it was written.
|
|
435
|
+
|
|
436
|
+
**Breaking.** A `FLOW.md` carrying any of the retired keys keeps working — nothing errors, the keys
|
|
437
|
+
are simply not read — and `/flow:config` names them in one line each. What to do:
|
|
438
|
+
|
|
439
|
+
| Retired | Instead |
|
|
440
|
+
|---|---|
|
|
441
|
+
| `domain_memory.enabled: true` | Name the four tools under `knowledge` (`search`, `stage`, `read_staging`, `save`) |
|
|
442
|
+
| `quality.frontend_test` | Chain it into `quality.test`: `make test && make test-frontend` |
|
|
443
|
+
| `agents.frontend_test` | `agents.testing` covers the tests, `agents.frontend` the interface code |
|
|
444
|
+
| `git.train_chain` | Nothing — the train follows `autonomy.mode`; `wait` is answering *no* in `manual` |
|
|
445
|
+
| `git.request_term` | Nothing — the term follows `git.host` |
|
|
446
|
+
| `models.study` / `code` / `test` / `review` | `models.agents` for every improvised subagent; `models.workers` still names the fan-out rounds |
|
|
447
|
+
|
|
448
|
+
**Every key costs the same, whether or not anything reads it**: a paragraph in the template, a row in
|
|
449
|
+
CONFIGURATION, a branch in `init`, a row in `config`, a check in `doctor`, and a reader deciding
|
|
450
|
+
whether it applies to them. Cross-referencing all 75 against the commands that actually resolve them
|
|
451
|
+
found two that nothing read — `models.study` and `models.test`, documented and printed by
|
|
452
|
+
`/flow:config` for eight releases while flow-core's *"each command names its `models` key"* was never
|
|
453
|
+
carried out by the eight `study` commands or the two `test` ones — and five more that said the same
|
|
454
|
+
thing twice or derived from a key next to them.
|
|
455
|
+
|
|
456
|
+
**The `models` collapse is the one that is a decision rather than a cleanup.** The five keys were
|
|
457
|
+
named by kind of step, and the main agent cannot switch its own model: reading a ticket, writing a
|
|
458
|
+
design and writing the code all happen on the thread you launched, whatever the key says. So `study`
|
|
459
|
+
and `code` resolved to *"reported at the handoff, not applied"* for their headline case, which is a
|
|
460
|
+
key that misleads. What can be set is the subagents, and there are two kinds: the ones a command
|
|
461
|
+
improvises (`agents`) and the fan-out rounds where cost multiplies (`workers`, falling back to
|
|
462
|
+
`agents`). A phase that would read better on another model still says so in one line at the handoff —
|
|
463
|
+
it just no longer pretends a key controls it.
|
|
464
|
+
|
|
465
|
+
**One inconsistency found on the way.** `/flow:init` detects Bitbucket, Azure DevOps and Gitea and
|
|
466
|
+
writes them into `git.host`, while the template's enum admitted `gitlab | github` — so three of the
|
|
467
|
+
five hosts the wizard writes were undocumented values. The enum now names all five, with the term
|
|
468
|
+
and the default CLI per host in one table, which is also what let `request_term` go: a GitLab repo
|
|
469
|
+
that calls them PRs is not a thing that exists.
|
|
470
|
+
|
|
471
|
+
**And a guard, so this does not come back.** `check.py` reads every key out of the template and
|
|
472
|
+
requires that some command or `flow-core` names it. The free-text sections (`conventions`, `notes`)
|
|
473
|
+
are exempt; everything else has to be read by something.
|
|
474
|
+
|
|
475
|
+
## v0.49.0 — Day one reached `agents:` with nothing to name · 2026-09-09
|
|
476
|
+
|
|
477
|
+
**In short**
|
|
478
|
+
- **`examples/symfony/` ships a complete, worked stack**: a filled-in `FLOW.md` and the four reviewers a Symfony + Doctrine + MySQL repo actually wants, with a README on what to change for Laravel or plain PHP.
|
|
479
|
+
- **Nothing loads it.** It is an example, not a default — the plugin still ships no agents and no review skill, for the same reason as before.
|
|
480
|
+
- **`/flow:init` names it in one line**, only when the detected stack is PHP, and never copies anything on its own.
|
|
481
|
+
- **The preflight validates the example against the template**, so a key retired in `FLOW.template.md` cannot leave the example advertising a key nothing reads.
|
|
482
|
+
|
|
483
|
+
**The most elaborate part of the plugin runs on `code-review` alone on a fresh install.** Flow ships
|
|
484
|
+
no agents on purpose: they are language- and project-specific, and a plugin that shipped one stack's
|
|
485
|
+
reviewers as everyone's default would be wrong three times out of four. PHILOSOPHY states the
|
|
486
|
+
decision and states its price — *"you name what you have"* — and says nothing about what that price
|
|
487
|
+
does on the first day, which is that `/flow:init` reaches `agents:` and the honest answer is
|
|
488
|
+
*"empty, fill it in later"*. The review panel, the reinforcements, the query duel's challenger: all
|
|
489
|
+
of them degrade to `general-purpose` because there is nothing on the machine to name.
|
|
490
|
+
|
|
491
|
+
**One worked stack, visibly one stack.** `plugins/flow/examples/symfony/` holds a `FLOW.md` filled
|
|
492
|
+
in end to end — `quality.*` against a Makefile, `data.explain_cmd` and `data.schema_cmd` through
|
|
493
|
+
Docker Compose, `data.volumes` with real row counts, ten conventions that read like a repo's rather
|
|
494
|
+
than a style guide's — and four agents written the way `review` briefs a reviewer, each with the
|
|
495
|
+
report contract of flow-core §6 at the end: under 250 words, findings only, one line each as
|
|
496
|
+
`file:line` + what is wrong + the fix. A framework reviewer for layering and Messenger, a Doctrine
|
|
497
|
+
reviewer that judges a query on its plan rather than on its mapping, a security reviewer that tags
|
|
498
|
+
severity because a high finding is a hard gate, and a test guide built around the one question that
|
|
499
|
+
catches a test proving nothing.
|
|
500
|
+
|
|
501
|
+
**The boundary is written where it will be read.** The folder's README opens by saying it is an
|
|
502
|
+
example, that nothing loads it, and how to copy it — per repo or per machine — followed by
|
|
503
|
+
`/flow:doctor` to confirm the names resolve. `/flow:init` mentions it in one line when it detects
|
|
504
|
+
PHP and stays silent otherwise. And `check.py` now parses every `examples/*/FLOW.md` against the
|
|
505
|
+
template's key set: the example cannot drift from the real keys, the same way the reference table
|
|
506
|
+
cannot.
|
|
507
|
+
|
|
508
|
+
## v0.48.0 — Every session began by asking the flow where you were · 2026-09-09
|
|
509
|
+
|
|
510
|
+
**In short**
|
|
511
|
+
- **A new SessionStart hook prints where you left off**: `PROJ-123 · M · phase build · MR #2 of 3`, and one line with what the last session was actually doing — read off `meta.json`, `panel.json` and `00-summary.md`, before you type anything.
|
|
512
|
+
- **A follow-up somebody accepted and nobody started gets one line too**, from open works and from `_archive/`, where it is otherwise invisible.
|
|
513
|
+
- **Silent unless it has something to say.** No `.claude/work/`, no work on this branch, no git — nothing printed. It runs in every repo the plugin is installed in, so noise there was the failure mode to design against.
|
|
514
|
+
- **Degrades, never lies.** No `jq` anywhere; an unreadable `meta.json` still prints *"a work exists on this branch"*, and a `panel.json` whose phase disagrees with `meta.json` says which phase was still running when the session ended.
|
|
515
|
+
- **The preflight now refuses a hook with no test.** Thirteen cases for this one, including a worktree checkout and the hook being run from the wrong directory.
|
|
516
|
+
|
|
517
|
+
**The state was all on disk and nothing read it.** `meta.json` holds the phase, `00-summary.md` the
|
|
518
|
+
fifteen-line handoff, `panel.json` what was running when the last session ended — and none of it was
|
|
519
|
+
touched until the user typed `/flow:next` or `/flow:work:resume`. The one hook that fired at session
|
|
520
|
+
start talked about the plugin's own version. So the first thing a user did in every session was ask
|
|
521
|
+
the flow where they were, and the answer was one `cat` away the whole time. It now arrives before
|
|
522
|
+
the first prompt:
|
|
523
|
+
|
|
524
|
+
```
|
|
525
|
+
PROJ-123 · M · phase build · MR #2 of 3
|
|
526
|
+
Last stop: unit suite and the test agent over #2 — /flow:work:resume
|
|
527
|
+
```
|
|
528
|
+
|
|
529
|
+
**The hook runs in every repo the plugin is installed in, which decides most of its design.** It
|
|
530
|
+
resolves the work exactly as `/flow:next` §1 does — the branch, then a `meta.json` whose `branch`,
|
|
531
|
+
`mrs[].branch` or `worktree` matches — and exits without a word when there is no match, no work
|
|
532
|
+
folder, or no git. In a worktree it looks in the main checkout too, because `.claude/work/` is
|
|
533
|
+
git-ignored in most repos and never travelled; and it reads the repo from the event's `cwd`, not
|
|
534
|
+
from wherever the harness happened to run it, which is the bug the push guard shipped in v0.35.1.
|
|
535
|
+
There is no `jq` dependency: `grep`, `sed` and `awk` over two JSON files, and every failure path
|
|
536
|
+
falls back to a shorter true line rather than to silence.
|
|
537
|
+
|
|
538
|
+
**`panel.json` earns its keep here.** It carries the phase that was *running*, while `meta.json`
|
|
539
|
+
advances only when a phase closes — so when the two disagree, the last session stopped inside a
|
|
540
|
+
phase that never finished, and the hook says which one. That is the case the panel was built to
|
|
541
|
+
expose, and until now nothing looked at it between sessions.
|
|
542
|
+
|
|
543
|
+
**A hook without a test is now a preflight failure.** Three hooks ship, three case files exercise
|
|
544
|
+
them, and `check.py` refuses a fourth that no test names. This one is covered against a throwaway
|
|
545
|
+
repo per case: no work · no match · a match with and without a panel · panel and meta disagreeing ·
|
|
546
|
+
an MR/PR train · an archived work alone · an accepted follow-up nobody started · a worktree · an
|
|
547
|
+
unreadable `meta.json` · the hook invoked from `/`.
|
|
548
|
+
|
|
549
|
+
## v0.47.1 — The first screen explained the machinery before anyone had seen a work run · 2026-09-09
|
|
550
|
+
|
|
551
|
+
**In short**
|
|
552
|
+
- **A "first minute" block right after the Quickstart**: one XS work, four commands, the stop each one prints, and the six files it leaves on disk. Nothing else in the README is read before it.
|
|
553
|
+
- **The command tables move below the autonomy dial** — a reader deciding whether to try it does not read 31 rows; one who has decided does.
|
|
554
|
+
- **Three claims before the tables**, one line each: the dial that does not decay · the agent budget with its cost line · deferred work that is triaged once and never evaporates.
|
|
555
|
+
- **PHILOSOPHY says why flow never asks you to compact** — the phase boundary already is the compaction point, and `/compact` bills the cached prefix to paraphrase exactly what `review` reads verbatim.
|
|
556
|
+
- **`CONTRIBUTING.md`, two issue forms and a PR template**: what we want, what we will not take, and the four preflight commands as a checklist.
|
|
557
|
+
|
|
558
|
+
**Documentation only — no command, hook or schema changed.**
|
|
559
|
+
|
|
560
|
+
**The README was complete, honest, and dense from the first line.** Before a reader had seen a
|
|
561
|
+
single work run they met two chains with size pruning, thirty-one commands in two tables, three
|
|
562
|
+
autonomy modes, five hard gates, a twelve-file work folder, `panel.json` with its `mark` vocabulary
|
|
563
|
+
and the deferred-work mechanism. Every one of those earns its place; none of them answers the
|
|
564
|
+
question a first-time reader actually has, which is *what happens when I type the first command and
|
|
565
|
+
what do I have at the end*. So that answer now comes first, as a transcript rather than a
|
|
566
|
+
description: four commands, the header each one stops with, and the tree of the work it created —
|
|
567
|
+
the real one, six files, not the full schema. The dense sections keep every word and move one screen
|
|
568
|
+
down.
|
|
569
|
+
|
|
570
|
+
**The compaction decision existed only in a conversation.** We decided against ever suggesting
|
|
571
|
+
`/compact` between phases, for two reasons — it replaces the cached prefix, so the next turn pays
|
|
572
|
+
the whole context again at write price, and it paraphrases precisely the material the next phase
|
|
573
|
+
reads most carefully, the design's contract shapes and the build log's deviations. `grep -ri compact
|
|
574
|
+
docs/` found nothing. It is now a section in PHILOSOPHY, with the honest exception named (a single
|
|
575
|
+
long `build`), the alternative spelled out (a new session and `/flow:work:resume`, which rebuilds
|
|
576
|
+
from the record rather than from a summary of it), and an entry in CONCEPTS for the phase boundary.
|
|
577
|
+
|
|
578
|
+
**A contributor had to reverse-engineer the conventions from the existing issues.** That an issue is
|
|
579
|
+
*Problem / Proposal / Files*, that the adapters are generated and never edited by hand, that a hook
|
|
580
|
+
change ships with its test, that version and CHANGELOG move together or the preflight refuses the
|
|
581
|
+
tree. `CONTRIBUTING.md` states all of it in one screen, together with what will not be taken and why
|
|
582
|
+
— agents or a review skill inside the plugin, a default model, a stack-specific hook, a `FLOW.md`
|
|
583
|
+
key for something that can be derived. The two issue forms and the PR template carry the same shape.
|
|
584
|
+
|
|
585
|
+
## v0.47.0 — One ticket, seven parked findings, and nobody had tried to refute a single one · 2026-09-08
|
|
586
|
+
|
|
587
|
+
**In short**
|
|
588
|
+
- **A skeptic now sorts deferred work before you see it.** 3 or more parked findings at `ship`'s Close go to an agent whose job is to *refute* that each deserves a ticket — burden of proof on the finding, exactly as `review` §6 already treats an ambiguous code finding.
|
|
589
|
+
- **New `tracker.followup_ask_max` (empty → 2)**: a finished work can turn into at most two questions, whatever the phases found. Everything above the ceiling, and everything the skeptic ruled real-but-nobody's-next-task, goes to the debt log without a question.
|
|
590
|
+
- **`tooling` stops asking altogether** — choosing the kind already decided its destination; asking *Log it* about a lint floor with slack in it was one question too many.
|
|
591
|
+
- **The bar is written down** (flow-core §7): who notices and when · how likely the path actually is · whether waiting costs more than doing it now. Three yeses or it stays in the phase artifact, where it is already written in context.
|
|
592
|
+
- **One line on screen, never one per entry**: the one that escalated, in product terms, plus a count and a destination for the rest.
|
|
593
|
+
|
|
594
|
+
**Seven findings out of one ticket is not seven problems.** It is one problem and six reading notes
|
|
595
|
+
wearing its clothes — «the state is not trimmed», «the multi-product subscription», «the coupling
|
|
596
|
+
through the identity map» — each true, none of them anybody's next task, all seven handed to the user
|
|
597
|
+
at Close as *«seven parked findings await a decision»*. Say yes to that list and it is seven new
|
|
598
|
+
tickets; say no seven times and the survey is a tax on finishing. A developer who spends a day inside
|
|
599
|
+
unfamiliar code sees twenty such things and reports one or two, and is right to: they weigh who
|
|
600
|
+
notices, how likely it is, and what waiting costs. The flow weighed nothing. §7 told a phase **how**
|
|
601
|
+
to record a deferral and never **what deserves recording**, and the eight capture points — design,
|
|
602
|
+
plan, build, validate, review, fix, postmortem — each contributed one, in good faith.
|
|
603
|
+
|
|
604
|
+
**The filter already existed, on the other half of the plugin.** `/flow:*:review` refuses to hand
|
|
605
|
+
over an unverified finding: its §6 gives each ambiguous one to a skeptic told to refute it, with the
|
|
606
|
+
burden of proof on the finding and *«when the evidence is genuinely ambiguous, refute»*. Deferred work
|
|
607
|
+
reached the user through no filter at all, judged only by the phase that parked it — the one party
|
|
608
|
+
that cannot judge it, having just found it. So the same gate now stands on this side, with the same
|
|
609
|
+
ceilings (`agents.fanout_max`, `budget_max`, and it is the first phase dropped when the budget is
|
|
610
|
+
spent) and three verdicts: `ticket` (a named subject, a path someone has seen, waiting costing more),
|
|
611
|
+
`log` (real, and nobody's next task), `drop` (no subject at all). Ambiguous is not `ticket`. Under
|
|
612
|
+
three candidates no agent runs — the command applies the bar itself.
|
|
613
|
+
|
|
614
|
+
**Nothing is lost; things stop being escalated.** A `drop` stays readable in the artifact and in
|
|
615
|
+
`meta.json` with the skeptic's reason, and never appears again in `status`, `daily` or `next`. A `log`
|
|
616
|
+
becomes a line in `tracker.debt_log`, on the branch, travelling with the MR/PR, read by whoever next
|
|
617
|
+
works on the machinery and triaged by nobody. What survives — at most `followup_ask_max` of them — is
|
|
618
|
+
the only thing that becomes a question, and it is asked once. `followup_ask_max: 0` for repos that
|
|
619
|
+
would rather read a log than answer a survey.
|
|
620
|
+
|
|
621
|
+
## v0.46.0 — Three product questions became three tickets, and each ticket a day's work · 2026-09-08
|
|
622
|
+
|
|
623
|
+
**In short**
|
|
624
|
+
- A **product decision the current diff depends on is asked the moment it surfaces**, in every mode, `auto` included; a new `decision` kind records only the ones the user chose to defer, and `ship` re-asks them as questions, never as *do it / not worth it*.
|
|
625
|
+
- `bug:fix` gains **§4.2 Is it still a bug?**: a fix that grows a mechanism is reclassified as a feature **in place**, before a line exists; the brief gate has exactly two options, never a widening third.
|
|
626
|
+
- Every `review` and `validate` Close **stages what it taught** — the phase that finds the most was the only one that never did.
|
|
627
|
+
- New `tooling` kind and `tracker.debt_log` (empty → `docs/DEBT.md`): gaps in the repo's own machinery are **logged** in a versioned file, not opened as issues.
|
|
628
|
+
|
|
629
|
+
**One afternoon, one repo: two bugs closed, twelve issues opened, backlog from 28 to 32.** Three of
|
|
630
|
+
the twelve were questions — *what does the window say when a console goes quiet?*, *does closing a
|
|
631
|
+
pane kill what it left running?*, *may a notice fill the whole console?* — each two minutes of the
|
|
632
|
+
user's, each filed as a ticket because the flow said deferred work is triaged once, at `ship`. That
|
|
633
|
+
rule is right for **work**: mid-build is the worst moment to decide whether a neighbouring defect
|
|
634
|
+
deserves a ticket. It is wrong for a **decision the diff depends on**, because parking it does not
|
|
635
|
+
shrink the diff — it makes the diff guess, and the guess ships, gets reviewed, and comes back as a
|
|
636
|
+
work with its own start, diagnosis, fix and review to answer what was one question. The test is a
|
|
637
|
+
line: *if the answer changes what the code being written does now, ask now; if it changes what someone
|
|
638
|
+
builds later, record it.* The never-ask list of `auto` is about flow mechanics; a product decision is
|
|
639
|
+
the opposite of mechanics. A `followups[]` entry whose title is a question is now named as the
|
|
640
|
+
mistake it is.
|
|
641
|
+
|
|
642
|
+
**The same afternoon's other lesson: a size-S "fix" that took three review rounds, seventeen
|
|
643
|
+
blockers and two redesigns.** The first seven blockers lived entirely in the half a third option on
|
|
644
|
+
the brief gate had let in — *include the click too* — and every one of them was a design finding, not a
|
|
645
|
+
code finding. The bug chain has no design phase: a mechanism written inside «apply the fix» is designed
|
|
646
|
+
while it is typed, reviewed after it exists, and redesigned in review, which is the most expensive place
|
|
647
|
+
to design anything. `bug:fix` §4.2 checks twice — at the brief, and the moment the diff grows a type two
|
|
648
|
+
modules must agree on — and stops to reclassify **in place**: same ticket, same branch, `type = "feat"`,
|
|
649
|
+
the diagnosis kept as the feature's «why», then `design` (or `brainstorm`) before a line is written. And
|
|
650
|
+
the gate is two options again: a user who wants more says *no*, and the wider brief is asked whole.
|
|
651
|
+
|
|
652
|
+
**Seventeen blockers and zero knowledge cards.** `investigate` and `design` staged findings; `review`
|
|
653
|
+
— where this plugin learns most about a project — never did, so a lesson like *a mutation series only
|
|
654
|
+
tests what its author imagined to mutate* lived in a work folder that gets archived unread. Both
|
|
655
|
+
reviews and both validates now stage at their Close, under the same evidence rule as `design`: one
|
|
656
|
+
line of evidence per finding or it is not staged, and never a `save` there.
|
|
657
|
+
|
|
658
|
+
**Eighteen of thirty-two open issues were about the repo's own machinery**, not the product: a floor
|
|
659
|
+
without a subject, a ratchet never checked against the tree, a stale card. Real, and nobody's next
|
|
660
|
+
task. They competed for attention with defects a user would notice and made the backlog's number lie.
|
|
661
|
+
The new `tooling` kind goes to a **debt log** — `tracker.debt_log`, a versioned Markdown file the
|
|
662
|
+
survey offers as *Log it* first — read by whoever next touches the machinery and triaged by nobody.
|
|
663
|
+
`status` and `daily` stop showing what was logged.
|
|
664
|
+
|
|
665
|
+
Mirrored across the opencode, Gemini CLI and Codex adapters by the generator.
|
|
666
|
+
|
|
667
|
+
## v0.45.1 — Fifteen agents inherited a model nobody had chosen for them · 2026-09-07
|
|
668
|
+
|
|
669
|
+
**In short**
|
|
670
|
+
- A fan-out of **4 or more** subagents now says, in one line, that it inherits this thread's model when the fan-out key is empty.
|
|
671
|
+
- The review artifact carries an `Agent models` line: the configured values, or "inherited", plus which agents kept their own.
|
|
672
|
+
- It names the **key**, never a model — no default, no suggestion, no ranking. The empty default stays the default.
|
|
673
|
+
|
|
674
|
+
Most of what a review launches has no agent definition of its own: the skeptics, the coverage
|
|
675
|
+
auditor, the contract verifier. With `models.workers` and `models.review` empty — which is the
|
|
676
|
+
documented default, and how `/flow:init` leaves them — those agents inherit the model of the thread
|
|
677
|
+
that launched them. That is the right behaviour for one subagent and an unpriced blank cheque for a
|
|
678
|
+
round of fifteen, all the more so because the members that *do* carry a definition (the panel's
|
|
679
|
+
specialists) quietly run on whatever their own frontmatter says, so a single round can mix two or
|
|
680
|
+
three models and report none of them.
|
|
681
|
+
|
|
682
|
+
Nothing about the default changes. **Which model is cheap, capable or appropriate is not this
|
|
683
|
+
plugin's call** — it changes every few months, differs per harness and per account, and belongs to
|
|
684
|
+
whoever pays for the tokens; v0.34.0 removed the two lines that had been handing out vendor tiers and
|
|
685
|
+
they are not coming back. What was missing is not a value but a sentence: before the first round of
|
|
686
|
+
four or more, one line saying how many agents are about to run and that they inherit this thread's
|
|
687
|
+
model because no key is set — **naming the key, never a model** — and the same fact on the artifact's
|
|
688
|
+
new `Agent models` line, next to the cost. A harness that cannot report the model it runs on says the
|
|
689
|
+
round inherits it, and that is the whole line. Never a question, never a gate.
|
|
690
|
+
|
|
691
|
+
## v0.45.0 — Every round obeyed its cap, and the review still launched twenty-nine agents · 2026-09-07
|
|
692
|
+
|
|
693
|
+
**In short**
|
|
694
|
+
- New `agents.budget_max` (empty → **12**) caps what **one command run** launches in total, across every round.
|
|
695
|
+
- Each fan-out command declares **which phase it gives up first**; four phases of `review` are never dropped for cost.
|
|
696
|
+
- Both ceilings count **agents, not findings** — twelve `Verify Vn` under a cap of four is a breach, not thoroughness.
|
|
697
|
+
- The review tier scales to the **diff under review**, not `meta.json.size`, which every MR/PR of a train inherits.
|
|
698
|
+
- The completeness sweep compares two lists: it opens no file, and never runs in parallel with the reviewers it audits.
|
|
699
|
+
- `/flow:init` now writes both ceilings into `FLOW.md` with their values, even when they are the defaults.
|
|
700
|
+
|
|
701
|
+
`agents.fanout_max` has capped a parallel round since v0.31.0, and every round of `review` obeyed it.
|
|
702
|
+
The command still launched **29 subagents on one MR/PR** — 97 across three reviews of a single train,
|
|
703
|
+
which on one measured feature was the larger half of the bill. Nothing was broken; the phases simply
|
|
704
|
+
compose. A panel, then area reinforcements, then a coverage sweep that relaunches the panel over the
|
|
705
|
+
gaps, then a query duel, two blinded audits, one skeptic per ambiguous finding: each round inside its
|
|
706
|
+
cap, the command an order of magnitude past what anyone asked for. **A ceiling per round is not a
|
|
707
|
+
ceiling per command**, and three separate things were wrong at once.
|
|
708
|
+
|
|
709
|
+
**The command now has a budget.** `agents.budget_max` (empty → **12**, `0` = no ceiling) bounds every
|
|
710
|
+
subagent one command run launches, summed over all its rounds including relaunched ones. It is counted
|
|
711
|
+
*before* a round goes out, never tallied after: a round that does not fit is truncated and the
|
|
712
|
+
truncation reported (`4/7`); with nothing left the phase is skipped and named. So that a truncation is
|
|
713
|
+
deterministic rather than the model's mood on the day, **each command declares its give-up order** —
|
|
714
|
+
in `/flow:feat:review`: the completeness sweep, then the skeptics, then the idiom audit, then the area
|
|
715
|
+
reinforcements. Four phases are **never** dropped for budget, because they are the review: the built-in
|
|
716
|
+
`code-review`, the panel the tier selected, the query duel and the blinded contract check. A budget too
|
|
717
|
+
small to cover those is a misconfiguration, said in one line, and they run anyway.
|
|
718
|
+
|
|
719
|
+
**Both ceilings count agents, not findings.** The observed breach was a review with sixteen findings
|
|
720
|
+
launching twelve `Verify Vn` agents under a cap of four — one agent per finding, grouped in pairs where
|
|
721
|
+
they looked related, read as covering more ground. Handing one skeptic three findings is the intended
|
|
722
|
+
shape; adding agents because each finding looks cheap is not. Same rule for the sweep's relaunched
|
|
723
|
+
round: constrained to the named gap paths, capped, and a reviewer relaunched over the whole diff is
|
|
724
|
+
the phase's failure mode rather than its purpose.
|
|
725
|
+
|
|
726
|
+
**The tier was reading the ticket instead of the diff.** `meta.json.size` describes the whole work, and
|
|
727
|
+
in a multi-MR/PR train **every MR/PR inherits it** — so the third MR/PR of an L-sized feature, 41 lines
|
|
728
|
+
long, was reviewed as an L: panel, sweep, skeptics, the lot. The review now measures the diff in front
|
|
729
|
+
of it (≤ 150 changed lines → XS · 151-600 → S · 601-1500 → M · > 1500 → L) and runs on the **lower** of
|
|
730
|
+
that and the recorded size, with every size-gated step reading that effective size. A diff pointing
|
|
731
|
+
*higher* than the recorded size earns one line in the artifact — the work may be misclassified — not a
|
|
732
|
+
heavier review. The **sensitive-surface bump is applied on top and never scaled away**: a twelve-line
|
|
733
|
+
change to an authorization check still gets the panel.
|
|
734
|
+
|
|
735
|
+
**The sweep was the single most expensive agent in the round, doing the wrong job.** §3.5's coverage
|
|
736
|
+
auditor is meant to compare two lists — the diff's file paths, and one line per reviewer on what it
|
|
737
|
+
covered — and answer in under 150 words. Launched *before* the reviewers it audits have reported, its
|
|
738
|
+
only possible input is the diff itself, and then it is not an auditor but one more reviewer, reading
|
|
739
|
+
everything the others already read: observed at 20+ minutes while every real reviewer finished in 3-5.
|
|
740
|
+
It is now blinded harder and stated plainly: it runs **after** §2-§3 are consolidated, never in
|
|
741
|
+
parallel; it opens no file, runs no `git diff`, reads no code; an agent here still working after a few
|
|
742
|
+
minutes was handed the wrong job and is relaunched with the two lists alone.
|
|
743
|
+
|
|
744
|
+
**And the ceilings are visible now.** `/flow:init` never wrote `fanout_max`, so it lived only in the
|
|
745
|
+
command prose — a default nobody could find on the day the bill arrived. Both keys are now written into
|
|
746
|
+
`FLOW.md` with their values even when those are the defaults, `/flow:config` and `/flow:doctor` report
|
|
747
|
+
the effective numbers next to the size of the configured panel, and `/flow:config` flags a `budget_max`
|
|
748
|
+
smaller than the panel it would have to skip. The artifact's cost line reads `spent/budget` and lists
|
|
749
|
+
every phase the ceiling dropped: a phase skipped for cost and a phase that found nothing are not the
|
|
750
|
+
same result.
|
|
751
|
+
|
|
752
|
+
Lowering it is one line: `8` is a frugal review, `6` a cheap one, and `quality.review_depth: light`
|
|
753
|
+
remains the floor.
|
|
754
|
+
|
|
755
|
+
## v0.44.0 — The duel picked the best of three new queries and never asked about the old one · 2026-09-05
|
|
756
|
+
|
|
757
|
+
**In short**
|
|
758
|
+
- A **modified** query is now measured against **its own version on the merge base**, not only against the challenger's and reviewer's proposals.
|
|
759
|
+
- New `quality.bench_cmd` benchmarks a touched route, command, consumer or job on both sides — wall time and peak memory.
|
|
760
|
+
- Times are reported `min–max` across three runs, and **a difference inside that spread is "no measurable change", never a percentage**.
|
|
761
|
+
- The numbers reach the reviewer: a **comment** on the MR/PR, re-posted whenever a later push changes a measured path.
|
|
762
|
+
|
|
763
|
+
**The measurement table compared the wrong things.** `/flow:work:query` §4 seeds a sandbox, takes the plan, runs three times and reports rows read against rows returned — real evidence, and better than most review processes have. But its rows were *as written*, *challenger's proposal*, *reviewer's proposal*: three candidate implementations of the **new** query. There was no row for the query as it exists on `main`. So the duel answered "which of these three is best" and never "did this diff make things better or worse" — and a variant can win against its siblings while being slower than the code it replaces.
|
|
764
|
+
|
|
765
|
+
**Nothing outside queries was measured at all.** The performance agent in `review` and `validate` *reads* code: it detects N+1, unbounded queries, flush in a loop, per-iteration calls leaving the process. It runs nothing. No endpoint timing, no memory figure, no before and after for a route or a job. The only real measurement in the plugin was `/flow:work:watch`, and that runs **after deploy**, against production observability, when the code is already merged and live.
|
|
766
|
+
|
|
767
|
+
**And none of it reached the reviewer.** Every number landed in `06-review.md`, inside `.claude/work/`, which `/flow:init` offers to git-ignore and `ship` archives. The MR/PR carried prose.
|
|
768
|
+
|
|
769
|
+
**The base row.** For every query the diff *changes*, the duel measures the same query at `git merge-base HEAD <git.default_base>` — same sandbox, same seed, same three runs. A baseline on a different data set is not a baseline, and a base version that cannot be run is recorded as **not measured** with the reason, never estimated from reading the old code. New `regressed` verdict, blocking like `change` unless `03-design.md` justifies the trade. The bug chain demanded this for slowness bugs already; it now applies to any query a fix modifies, because a fix that quietly costs 40 ms is a regression whether or not the ticket mentioned speed.
|
|
770
|
+
|
|
771
|
+
**`quality.bench_cmd`** is how this repo exercises one entry point and reports time and memory, with `{TARGET}` substituted. Free text passed to the harness, like every other command key — the plugin ships no benchmarking tool and stays stack-agnostic. Empty → the phase says so once and skips, and **no timing claim is made at all**.
|
|
772
|
+
|
|
773
|
+
**The noise floor is a feature, not a caveat.** Three runs on a developer machine with containers up produce variance that reads happily as a 5% improvement. Publish those and the table is disbelieved within a fortnight — at which point the real regressions stop being read too. So: `min–max`, never a mean; a difference inside the spread is *no measurable change*; and when times overlap, the counts (rows read, queries executed) lead, because those are not noisy.
|
|
774
|
+
|
|
775
|
+
Mirrored across the opencode, Gemini CLI and Codex adapters by the generator.
|
|
776
|
+
|
|
777
|
+
## v0.43.0 — The one thing validate could not prove, it asked you to prove for it · 2026-09-05
|
|
778
|
+
|
|
779
|
+
**In short**
|
|
780
|
+
- `validate` now **drives the running app itself** over every `needs-manual` acceptance criterion, and only hands over what it genuinely could not — with the reason recorded.
|
|
781
|
+
- What it observed is captured under `.claude/work/<work>/evidence/`, and `ship` attaches it to the MR/PR description as before/after.
|
|
782
|
+
- `/flow:work:try` resolves the work behind the branch and **prints the manual test plan** once the environment is up, collecting Pass/Fail/Blocked there.
|
|
783
|
+
- A bug's original symptom is now re-run against the fixed app: still reproducible is a red gate, whatever the suite says.
|
|
784
|
+
|
|
785
|
+
**Everything else this phase produced was evidence the agent generated.** A named test, a green suite, a measured execution plan. `needs-manual` was the one bucket where the evidence was the *user's*, taken on the agent's word about what to go and look at — while a browser automation tool or a simulator sat unused on the same machine. New §3.5 exhausts that first: read `quality.functional_check` (or whatever `/flow:doctor` detects), drive the criterion's given/when/then, and record `proven-by-agent`, `needs-manual` **with the reason**, or a failure that blocks the gate exactly as a failed manual check does.
|
|
786
|
+
|
|
787
|
+
**Reading the code and concluding it must work is `needs-manual`, not proven.** The same rule the data-access duel already applies to an unmeasured plan, and the only thing that makes the new status worth anything.
|
|
788
|
+
|
|
789
|
+
**`ship` stops describing the result and shows it.** The description carried *Steps to test it* and a collapsed technical block — a reviewer meant to approve with full context and usually without reading code got instructions to reproduce, never the result. `## Evidence` now sits between what changes and how to test it, one entry per criterion, before next to after. Files are **uploaded to the forge**, never linked by a `.claude/work/` path that is git-ignored and renders as broken text for everyone else; when no upload route exists the section survives as a table and the stop says so.
|
|
790
|
+
|
|
791
|
+
**`try` stopped running blind.** `validate` §4 tells you to go run `/flow:work:try`, and `try` knew nothing about the work: it switched the checkout, re-synced, and left you to come back and ask for the plan again. It now finds the work by branch and prints what is already written — the `needs-manual`/`unproven` criteria in their given/when/then wording, or the acceptance criteria when `validate` has not run yet, or the reproduction steps for a bug — and offers to collect the verdicts into the validation artifact. `--back` closes the loop with what was verified and what is still open.
|
|
792
|
+
|
|
793
|
+
**A bug fix now has to survive its own reproduction.** `bug:validate` §2.5 re-runs the minimal reproduction from `02-diagnose.md` against the fixed code. The before was captured when the failure was first reproduced — the one moment it exists — so a bug fix ships with the pair that *is* the argument.
|
|
794
|
+
|
|
795
|
+
Two new `quality` keys: `functional_check` (how to drive this repo's app) and `evidence` (`on` by default; `off` disables capture and attachment). Both empty-safe: with nothing available every criterion stays `needs-manual` and you verify it exactly as before.
|
|
796
|
+
|
|
797
|
+
Mirrored across the opencode, Gemini CLI and Codex adapters by the generator.
|
|
798
|
+
|
|
799
|
+
## v0.42.0 — Every phase knew what it was choosing not to do, and told nobody · 2026-09-05
|
|
800
|
+
|
|
801
|
+
**In short**
|
|
802
|
+
- Work a phase deliberately parks — a neighbouring defect, an out-of-scope piece, an unmitigated risk, an unchecked edge case, a postmortem's prevention actions — is now a **record in `meta.json`**, not a line in an artifact that gets archived unread.
|
|
803
|
+
- `ship` triages the whole set **once**, at the end: *do it* · *not worth it* · *later*. Accepted ones get their tracker issue opened and an offer to start.
|
|
804
|
+
- Whatever is still open when the MR/PR is created is **named in its description**, so a reviewer sees what was consciously left out.
|
|
805
|
+
- `status`, `daily` and `next` surface the undecided ones — **including from `_archive/`**.
|
|
806
|
+
|
|
807
|
+
**"Note it as an idea for a separate ticket" appeared in six places and opened nothing.** `build` §2.4 sent it to a section of `05-implementation.md` nothing ever reads again — `ship` opens only that file's Brief. `design` wrote *Identified risks* that appeared in no other command. `validate` left `[ ]` edge cases and *Open risks* that `ship` never surfaced. `bug:validate` listed *other bugs detected* that `bug:ship` opened the file past. `postmortem` ended by literally saying *propose opening separate tickets (not done in this flow)*. And `plan` said *out of scope — idea for a separate ticket* **in the chat**, writing it nowhere at all: the one deferral that left no trace to find.
|
|
808
|
+
|
|
809
|
+
All of it inside `.claude/work/`, which `/flow:init` offers to git-ignore, and under `_archive/` the moment the work ships. The decision to not widen the diff was right every time. Everything after it was missing.
|
|
810
|
+
|
|
811
|
+
**The mechanism already existed, in one place.** `bug:fix`'s *Areas with similar risk* is the only deferral in the plugin that made the whole journey: written at `fix`, checked at `validate` for the same active symptom, published by `bug:ship` in the MR/PR description. That is the model this release generalises — no new idea, just the same one applied to the other six.
|
|
812
|
+
|
|
813
|
+
**`meta.json.followups[]`** (flow-core §7) carries `id`, `kind` (`prevention` · `audit` · `out-of-scope` · `risk` · `edge-case` · `other-bug`), `title`, `why`, `source`, `status`, and the `ticket`/`work` it turned into. The artifact keeps its human-readable section with the `F<n>` id in front of each row, so prose and record cannot drift.
|
|
814
|
+
|
|
815
|
+
**Nothing is asked when the note is written.** Mid-build is the worst moment to judge whether a neighbouring defect deserves a ticket, and a question there is exactly the interruption `guided`/`auto` exist to prevent. The triage happens once, at `ship`'s Close, batched up to four per question, with `title` and `why` as the entire prompt. *Later* keeps it open and visible; *not worth it* is recorded and never asked again. **Creating the tracker issue for an accepted one is outward-facing, so it asks in every mode**, `auto` included — the same category as the MR/PR gate.
|
|
816
|
+
|
|
817
|
+
**A work started from an accepted follow-up records `meta.json.origin`**, carries the recorded *why* into `01-context.md` instead of re-deriving it, and closes that entry when it reaches `done`.
|
|
818
|
+
|
|
819
|
+
Mirrored across the opencode, Gemini CLI and Codex adapters by the generator.
|
|
820
|
+
|
|
821
|
+
## v0.41.0 — The pull request said merged, and the branch it merged into was already gone · 2026-09-05
|
|
822
|
+
|
|
823
|
+
**In short**
|
|
824
|
+
- A stacked MR/PR whose parent is merged first lands its content **nowhere** — the forge says merged, the base branch never receives a line. `ship` now checks for it, at the Close and before the train moves on.
|
|
825
|
+
- The recovery is written down: re-target the child at `git.default_base` and rebase (hard gate), or, when it already merged into the dead branch, recover it as a fresh MR/PR.
|
|
826
|
+
- Confirming a merge now verifies the **tree**, not the badge: `git ls-tree` on the base for a path the MR/PR creates.
|
|
827
|
+
- `/flow:work:resume` and `/flow:work:green` check the same thing — a dead target branch is the one blocker a forge reports as green.
|
|
828
|
+
|
|
829
|
+
**PR 141 was merged into a branch `main` no longer descended from.** It targeted its parent branch in a train; PR 139 squash-merged that same parent into `main` **34 seconds earlier**, which replaced its commits with one new sha and left the parent branch off the base's history. GitHub marked 141 merged — and it was, into a branch that had stopped mattering. A whole decision-record entry and its guard were simply absent from `main`, and nothing surfaced it until somebody read the tree by hand.
|
|
830
|
+
|
|
831
|
+
**The train logic covered the wrong direction.** `/flow:feat:ship §6.2` already builds the next MR/PR of a train without waiting for the current one to merge — deliberately, so a train is not held back by review latency. What it never said is what to do when the **parent becomes mergeable before the child**. New §6.2.1: while a stacked MR/PR is open, check that its parent is still an ancestor of `git.default_base`; parent still open → the child merges first or is re-targeted before the parent goes in; parent already merged → re-target at the base and rebase (a force-push, so a hard gate in every autonomy mode); child already merged into the dead branch → recover it as a new MR/PR against the base, mark the old entry `superseded`, and say plainly what was missing and for how long.
|
|
832
|
+
|
|
833
|
+
**The window to fix it closes when the parent merges.** Merging the parent with `--delete-branch` deletes the child's target branch and the forge auto-closes the child — and a closed PR cannot be re-targeted, so a one-command fix turns into a new MR/PR and a lost review thread. §6.2.1 says to re-target first, and carries the fallback for when `gh pr edit --base` refuses (it fails with a GraphQL error on repos carrying the classic projects field): the REST API, on an open PR.
|
|
834
|
+
|
|
835
|
+
**A merged badge is not the tree.** Every confirmed merge in `ship` now asks git whether a path the MR/PR creates actually exists on `git.default_base`, and refuses to record `merged` when it does not. It is one command, and it is the only thing that would have caught this.
|
|
836
|
+
|
|
837
|
+
**Same check where a stale train is met again.** `/flow:work:resume` runs it in the repo-state block — the parent is most likely to have merged while you were away — and `/flow:work:green` captures it as a blocker row, because a dead target branch is precisely the state the forge does not report: mergeable, green, and worthless.
|
|
838
|
+
|
|
839
|
+
Mirrored across the opencode, Gemini CLI and Codex adapters by the generator.
|
|
840
|
+
|
|
841
|
+
## v0.40.0 — The flow told its agents what to read, never what to send back · 2026-09-05
|
|
842
|
+
|
|
843
|
+
**In short**
|
|
844
|
+
- Every brief a command writes itself now ends with a **report contract** — a word cap and a shape — because a report too long for the harness to carry is thrown away in transit and reaches the parent looking exactly like an agent that did nothing.
|
|
845
|
+
- Agents that produce volume (code, tests, a translation) are told **the file is the deliverable**, saved piece by piece, and the file is what gets verified.
|
|
846
|
+
- A fan-out now has a **deadline**: the harness signals an agent that finishes and never one that stops advancing, so every stop of a command checks the round it launched.
|
|
847
|
+
- Two new `agents` keys: `report_max_words` (empty = 250) and `stall_after_minutes` (empty = 25).
|
|
848
|
+
|
|
849
|
+
**Seventeen subagents, and not one delivered its report on its own.** In a single long session driven end to end with `/flow:feat:*`, four agents answered only when asked directly — fifteen minutes late — two more answered three hours late (with the best findings of the delivery, three real defects), and three produced nothing at all. The delivery itself took 73 minutes; the session spent another three hours waiting for reports that were never coming. Nothing tells a parent that a wait is futile.
|
|
850
|
+
|
|
851
|
+
**The truncation is invisible from the parent's side.** Claude Code discards a subagent result over ~16 000 characters and hands the parent a placeholder saying so. The agent finished, the report was written, and what arrives is indistinguishable from silence. Six of the seventeen hit exactly this, and every one of them had an uncapped brief. A stronger model makes it worse, not better: it writes more, so it truncates sooner.
|
|
852
|
+
|
|
853
|
+
**The flow already prevented this everywhere it wrote the prompt itself.** The briefs this plugin spells out — in `review`, `plan`, `design`, `investigate`, `brainstorm`, `query` — carry caps of 150 to 600 words, and not one agent launched from them failed. Every failure came from the places where the flow hands the pen to the calling agent and says nothing about the answer: the reviewer panel in `feat`/`bug` `review`, the delegated pieces in `build`, the testing and performance agents in `validate`, the design subagents in `design`. The rule was already the flow's; it just stopped at that boundary. It now lives once in **flow-core §6** and each of those steps points at it.
|
|
854
|
+
|
|
855
|
+
**Bulk work belongs on disk, not in a context.** One agent spent an hour on a 700-line chunk without touching a file while three siblings with larger chunks finished in twenty minutes each; when it was stopped, everything it had done was gone, because no brief had said the file was the deliverable. `build` now names the path the agent writes, requires a save after each finished piece, and verifies the artifact rather than believing the report.
|
|
856
|
+
|
|
857
|
+
**A stall raises no event.** The harness reports completion and never a stop, so a stuck round stays invisible unless somebody looks — which, in an unattended run, nothing prompts the parent to do. `flow-core §6` puts a deadline on every fan-out: record what the round should take, check it at **every** stop of the command, and stop, split and relaunch anything past `agents.stall_after_minutes` with nothing written to its path. An agent that went idle with an empty result is asked for it once before being dropped — in this session that question was worth three defects.
|
|
858
|
+
|
|
859
|
+
`stall_after_minutes: 25` is a first guess from one session and should be revisited once there are numbers from more. Mirrored across the opencode, Gemini CLI and Codex adapters by the generator.
|
|
860
|
+
|
|
861
|
+
## v0.39.0 — `init` only knew the stacks its author had used · 2026-09-02
|
|
862
|
+
|
|
863
|
+
**In short**
|
|
864
|
+
- `/flow:init` now detects Gradle/Maven (Android, Kotlin, Java), .NET (`*.sln`, `*.csproj`, EF Core migrations), Xcode/SwiftPM and Flutter, and proposes their test, lint, style and build commands.
|
|
865
|
+
- Multi-stack repos (a backend plus a mobile client) get one chained command per key, and `init` says so.
|
|
866
|
+
- The template's `quality` examples and the auto-discovery notes in `build`, `fix`, `review`, `config` and `doctor` name those stacks too.
|
|
867
|
+
|
|
868
|
+
**The flow was stack-agnostic; its wizard was not.** Nothing in the commands depends on a language — every quality gate is a command read from `FLOW.md` — but `/flow:init` only looked for a Makefile, npm, composer, pyproject, Cargo and go.mod, so an Android or C# repo got an empty `quality` section and a question, and lost the "auto-detects, you confirm" experience the wizard promises. It now recognises Gradle and Maven, .NET solutions and projects (with EF Core migrations raising the pre-deploy gate like Doctrine does), Xcode projects and Swift packages (asking for the scheme and destination when there are several), and Flutter. `/flow:doctor` checks those wrappers and binaries the same way it checks `make` targets.
|
|
869
|
+
|
|
870
|
+
Also: the push-guard test assumed a git identity, which a CI runner does not have — its throwaway repo could not commit, so every BLOCK case passed for the wrong reason and the first CI run went red. The test now sets its own identity.
|
|
871
|
+
|
|
872
|
+
## v0.38.0 — The flow asked for one product where it needed a role · 2026-09-02
|
|
873
|
+
|
|
874
|
+
**In short**
|
|
875
|
+
- New `knowledge` section in `FLOW.md`: four roles (`search`, `stage`, `read_staging`, `save`) filled by any MCP tool, CLI or skill — domain-memory, codegraph, a search over `docs/adr`, or whatever comes next.
|
|
876
|
+
- Every command names the role, never the product; an empty role degrades (no lookup · finding stays in the artifact · artifacts are the staging · `KNOWLEDGE.md` instead of a store).
|
|
877
|
+
- `search` accepts several providers, consulted in parallel; `knowledge.timeout_s` replaces the fixed 2 s.
|
|
878
|
+
- `domain_memory.enabled: true` keeps working as a legacy alias; `/flow:init` detects knowledge MCPs and proposes the mapping; `/flow:doctor` and `/flow:config` resolve the roles.
|
|
879
|
+
- `/flow:save-knowledge` works without a store: it appends to `KNOWLEDGE.md` at the repo root.
|
|
880
|
+
|
|
881
|
+
**Twenty-one commands named `mcp__domain-memory__*` by hand.** The flow only ever needed four operations from a knowledge store — look something up, note a finding, read what was noted, consolidate it — and one product's tool names were written into every step that used them, gated by one boolean. A team on `codegraph`, or on a memory server that does not exist yet, had nothing to fill in. The `knowledge` section names a tool per role, the commands say `knowledge.search` where they said the tool, and the resolution rules live once in flow-core §0.
|
|
882
|
+
|
|
883
|
+
**Only `search` buys anything on its own.** The other three roles exist for stores with a staging notion. With them empty nothing is lost: the finding that would have been staged is already in the phase artifact, `ship` and `postmortem` read the artifacts, and `/flow:save-knowledge` appends to `KNOWLEDGE.md` (asking once before creating the file, in every mode). `search` takes a list, so a repo can consult domain-memory for the business and codegraph for the structure in the same call.
|
|
884
|
+
|
|
885
|
+
**Nothing existing breaks.** `domain_memory.enabled: true` with no `knowledge` section resolves the four roles to the domain-memory tools, and the template keeps the key under a "legacy alias" heading. `/flow:init` stops writing it: it looks at the MCP tools exposed in the session, proposes the domain-memory mapping when those are there, any other search/knowledge/memory/graph tool as an extra `search` entry, and a `rg` over `docs/adr` when there is a folder and no MCP. `/flow:doctor` checks each configured role is reachable this session and suggests the new section when it finds the alias.
|
|
886
|
+
|
|
887
|
+
Mirrored across the opencode, Gemini CLI and Codex adapters by the generator; the legend line about the MCP now speaks of `knowledge.*` roles.
|
|
888
|
+
|
|
889
|
+
## v0.37.0 — The same rules were copied eighteen times, and the mirrors by hand · 2026-09-02
|
|
890
|
+
|
|
891
|
+
**In short**
|
|
892
|
+
- The shared rules (autonomy, gates, stop header, `panel.json`) live once in the `flow-core` skill, loaded once per session; every command was cut to its contract (~50% shorter).
|
|
893
|
+
- New `00-summary.md` handoff (≤15 lines) read first by every phase; artifacts open on demand. `/flow:init` writes a compact `FLOW.md` and offers to ignore `.claude/work/`.
|
|
894
|
+
- New `/flow:next` entry point; `quality.review_depth: light`; every review prints its cost line; `/flow:news` shows the "In short" bullets by default.
|
|
895
|
+
- The opencode / Gemini / Codex mirrors are generated by `script/adapter-build.py`; CI runs the preflight, the smoke test and both hook tests on every push.
|
|
896
|
+
- New docs: `CONCEPTS.md`, `PHILOSOPHY.md`, `DESIGN.md` (the rationale that left the prompts), a generated key table in `CONFIGURATION.md`; README rewritten around a quickstart.
|
|
897
|
+
|
|
898
|
+
**Every phase command carried the same 12 KB preamble.** Eighteen copies of the autonomy modes, the hard gates, the stop header and the `panel.json` spec — 3k tokens re-injected at every phase, so a chained `auto` run paid for them seven times, and a change to the panel spec had to land in eighteen files. They now live once, in `plugins/flow/skills/flow-core/SKILL.md`, and each command opens with one line pointing at it. The preflight refuses a command that carries a copy again.
|
|
899
|
+
|
|
900
|
+
**Contract, not justification.** Every rule in the commands came with the incident that motivated it, what would go wrong without it, and an example. That is worth keeping — for people. For the model it was tokens: the 33 commands weighed 667 KB. They were rewritten as numbered steps and tables, every rule, gate, default, artifact schema and section number intact (other commands cross-reference them), and the reasoning moved whole into `docs/DESIGN.md`. The commands are roughly half their size; the behaviour is the same.
|
|
901
|
+
|
|
902
|
+
**Phases read everything, every time.** "Read all prior artifacts" was the first line of every pre-flight. Each work now carries `00-summary.md` — what the work is, size and current MR/PR, the decisions that stand, the contracts and where their literal shape lives, what is pending — overwritten whole at every Close, and each phase names the one or two artifacts it still opens in full. `start` writes the first one; works started before this rule read as before and get one at their next Close.
|
|
903
|
+
|
|
904
|
+
**`FLOW.md` was read at every step, comments included.** The template is 239 lines, 144 of them comments, and `/flow:init` copied it. `init` now writes only the keys you set, one line each, with a pointer at the shipped template for the rest. It also asks whether to git-ignore `.claude/work/` (recommended) next to `FLOW.md`, and `.worktrees/` when worktrees are on.
|
|
905
|
+
|
|
906
|
+
**`/flow:next`.** Thirty-three commands and no first one to type. `next` looks at the repo and routes: no `FLOW.md` → `init`; a work on this branch → `resume`; otherwise `status` or `start`. Read-only, one `AskUserQuestion`, then it hands over.
|
|
907
|
+
|
|
908
|
+
**A review now says what it cost.** `quality.review_depth` gains `light` — the built-in `code-review` alone, no panel, no skeptics; a sensitive surface still gets the proportional tier. Whatever the tier, `06-review.md` and the stop header carry one cost line: subagents launched, reviewers · reinforcements · skeptics, tier and effort.
|
|
909
|
+
|
|
910
|
+
**The adapters are build output.** 1.7 MB of opencode, Gemini and Codex mirrors were condensed by hand — 10 to 25 % shorter than the originals, and the source of the last three patch releases. `script/adapter-build.py` now generates every mirror and an `adapters/<harness>/CORE.md` from the plugin: wrapper per harness, invocation prefix, `{{args}}`, the pointer at `~/.claude/flow/CORE.<harness>.md`, and a short legend mapping the Claude Code primitives the prose names to what that harness has. `adapter-new.py` and the parity exceptions are gone; `check.py` asks the generator whether anything is stale. `install.sh` copies the core file and the manifest alongside the changelog.
|
|
911
|
+
|
|
912
|
+
**There is CI now.** Wiring it up found that `script/tests/push-guard.sh` had its worktree block pasted twice, once before the throwaway repo existed, and never exited non-zero on a failing case — so it printed FAIL lines and reported success. Both fixed; 33 cases, exit 1 on any failure. `.github/workflows/preflight.yml` runs `check.py`, the whole adapter smoke test, both generators' `--check`, the push-guard cases and a new test for the update notice hook on every push and pull request. `RELEASING.md` said "there is no CI here"; it no longer does.
|
|
913
|
+
|
|
914
|
+
**Docs for someone who just arrived.** The README opens with what it is, three commands and a diagram; the argument moved to `docs/PHILOSOPHY.md`; `docs/CONCEPTS.md` is the glossary; `docs/CONFIGURATION.md` carries a key table generated from the template so the two cannot drift. Every changelog entry, this one included, starts with an "In short" list, which is what `/flow:news` prints unless you ask for `full`. Commands declare `argument-hint` for autocomplete and, the read-only ones, `allowed-tools`.
|
|
915
|
+
|
|
916
|
+
## v0.36.0 — The review said yes to code that had already changed · 2026-09-01
|
|
917
|
+
|
|
918
|
+
**In short**
|
|
919
|
+
- `review` and `validate` write `reviewed_sha`/`validated_sha` to `meta.json`; `ship` stops when `HEAD` moved past them.
|
|
920
|
+
- `/flow:work:respond` rounds are capped by new `quality.respond_max_rounds` (empty = 3, `0` = no ceiling).
|
|
921
|
+
- New `/flow:doctor`: read-only check of tools and auth, agents, MCP, hooks, base branch, worktrees, fan-out tool.
|
|
922
|
+
- New `script/adapter-smoke.py` and `script/adapter-new.py` check and generate the adapter mirrors per harness.
|
|
923
|
+
- README, `/flow:work:README` and `/flow:feat:start` name the change that belongs outside the flow (edit-and-commit).
|
|
924
|
+
|
|
925
|
+
Five gaps closed at once, four of them the same shape: a rule the flow states, and nothing that checks the rule still holds by the time it matters.
|
|
926
|
+
|
|
927
|
+
**A review that had passed was a review of *some* tree, and `ship` never asked which one.** The gate read `review` in `phases_done` — a phase name, which records that a review *happened* and cannot record what it looked at. So the honest sequence `review` → a few more commits → `ship` pushed code no reviewer had ever seen, with the gate reporting itself satisfied; in a train, where an MR/PR can sit reviewed for days before its turn, the window was as wide as the queue. `review` and `validate` now write `reviewed_sha` and `validated_sha` into `meta.json` (work-level and per MR/PR) **only when the phase actually advances** — a review that ended in blockers reviewed nothing that stands — and `ship` compares them against `HEAD`. A mismatch is judged by **what the delta touches**, never by its size: test files and the work's own folder are the normal order of this flow and pass with a note in `06-review.md`; anything else stops and asks in **every** autonomy mode, offering a re-review scoped to `<sha>..HEAD` rather than the whole branch. Absent shas — every work already in flight — are not a mismatch: one line, and it continues.
|
|
928
|
+
|
|
929
|
+
**`/flow:work:respond` could argue with a reviewer for ever.** The loop had no ceiling: each round appended to `08-feedback.md`, and a round that restated the previous one looked exactly like progress. Now the round count lives in `meta.json` (`respond_rounds`, per MR/PR) and is checked **before** the round starts, against the new `quality.respond_max_rounds` (empty = 3, `0` = no ceiling). At the ceiling the command stops in every mode and hands back the three things a human needs to break the tie: which threads are open and about what, what each spent round already tried, and the one sentence the two sides do not agree on. And a reply that repeats an earlier round's position with no new evidence escalates immediately instead of spending the rest of the budget.
|
|
930
|
+
|
|
931
|
+
**New: `/flow:doctor`.** `/flow:config` reads the configuration; nothing read the world it assumes. So the failures arrived mid-phase: the git host CLI *installed but not authenticated* — which passes every presence check — discovered at `ship`, with the work finished; an agent named in `FLOW.md` that does not exist on this machine discovered never, because the review panel just runs with fewer reviewers and still reports a clean pass; a push guard that lost its executable bit, whose only symptom is a push to `main` that nobody stopped. `/flow:doctor` checks tools and their auth, agents, MCP reachability, hooks and their bit, base branch and worktree sanity, and the harness's fan-out tool. Read-only, quiet on success, findings ordered by what they cost — the ones that fail open and silently first — each with its fix on the same line. `/flow:config` §3 stopped duplicating the half it did badly and points here instead.
|
|
932
|
+
|
|
933
|
+
**The adapter mirrors are now checked for being *usable*, not just present.** Parity asked whether a mirror existed; freshness asked whether it was older than its command. Neither could catch the mirror that is present, current and unusable — wrapped in a format its harness does not read, or teaching the *other* harness's invocation prefix, which hands the user a command that does not exist. `script/adapter-smoke.py` checks the wrapper per harness (opencode frontmatter · Codex none · Gemini TOML), the prefix throughout the body, and that every command and path cited exists; its static half runs inside the preflight. Its second half executes `adapters/install.sh` against a throwaway `HOME` and verifies the files land where each harness looks, changelog included — with none of the three harnesses installed. `script/adapter-new.py` generates a new command's three mirrors mechanically (right place, right wrapper, prefix rewritten in either direction) with the body marked for hand-condensing, and `--from` wraps a body condensed once for all three; both were used to add `/flow:doctor` in this release. The README's warning is narrower and truer now: verified on paper, still never executed inside opencode, Gemini or Codex.
|
|
934
|
+
|
|
935
|
+
**And it now says when *not* to use it.** The size dial prunes phases; it never said "this is not a work at all", so XS — four commands, a branch, a folder — read as the floor. `README.md`, `/flow:work:README` and `/flow:feat:start` now name the change that belongs outside the flow (one sentence, one file, no review, and the suite either passes or it does not) and offer the edit-and-commit alternative instead of opening a work, in every mode. It goes back to being a work the moment it needs a ticket, or someone else has to understand later why it was done, or it touches a schema, a contract, or anything with a rollback story. Ceremony that has not earned itself is not rigour; it is how a process gets abandoned.
|
|
936
|
+
|
|
937
|
+
## v0.35.1 — The guard read the branch from the wrong directory · 2026-08-24
|
|
938
|
+
|
|
939
|
+
**In short**
|
|
940
|
+
- The push guard judges the directory the push runs in (`git -C`, `cd`); pushes from worktrees are no longer blocked.
|
|
941
|
+
- Paths named after the main branch (`.worktrees/main`) are not read as refspecs.
|
|
942
|
+
- Fourteen new cases in `script/tests/push-guard.sh`.
|
|
943
|
+
|
|
944
|
+
**Pushing from a worktree was blocked, and worktrees are what this plugin tells you to use.** The push guard's first check read `HEAD` wherever the hook happened to run — the session's directory — and refused the push if that said `master`/`main`. Under `worktree: always` the main checkout stays on the main branch by design while the work branch lives in `.worktrees/<branch>`, so every legitimate `git push -u origin HEAD` from a worktree was refused, and the reason it gave named a branch nobody was pushing. The only ways out were moving the session into the worktree or having you run the push by hand — an agent stopping to ask for a push is the failure this hook was supposed to prevent, not cause.
|
|
945
|
+
|
|
946
|
+
The check now resolves the directory the push actually runs in: `git -C <path>` aims one push, `cd <path>` moves everything chained after it, and both compose the way the shell composes them. Checks 3 and 4 read that directory too, so `--all` sees the right refs and a blind push is judged against the *worktree's* upstream instead of the main checkout's. A path only a shell could resolve (a variable, a glob, `~`, `-`) leaves the directory where it was, and a `cd` behind `||` — which may never run — is not trusted: both land on the session's checkout, the one most likely to be sitting on the main branch, so an unreadable command errs towards refusing.
|
|
947
|
+
|
|
948
|
+
What still blocks is unchanged, and the guard did not get looser: a bare `git push -u origin HEAD` from a checkout that really is on the main branch is refused exactly as before, and so is `cd <worktree> && git push origin HEAD:master`. New in the strict direction: a worktree whose *path* is named after the main branch (`.worktrees/main`, a clone in `~/src/master`) no longer trips the loose-token check on its spelling — a directory name is not a refspec. Fourteen new cases in `script/tests/push-guard.sh`, including the session directory arriving in the hook event rather than being inferred.
|
|
949
|
+
|
|
950
|
+
## v0.35.0 — A fix was Done before anyone had merged it · 2026-08-19
|
|
951
|
+
|
|
952
|
+
**In short**
|
|
953
|
+
- `/flow:bug:ship` and `/flow:feat:ship` ask for merge confirmation before `phase: done` and `tracker.done_cmd`.
|
|
954
|
+
- Bug size tables route `fix → validate → review`; M lists `ship`, and `bug:ship` requires the postmortem on M.
|
|
955
|
+
- `/flow:bug:start` follows `git.branch_pattern` and registers the GitHub linked branch.
|
|
956
|
+
- The push guard strips flags (`-f`, `--force-with-lease`), refuses `--all`/`--mirror`, and blocks when `jq` is missing.
|
|
957
|
+
- Preflight checks mirror freshness via git, JSON parsing, hook exec bits and preamble copies; new `RELEASING.md`.
|
|
958
|
+
|
|
959
|
+
Three audits over the tree — commands, tooling, docs — found the same shape of defect in three places: a rule stated in one file and contradicted in another, where nothing checked which one was true.
|
|
960
|
+
|
|
961
|
+
**`/flow:bug:ship` closed the ticket when it opened the MR/PR.** Its Close set `phase: "done"` and ran `tracker.done_cmd` immediately after creating the request, so on Jira or Linear the ticket moved to Done while the fix was still waiting for its first reviewer. `/flow:feat:ship` had always asked for merge confirmation first, and the template said `done_cmd` runs when a work "SHIPS **and is merged**" — the bug flow was the odd one out. Both flows now ask once, and `phase` stays `ship` until the answer is yes: `green`, `respond` and `clean` all read that difference, and a work parked at `done` with an open MR/PR sends all three at the wrong target. The single-MR/PR case in `feat:ship` had the same silent gap ("once merged" with nothing that ever asked) and is closed too.
|
|
962
|
+
|
|
963
|
+
**The bug flow told you to review before validating.** The size tables in `/flow:bug:start` and `/flow:work:README` routed S through `fix → review → validate`, while `/flow:bug:review` refuses to run without `validate` in `phases_done` for anything S or larger. Following the table walked you into the gate. The tables now say `fix → validate → review` — the regression test is what proves the fix, and a review that has not seen it green is reviewing a claim — and M, which the tables always routed through postmortem, now also lists `ship`, which it had been missing. `bug:ship` requires the postmortem on M as well as L, matching what `bug:review` suggests.
|
|
964
|
+
|
|
965
|
+
**A fix branch ignored the repo's own branch convention.** `/flow:bug:start` hardcoded `$ARGUMENTS-fix-slug` instead of reading `git.branch_pattern`, so a fix branch did not match what the team greps for and, on trackers that link by branch name, never reached its ticket. It follows the pattern now (empty → `{PREFIX}{TICKET}-{slug}`, a default the template had never stated) and registers the GitHub linked branch like `feat:start` does — the link that survives a train, where a `Closes #N` in the body does not.
|
|
966
|
+
|
|
967
|
+
**`git push --force` walked through the guard written to stop it.** The hook's blind-push check required the command to *end* in `git push [origin]`, so any flag at all — `-f`, `--force-with-lease`, even `-v` — pushed the match off the end and the push went to the main branch. It now strips the options, sees whether a refspec was actually named, and applies the upstream check whenever one was not; `--all` and `--mirror` are refused outright. And when `jq` is missing the hook no longer waves every push through in silence: it blocks and says why. Twenty cases exercised, including the four flag forms that used to slip past.
|
|
968
|
+
|
|
969
|
+
**The preflight now reads content, not just filenames.** Adapter parity checked that a mirror *existed*, so an adapter could sit five versions behind and pass — the failure this repo is most exposed to, with 14k hand-condensed mirror lines and no generator. It now asks git: a plugin command newer than its mirror, or edited in the working tree while the mirror is untouched, fails. Deliberate exceptions live in `script/adapter-parity.exceptions`, scoped to one sha each so the next real edit expires them. Also new: every tracked `.json` must parse (`hooks.json` included — nothing but the loader reads it), hooks must keep their executable bit, orphaned adapter files are reported, the 18 copies of the shared phase preamble are compared against each other, and retired `panel.json` vocabulary is refused anywhere in the tree.
|
|
970
|
+
|
|
971
|
+
**One panel vocabulary instead of two.** Seven commands still taught `Right now:`, `Waiting on you:` and grouping the MR/PR train `under Left` — labels the panel's reader does not know, so those lines quietly lost their column, and a layout `/flow:work:README` explicitly calls wrong. All of them now use `Now` / `Next` / `Decision` with the marks the reader actually reads. The check above is what keeps the third generation from appearing.
|
|
972
|
+
|
|
973
|
+
Smaller, same theme: `docs/CONFIGURATION.md` is no longer cited from inside commands (it does not ship with the plugin — they point at `FLOW.md` and the bundled template instead); `TaskCreate`, `ScheduleWakeup` and `Monitor` name their fallback for harnesses that lack them; a Stripe-specific skill and "load the project skills" became stack-agnostic; `feat:ship §6.2` had a paragraph wedged between two bullets of the same list; `design`, `investigate` and `status` pointed at section numbers and an artifact filename that had moved; `bug:review` reports the quality gates it runs; the domain-memory timeout sentence reads the same in all 22 commands; reinstalling an adapter now removes the commands upstream deleted, and `install.sh` says so when Codex ignores a `project` scope it has no directory for.
|
|
974
|
+
|
|
975
|
+
Docs caught up with all of it: the plugin README no longer advertises a `review` config section that never existed or four git hosts flow does not support, the root README has the bug flow in its real order and the fifth hard gate it had been omitting, and the release procedure — until now only in the maintainer's head — is written down in **`RELEASING.md`**, together with every convention the preflight enforces and why.
|
|
976
|
+
|
|
977
|
+
Mirrored across the opencode, Gemini CLI and Codex adapters.
|
|
978
|
+
|
|
979
|
+
## v0.34.0 — The plugin was handing out models it did not own · 2026-08-18
|
|
980
|
+
|
|
981
|
+
**In short**
|
|
982
|
+
- New `models` section in `FLOW.md`: `study`, `code`, `test`, `review`, `workers`; empty = the model you launched with.
|
|
983
|
+
- For steps the main agent runs itself, a differing configured model is reported in one line, never enforced.
|
|
984
|
+
- A named `agents.<role>` agent keeps its own model; the keys apply to improvised agents and fan-out workers.
|
|
985
|
+
- `/flow:config` prints the resolved model map; `/flow:init` writes the section empty and does not ask about it.
|
|
986
|
+
- The hardcoded opus/sonnet lines in `/flow:work:README` and `/flow:feat:review §3.5` are removed.
|
|
987
|
+
|
|
988
|
+
Two lines in this plugin picked models for you. A bullet in `/flow:work:README` split the work between "opus" and "sonnet" by judgment level, and `/flow:feat:review §3.5` launched its completeness critic with "(opus model — this is judgment, not tracking)". Both were wrong in the same three ways. **No command applied them** — not one `Agent` call in twenty commands ever passed a model, so the bullet described a policy that existed only in prose. **The names are not portable**: the same commands run on Codex, Gemini CLI and opencode, where `opus` means nothing, so a plugin that ships one vendor's tiers is lying to three of the four harnesses it claims to support. And **it is not the plugin's call**: which model is good at what changes every few months, differs per account and per budget, and belongs to whoever pays for the tokens.
|
|
989
|
+
|
|
990
|
+
**`models` in `FLOW.md`, five keys, by what a step does.** `study` (start, brainstorm, design, plan, diagnose, investigate, postmortem) · `code` (build, fix, green) · `test` (validate) · `review` (review, query, respond triage) · `workers` (the parallel fan-out rounds only, so breadth can be made cheap without touching the rest). Every key is empty by default and **empty means the step runs with the model you launched the command with** — a repo that ignores the section behaves exactly as it did before it existed. The values are free text passed straight to the harness: flow does not validate a model name, does not rank models, and never picks one.
|
|
991
|
+
|
|
992
|
+
**Two limits, stated instead of glossed over.** An agent **cannot switch its own model**, so for the steps the main agent performs itself — reading the ticket, designing, and writing the code (`build`/`fix` are single-thread on XS/S/M by design) — a configured value is *reported, not enforced*: when it differs from the running model, the phase handoff says so in one line with the command that fixes it, records it in the artifact, and **continues**. Making that a gate was the tempting version and the wrong one: a stop at every phase boundary demanding a `/model` is individually defensible and collectively turns an unattended run back into an attended one, which is the exact degradation the never-ask list in the phase preamble exists to prevent. And a **named agent keeps its own model** — when `agents.<role>` points at a real agent, that agent's own definition decides, because a setting must not be overridden from two places; the keys apply where flow *improvises* the agent and to the fan-out workers.
|
|
993
|
+
|
|
994
|
+
**Which model runs where is read, not inferred.** The keys are named by kind of step, and which step falls under which key lives inside the commands — so `/flow:config` now prints the resolved map: key, value, the commands it covers, a mark on the two whose steps the main agent performs itself, and who decided each one. `/flow:init` writes the section empty and does **not** ask about it unless you bring up models first.
|
|
995
|
+
|
|
996
|
+
Mirrored across the opencode, Gemini CLI and Codex adapters, where all three declare a subagent's model in the subagent's own definition rather than at the call site — each adapter's `PRIMITIVES.md` now says where, and says plainly that the conductor's own model is beyond reach there too.
|
|
997
|
+
|
|
998
|
+
## v0.33.0 — Ten lines about a class nobody had opened · 2026-08-18
|
|
999
|
+
|
|
1000
|
+
**In short**
|
|
1001
|
+
- Stop bodies are a one- or two-line headline plus two to five one-idea bullets; ~10 lines is a ceiling, not a target.
|
|
1002
|
+
- Stops describe what changed for the software's user; a class or error code appears only when a decision needs it.
|
|
1003
|
+
- Mechanics go to the phase artifact; a technical question still gets a full technical answer.
|
|
1004
|
+
- Both rules live in the shared Reporting preamble, inherited by all 18 phase commands and the adapters.
|
|
1005
|
+
|
|
1006
|
+
v0.26.0 gave every stop a header: ticket, size, phase, `MR #n of N`, the plan state, one line of what just finished, one line of what is needed from you. That fixed the **order** of a report — you no longer had to read to the end to find out where you were. It did not fix the other two things that make a stop unreadable to the person it is written for.
|
|
1007
|
+
|
|
1008
|
+
**The ten-line limit turned out to be a ceiling, not a shape.** "At most ~10 lines of body" is satisfied perfectly by ten lines of paragraph, and ten lines of paragraph are still a wall of text — subordinate clauses, a "for context" opening, a recap of what the previous stop already said. Nothing in the contract asked for short lines, so nothing produced them. The body is now a headline of one or two lines and then two to five bullets, one idea each, and the limit is stated as a ceiling rather than a target.
|
|
1009
|
+
|
|
1010
|
+
**And nothing in it asked for the right altitude.** The only rule about wording was `Zero-context`, which says that when a class or method appears it carries four to six words of what it is. That rule assumes the identifier belongs there. Usually it does not. When the agent is the one writing the code, the human on the other side of the stop is doing product — deciding what the software should do, for whom, and what it must not break — not archaeology on a diff they have not read. Ten lines about `AttachmentUploader` are a report about the agent's afternoon; *"attachments over 25 MB no longer break the send — they upload separately and the mail carries a link"* is a report about their software. So the body now speaks in the language of what changed for whoever uses this thing, and a class, file or error code earns a line only when the user has to **decide** about it, asked something technical, or named it first. The mechanics are not lost — they go where they were always more useful, the phase artifact.
|
|
1011
|
+
|
|
1012
|
+
**What this is not.** It is not a licence to answer shallowly. The two rules govern the report the flow writes *unprompted*, at a stop; a technical question still gets a technical answer, at whatever length the subject needs.
|
|
1013
|
+
|
|
1014
|
+
Both rules sit in the shared **Reporting** preamble, so all 18 phase commands inherit them, and mirrored in the opencode, Gemini CLI and Codex adapters.
|
|
1015
|
+
|
|
1016
|
+
## v0.32.0 — The query passed every gate; nobody read its plan · 2026-08-18
|
|
1017
|
+
|
|
1018
|
+
**In short**
|
|
1019
|
+
- New `/flow:work:query`: states the query's facts, runs a blinded challenger over twelve failures, judges by numbers.
|
|
1020
|
+
- Verdicts are `ok` / `change` / `schema-follow-up` / `unresolved`.
|
|
1021
|
+
- `feat:review` §3.6 and `bug:review` §3.5 run the duel for any query change, at any size including XS.
|
|
1022
|
+
- `feat:design` gains an Access paths table; `build`, `validate` and `bug:investigate` record or measure plans.
|
|
1023
|
+
- `work:respond` gets thread category `G`; new optional `data` section in `FLOW.md` (`explain_cmd`, `volumes`, …).
|
|
1024
|
+
|
|
1025
|
+
A query shipped through `design`, `build` and a full `review` panel, and not one of those gates ever looked at an execution plan. A human reviewer did, in a comment: *"why is the limit in the code and not in the query?"*. The flow answered from theory — the bound is per key, a global `LIMIT` cannot express that, the ORM's query language has no window function — which was all true and all beside the point. When someone finally built a data set and ran `EXPLAIN`, the cost was somewhere else entirely: two tables joined on columns with **different character sets**, so the join could not use an index and the engine scanned 63,000 rows to return fifteen. 449 ms. The same defect was already sitting in a neighbouring query that had been in production for a year, and the shape that finally won was the one the flow had dismissed as obviously worse — one small indexed query per key.
|
|
1026
|
+
|
|
1027
|
+
Three separate failures, and none of them is a reviewer being careless.
|
|
1028
|
+
|
|
1029
|
+
**A query's cost is invisible to reading.** Correctness is in the code; cost is in the plan, and the plan depends on facts that appear nowhere in the diff — which index exists, in what column order and **direction**, the type and collation of both sides of a join, how many rows a key really has. A mixed-direction `ORDER BY` (`a ASC, b DESC`) over a single-direction index does not half-use it: it sorts the whole result set. Join keys with different collations lose the index entirely. Both are invisible to tests too — same rows, same assertions, green suite, collapsed plan. So no amount of reviewer attention finds them, and a plausible sentence in the design makes the reviewer stop looking sooner.
|
|
1030
|
+
|
|
1031
|
+
**New: `/flow:work:query`, the query duel.** A standalone, repeatable command that puts one query on trial. It states the facts first (call site and frequency, filter, order with direction, bound and whether it is per key or global, both sides of every join with their real types and collations, heavy columns, rows per key **and where that number came from**, and the indexes that actually exist — read from the schema, never the ORM mapping). Then a challenger **blinded to the design's rationale** attacks it over twelve classic failures, each attack required to name the data scenario that triggers it. Then the main agent judges, under three rules: **no number, no win** (an unresolved point is recorded unresolved, never split in prose), **no dogma in either direction** ("N small queries is an N+1" and "one batched query always wins" are both preferences until measured), and **the objector's variant gets measured next to yours** — especially when your theory says it will lose. Verdicts are `ok` / `change` / `schema-follow-up` / `unresolved`, and the last one is a real verdict, not a failure to produce one.
|
|
1032
|
+
|
|
1033
|
+
**Wired into the phases that let it through.** `feat:review` §3.6 and `bug:review` §3.5 run the duel whenever the diff adds or changes a query, at **any size, XS included** — it is not a depth tier but a category no other reviewer owns, and a one-line change to an `ORDER BY` is exactly the change whose cost is invisible. `feat:design` gains an **Access paths** table (filter, order with direction, bound, rows per key, and the index that supports it) so a missing index is a decision taken when adding one is still cheap. `feat:build` records the plan as the query is written. `feat:validate` measures against real volumes, because a green suite proves rows and never plans. `bug:investigate` treats slowness as a plan problem until proven otherwise — and notes that several of its causes leave the code untouched, where `git blame` cannot find them.
|
|
1034
|
+
|
|
1035
|
+
**`work:respond` gets a new thread category, `G`, and one rule.** A performance objection is answered with a plan, never with reasoning. A reasoned reply that has not looked at one is the most expensive answer the flow can produce: it sounds authoritative, so it costs the reviewer a round trip to disprove; it is grounded in the design's own rationale, so it feels verified when nothing was. The reviewer's variant is measured beside yours, a defect that predates the MR/PR is declared and ticketed rather than used to bless or widen the diff, and the reply leads with **one** recommendation and the number behind it — a reply that agrees and then hedges in three directions reads as "I don't know" and makes the reviewer decide twice.
|
|
1036
|
+
|
|
1037
|
+
**New optional `data` section in `FLOW.md`**: `explain_cmd`, `schema_cmd`, `sandbox_cmd`, `seed_cmd`, `volumes`. All empty by default — the duel still runs on the schema alone and **says** what it could not prove. `volumes` is the cheapest key of the five and worth filling even with the commands empty: an adversarial reviewer with no volumes invents them. Creating or seeding a database is a hard gate in every autonomy mode, never against production. And the corollary the flow now states out loud: the functional test database, with its handful of fixture rows, proves nothing about a plan — "not measured" is a legitimate verdict, a plan measured there reported as evidence is not.
|
|
1038
|
+
|
|
1039
|
+
Mirrored in the opencode, Gemini CLI and Codex adapters.
|
|
1040
|
+
|
|
1041
|
+
## v0.31.0 — 36 agents on a 69-line MR, in a dialect only one harness spoke · 2026-08-07
|
|
1042
|
+
|
|
1043
|
+
**In short**
|
|
1044
|
+
- The `Workflow` DSL scripts are removed from the commands; fan-out rounds are described in prose for every harness.
|
|
1045
|
+
- New `agents.fanout_max` (empty → 4) caps any parallel round; a truncated sweep reports its coverage (`4/7`).
|
|
1046
|
+
- Review verification runs only for M/L with >150 changed lines and ≥4 ambiguous findings, with one skeptic.
|
|
1047
|
+
- The brainstorm panel is proportional: advisors for M, cross-critique only for L; synthesis returns to the main agent.
|
|
1048
|
+
- `agents.fanout_tool: Workflow` opts back into Claude Code's tool; an unavailable tool falls back to subagents.
|
|
1049
|
+
|
|
1050
|
+
Three steps in the flow widen into several agents — the approach panel in `feat:brainstorm` §3.A, the hypothesis sweep in `bug:investigate` §3.A, the finding verification in `feat:review` §6 / `bug:review` §5. All three were written as calls to Claude Code's **`Workflow` tool**, with its JavaScript DSL embedded in the command files: `export const meta`, `parallel()`, per-agent schemas. Two problems, and the second is the expensive one.
|
|
1051
|
+
|
|
1052
|
+
**The plugin claimed to be harness-agnostic and was not.** `Workflow` exists in Claude Code and nowhere else. The three adapters each carried a row in `PRIMITIVES.md` translating it back into "launch N subagents in parallel" — which is what the flow wanted in the first place. The core now says that directly: rounds, briefs, and who synthesizes, in prose. The DSL scripts are gone from the plugin, and `Workflow` is no longer named anywhere in it except as an example of what `agents.fanout_tool` can point at.
|
|
1053
|
+
|
|
1054
|
+
**Nothing capped the width.** `review` §6 launched **3 skeptics per finding** with no upper bound, gated only on `size` M/L: 12 findings meant 36 agents, on a diff of any size — and a work *labelled* M ships a 70-line MR/PR often enough. Measured on one real feature, four phases of a single MR came to ~1M tokens across 16 agents. What changed:
|
|
1055
|
+
|
|
1056
|
+
- **`agents.fanout_max`** (new, empty → **4**) caps any single parallel round, and **what a cap drops gets said** — a sweep that investigated 4 of 7 hypotheses reports `4/7`, because a silently truncated fan-out reads as full coverage.
|
|
1057
|
+
- **The verification gate is narrow now**: size M/L **and** a diff over **150 changed lines** (the real `git diff --stat`, not the recorded size) **and** ≥ 4 **ambiguous** findings — those resting on an assumption about code outside the diff, a runtime behaviour, or an unverified convention. A finding whose defect is visible in the diff is already confirmed and skips the pass. **One** skeptic, not three: this filter's failure mode is cheap, since a wrongly-discarded finding stays recorded in the artifact, whereas three voters multiplied the cost by every finding found.
|
|
1058
|
+
- **The panel is proportional**, like `review_depth` already was: for **M**, advisors then synthesis; the cross-critique round runs for **L** only. Three lenses by default, `operations` added for L or a sensitive surface.
|
|
1059
|
+
- **The synthesis is no longer a subagent.** Ranking approaches, converging on a root cause, judging findings — that returns to the main agent, which already holds the work's context and writes the artifact. Delegating it cost an agent and a context hop to get markdown copied back. Delegate the gathering, keep the deciding.
|
|
1060
|
+
|
|
1061
|
+
**Opting back into heavier orchestration is one line.** `agents.fanout_tool: Workflow` in `FLOW.md` runs the same rounds through Claude Code's tool, with its typed schemas and deterministic phases. Empty is the default and the portable path; a tool named there that the running harness does not expose falls back to plain subagents rather than failing.
|
|
1062
|
+
|
|
1063
|
+
`bug:investigate`'s **quarantine boundary** survives the rewrite and is now stated rather than left implicit in a schema: the hypothesis agents are the ones that touch raw logs and traces, they report findings instead of pasting log text, and the agent that decides the root cause never takes raw log content into its own context.
|
|
1064
|
+
|
|
1065
|
+
All three adapters were updated to match, including the ones that were already using plain subagents but still spawned a synthesizer agent.
|
|
1066
|
+
|
|
1067
|
+
## v0.30.3 — The hook the last release recommended checked nothing · 2026-08-07
|
|
1068
|
+
|
|
1069
|
+
**In short**
|
|
1070
|
+
- `script/check.py` resolves its symlink and uses `git rev-parse --show-toplevel` to find the repo root.
|
|
1071
|
+
- Installed as a pre-commit hook it now checks files instead of exiting green with nothing to check.
|
|
1072
|
+
- No changes to any command.
|
|
1073
|
+
|
|
1074
|
+
v0.30.2 added `script/check.py` and told you to wire it in with `ln -s ../../script/check.py .git/hooks/pre-commit`. Doing exactly that produced `not a git checkout — nothing to check` and a green exit on every commit.
|
|
1075
|
+
|
|
1076
|
+
Reached through the symlink, `abspath(__file__)` resolves inside `.git/hooks`, so the script took `.git` for the repo root and ran `git ls-files` against a directory git does not track. Empty list, nothing to check, exit 0 — a hook that guards nothing while looking like it does, which is worse than no hook, because the previous release's own instructions installed it.
|
|
1077
|
+
|
|
1078
|
+
It now resolves the symlink and asks `git rev-parse --show-toplevel` where the tree actually starts, falling back to the script's own parent outside a checkout. Verified through all three entry points: as the installed hook, from another working directory, and with a defect reintroduced to confirm it still fails.
|
|
1079
|
+
|
|
1080
|
+
No changes to any command.
|
|
1081
|
+
|
|
1082
|
+
## v0.30.2 — A tree that would not load can now say so before the tag does · 2026-08-07
|
|
1083
|
+
|
|
1084
|
+
**In short**
|
|
1085
|
+
- New `script/check.py` refuses empty tracked files and a manifest that fails to parse or lacks `name`/`version`.
|
|
1086
|
+
- Fails when the manifest version disagrees with the newest `CHANGELOG.md` heading.
|
|
1087
|
+
- Checks command frontmatter, `.toml` files, embedded `json` examples, and `panel.json` marks/styles the reader knows.
|
|
1088
|
+
- Fails when a plugin command is missing from any of the three adapters.
|
|
1089
|
+
- No changes to any command.
|
|
1090
|
+
|
|
1091
|
+
v0.30.1 restored a manifest that had been empty for two releases. This adds the check that would have caught it, plus the ones that would catch its neighbours.
|
|
1092
|
+
|
|
1093
|
+
There is no CI in this repo and a release is a tag on whatever is in the tree, so `script/check.py` is what stands between a broken tree and a permanent tag. It refuses: an **empty tracked file** (the actual failure — nothing else reads the manifest, so every other check passed while the plugin could not start), a manifest that does not parse or has no `name`/`version`, a **manifest version that disagrees with the newest `CHANGELOG.md` heading** (`/flow:news` reads one and the loader reads the other; when they drift the release notes describe a version nobody is running), a command without frontmatter, a `.toml` that does not parse, an embedded `json` example that does not parse, a `panel.json` example using a `mark`, `style` or inline URL **the reader would not understand**, and a plugin command **missing from any of the three adapters**.
|
|
1094
|
+
|
|
1095
|
+
The last two are worth their place because neither breaks anything loudly. An unknown `mark` is not an error in the panel — the line quietly loses its symbol and its column and renders as plain text — and adapter parity is maintained by hand, one file at a time, so the failure mode is a command that silently stops being mirrored rather than one that breaks.
|
|
1096
|
+
|
|
1097
|
+
Each check was verified by reintroducing the defect it targets and confirming it fails, which is how the first two versions of the embedded-json check turned out to be worthless: one skipped every block containing an ellipsis (which is all of the panel examples) and the next choked on blocks that quote a single field of a larger object.
|
|
1098
|
+
|
|
1099
|
+
No changes to any command — `/flow:*` behaviour is exactly v0.30.0's.
|
|
1100
|
+
|
|
1101
|
+
## v0.30.1 — The manifest was truncated to zero bytes · 2026-08-06
|
|
1102
|
+
|
|
1103
|
+
**In short**
|
|
1104
|
+
- `plugins/flow/.claude-plugin/plugin.json`, empty since v0.29.1, is restored so the plugin loads again.
|
|
1105
|
+
- Cause: a one-line Python version bump that truncated the file before reading it.
|
|
1106
|
+
- No content changes; `/flow:*` behaviour is exactly v0.30.0's.
|
|
1107
|
+
|
|
1108
|
+
`plugins/flow/.claude-plugin/plugin.json` shipped **empty** in v0.29.1 and stayed empty through v0.30.0, so Claude Code could not load the plugin at all: no manifest, no commands.
|
|
1109
|
+
|
|
1110
|
+
The cause was a scripted version bump written as `open(p, "w").write(open(p).read().replace(...))`. Python opens the file for writing — truncating it — before it evaluates the argument that reads it, so the read returned the empty file it had just created. The v0.29.0 bump had done the same edit in two statements and was fine; the one-liner that replaced it was not. Nothing flagged it: the file is not read by any command, only by the loader, and v0.30.0's diff did not list it because by then it was already empty.
|
|
1111
|
+
|
|
1112
|
+
Restored from v0.29.0 and versioned 0.30.1. No content changes — `/flow:*` behaviour is exactly v0.30.0's.
|
|
1113
|
+
|
|
1114
|
+
## v0.30.0 — The line says what it *is*; the panel decides how to draw it · 2026-08-06
|
|
1115
|
+
|
|
1116
|
+
**In short**
|
|
1117
|
+
- `panel.json` lines carry a `mark` (`done`, `current`, `pending`, `wait`, `block`, `info`) instead of a state column.
|
|
1118
|
+
- `ref` accepts labels like `Now`/`Next`/`Decision`; column widths are computed per blank-line-separated block.
|
|
1119
|
+
- `link` is a field the panel shortens and pins; flow no longer writes raw URLs on their own line.
|
|
1120
|
+
- New `stale_after_minutes`; `/flow:work:watch` sets it to about twice its cycle interval.
|
|
1121
|
+
- The v0.29.1 "~55 characters per line" rule is removed.
|
|
1122
|
+
|
|
1123
|
+
The reader gained a vocabulary, and writing against it turns out to be both simpler and more honest than the columns flow was hand-building in v0.29.1.
|
|
1124
|
+
|
|
1125
|
+
**`mark` replaces the state column.** Each line declares what it is — `done` · `current` · `pending` · `wait` (shipped or asked, now waiting on someone else) · `block` · `info` — and the panel picks the symbol and the colour. That kills the last place where flow was making a presentation decision it had no business making, and it fixes the v0.29.1 compromise honestly: an open MR/PR is `wait`, not "done" and not "in progress", which is exactly what it is in a train.
|
|
1126
|
+
|
|
1127
|
+
**`ref` need not be a number.** `#1` and `#3–#6`, but equally `Now`, `Next`, `Decision` — the panel aligns them into a column either way, so the labels below the train get the same treatment as the train. Widths are computed **per block**, and blocks are separated by blank lines, so the two groups no longer drag each other wide. Blank lines are now load-bearing.
|
|
1128
|
+
|
|
1129
|
+
**`link` is a field, not text.** The panel shortens the URL to `!9977 ↗`, makes it clickable and pins it right, or hangs it underneath when it does not fit. flow no longer writes a raw 60-character URL on its own indented line, which is what the v0.29.0 layout did.
|
|
1130
|
+
|
|
1131
|
+
**`stale_after_minutes`** raises the 30-minute staleness threshold for a stretch known to run long. `/flow:work:watch` sets it to about twice its cycle interval: the default would let a dead monitoring loop pass for a live one through five missed cycles, and a watcher that has stopped watching is precisely what has to be visible.
|
|
1132
|
+
|
|
1133
|
+
**One correction to v0.29.1.** The "keep every line under ~55 characters" rule was written from a misread screenshot: the reader *does* align a wrapped line's continuation under its text. Length is now a matter of saying less, not of measuring columns — the rule is gone.
|
|
1134
|
+
|
|
1135
|
+
## v0.29.1 — The header said `build` while the body said "validating" · 2026-08-06
|
|
1136
|
+
|
|
1137
|
+
**In short**
|
|
1138
|
+
- `panel.json` carries its own `phase` (the phase running now); the reader prefers it over `meta.json`.
|
|
1139
|
+
- The `Done` / `Now` / `Left` train headings are gone; each entry shows its real state, unstarted ones collapse.
|
|
1140
|
+
- Each panel line is kept short enough not to wrap (~55 characters).
|
|
1141
|
+
- The panel is written in the language of the work's artifacts.
|
|
1142
|
+
|
|
1143
|
+
First run of the panel against a real work, three fixes it earned in the first ten minutes.
|
|
1144
|
+
|
|
1145
|
+
**The header was a phase behind.** `meta.json.phase` only advances when a phase *closes*, so a reader drawing the phase from it shows `build` for as long as `validate` takes — with the panel body, one line below, saying "validating". `panel.json` now carries its own **`phase`**: the phase being executed right now. The reader prefers it when present and falls back to `meta.json` when absent, so it costs older works nothing.
|
|
1146
|
+
|
|
1147
|
+
**"Done #1 … MR open" contradicted itself.** Grouping the train under `Done` / `Now` / `Left` is the obvious layout and it is wrong for the way flow actually ships: in a train an MR/PR that has shipped is *open, waiting to merge*, not done, and in a four-MR train almost nothing is merged until the end. A heading that calls it done states something false in the one place the user is trusting at a glance. The headings are gone; each entry carries its real state as its last column, and the not-yet-started ones collapse into a single `#a–#z` line — which also buys back the height the URLs need.
|
|
1148
|
+
|
|
1149
|
+
**Lines were written long enough to wrap.** The reader wraps rather than truncates, so an overflowing line takes two ragged lines and its continuation does not inherit `indent` — the column breaks and a trailing `#2` ends up alone. The rule is now explicit: each line short enough not to wrap (~55 characters), and say less rather than say it in two lines.
|
|
1150
|
+
|
|
1151
|
+
Also: the panel is written **in the language the work's artifacts use**, which was left implicit and produced one panel in English over a Spanish work.
|
|
1152
|
+
|
|
1153
|
+
## v0.29.0 — Every stop is a file too, so something other than the chat can answer "where is this?" · 2026-08-06
|
|
1154
|
+
|
|
1155
|
+
**In short**
|
|
1156
|
+
- Every phase command writes `.claude/work/<work>/panel.json` for external readers (pane, status bar, dashboard).
|
|
1157
|
+
- It carries the MR/PR train with open URLs, what runs now, what comes next, `accent` decisions and `warn` blockers.
|
|
1158
|
+
- Lines use semantic styles (`normal`, `dim`, `title`, `accent`, `ok`, `warn`, `error`), never colours.
|
|
1159
|
+
- Written whole and before long stretches with a real `updated_at`; `ship`, `plan`, `resume`, `watch`, `abandon` too.
|
|
1160
|
+
- Optional: works without one still resolve from `meta.json`; no new `FLOW.md` keys.
|
|
1161
|
+
|
|
1162
|
+
### The chat is a stream; the question is a state
|
|
1163
|
+
Three works in flight, each in its own pane, and the question you actually have about any of them is always the same: which MR/PR is this on, how many are left, is it waiting for me, and what is the link. All of it is already known — `meta.json` has the train, the states and the URLs — and none of it is *readable* without scrolling back through a session or typing the question at the agent. So the agent gets asked for the link to an MR/PR it opened forty minutes ago, which is the clearest sign that the state was never anywhere you could look.
|
|
1164
|
+
|
|
1165
|
+
flow already had the shape of the answer. The **Reporting** preamble fixes what a stop looks like — ticket, size, phase, `MR #n of N`, the plan state, one line of what just finished, one line of what is needed from you. That header is written into the chat and then scrolls away.
|
|
1166
|
+
|
|
1167
|
+
### `panel.json`
|
|
1168
|
+
Every phase command now writes that same state to `.claude/work/<work>/panel.json`, a small file any external reader can poll — a terminal pane, a status bar, a dashboard. It carries the MR/PR train read from `meta.json.mrs` with the **URLs of the ones still open**, one line of prose on what is running right now, what comes next, an `accent` line when the flow is parked on a decision of yours, and `warn` lines for blockers: a sibling repo whose `contract_handoff` is still `pending`, a red pipeline, a dependency that has not merged.
|
|
1169
|
+
|
|
1170
|
+
Lines carry **semantic** styles — `normal` `dim` `title` `accent` `ok` `warn` `error` — never colours, so the reader owns the palette and stays right when the theme changes. `header: true` (the default) lets the reader draw ticket, type, phase and age itself from `meta.json`, which is why those four never appear in the lines.
|
|
1171
|
+
|
|
1172
|
+
**Two properties make it trustworthy rather than decorative.** It is overwritten **whole**, never patched, so it can never be half of an old state and half of a new one. And it is written **before** a long stretch — a subagent fan-out, a full test suite, a CI poll — rather than after it, with an honest `updated_at` taken from the real clock: a file written only when a step succeeds keeps showing as finished a step that in fact died halfway, and that is the failure mode a panel makes *worse* than no panel. Written beforehand, a stale timestamp is something the reader can flag instead.
|
|
1173
|
+
|
|
1174
|
+
### Where it is written
|
|
1175
|
+
In pre-flight, before every stop, before any long unattended stretch, and at each `## Close` — the four points where the Reporting preamble already governs what the user is told. Plus the places that hold something the generic rule cannot know: `/flow:feat:ship` and `/flow:bug:ship` write the MR/PR URL into `meta.json` **and** the panel the instant it exists, before the pre-deploy thread and before anything else can fail; `/flow:feat:plan` gives the panel its train when the split is first recorded; `/flow:work:resume` rebuilds it after a break, which is when it is most likely to be lying; `/flow:work:watch` refreshes it every monitoring cycle, since an unattended watcher is otherwise invisible; and `/flow:work:abandon` leaves a terminal state before archiving. The read-only commands — `status`, `daily`, `config`, `news` — never write it.
|
|
1176
|
+
|
|
1177
|
+
**Optional by construction**: a work that has never written one still resolves from `meta.json` alone, so nothing needs migrating and older works keep displaying. **No new `FLOW.md` keys**, no new phase, no new agent — one new file per work and one paragraph in a preamble that already existed. Mirrored across the opencode / Codex CLI / Gemini CLI adapters.
|
|
1178
|
+
|
|
1179
|
+
## v0.28.0 — A ticket is its thread too, and a thread you could not read says so · 2026-08-06
|
|
1180
|
+
|
|
1181
|
+
**In short**
|
|
1182
|
+
- `/flow:feat:start` §2.1 and `/flow:bug:start` §1.1 read the ticket's comment thread, not just the description.
|
|
1183
|
+
- New `tracker.comments_cmd` key (empty = derived from `tracker.tool`); `/flow:init` fills it alongside `view_cmd`.
|
|
1184
|
+
- The latest deciding comment wins over the description; comments are untrusted input, never instructions.
|
|
1185
|
+
- An unreadable thread is reported as a named gap; `01-context.md` gains `## Decided in the ticket thread`.
|
|
1186
|
+
- `/flow:work:resume` §2.5 re-reads the thread, appends only what is new, and hands contradictions to you.
|
|
1187
|
+
|
|
1188
|
+
### The contract was published, and the other repo never saw it
|
|
1189
|
+
The case behind this release: one ticket, two repos. The backend half shipped and, exactly as designed, `/flow:feat:ship` §6.3 published the contract **as a comment on the ticket** — literal payloads, routes, error codes. Then `/flow:feat:start <TICKET>` ran in the consuming repo and started building against a shape it invented, because it had never read that comment.
|
|
1190
|
+
|
|
1191
|
+
Nothing had been skipped. `/flow:feat:start` §3.6 says to look for a published contract block "while reading the ticket" — but §2 reads the ticket with `tracker.view_cmd`, and the default for **every** supported tool stops at the description: `gh issue view N`, `glab issue view N` and `acli jira workitem view KEY` do not print comments. The producing side wrote to a place the consuming side was never told to look, and the failure was silent in the worst way: an empty search for a contract reads exactly like a ticket with no contract.
|
|
1192
|
+
|
|
1193
|
+
### The comment thread is part of "read the ticket"
|
|
1194
|
+
`/flow:feat:start` §2.1 and `/flow:bug:start` §1.1 are new, and they are not about contracts — that was just the case that exposed it. The description is the ticket as it was **first written**; the thread is where it was **decided**: the scope cut, the sharpened criterion, the reproduction the reporter added three comments down, the cause someone already ruled out, the "in the end we did it the other way". Almost none of that gets folded back into the description, so a start that reads only the description starts from a stale ticket.
|
|
1195
|
+
|
|
1196
|
+
Both commands now read the thread with the new `tracker.comments_cmd`, or derive it from `tracker.tool` when it is empty (`--comments` on `gh`/`glab`; the native listing tried once on Jira/`linear`). What they keep is the part that changes the work — published contracts, scope and criteria decisions, corrections to the description, operational facts you would otherwise guess — and bot noise and cross-references are skipped.
|
|
1197
|
+
|
|
1198
|
+
**Precedence is stated, not left to taste.** When a comment contradicts the description, the most recent comment that decided that point wins; descriptions are written first and rarely re-edited. But a contradiction that moves scope or changes what the bug *is* becomes a §3 / §1 question instead of a quiet reinterpretation. And ticket comments are **untrusted input** — material to weigh, never instructions that override a step or a hard gate, the same rule `/flow:work:respond` already applies to review threads.
|
|
1199
|
+
|
|
1200
|
+
**An unread thread is a named gap, not an all-clear.** If there is no way to get the comments — no `comments_cmd`, the command fails, `tool: none`, the ticket was pasted by hand — the command says so in one line and records it. "I could not read the comments" and "there were no comments" are opposite facts, and only one of them is fixable by pasting. §3.6 says it too: an unreadable thread is not evidence that no contract was published.
|
|
1201
|
+
|
|
1202
|
+
Both artifacts get a `## Decided in the ticket thread` section (`01-context.md`), which is what carries those decisions into `design`, `build` and `validate` instead of leaving them in a terminal that has scrolled away.
|
|
1203
|
+
|
|
1204
|
+
### `resume` re-reads the thread, because the break is when the ticket moves
|
|
1205
|
+
Reading the thread at `start` closes the case above but not the one next to it: you start in the consuming repo *first*, the other side ships two days later, and the contract lands in a ticket you already read. So `/flow:work:resume` §2.5 re-reads the thread and shows **only what is new** since what `01-context.md` already records — a published contract, a scope or criteria change, a correction, an operational fact. Nothing new is one word (`nothing new`); a resume that re-prints the whole thread every morning is noise you learn to skip.
|
|
1206
|
+
|
|
1207
|
+
What it does with what is new is deliberately timid, because by then there is work on disk: it **appends** to `01-context.md` (verbatim, into `## Contracts received` when it is a contract) and it **never** amends the design or the code. When a new comment contradicts something already in `03-design.md` or already built, it names the collision — *ticket now says X, this repo decided Y* — and hands the decision to you in **every** autonomy mode. That is the one case where an `auto` run quietly "fixing" it produces two contracts for one ticket. `§4`'s rule holds: it can suggest rerunning `design`, it does not rerun anything.
|
|
1208
|
+
|
|
1209
|
+
**One new `FLOW.md` key**: `tracker.comments_cmd` (optional; empty = derived from `tool`). `/flow:init` now fills it alongside `view_cmd`. Mirrored across the opencode / Codex CLI / Gemini CLI adapters.
|
|
1210
|
+
|
|
1211
|
+
## v0.27.1 — The first real sweep found three ways to be wrong about a branch · 2026-08-05
|
|
1212
|
+
|
|
1213
|
+
**In short**
|
|
1214
|
+
- `/flow:work:clean` measures "not on the remote" against `refs/remotes/origin/<branch>`, not `@{u}`.
|
|
1215
|
+
- An MR/PR closed without merging gets its own `closed` verdict: never a candidate, always named.
|
|
1216
|
+
- With 25 or fewer `unknown` branches, the sweep asks the forge about each one directly.
|
|
1217
|
+
|
|
1218
|
+
Running `/flow:work:clean --dry-run` against the two repos from v0.27.0 — 49 and ~120 branches — turned up three defects, all of them the kind that only shows up against a repo with history.
|
|
1219
|
+
|
|
1220
|
+
**`@{u}` was the wrong ruler for "not on the remote".** The protected set measured unpushed commits against the configured upstream. But flow creates branches with `git worktree add --no-track`, so a branch that was pushed, reviewed and merged still has **no upstream configured** — and every one of them read as "exists only here" and got protected. In the larger repo that was most of the table: branches whose `origin/<branch>` ref was sitting right there. It now measures against `refs/remotes/origin/<branch>` and only falls back to counting the branch's own commits when there is no remote ref at all.
|
|
1221
|
+
|
|
1222
|
+
**A closed MR/PR is not the absence of one.** An MR/PR closed without merging is neither `merged` nor in flight, and the previous version folded it into `unknown` alongside branches that never had an MR/PR. Same non-action, opposite meaning: one says a decision was made about this work, the other says nobody ever looked. `closed` is now its own verdict — never a candidate, always named in the report.
|
|
1223
|
+
|
|
1224
|
+
**The 100-MR/PR page is not the whole forge.** In a high-turnover repo most finished branches are older than the list window, and the local patch-equivalence check in §4c misses a squash whose MR/PR absorbed review changes — the patch that landed is no longer the patch on the branch. So when **25 or fewer** branches are still `unknown`, the sweep now asks the forge about each one directly (`--source-branch` / `--head`). That is the one place per-branch queries earn their cost: the list already answered for everything it covers, and what is left is bounded and named. Above 25 it skips the pass and reports how many went unresolved.
|
|
1225
|
+
|
|
1226
|
+
## v0.27.0 — The flow sweeps up after itself, and "merged" is a verdict rather than a guess · 2026-08-05
|
|
1227
|
+
|
|
1228
|
+
**In short**
|
|
1229
|
+
- New `/flow:work:clean`: joins worktrees, local branches and `.claude/work/` folders and decides each from evidence.
|
|
1230
|
+
- Two forge calls (merged, open); squash merges are detected locally with `git commit-tree` + `git cherry`.
|
|
1231
|
+
- `unknown` is never a candidate; dirty worktrees, unpushed branches and the remote are protected; no `--force`.
|
|
1232
|
+
- Work folders are archived, never deleted; `--purge-archive <N>d` removes only git-committed archives; `--dry-run`.
|
|
1233
|
+
- `status` §4, `daily` §4 and `feat:ship` surface the residue count; adapter indexes regain `/flow:work:green`.
|
|
1234
|
+
|
|
1235
|
+
### Two repos, 36 worktrees, and 13 of 14 already merged
|
|
1236
|
+
The case behind this release: after a few weeks of steady use, two repos of the same project were carrying **22 and 14 git worktrees**. In the smaller one, exactly **one** of the fourteen was still live — the other thirteen were full checkouts of branches whose MR had already merged. The same repo had **16 work folders in `.claude/work/` and zero in `_archive/`**. Nobody had done anything wrong; the plugin simply had no moment at which any of it got cleaned up.
|
|
1237
|
+
|
|
1238
|
+
It looked like it did. `/flow:feat:ship` and `/flow:bug:ship` offer to archive the work folder and remove the worktree, `/flow:work:abandon` does the same, and `/flow:work:status` §4 flags folders whose branch is gone. But every one of those is a **prompt at the end of a long command**, easy to answer past — and in a train it never fires at all, because an intermediate MR/PR does not set `phase = "done"` and the branch is the base of the next one. The plugin's whole cleanup story depended on reaching the last question of the one command that asks it, in the one mode where it asks.
|
|
1239
|
+
|
|
1240
|
+
### `/flow:work:clean` — the sweep, and what it refuses to do
|
|
1241
|
+
The new command takes all three inventories at once — worktrees, local branches, `.claude/work/` folders — joins them on the branch name, and decides each row's fate from evidence rather than from age.
|
|
1242
|
+
|
|
1243
|
+
**The evidence is the forge, and it is asked exactly twice.** One call for merged MRs/PRs, one for open, joined locally against the inventory. Twenty worktrees is still two calls, not twenty. A branch in neither list falls through to local checks; absence from a paginated list is not a verdict, and when the sweep cannot cover everything it says so instead of reading as "checked everything".
|
|
1244
|
+
|
|
1245
|
+
**`git branch --merged` is the wrong tool and this is where it shows.** A squash-merged branch is an ancestor of nothing: its commits were replaced by one new commit with a different sha, so ancestry-based checks miss every single one. In the repo above, 8 of the 13 finished branches were invisible that way. So when the forge cannot answer, `clean` replays the branch's tree onto its merge-base with `git commit-tree` and asks `git cherry` whether that patch is already upstream — the standard patch-equivalence trick, which catches squashes without needing the forge at all.
|
|
1246
|
+
|
|
1247
|
+
**And the refusals, which are most of the design.** `unknown` is never a candidate — silence is not a merge. A worktree with uncommitted changes is protected even when its MR merged (that case gets its own line in the report: the MR went in, the edits never left the checkout). A branch with commits not on the remote is protected. There is no `--force`, ever, and `git branch -D` only runs on a verdict that came from the forge, never on one inferred locally. Work folders are **archived, never deleted**. The remote is never touched — deleting merged remote branches is the forge's job, not a cleanup sweep's. And **`autonomy.mode` does not authorize deletion**: `auto` governs flow mechanics, not the one action in the plugin that can destroy work existing nowhere else, so it confirms the list like every other mode. `--dry-run` shows the whole table and touches nothing.
|
|
1248
|
+
|
|
1249
|
+
One row type is deliberately awkward: a work whose `mrs[]` are all merged but whose `phase` never reached `done` — the train whose last `ship` never ran. It is confirmed **individually**, never folded into a bulk yes, and on confirmation `phase` is set before the folder moves, so the archived record does not sit there claiming it is mid-build.
|
|
1250
|
+
|
|
1251
|
+
`.claude/work/_archive/` is outside the sweep — that history is often the only record of why something was abandoned. `--purge-archive <N>d` is a separate opt-in pass that only removes folders **already committed to git** (`git log -- <path>` brings them back); untracked ones are the only copy there is, so they are listed with that said out loud rather than deleted.
|
|
1252
|
+
|
|
1253
|
+
**`/flow:work:status` §4 and `/flow:work:daily` §4 now surface the residue as a count** and point here — a cheap local check, no extra forge calls, one line at the end and only when there is more than a handful. Neither deletes anything; counting and deciding stay separate. `/flow:feat:ship` says the same thing once per work when shipping an intermediate train MR/PR, at exactly the point where the prompt it *would* have shown does not exist.
|
|
1254
|
+
|
|
1255
|
+
**No new `FLOW.md` keys.** Mirrored across the opencode / Codex CLI / Gemini CLI adapters, with the confirmation adapted to a plain numbered choice. Two fixes came along for the ride: the adapter command indexes had been missing `/flow:work:green` since v0.24.0, and `install.sh` now counts the commands it copies instead of printing a hardcoded number that had drifted.
|
|
1256
|
+
|
|
1257
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.26.0...v0.27.0
|
|
1258
|
+
|
|
1259
|
+
## v0.26.0 — Every stop says where you are, and `auto` stops asking about itself · 2026-08-03
|
|
1260
|
+
|
|
1261
|
+
**In short**
|
|
1262
|
+
- `guided`/`auto` never ask about flow mechanics, WIP commits, train chaining, size, or already-settled decisions.
|
|
1263
|
+
- `plan` §6 and `design` §9 approval prompts are now conditioned on the autonomy mode.
|
|
1264
|
+
- New shared Reporting preamble: every stop opens with ticket, size, phase, `MR #n of N`, plan state; ~10-line body.
|
|
1265
|
+
- `plan` §6 prints waves as `Wave 1: #1 ∥ #2 → Wave 2: #3`; `work:resume` gains `MR/PRs:` and `Waves:` lines.
|
|
1266
|
+
- The business brief and `ship` still stop in `auto`; no new `FLOW.md` keys.
|
|
1267
|
+
|
|
1268
|
+
### 16 questions in four hours, in the mode whose promise is "without pausing"
|
|
1269
|
+
The case behind this release: a 7-MR/PR feature run end to end with `autonomy.mode: auto`, in one of four panes each holding a different work. Two complaints came out of it, and they turned out to be the same crack seen from both sides — **the agent's context and the user's are not the same context**, and nothing in the plugin said so.
|
|
1270
|
+
|
|
1271
|
+
**`auto` was degrading into `manual` one reasonable-looking question at a time.** Not at the phase boundaries — v0.25.0 fixed those — but inside the phases. Four of the sixteen questions were the flow asking about **its own machinery**: whether to launch the brainstorm panel, whether to launch the challengers, whether to commit the WIP, whether to start the next MR/PR of a train. Each individually defensible, and together an attended run the user had configured to be unattended. The causes were three, all in the files:
|
|
1272
|
+
|
|
1273
|
+
- **A mode-less "ask" beats a mode-aware handoff.** Exactly the v0.25.0 lesson, still live one level down: `plan` §6 said *"show the summary table and ask for approval"* and then, three lines below, *"in `auto`, record the plan as accepted and chain into `build`"*. `design` §9 did the same with the design review. A specific instruction with no condition on it wins over a conditioned one, so `auto` asked. Both are now conditioned on the mode where they sit.
|
|
1274
|
+
- **Flow mechanics is not the user's decision.** The panel offers in `brainstorm` §3.0, `feat:review` §6, `bug:investigate` §3.0 and `bug:review` §5, and the size confirmation in `start` §4, were written as unconditional prompts. They are calls on **cost and latency**, which is the agent's judgement, and each step already carries the recommended default. In `manual` they are still offered; in `guided`/`auto` they are taken, noted in one line of the artifact, and left behind.
|
|
1275
|
+
- **Hard gates had no symmetric half.** Every phase command listed what **always** stops (push/MR-PR, ambiguous base, migrations, high-severity findings) and nothing listed what **never** does. The preamble now carries both. Never asked in `guided`/`auto`: flow mechanics, WIP commits, continuing a train when `train_chain` resolves to `always` — and in particular never offering to *wait for the merge*, which only `train_chain: wait` asks for — size confirmation, and **anything already decided and recorded**. That last one was the expensive one in the run: a decision settled at 14:07 was reopened at 14:29. Reopening a settled decision is not prudence; it makes the user decide twice and costs the flow their trust that a decision stays decided. Only new evidence contradicting the premise reopens it, and then the evidence leads, not the question.
|
|
1276
|
+
|
|
1277
|
+
**And when it did stop, the user could not tell where they were.** Seventeen stops, averaging ~1,500 characters and peaking at 2,580, and not one of them opened with the state: no ticket line, no phase, no "MR #2 of 7", no "one shipped, five waiting on it". The plan state appeared in 2 of 17, unprompted and late. Meanwhile four full stops were spent explaining that some subagents *had become free*. The reason is plain in hindsight: **no command said a single word about how to report.** They all specified what to do and what to write to the artifact; the audience of the stop itself was never specified, so each report opened on whatever detail was freshest in the agent's head — a rehydration method, a voter attribute map, a `§4.2` — for a reader who had read none of it.
|
|
1278
|
+
|
|
1279
|
+
The phase commands now share a **Reporting** preamble that fixes the shape of a stop before any prose: `<TICKET> · <size> · phase · MR #n of N`, the plan state read from `meta.json.mrs`, one line of what just finished, one line of what is needed — then **at most ~10 lines of body**, and only what could change a decision. Three rules come with it. **Narrating your own process** — mistakes made, subagent reports corrected, how `meta.json` was located — goes to the artifact, where it is useful later, and not into the stop. **Subagent idle/completion notices never earn a turn of their own**; they are absorbed into the next real stop. And the **zero-context rule**: write for someone who just sat down, so the first mention of a class, method or error code carries four to six words of what it is, and a section number is never cited without naming it.
|
|
1280
|
+
|
|
1281
|
+
Two places got the state treatment specifically, because they are where "how many are left" is actually lost: `plan` §6 now prints the execution as `Wave 1: #1 ∥ #2 → Wave 2: #3 → Wave 3: #4 ∥ #5` **before** the table (`∥` parallel, `→` waits for the merge) instead of leaving the user to decode two columns, and `work:resume` §2 gained the `MR/PRs:` and `Waves:` lines it never had — after a break, which one am I on and how many remain is the first thing gone.
|
|
1282
|
+
|
|
1283
|
+
**What deliberately still stops in `auto`**: the two per MR/PR from v0.25.0 — the **business brief** and all of **`ship`**. The brief now carries the full stop header, because in a 7-MR/PR work a brief with no "#3 of 7, two shipped" above it is unreadable, and those two stops are the only points where the user sees the work at all.
|
|
1284
|
+
|
|
1285
|
+
Mirrored across the opencode / Codex CLI / Gemini CLI adapters, with the questions adapted to plain numbered choices (no `AskUserQuestion` menu there). **No new `FLOW.md` keys** — the stop contract is not configurable, and the never-ask list is `autonomy.mode` finally being symmetric.
|
|
1286
|
+
|
|
1287
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.25.0...v0.26.0
|
|
1288
|
+
|
|
1289
|
+
## v0.25.0 — `auto` chains, and choosing `auto` is the commit authorization · 2026-07-30
|
|
1290
|
+
|
|
1291
|
+
**In short**
|
|
1292
|
+
- Every `## Close` ends with an autonomy handoff: `manual` proposes the next command, `guided`/`auto` chain into it.
|
|
1293
|
+
- `validate`, `bug:review` (XS/S) and `bug:postmortem` never chain into `ship`; nothing chains past a red gate.
|
|
1294
|
+
- `build` §2.2 / `fix` §2.1: `auto` commits WIP itself, `guided` asks once, `manual` asks per step.
|
|
1295
|
+
- `work:green` and `work:respond` commit the round in `guided`/`auto` and go straight to the push gate.
|
|
1296
|
+
- The business brief and all of `ship` still stop in `auto`; no new `FLOW.md` keys.
|
|
1297
|
+
|
|
1298
|
+
### An unattended mode that stopped at every phase boundary was never unattended
|
|
1299
|
+
The report: with `autonomy.mode: auto`, a build ended with *"nothing committed — the 5 files are in the working tree for you to validate first. When you want: commit and `/flow:feat:review`"*. Two stops in one sentence, in the mode whose whole promise is *"chaining phases without pausing"*. Nothing in the plugin had changed — both instructions were months old. What changed is which one wins when a prompt contradicts itself, and the flow contradicted itself in two places.
|
|
1300
|
+
|
|
1301
|
+
**A named next command is not a handoff.** The autonomy preamble, repeated at the top of all twelve phase commands, promised that `guided`/`auto` "chain into the recommended next command automatically". But only `feat:start` and `bug:start` said so in their closing section; the other ten closed with *"and next command: `/flow:feat:review`"* and nothing else. A closing line that merely **names** the next command is a specific instruction to stop, and a specific instruction beats a general preamble. So `auto` stalled at every phase boundary while claiming to chain. Every `## Close` now ends with an explicit **autonomy handoff**: `manual` stops and proposes the next command as a one-click confirmation (never leaving you to type it); `guided`/`auto` chain into it **in the same turn**. The exceptions are stated where they apply rather than left to inference — `validate`, `bug:review` (XS/S) and `bug:postmortem` never chain into `ship`, because pushing and opening the MR/PR is a hard gate in every mode, and nothing chains downstream of a red gate (blockers in review, red tests or unproven criteria in validate, unresolved `high` findings in design).
|
|
1302
|
+
|
|
1303
|
+
**Choosing `auto` *is* the commit authorization.** `build` §2.2 and `fix` §2.1 carried a *hard rule* with no exception per mode: the agent never commits on its own and **waits** for you at every step. Against `auto` that is not a preference, it is a contradiction — and it is the one the system rule (*never commit unless the user explicitly asks*) reinforces, so it won every time. The rule is now gated by the mode, with the authorization made explicit instead of assumed: `manual` — you decide per step, nothing is committed without your word; `guided` — asked **once** at the first step, then applied for the rest; `auto` — the agent commits each step's WIP and keeps going, because **setting `autonomy.mode: auto` and typing the command is the explicit ask**. Same reasoning that already made the commits in `ship` authorized (it is the command's stated purpose) and the `Workflow` fan-out opt-in valid (typing the command is the authorization). It covers **only** WIP commits on the work branch — push and MR/PR creation stay hard gates in every mode. `work:green` and `work:respond` follow suit: in `guided`/`auto` they commit the round and go straight to the push gate, instead of asking twice for the same round.
|
|
1304
|
+
|
|
1305
|
+
**What deliberately still stops in `auto`.** The **business brief** before any code is written (`build` §2, `fix` §2) — it is the last point where the scope can be corrected before there is a diff to argue with, and scope creep is invisible in code review once mixed into everything else. And all of `ship`. An `auto` run now goes from `start` to a validated branch without intervention, and ends where it always should have: asking whether to publish.
|
|
1306
|
+
|
|
1307
|
+
Mirrored across the opencode / Codex CLI / Gemini CLI adapters. No new `FLOW.md` keys — this is `autonomy.mode` finally doing what it already documented.
|
|
1308
|
+
|
|
1309
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.24.0...v0.25.0
|
|
1310
|
+
|
|
1311
|
+
## v0.24.0 — The contract crosses to the other repo, and green means a count · 2026-07-29
|
|
1312
|
+
|
|
1313
|
+
**In short**
|
|
1314
|
+
- `/flow:feat:ship` §6.3 publishes literal contracts for a `Known consumer` to the ticket, previewed in every mode.
|
|
1315
|
+
- `/flow:feat:start` §3.6 picks a published contract up into `01-context.md`; `design` carries it verbatim.
|
|
1316
|
+
- New `contract_handoff` per `meta.json.related_repos` entry (`none` / `pending` / `published → <location>`).
|
|
1317
|
+
- `build` §4 judges test runs by executed count and names, not exit code; zero or missing tests is a failure.
|
|
1318
|
+
- `build` §2.1 requires a reason for borrowed code; `design` §8 requires an evidence line before `stage_finding`.
|
|
1319
|
+
|
|
1320
|
+
### One epic, two repos, and four incidents that turned out to be two holes
|
|
1321
|
+
The case behind this release: an epic delivered across a backend and its MCP consumer, six MRs on an integration branch. Four things went wrong, and grouping them cut the list in half.
|
|
1322
|
+
|
|
1323
|
+
**The literal contracts never reached the other repo.** `related_repos` was already well wired — captured at `start`, refined at `design`, reminded at `ship`, surfaced by `daily`/`resume`/`status`. But it carried `{repo, scope, status}`: *that* a sibling has pending work, never *against what shape*. Meanwhile the contracts themselves live in `03-design.md`, inside **git-ignored** `.claude/work/`. So the most expensive artifact of the whole flow died with the session while the cheapest — `scope`, one line of prose — was the only half that crossed. The consuming repo then started from a ticket saying "expose an endpoint", and invented the routes, payload keys and error codes that had already been decided. `design` even had a **`Known consumer`** field for exactly this, and nothing read it.
|
|
1324
|
+
|
|
1325
|
+
Now the handoff is symmetric, because publishing without a reader fixes nothing. `/flow:feat:ship` §6.3 offers to publish the **literal** contracts — only the ones whose `Known consumer` names that sibling — to the anchor both sides already share: the tracker ticket (fallback to a versioned file when there is no tracker). Mandatory preview in **every** autonomy mode, like the MR/PR preview: it publishes prose the whole team reads. Acceptance criteria and ADRs deliberately do **not** cross — they are this repo's *how*, and in the sibling's ticket they bury what matters. On the receiving end, `/flow:feat:start` **§3.6** picks that block up into `01-context.md` as **received, not negotiable**, and `design` carries it in verbatim instead of re-deriving it. When a ticket points at another repo with *no* published contract, `start` now says so out loud — an absent contract is otherwise invisible, and what fills the silence is invention that reads like knowledge. New `contract_handoff` per entry in `meta.json.related_repos` (`none` / `pending` / `published → <location>`), so "never handed over" is something `status`/`daily`/`resume` show you rather than something you remember. `bug:ship` gets the same handoff for a fix that *changes* a consumed surface — worse than a new contract, since the sibling has working code and no reason to suspect the shape moved.
|
|
1326
|
+
|
|
1327
|
+
**The other three incidents were one failure wearing three hats: accepting a plausible signal as a verified one.** A test that never ran because the filter did not match. A `catch` copied from a neighbouring file without checking it applied. And two domain findings reported that turned out false once checked against `origin/master` and against the generated DQL. Three places where flow took the cheap signal:
|
|
1328
|
+
|
|
1329
|
+
- **Green is a count, not an exit code.** `build` §4 said "run them individually with `quality.test_one`" and trusted the exit status — but nearly every runner exits `0` when a filter matches nothing (`OK, 0 tests`, `No tests ran`). A typo, a renamed class or a test outside the filtered suite was indistinguishable from a pass, and *more* convincing than silence, because a command ran and succeeded. The run is now judged by the executed **count and names**: zero, or your new tests absent, is a failure. No count reported → drop the filter and run the whole file.
|
|
1330
|
+
- **Borrowed code carries its reason.** §2.0bis protected against pattern drift for *contracts* only, so a lifted `catch` fell outside the perimeter. `build` §2.1 now asks, for any structure taken from another file, what makes it apply *here* — the exception is actually thrown on this path, the guard's precondition can actually be false. If you cannot name it, do not copy it. Borrowed-and-plausible reads as deliberate, so a reviewer spends real attention before finding it was never chosen.
|
|
1331
|
+
- **Evidence before staging.** `design` §8 called `stage_finding` with no evidence requirement at all — odd, since §7 already made the *challenger* verify its findings. A finding is now staged with one line of evidence, and two rules on what counts: claims about the code are checked against `git.default_base`, **never a train/integration branch** (diffing against the parent shows your siblings' work as if it were the baseline), and claims about generated output are checked against the output **actually produced**, not predicted from reading the builder. No evidence line → the finding is withdrawn, not stored. An unverified finding is worse than none, because it gets believed.
|
|
1332
|
+
|
|
1333
|
+
Deliberately untouched: the `review` panel, which **caught** the two mistakes that got through. The lesson was to make detection cheaper upstream, not to thicken the net that already worked.
|
|
1334
|
+
|
|
1335
|
+
Mirrored across the opencode / Codex CLI / Gemini CLI adapters. **No new FLOW.md keys**, no new phase, no extra agent — one new `meta.json` field and one new numbered section.
|
|
1336
|
+
|
|
1337
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.23.0...v0.24.0
|
|
1338
|
+
|
|
1339
|
+
## v0.23.0 — The review panel runs whole, and a settled decision never fences off the reviewer · 2026-07-29
|
|
1340
|
+
|
|
1341
|
+
**In short**
|
|
1342
|
+
- `review` §3 and `validate` §2 performance triggers cover any repeated call leaving the process, not only the DB.
|
|
1343
|
+
- Reviewers are asked what each failed iteration sets off downstream (publishes, enqueues, disables, logs).
|
|
1344
|
+
- A settled decision is reviewer context, never a "do not report X" veto; same in `bug:review`, `respond`, `green`.
|
|
1345
|
+
- `review` §2.1 launches the panel as defined and records ran vs defined (`N/M`) in `06-review.md`.
|
|
1346
|
+
|
|
1347
|
+
### A full flow, a green suite, and a human reviewer still found four things
|
|
1348
|
+
The case that motivated this release: the whole flow ran on a read-time endpoint that called an external API **inside a loop** over up to 100 items, with a per-item `catch` that returned `null`. Suite green, static analysis clean, MR opened. A human reviewer then found four problems — three of them hanging off that same loop. Every failed iteration published a message to a queue *and* emitted an event that enqueued one job per item downstream; 100 sequential external calls in a synchronous request had no cap; and the generic `catch` swallowed all of it. Three fixes, none of which invents a new phase.
|
|
1349
|
+
|
|
1350
|
+
**Performance stopped meaning "database".** The reinforcement trigger in `review` §3 was literally *"DB / heavy queries"*, and `validate` §2's brief was a closed list of persistence patterns (N+1, indexes, unbounded queries, flush in a loop). A change that touches no database fell outside that vocabulary entirely. Both now cover **any repeated call that leaves the process** — external API, HTTP, cache, filesystem — and, more importantly, ask what **each failed iteration sets off downstream**: what it publishes, enqueues, disables or logs, and whether N failures multiply it. The cost of the happy path was never the whole question. Same widening in `design`'s performance pass, `bug:review` §3, and the `performance` role in `FLOW.template.md`.
|
|
1351
|
+
|
|
1352
|
+
**A decision already taken is context for the reviewer, never a scope exclusion.** §2.2 already warned against inheriting `03-design.md`'s rationalizations — but only for the artifact handed to reviewers. Nothing stopped the *conductor* from turning a design decision into a veto inside the agent's own prompt ("this cost is accepted, don't report it, look for something else"), which is the same pathology through the other door — and it silently excludes everything hanging off the vetoed topic. §2.2 now covers the briefs you write: *"X is decided — tell me what consequences it has that we have not seen"*, never *"do not report X"*. The rule reaches every place that briefs a reviewer — `bug:review` §2.1, `work:respond` §6.1, `work:green` §5 — and it is deliberately narrow: don't fence the reviewer off, not doubt everything.
|
|
1353
|
+
|
|
1354
|
+
**A panel that runs at 2-of-6 says so in the artifact.** `quality.review_skill` / `quality.reviewers` define a roster whose members own whole categories that the rest of the flow explicitly does not revisit — so a skipped reviewer is a category with no owner at all. `Agents launched:` was free text and never asked what *should* have run. §2.1 now says to launch the panel **as defined** — whole roster, no hand-picked subset, no substitutions — and the output field asks for **ran vs defined** (`N/M`, naming who did not run and why, and any substitution). A partial panel is now visible in `06-review.md`, before the MR/PR opens.
|
|
1355
|
+
|
|
1356
|
+
Mirrored across the opencode / Codex CLI / Gemini CLI adapters. **No new FLOW.md keys**, no new phase, no extra agent.
|
|
1357
|
+
|
|
1358
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.22.0...v0.23.0
|
|
1359
|
+
|
|
1360
|
+
## v0.22.0 — `/flow:work:green` means *mergeable*, not just a green pipeline · 2026-07-27
|
|
1361
|
+
|
|
1362
|
+
**In short**
|
|
1363
|
+
- `/flow:work:green` reads the forge's merge verdict (§2.1) as well as the pipeline (§2.2), every round.
|
|
1364
|
+
- `UNKNOWN`/`checking` mergeability is re-queried, never reported as "no conflicts".
|
|
1365
|
+
- New triage category C (conflict / behind base): `git merge` the base, resolve on the merits, regenerate artifacts.
|
|
1366
|
+
- New triage category H (human blocker): drafts, approvals and threads are named and routed, never worked around.
|
|
1367
|
+
- Integrating the base is a hard gate in every mode; `daily` flags unmergeable MR/PRs; `respond` nudges to `green`.
|
|
1368
|
+
|
|
1369
|
+
### A green pipeline on an MR you cannot merge, reported as "you're good to go"
|
|
1370
|
+
`/flow:work:green` only ever looked at the CI pipeline. So on an MR with **conflicts** it fetched the jobs, saw them green, and stopped — telling you everything was fine about a request that was impossible to merge. Conflicts, a branch behind base, a forgotten draft, missing approvals: none of it was in the command's field of view.
|
|
1371
|
+
|
|
1372
|
+
Now the command reads **both halves** of the state, every round:
|
|
1373
|
+
|
|
1374
|
+
- **The forge's own merge verdict** (§2.1) — `detailed_merge_status`, `has_conflicts`, `draft`, `blocking_discussions_resolved`, `approvals_left` on GitLab · `mergeable`, `mergeStateStatus`, `reviewDecision` on GitHub. `UNKNOWN`/`checking` is **not** an answer: both forges compute mergeability asynchronously, so it re-queries before concluding anything and never reports "no conflicts" from an unknown verdict.
|
|
1375
|
+
- **The pipeline** (§2.2) — unchanged: failing jobs, logs, blocking vs allowed-failure.
|
|
1376
|
+
|
|
1377
|
+
And it decides on the **combination**: pipeline green but blockers remaining is no longer "green, you're good" — it reports the green, lists the blockers, and keeps working.
|
|
1378
|
+
|
|
1379
|
+
Two new triage categories join lint/test/type/flaky/gate:
|
|
1380
|
+
|
|
1381
|
+
- **C — conflict / behind base.** Treated as a **code decision, not a git chore**: it merges the base into the branch (**default `git merge`** — no history rewrite, no force-push, review comments stay anchored; rebase only if you ask, with `--force-with-lease`) and resolves each conflict **on its merits**, reading what the base changed *and* what `03-design.md` intended. Generated artifacts (lockfiles, snapshots) get **regenerated**, not hand-edited. Then it verifies **wider than the conflict** — the full local gate — because a marker-free merge can still be semantically broken. Cannot resolve on the merits? `git merge --abort` and hand it back with the question.
|
|
1382
|
+
- **H — human blocker.** Draft, approvals missing, unresolved threads: **never worked around**. It names the blocker, says what is needed and from whom, and routes it (threads → `/flow:work:respond`). The closing summary lists the H blockers still standing.
|
|
1383
|
+
|
|
1384
|
+
**New hard gates**: integrating the base (any `merge`/`rebase` of the base branch, and any force-push it implies) always asks, in every mode. And green-washing now explicitly covers conflicts — no `--ours`/`--theirs` shortcut, no discarding the base's side to make the red go away.
|
|
1385
|
+
|
|
1386
|
+
- **`/flow:work:daily`** gained the same signal: an MR/PR that **cannot merge** is flagged separately from red CI, with the reason.
|
|
1387
|
+
- **`/flow:work:respond`** nudges toward `green` for conflicts too, not just a red pipeline.
|
|
1388
|
+
|
|
1389
|
+
Mirrored across the opencode / Codex CLI / Gemini CLI adapters. **No new FLOW.md keys.**
|
|
1390
|
+
|
|
1391
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.21.0...v0.22.0
|
|
1392
|
+
|
|
1393
|
+
## v0.21.0 — flow moves your tickets: in-progress on start, done on ship, won't-do on abandon · 2026-07-23
|
|
1394
|
+
|
|
1395
|
+
**In short**
|
|
1396
|
+
- New optional `tracker` keys: `start_cmd`, `done_cmd`, `abandon_cmd`, `assignee` (empty = nothing runs).
|
|
1397
|
+
- `start_cmd` runs on `feat:start`/`bug:start`; `done_cmd` when `phase` reaches `done`; `abandon_cmd` on `work:abandon`.
|
|
1398
|
+
- Transitions are best-effort and idempotent: ask in `manual`, run in `guided`/`auto`, warn and continue on failure.
|
|
1399
|
+
- `/flow:config` flags a redundant `done_cmd` on GitHub/GitLab; `/flow:init` offers Jira/Linear defaults.
|
|
1400
|
+
|
|
1401
|
+
### Tickets sat stale in the backlog while the work was already flowing
|
|
1402
|
+
flow read the tracker but never wrote to it, so the ticket stayed in "To Do" while you were mid-feature and stayed "open" after you shipped — you had to move it by hand, or it rotted. Now flow can drive the ticket's state through the work, keeping the plugin **stack-agnostic**: you give it the commands, it runs them.
|
|
1403
|
+
|
|
1404
|
+
New **optional** `tracker` keys in `FLOW.md` (empty = current behavior, nothing runs):
|
|
1405
|
+
|
|
1406
|
+
- `start_cmd` — run on `/flow:feat:start` & `/flow:bug:start` to move the ticket to **in progress** and assign it (`{TICKET}` and `{ASSIGNEE}` substituted).
|
|
1407
|
+
- `done_cmd` — run on ship **when the work actually completes** (`phase` reaches `done`, i.e. the completing MR/PR is merged) to move it to **done**. Tied to real completion, **not** to archiving the folder — so a shelved-but-not-shipped work never gets marked done.
|
|
1408
|
+
- `abandon_cmd` — run on `/flow:work:abandon` to move the ticket to **won't-do / cancelled**, never "done".
|
|
1409
|
+
- `assignee` — the tracker account for `{ASSIGNEE}` (falls back to `git.assignee`).
|
|
1410
|
+
|
|
1411
|
+
The three transitions are **best-effort, idempotent, and gated**: outward-facing, so they ask before running in `autonomy.mode: manual` and run automatically in `guided`/`auto`; a failure or an already-in-state ticket warns and continues — **never blocks** the flow. They only run in ticket mode with a real tracker id.
|
|
1412
|
+
|
|
1413
|
+
- **GitHub/GitLab leave `done_cmd` empty** — `Closes #N` in the MR/PR body already auto-closes the issue on merge; the transitions are for trackers that don't move from git (Jira, Linear). `/flow:config` flags the redundancy and other incoherences (transition set but `tool: none`, `{ASSIGNEE}` with no assignee).
|
|
1414
|
+
- **`/flow:init`** offers the transition commands with Jira/Linear defaults **only** when the tracker is `acli`/`linear`.
|
|
1415
|
+
|
|
1416
|
+
Mirrored across the opencode / Codex CLI / Gemini CLI adapters.
|
|
1417
|
+
|
|
1418
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.20.0...v0.21.0
|
|
1419
|
+
|
|
1420
|
+
## v0.20.0 — work folders carry a slug: you can tell them apart on disk · 2026-07-23
|
|
1421
|
+
|
|
1422
|
+
**In short**
|
|
1423
|
+
- Ticket-mode work folders are named `<TICKET>-<slug>` (e.g. `MT-1234-fix-login-validation`).
|
|
1424
|
+
- `meta.json` gains a `slug` field; `meta.json.ticket` stays the pure identifier.
|
|
1425
|
+
- Older `<TICKET>` folders keep working; `watch`, `status` and `abandon` glob/match instead of assuming the path.
|
|
1426
|
+
- `status` shows the title next to the ticket.
|
|
1427
|
+
|
|
1428
|
+
### `.claude/work/MT-1234/` told you nothing when you had five of them open
|
|
1429
|
+
In ticket mode the work folder was named just `<TICKET>` (`MT-1234`), so with several works in flight at once you couldn't tell which was which without opening each `meta.json`. Ticket-less works already had a readable slug; ticket mode didn't.
|
|
1430
|
+
|
|
1431
|
+
Now the folder is named `<TICKET>-<slug>` (e.g. `MT-1234-fix-login-validation`), reusing the **same** slug already derived for the branch — so branch and folder read alike. `meta.json` gains a `slug` field, and `meta.json.ticket` stays the **pure identifier** that feeds the tracker view, the issue link and `{TICKET}` in the branch — the id is never polluted with the slug.
|
|
1432
|
+
|
|
1433
|
+
- **`/flow:feat:start` & `/flow:bug:start`** — derive the slug once and name the directory `<TICKET>-<slug>` (ticket mode) or `<slug>` (ticket-less local-only). The "already exists" check globs both `<TICKET>/` and `<TICKET>-*/`.
|
|
1434
|
+
- **Backwards compatible** — works created before this are still named `<TICKET>` and keep working: every other command locates a work by matching `meta.json.branch`/`ticket`, not by the folder name. `/flow:work:watch`, `/flow:work:status` and `/flow:work:abandon` were adjusted to glob/match instead of assuming the exact `<TICKET>` path, and `status` now shows the title next to the ticket.
|
|
1435
|
+
|
|
1436
|
+
Docs/command-logic only — no new FLOW.md keys, still stack-agnostic. Mirrored across the opencode / Codex CLI / Gemini CLI adapters.
|
|
1437
|
+
|
|
1438
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.19.0...v0.20.0
|
|
1439
|
+
|
|
1440
|
+
## v0.19.0 — cross-repo scope: flow stops forgetting the other project · 2026-07-22
|
|
1441
|
+
|
|
1442
|
+
**In short**
|
|
1443
|
+
- New `related_repos` field in `meta.json` (`repo`, `scope`, `status`: `pending` / `in_progress` / `done`).
|
|
1444
|
+
- `feat:start` and `bug:start` ask once about cross-repo scope when signals point to another repo; silent otherwise.
|
|
1445
|
+
- `feat:design` and `feat:plan` refine the list; in ticket-less mode the affected repos go into the issue body.
|
|
1446
|
+
- `feat:ship`, `bug:ship`, `daily`, `resume` and `status` remind about non-`done` entries.
|
|
1447
|
+
|
|
1448
|
+
### The other repo fell off the map
|
|
1449
|
+
flow is **per-repo**: the `.claude/work/<TICKET>/` lives in the repo where you start. But plenty of tasks span two projects (a backend change plus its consumer, an API plus its client). Since the debate and the ticket usually start in one repo, the slice that belongs to the *other* repo was recorded **nowhere** — you'd `ship` the first part and the second was silently forgotten. `/flow:work:daily` (v0.17) was per-repo too, so it couldn't catch it either.
|
|
1450
|
+
|
|
1451
|
+
New `related_repos` field in `meta.json` (`[{ "repo", "scope", "status": "pending"|"in_progress"|"done" }]`), woven through the flow:
|
|
1452
|
+
|
|
1453
|
+
- **Capture** — `/flow:feat:start` and `/flow:bug:start` add a **Cross-repo scope** step: if signals point to another repo (the ticket names it, the conversation settles it), they ask once and record it. **Silent by default** — no signal, no question. `/flow:feat:design` and `/flow:feat:plan` refine the list when the design reveals a repo the conversation missed (a plan slice that lands in another repo goes to `related_repos`, not to this repo's `mrs`).
|
|
1454
|
+
- **Recorded in the ticket too** — in **ticket-less** mode, when flow drafts and creates the issue, the *repos affected* go in the issue body, so the multi-repo scope lives in the tracker for the whole team, not only in the local `meta.json`.
|
|
1455
|
+
- **Remind** — `/flow:feat:ship` and `/flow:bug:ship` call out any non-`done` entry after creating the MR/PR ("the `<repo>` part still needs `<scope>` → start the work there"). `/flow:work:daily`, `/flow:work:resume` and `/flow:work:status` surface them.
|
|
1456
|
+
|
|
1457
|
+
flow **only notes and reminds** — it never scans or touches the sibling repo (that would break the per-repo model). No new FLOW.md keys. Mirrored across the opencode / Codex CLI / Gemini CLI adapters.
|
|
1458
|
+
|
|
1459
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.18.0...v0.19.0
|
|
1460
|
+
|
|
1461
|
+
## v0.18.0 — `FLOW.md` is personal config: gitignore it, don't commit it · 2026-07-22
|
|
1462
|
+
|
|
1463
|
+
**In short**
|
|
1464
|
+
- `FLOW.md` is now documented as personal config, not team config.
|
|
1465
|
+
- `/flow:init` offers to add `FLOW.md` to `.gitignore` when it is not already ignored.
|
|
1466
|
+
- `FLOW.template.md` header and README say the same; committing a subset by hand remains possible.
|
|
1467
|
+
|
|
1468
|
+
### "Team config, not secrets" was only half right
|
|
1469
|
+
`FLOW.md` was documented as committable team config. But it mixes three different natures: **repo facts** (tracker, quality commands, conventions — genuinely shared), **your machine's environment** (`domain_memory.enabled`, which `agents.*` exist on *your* box, worktree paths), and **your flow tastes** (`autonomy.mode`, `assignee`, `review_depth`, per-command `notes`). Committing it as-is imposes one developer's preferences on everyone who clones and assumes their machine has the same tools installed — the same `FLOW.md` on another box can point at agents or an MCP that isn't there.
|
|
1470
|
+
|
|
1471
|
+
So `FLOW.md` is now treated as **personal config, not team config**:
|
|
1472
|
+
|
|
1473
|
+
- `/flow:init` no longer says "can be committed". It explains the file is personal, holds **no secrets**, and — if `FLOW.md` isn't already git-ignored — **offers to add it to `.gitignore`** (a confirmed edit, since it touches a tracked file).
|
|
1474
|
+
- The `FLOW.template.md` header and the README say the same, and point you to gitignore it.
|
|
1475
|
+
- Escape hatch preserved: a team that deliberately wants to share the repo-fact subset can still commit it by hand.
|
|
1476
|
+
|
|
1477
|
+
Documentation + `/flow:init` behavior only — no command logic or FLOW.md keys changed. Mirrored across the opencode / Codex CLI / Gemini CLI adapters.
|
|
1478
|
+
|
|
1479
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.17.1...v0.18.0
|
|
1480
|
+
|
|
1481
|
+
## v0.17.1 — `/flow:work:daily` stops nagging about threads you already answered · 2026-07-22
|
|
1482
|
+
|
|
1483
|
+
**In short**
|
|
1484
|
+
- `/flow:work:daily` flags a review thread only when the latest comment is not yours.
|
|
1485
|
+
- Threads you already answered move to an informational **Awaiting others** line, never to *Blockers*.
|
|
1486
|
+
- Threads are fetched per open MR/PR (`glab api …/discussions` · `gh api`) and compared against `git.assignee`.
|
|
1487
|
+
|
|
1488
|
+
### The signal was "unresolved", and it should have been "awaiting *you*"
|
|
1489
|
+
The first cut of `/flow:work:daily` flagged every **unresolved** review thread as *"go respond"*. But on both GitLab and GitHub a thread stays unresolved until the **reviewer** closes it — and `/flow:work:respond` **never resolves threads** by design (that call is the reviewer's). So a thread you already answered stays unresolved forever, and the daily kept telling you to respond to MRs you'd already handled. Real report from the field: `!9707` was fully answered, yet the briefing still put it under *"respond today"*.
|
|
1490
|
+
|
|
1491
|
+
The forge layer now keys off the right signal — **whose comment is last**:
|
|
1492
|
+
|
|
1493
|
+
- **Threads whose latest comment is *not* yours** (someone left you something unanswered) → the real `/flow:work:respond` signal, fetched per open MR/PR (`glab api …/discussions` · `gh api` review threads) and compared against `git.assignee` / `@me`.
|
|
1494
|
+
- **Threads you already answered** (unresolved, but the last word is yours — waiting on the reviewer) → moved to a separate **Awaiting others** line, **informational only**, never in *Blockers*. *Blockers* is now strictly what **you** must act on.
|
|
1495
|
+
|
|
1496
|
+
No new FLOW.md keys; a `patch`. Mirrored across the opencode / Codex CLI / Gemini CLI adapters.
|
|
1497
|
+
|
|
1498
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.17.0...v0.17.1
|
|
1499
|
+
|
|
1500
|
+
## v0.17.0 — `/flow:work:daily` — your work assistant (the Scrum-style standup) · 2026-07-22
|
|
1501
|
+
|
|
1502
|
+
**In short**
|
|
1503
|
+
- New `/flow:work:daily [question]`: read-only briefing from `.claude/work/`, the forge and the tracker.
|
|
1504
|
+
- No argument → yesterday · today · blockers plus suggested next commands; a question → answers just that.
|
|
1505
|
+
- Crosses sources into suggested commands: unstarted ticket → `feat:start`, red CI → `green`, threads → `respond`.
|
|
1506
|
+
- External sources are best-effort and degrade with a one-line note; marker in `~/.claude/flow/daily-last-seen`.
|
|
1507
|
+
|
|
1508
|
+
### The morning question the flow couldn't answer
|
|
1509
|
+
You come back the next day and ask *"what was I working on?"*. Until now the flow had two half-answers: `/flow:work:status` (a technical control table — phases, MRs, artifact↔git divergence) and `/flow:work:resume` (the current branch, one work). Neither is the thing you actually want in the morning — a **cross-cutting, narrative catch-up** — and, more importantly, **both are blind to everything outside `.claude/work/`**. A ticket assigned to you overnight, a priority bumped while you were heads-down, an MR/PR awaiting *your* review, a pipeline that went red — none of that lives locally, so the flow never surfaced it.
|
|
1510
|
+
|
|
1511
|
+
New `/flow:work:daily [question]` — read-only, cross-cutting, combining **three sources**:
|
|
1512
|
+
|
|
1513
|
+
- **Local** (`.claude/work/` + git): what you were on, what was left mid-way, ordered by recency.
|
|
1514
|
+
- **Forge** (via `git.cli`): your open MRs/PRs, the ones **awaiting your review**, **red CI**, and **unresolved threads**.
|
|
1515
|
+
- **Tracker** (via `tracker.tool`): tickets **assigned to you**, **priority changes**, status drift.
|
|
1516
|
+
|
|
1517
|
+
The value is where the sources **cross**, turned into concrete *suggested* commands (never auto-run): a ticket assigned to you with **no local work** → `/flow:feat:start`; a local work in `done` whose ticket is still open → a divergence to close; **red CI** → `/flow:work:green`; **open threads** → `/flow:work:respond`; a **raised priority** → a possible refocus.
|
|
1518
|
+
|
|
1519
|
+
- **No argument** → a three-block briefing (*yesterday · today · blockers*) + a short list of next commands.
|
|
1520
|
+
- **A question** (`/flow:work:daily what's left on the payment work?`) → answers just that, from the same sources.
|
|
1521
|
+
- **Every external source is best-effort**: if a CLI is missing/unauthenticated or slow, it degrades with a one-line note (`(forge unavailable: …)`) and **never blocks** — the same discipline the flow already applies to `domain-memory`.
|
|
1522
|
+
- **Read-only**, with a single documented exception: a `~/.claude/flow/daily-last-seen` marker (exactly like `/flow:news`) so *"since last session"* is precise across sessions.
|
|
1523
|
+
|
|
1524
|
+
**No new FLOW.md keys** — it reuses `tracker.tool`/`tracker.view`/`tracker.prefix` and `git.host`/`git.cli`/`git.assignee` the flow already needs. Scoped to the current repo (flow is per-repo). Mirrored across the opencode / Codex CLI / Gemini CLI adapters.
|
|
1525
|
+
|
|
1526
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.16.0...v0.17.0
|
|
1527
|
+
|
|
1528
|
+
## v0.16.0 — `/flow:work:respond` gets the full review ladder · 2026-07-21
|
|
1529
|
+
|
|
1530
|
+
**In short**
|
|
1531
|
+
- `/flow:work:respond` §6 runs the same review ladder as `/flow:feat:review`, scoped to the round's diff.
|
|
1532
|
+
- Trivial rounds keep the single `code-review` pass; non-trivial rounds run the depth ladder, YAGNI, idiom, contract.
|
|
1533
|
+
- The §5.5 idiom audit always runs when a round adds architectural pieces; §7 local gates run as well.
|
|
1534
|
+
- Lightweight mode (no `03-design.md`) skips §5 and judges YAGNI against the code itself.
|
|
1535
|
+
|
|
1536
|
+
### Closing the quality gap in the review loop
|
|
1537
|
+
`/flow:work:respond` implements code changes agreed in an MR/PR review round, but its quality gate was a **single** built-in `code-review` (or `review_skill`) pass — a fraction of what `/flow:feat:review` runs. So the exact place where a wrong primitive or an over-engineered mechanism slips in under pressure ("just extract it to a class to answer the comment") had the **weakest** gate in the whole flow, and the result went straight into an MR/PR already under human eyes — producing the *next* round of comments instead of closing the thread. The risk was inverted: highest-risk edits, flimsiest check.
|
|
1538
|
+
|
|
1539
|
+
`respond §6` now runs the **same ladder as `/flow:feat:review`**, scoped to the round's diff:
|
|
1540
|
+
|
|
1541
|
+
- **Trivial rounds** (nitpicks only, no new classes/wiring) keep the single `code-review` pass — no added latency.
|
|
1542
|
+
- **Non-trivial rounds** run the review machinery scoped to the round: the **§2.0 depth ladder** (effort by size + sensitive-surface bump, panel when selected), the **§4 over-engineering / YAGNI audit**, the **§5.5 idiom / primitive audit (blind to the design's rationale)** — the two that catch exactly this loop's failure mode, with §5.5 **always** running when the round introduces new architectural pieces regardless of size — the **§5 contract check**, and the **§7 local gates** (`style_fix` / `static_analysis` / `test_one`).
|
|
1543
|
+
- **Lightweight mode** (no `03-design.md`) degrades cleanly: §5 is skipped, §4 judges YAGNI against the code itself, and §5.5 runs unchanged (it needs no artifact). A blocker fix that reopens the debated approach loops back to §4 to re-agree the stance before editing again, instead of silently re-patching.
|
|
1544
|
+
|
|
1545
|
+
**No new FLOW.md keys** — it reuses the `quality.*` and `agents` keys the flow already needs. Mirrored across the opencode / Codex CLI / Gemini CLI adapters.
|
|
1546
|
+
|
|
1547
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.15.0...v0.16.0
|
|
1548
|
+
|
|
1549
|
+
## v0.15.0 — `/flow:work:green` — the CI-green loop between ship and merge · 2026-07-20
|
|
1550
|
+
|
|
1551
|
+
**In short**
|
|
1552
|
+
- New `/flow:work:green [mr-iid-or-url]`: fetches the failing pipeline jobs and logs via `git.cli`.
|
|
1553
|
+
- Triages each job (lint · test · type/build · flaky/infra · quality gate) and fixes at the root, reproducing locally.
|
|
1554
|
+
- Never green-washes: no blind reruns, no disabled checks; hard gates on every push and rerun; logs to `09-ci.md`.
|
|
1555
|
+
- `respond` nudges you to run `green` first when CI is red.
|
|
1556
|
+
- Code-writing commands add comments only for a non-obvious why; ticket IDs and MR numbers never go in comments.
|
|
1557
|
+
|
|
1558
|
+
### The pipeline half of the between-ship-and-merge window
|
|
1559
|
+
`/flow:work:respond` covered the **human** signal in an open MR/PR (review threads). But the same window carries a **machine** signal `respond` never touched: the CI pipeline going **red** — lint, tests, type-check, build. A red pipeline can happen with **zero** review comments (where `respond` just stops), and green is usually a *precondition* for review anyway. Different signal, different loop.
|
|
1560
|
+
|
|
1561
|
+
New `/flow:work:green [mr-iid-or-url]`:
|
|
1562
|
+
|
|
1563
|
+
- **Fetch** the latest pipeline for the branch/MR and its failing jobs + logs via `git.cli` (`glab ci` / `gh pr checks` + `gh run view --log-failed`).
|
|
1564
|
+
- **Triage** each job into lint/style · test failure · type/build · flaky/infra · quality-gate, pulling the recorded design "why" so a test failing on the *old* behavior is told apart from a real regression.
|
|
1565
|
+
- **Fix at the root** — delegating to the flow's `agents`, reproducing locally with your `quality.*` commands (`style_fix`/`test`/`static_analysis`…) so it does not burn CI cycles, with the review gate on non-trivial diffs.
|
|
1566
|
+
- **Hard gates** on every push and rerun, plus the cardinal rule: it **never green-washes** — no blind reruns, no disabling/skipping a check or loosening a threshold to force green. That is the machine analog of `respond` never resolving a thread: a green must mean the code is actually correct.
|
|
1567
|
+
|
|
1568
|
+
Cross-cutting (feat or bug), repeatable, logged to `09-ci.md`; does not advance `meta.json.phase`. `respond` now glances at the pipeline and nudges you to run `green` first when CI is red. **No new FLOW.md keys** — it reuses `git.*`, `quality.*`, `agents`, `autonomy.mode`, `domain_memory.*`. Mirrored across the opencode / Codex CLI / Gemini CLI adapters.
|
|
1569
|
+
|
|
1570
|
+
### Comment discipline when writing code
|
|
1571
|
+
The code-writing commands (`/flow:feat:build`, `/flow:bug:fix`, and now `/flow:work:green` / `/flow:work:respond`) now carry an explicit rule: add a comment only for a non-obvious *why* (a constraint, the reason for a workaround, a subtle invariant), never to narrate what the code already says, matching the surrounding file's comment density. And the ticket ID, task/step number, or "for MR #N" **never** go into a code comment — that traceability belongs in the commit, branch and MR/PR, where it stays accurate, not in the source, where it rots. Stated as a principle in the work README and enforced at each editing step. Mirrored across the adapters.
|
|
1572
|
+
|
|
1573
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.14.0...v0.15.0
|
|
1574
|
+
|
|
1575
|
+
## v0.14.0 — per-MR/PR review/validate gate (train shortcut closed) · 2026-07-17
|
|
1576
|
+
|
|
1577
|
+
**In short**
|
|
1578
|
+
- Each `mrs[]` entry carries its own `phases_done`; `build`, `review` and `validate` record into the current entry.
|
|
1579
|
+
- `/flow:feat:ship` §1 gates on the current MR/PR's own `phases_done` when the work has several MR/PRs.
|
|
1580
|
+
- `/flow:feat:plan` seeds every entry with `phases_done: []`; hot-cuts in `build` §2.3 do the same.
|
|
1581
|
+
- Single-MR/PR works and the whole bug flow are unaffected.
|
|
1582
|
+
|
|
1583
|
+
### The ship gate is now per-MR/PR, not per-work
|
|
1584
|
+
`/flow:feat:ship` refused to publish unless `review` (and, above `XS`, `validate`) had run — but it checked the **work-level** `phases_done`, a single list per ticket. In a multi-MR/PR feature that list accumulates and never resets, so once the **first** MR/PR completed review/validate the gate passed **for free** on every later MR/PR. A train MR/PR could ship unreviewed just because an earlier sibling had been reviewed — precisely the shortcut the flow exists to prevent, and it bit exactly on the MR/PR that carried a defect.
|
|
1585
|
+
|
|
1586
|
+
Now each `mrs[]` entry carries its **own** `phases_done`:
|
|
1587
|
+
|
|
1588
|
+
- `/flow:feat:build`, `/flow:feat:review` and `/flow:feat:validate` record `build`/`review`/`validate` into the **current `in_progress` MR/PR's** entry, and their pre-flights require the previous phase on **that** entry.
|
|
1589
|
+
- `/flow:feat:ship §1` gates on the current MR/PR's own `phases_done` when the work has more than one MR/PR — a sibling's review no longer satisfies it.
|
|
1590
|
+
- `/flow:feat:plan` seeds every entry with `phases_done: []`; a hot-cut in `/flow:feat:build §2.3` inserts the new entry the same way.
|
|
1591
|
+
|
|
1592
|
+
Single-MR/PR works (all `XS`/`S`, and the whole `bug` flow) are unaffected — they keep using the work-level list.
|
|
1593
|
+
|
|
1594
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.13.0...v0.14.0
|
|
1595
|
+
|
|
1596
|
+
## v0.13.0 — ticket-less start + `/flow:news` · 2026-07-17
|
|
1597
|
+
|
|
1598
|
+
**In short**
|
|
1599
|
+
- `feat:start` and `bug:start` take an optional argument; with none they draft the work from the conversation.
|
|
1600
|
+
- The draft can create the real tracker issue (always asks); otherwise the work proceeds local-only with a slug.
|
|
1601
|
+
- New `/flow:news` prints changelog entries since your last version (`vX.Y.Z`, `N`, `all`); marker in `~/.claude/flow/`.
|
|
1602
|
+
- New SessionStart hook `notify-update.sh` nudges once after a plugin version change.
|
|
1603
|
+
- `plugin.json` gains `homepage`/`repository`; `CHANGELOG.md` ships with the plugin.
|
|
1604
|
+
|
|
1605
|
+
### `start` from a conversation, no ticket required
|
|
1606
|
+
`/flow:feat:start` and `/flow:bug:start` now take an **optional** argument. Run them with **no argument** and, instead of stopping to demand a ticket, they synthesize the work from the conversation you just had — the same way `ship` builds the MR/PR body from the work log:
|
|
1607
|
+
|
|
1608
|
+
- **feat** distils title, summary, provisional acceptance criteria, the decisions you already closed while talking, and an estimated size.
|
|
1609
|
+
- **bug** distils the symptom, severity/environment, reproduction, initial clues, and what you already found together investigating.
|
|
1610
|
+
|
|
1611
|
+
You confirm the draft, a slug becomes the work identifier, and it **offers to create the real tracker issue** from the draft (always asks — outward-facing, like the MR/PR gate). Decline, or no tracker configured → it proceeds local-only with the slug. Passing an identifier keeps the classic behavior unchanged.
|
|
1612
|
+
|
|
1613
|
+
Mirrored across the opencode / Codex CLI / Gemini CLI adapters.
|
|
1614
|
+
|
|
1615
|
+
### `/flow:news` — what changed since your version
|
|
1616
|
+
New command that reads this bundled changelog and prints everything new between the version you were last on and the installed one (jump three versions → see all three). No args → the delta since you last ran it; `vX.Y.Z` → since that version; `N` → the last N entries; `all` → the lot. It tracks your "last seen" version in `~/.claude/flow/news-last-seen`.
|
|
1617
|
+
|
|
1618
|
+
A **SessionStart hook** (`notify-update.sh`) also surfaces a one-line nudge the first session after the plugin version changes, so you know to run `/flow:news`. It uses a separate marker and never eats the delta. Mirrored to the opencode / Codex CLI / Gemini CLI adapters as a pull-only command (they read the changelog `install.sh` drops in `~/.claude/flow/`; the auto-nudge is Claude Code-only).
|
|
1619
|
+
|
|
1620
|
+
### Discoverability
|
|
1621
|
+
`plugin.json` now carries `homepage`/`repository`, and this `CHANGELOG.md` ships with the plugin — so users updating from the marketplace have a path to the notes.
|
|
1622
|
+
|
|
1623
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.12.0...v0.13.0
|
|
1624
|
+
|
|
1625
|
+
## v0.12.0 — review effort ladder scales to xhigh/max by size + risk · 2026-07-17
|
|
1626
|
+
|
|
1627
|
+
**In short**
|
|
1628
|
+
- `feat/review.md` and `bug/review.md` §2.0 use the full ladder `low < medium < high < xhigh < max`.
|
|
1629
|
+
- Base by size: XS `medium`, S `high`, M `high`, L `xhigh`; `full` mode bumps `high → xhigh`.
|
|
1630
|
+
- Sensitive surfaces raise one tier and force the panel: S/M sensitive at `xhigh`, L sensitive at `max`.
|
|
1631
|
+
- The review output records the effort used; adapters phrase it as the maximum thoroughness the tool supports.
|
|
1632
|
+
|
|
1633
|
+
### Review effort scales to `xhigh`/`max` for the riskiest work
|
|
1634
|
+
|
|
1635
|
+
The size-scaled review (`§2.0`) capped the built-in `code-review` at `high`, leaving the two most thorough tiers unused. Now **risk — not just line count — buys the most thorough pass**.
|
|
1636
|
+
|
|
1637
|
+
#### Canonical (Claude Code)
|
|
1638
|
+
`feat/review.md` and `bug/review.md` §2.0 use the full ladder `low < medium < high < xhigh < max`:
|
|
1639
|
+
|
|
1640
|
+
- Base by size: XS `medium`, S `high`, M `high`, **L `xhigh`** (was `high`).
|
|
1641
|
+
- **Sensitive-surface bump** (auth/authorization, secrets, payments/billing, personal/sensitive data, public API/contract shape, DB migration): raise one tier and force the panel → S/M sensitive at **`xhigh`**, **L sensitive at `max`**.
|
|
1642
|
+
- `full` mode bumps `high → xhigh`.
|
|
1643
|
+
- The review output records the effort used, for traceability.
|
|
1644
|
+
|
|
1645
|
+
#### Adapters (opencode / Gemini CLI / Codex CLI)
|
|
1646
|
+
Stay stack-agnostic: the flat "high effort" becomes *"escalated to the maximum thoroughness the tool supports for L-sized or sensitive-surface work"* — no Claude-specific flag names. Same graceful-degradation pattern as `work:watch`.
|
|
1647
|
+
|
|
1648
|
+
#### Notes
|
|
1649
|
+
- No new `FLOW.md` keys — only the semantics of `review_depth` are enriched (documented in `FLOW.template.md`).
|
|
1650
|
+
- The §6 adversarial verification is unchanged.
|
|
1651
|
+
|
|
1652
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.11.0...v0.12.0
|
|
1653
|
+
|
|
1654
|
+
## v0.11.0 — /flow:work:respond, the review loop between ship and merge · 2026-07-17
|
|
1655
|
+
|
|
1656
|
+
**In short**
|
|
1657
|
+
- New `/flow:work:respond [mr-iid-or-url]`: fetches open review threads via `gh`/`glab`.
|
|
1658
|
+
- Triages each thread (question · nitpick · change request · design debate · out-of-scope · obsolete) and debates it.
|
|
1659
|
+
- Implements agreed changes with `build`/`fix` mechanics; hard gates on every post and push; never resolves a thread.
|
|
1660
|
+
- Repeatable per review round, logged to `08-feedback.md`; no new `FLOW.md` keys.
|
|
1661
|
+
|
|
1662
|
+
### `/flow:work:respond` — the review loop between `ship` and `merge`
|
|
1663
|
+
|
|
1664
|
+
The flow ended at `:ship` (open the MR/PR). This release adds the phase that was missing: the MR/PR is open, reviewers comment, a discussion happens on the code, and only after agreement do you decide whether to change something, defer it, or hold your ground.
|
|
1665
|
+
|
|
1666
|
+
`/flow:work:respond [mr-iid-or-url]` runs that round:
|
|
1667
|
+
|
|
1668
|
+
- **Fetches** the open threads via `gh`/`glab` (host-agnostic).
|
|
1669
|
+
- **Triages** each: question · nitpick · change request · design debate · out-of-scope · obsolete.
|
|
1670
|
+
- **Debates** with a reasoned position per thread, grounded in the rationale the flow already recorded (`03-design.md` ADR-light + `domain-memory`) instead of re-deriving it.
|
|
1671
|
+
- **Implements** the agreed changes reusing `build`/`fix` mechanics (with the review gate for non-trivial diffs).
|
|
1672
|
+
- **Replies** — hard gates on every posting and push, and it **never resolves a thread** (the reviewer's call).
|
|
1673
|
+
|
|
1674
|
+
Cross-cutting (feat and bug), repeatable (one run per review round), logged to `08-feedback.md`. No new `FLOW.md` keys — reuses `git.*`, `tracker.*`, `quality.review_skill`, `autonomy.mode`, `domain_memory.*`. Ships the canonical command plus faithful opencode / codex / gemini adapters.
|
|
1675
|
+
|
|
1676
|
+
**Full changelog**: https://github.com/mashware/flow-workflows/compare/v0.10.0...v0.11.0
|
|
1677
|
+
|
|
1678
|
+
## v0.10.0 — plan waves, MR-body ref hygiene, review idiom audit · 2026-07-13
|
|
1679
|
+
|
|
1680
|
+
**In short**
|
|
1681
|
+
- `/feat:plan` numbers steps in topological wave order, so `n` is execution order.
|
|
1682
|
+
- MR/PR bodies never emit the plan's `#n` (no more `#5 (closed)` auto-links).
|
|
1683
|
+
- `/feat:review` §5.5 adds a blind idiom/primitive audit; reviewers are de-anchored from design rationale.
|
|
1684
|
+
|
|
1685
|
+
topological wave numbering in `/feat:plan` (`n` is execution order, no more "start at #5"); never emit the plan's `#n` in MR/PR bodies (kills the `#5 (closed)` auto-link); blind idiom/primitive audit in `/feat:review` §5.5 + de-anchoring of reviewers from design rationale. Merged via #11.
|
|
1686
|
+
|
|
1687
|
+
## v0.9.0 — manual-mode one-click handoff + autonomy for codex/gemini · 2026-07-08
|
|
1688
|
+
|
|
1689
|
+
**In short**
|
|
1690
|
+
- Manual mode hands off each step as a one-click confirmation.
|
|
1691
|
+
- Autonomy modes ported to the codex and gemini adapters.
|
|
1692
|
+
- Merged via #10.
|
|
1693
|
+
|
|
1694
|
+
manual-mode one-click step handoff; autonomy ported to codex/gemini adapters. Merged via #10.
|
|
1695
|
+
|
|
1696
|
+
## v0.8.0 — the `flow` prefix · 2026-07-06
|
|
1697
|
+
|
|
1698
|
+
**In short**
|
|
1699
|
+
- Every command lives under the `flow` prefix: `/flow:feat:start`, `/flow-feat-start` (opencode/Codex), Gemini nested.
|
|
1700
|
+
- 67 adapter command files renamed; cross-references, README tables, `install.sh`, `PRIMITIVES.md`, `AGENTS.md` updated.
|
|
1701
|
+
- 188 internal cross-references in the plugin normalized to `/flow:*`.
|
|
1702
|
+
- Breaking for adapter users: `/feat-start` and `/feat:start` no longer exist.
|
|
1703
|
+
|
|
1704
|
+
Every command across the Claude Code plugin **and** the three adapters now lives under a single `flow` prefix, so typing `/flow` lists them all. Naming is mechanically derivable from Claude Code.
|
|
1705
|
+
|
|
1706
|
+
| Claude Code | opencode / Codex | Gemini CLI |
|
|
1707
|
+
|---|---|---|
|
|
1708
|
+
| `/flow:feat:start` | `/flow-feat-start` | `/flow:feat:start` |
|
|
1709
|
+
| `/flow:work:status` | `/flow-work-status` | `/flow:work:status` |
|
|
1710
|
+
| `/flow:save-knowledge` | `/flow-save-knowledge` | `/flow:save-knowledge` |
|
|
1711
|
+
| `/flow:init` | `/flow-init` | `/flow:init` |
|
|
1712
|
+
|
|
1713
|
+
#### Changes
|
|
1714
|
+
- **Adapters (#8)** — renamed 67 command files; opencode/Codex re-prefixed (`:` → `-`), Gemini nested under `flow/` (directory → `:` namespace) so it's now identical to Claude Code. Updated every cross-reference, README table, tree diagram, `install.sh` banner, `PRIMITIVES.md` and `AGENTS.md`.
|
|
1715
|
+
- **Plugin + docs (#9)** — fixed the root README per-tool syntax, and normalized 188 internal cross-references in the canonical plugin (which mixed `/flow:bug:diagnose` with bare `/feat:build`) to `/flow:*`.
|
|
1716
|
+
|
|
1717
|
+
#### Result
|
|
1718
|
+
Plugin, adapters and docs all agree on every command name. Zero un-prefixed or double-prefixed references remain.
|
|
1719
|
+
|
|
1720
|
+
> ⚠️ Breaking for adapter users: old invocations (`/feat-start`, `/feat:start`) no longer exist — use the `flow`-prefixed names above.
|
|
1721
|
+
|
|
1722
|
+
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
|
1723
|
+
|
|
1724
|
+
## v0.2.0 — GitLab/GitHub issues as selectable trackers · 2026-06-23
|
|
1725
|
+
|
|
1726
|
+
**In short**
|
|
1727
|
+
- GitLab issues are a selectable tracker (`tracker.tool: glab`), alongside Jira, GitHub issues and Linear.
|
|
1728
|
+
- `/flow:init` offers trackers without preselecting and auto-fills `tracker.view_cmd`, warning if the CLI is absent.
|
|
1729
|
+
- `FLOW.template.md` documents per-tool `view_cmd` examples.
|
|
1730
|
+
|
|
1731
|
+
First tagged release of the **flow** plugin.
|
|
1732
|
+
|
|
1733
|
+
### What's new in 0.2.0
|
|
1734
|
+
- **GitLab issues** added as a first-class, selectable task tracker (`tracker.tool: glab`), alongside Jira (`acli`), GitHub issues (`gh`) and Linear.
|
|
1735
|
+
- `/flow:init` now offers the tracker options **without preselecting** (the git host does not determine the tracker — a GitLab repo may still track in Jira) and auto-fills `tracker.view_cmd` from the chosen tool, warning if the `gh`/`glab` CLI is missing.
|
|
1736
|
+
- `FLOW.template.md` documents per-tool `view_cmd` examples.
|
|
1737
|
+
|
|
1738
|
+
Tracker integration stays **read-only and symmetric with Jira**: the flow reads the ticket at start; you create/assign issues yourself.
|
|
1739
|
+
|
|
1740
|
+
### How to upgrade
|
|
1741
|
+
- **Claude Code plugin**: update `flow` from the plugin manager (`/plugin`). Your repo's `FLOW.md` is untouched.
|
|
1742
|
+
- **Adapters (opencode/gemini/codex)**: pull and re-run `adapters/install.sh`.
|
|
1743
|
+
|
|
1744
|
+
To switch a project to GitLab: set `tracker.tool: glab` and `tracker.view_cmd: glab issue view {TICKET}` in its `FLOW.md` (or re-run `/flow:init`).
|