flow-workflows 0.103.0 → 0.105.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/adapters/codex/CORE.md +102 -37
- package/adapters/codex/skills/flow-bug-validate/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-ship/SKILL.md +6 -4
- package/adapters/codex/skills/flow-feat-start/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-validate/SKILL.md +4 -1
- package/adapters/codex/skills/flow-init/SKILL.md +1 -1
- package/adapters/codex/skills/flow-next/SKILL.md +2 -2
- package/adapters/codex/skills/flow-work-README/SKILL.md +2 -2
- package/adapters/codex/skills/flow-work-daily/SKILL.md +5 -3
- package/adapters/codex/skills/flow-work-resume/SKILL.md +1 -1
- package/adapters/gemini/CORE.md +102 -37
- package/adapters/gemini/commands/flow/bug/validate.toml +1 -1
- package/adapters/gemini/commands/flow/feat/ship.toml +6 -4
- package/adapters/gemini/commands/flow/feat/start.toml +1 -1
- package/adapters/gemini/commands/flow/feat/validate.toml +4 -1
- package/adapters/gemini/commands/flow/init.toml +1 -1
- package/adapters/gemini/commands/flow/next.toml +2 -2
- package/adapters/gemini/commands/flow/work/README.toml +2 -2
- package/adapters/gemini/commands/flow/work/daily.toml +5 -3
- package/adapters/gemini/commands/flow/work/resume.toml +1 -1
- package/adapters/hermes/CORE.md +102 -37
- package/adapters/hermes/skills/flow-bug-validate/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-ship/SKILL.md +6 -4
- package/adapters/hermes/skills/flow-feat-start/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-validate/SKILL.md +4 -1
- package/adapters/hermes/skills/flow-init/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-next/SKILL.md +2 -2
- package/adapters/hermes/skills/flow-work-README/SKILL.md +2 -2
- package/adapters/hermes/skills/flow-work-daily/SKILL.md +5 -3
- package/adapters/hermes/skills/flow-work-resume/SKILL.md +1 -1
- package/adapters/opencode/CORE.md +102 -37
- package/adapters/opencode/commands/flow-bug-validate.md +1 -1
- package/adapters/opencode/commands/flow-feat-ship.md +6 -4
- package/adapters/opencode/commands/flow-feat-start.md +1 -1
- package/adapters/opencode/commands/flow-feat-validate.md +4 -1
- package/adapters/opencode/commands/flow-init.md +1 -1
- package/adapters/opencode/commands/flow-next.md +2 -2
- package/adapters/opencode/commands/flow-work-README.md +2 -2
- package/adapters/opencode/commands/flow-work-daily.md +5 -3
- package/adapters/opencode/commands/flow-work-resume.md +1 -1
- package/package.json +1 -1
- package/plugins/flow/.claude-plugin/plugin.json +1 -1
- package/plugins/flow/CHANGELOG.md +41 -0
- package/plugins/flow/examples/FLOW.template.md +9 -6
|
@@ -16,7 +16,7 @@ Every `/flow-*` command assumes these rules. They are stated once, here, so a co
|
|
|
16
16
|
carries what is specific to its phase. Read this once per session; a command that says "load
|
|
17
17
|
`flow-core`" means this file.
|
|
18
18
|
|
|
19
|
-
**This file belongs to flow `0.
|
|
19
|
+
**This file belongs to flow `0.105.0`.** Compare it once, at the start of the session, against
|
|
20
20
|
`version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
|
|
21
21
|
is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
|
|
22
22
|
— which is exactly what happens when a branch or a release candidate is loaded over an installed
|
|
@@ -425,7 +425,7 @@ person asking for changes, a ticket that already has code — is `/flow-work-run
|
|
|
425
425
|
| Writing a DB schema change, index or migration — in any phase, a review's own fixes included — or applying one (`validate`) | question `migration`, before the first line of it is written or run — except in `respond` and `green`, where it is blocked: a schema change agreed after the MR/PR exists goes back through `build`. Writing one whose every object `approved-schema.md` lists is not asked (§2, a schema approved with the study) |
|
|
426
426
|
| `review` with blockers or high-severity findings | question `high_findings` |
|
|
427
427
|
| `validate` with a criterion `unproven` | blocked — the phase does not advance and does not chain |
|
|
428
|
-
| `validate` with a red suite | **One exception, and it is measured, never judged**: every failing test also fails, under the same name, on the base (`git merge-base HEAD <git.default_base>`, run in a detached worktree), none of them lives in a file this diff touches, and none is the test that proves an acceptance criterion. **The base runs the way HEAD went red**: the same command (the whole suite when the whole suite went red, never the failing file alone), and a test that is red in the whole suite but green on its own is load- or order-dependent, so one run on each side proves nothing — run the whole suite three times on HEAD and three on the base, and write each side's red count and that test's duration in every run. Red on the base as often as on HEAD → the exception holds. Green on the base and red on HEAD, even once in three → this diff made it, whatever a single base run said; its repair step says so, with both sides' counts and how much slower the failing runs were, and the fix is what this diff adds under concurrency (a lock, a pool, a timer, a background loop), never a longer timeout or a retry → record `{"key":"unattended:validate-
|
|
428
|
+
| `validate` with a red suite | **One exception, and it is measured, never judged**: every failing test also fails, under the same name, on the base (`git merge-base HEAD <git.default_base>`, run in a detached worktree), none of them lives in a file this diff touches, and none is the test that proves an acceptance criterion. **The base runs the way HEAD went red**: the same command (the whole suite when the whole suite went red, never the failing file alone), and a test that is red in the whole suite but green on its own is load- or order-dependent, so one run on each side proves nothing — run the whole suite three times on HEAD and three on the base, and write each side's red count and that test's duration in every run. Red on the base as often as on HEAD → the exception holds: record `{"key":"unattended:validate-red-base","default":"<n> red on HEAD and on base <short sha>: <test names>","phase":"validate"}` and advance; `ship` lists those tests under "Not verified — needs a human". Green on the base and red on HEAD, even once in three → this diff made it, whatever a single base run said (a suspect flake, below, gets five more runs first); its repair step says so, with both sides' counts and how much slower the failing runs were, and the fix is what this diff adds under concurrency (a lock, a pool, a timer, a background loop), never a longer timeout or a retry. **A suspect flake is measured again before it is blamed**: a test red in exactly one of HEAD's three runs (the run that first went red is not one of them), in none of the base's, in a file this diff does not touch, green when run on its own, and not the test that proves an acceptance criterion. When at least one test is red in HEAD's three runs and every such test is one, run the whole suite five more times on HEAD — not on the base, whose three runs already said 0 — and write each run's red tests and the suspects' durations. Nothing red in any of the five → record `{"key":"unattended:validate-flaky","default":"<test name>: red 1/3 then 0/5 on HEAD, 0/3 on base <short sha>","phase":"validate"}` per test and advance; `ship` lists them under "Not verified — needs a human". Anything red in the five, or a red test that is not a suspect → this diff made it, and the repair rounds below follow: every red test, suspects included, goes to the repair rounds and counts in their `<n>`. The five runs are only ever more runs: a test is never rerun alone in their place, retried, skipped or loosened. Short of the exception and of a flake that held, **repair rounds while they make progress, at most three per MR/PR**: each round is a heading under this MR/PR's plan (`05-implementation.md` / `04-fix.md`), `### Red suite at validate (unattended), round <k>: <n> red`. No such heading yet, or the last one's `<n>` above the count red now and `<k>` below 3 → write the next heading with one unticked step per failing test (its name and the first line of its failure), each ending *fix the code, or update an assertion whose expected value this MR/PR's design or fix changed — never delete, skip or loosen a test*; record `{"key":"unattended:validate-red-loop","default":"round <k>, <n> red: <test names>","phase":"validate"}`, leave `phase = build` (`fix`) and chain into `/flow-feat-build` (`/flow-bug-fix`) — whose steps then run through the phases that follow it as always, review and validate included. A review of that round treats a test the round deleted, skipped or loosened as a blocker. A round that did not lower the count, or a third round still red → blocked, naming the tests still red and the count each round left |
|
|
429
429
|
| A product decision (§7 `decision`) | question `decision` |
|
|
430
430
|
| Clarifying questions on the ticket (`start`) | question `clarify` — after the branch and the work folder exist, with the questions also written to `01-context.md` |
|
|
431
431
|
| An unanswered high-severity challenge (`design`, `investigate`) | question `design_challenge` / `investigation_challenge` |
|
|
@@ -1291,55 +1291,120 @@ advisory is the one that returns tidier, shorter, worse code — and it returns
|
|
|
1291
1291
|
|
|
1292
1292
|
A ticket is the largest thing a work knows about: it splits into MRs/PRs (`04-mr-plan.md`), and
|
|
1293
1293
|
nothing sits above it. A project that is being built in phases usually keeps that plan in a markdown
|
|
1294
|
-
file — phases, milestones,
|
|
1295
|
-
|
|
1296
|
-
what an MR/PR delivered.
|
|
1294
|
+
file — phases, milestones, the deliverables of each — and without this section no command reads it
|
|
1295
|
+
unless told to, `next` cannot say where the project stands, and nobody marks what an MR/PR delivered.
|
|
1297
1296
|
|
|
1298
1297
|
**The file.** `roadmap.path` in `FLOW.md`; `none` turns the whole section off. Empty → `ROADMAP.md`
|
|
1299
|
-
at the repo root, then `docs/ROADMAP.md`,
|
|
1300
|
-
|
|
1301
|
-
before, silently. A tracked file is read **here** (it is this
|
|
1302
|
-
from the main checkout, by §0's rule.
|
|
1303
|
-
|
|
1304
|
-
**Its shape is the author's, not flow's.**
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1298
|
+
at the repo root, then `docs/ROADMAP.md`, either name in any letter case, and either counts only if
|
|
1299
|
+
it holds at least one item in one of the two notations below. Nothing found → there is no roadmap,
|
|
1300
|
+
and every command below behaves as before, silently. A tracked file is read **here** (it is this
|
|
1301
|
+
branch's version); a git-ignored one from the main checkout, by §0's rule.
|
|
1302
|
+
|
|
1303
|
+
**Its shape is the author's, not flow's.** flow never rewrites the structure, renumbers, reorders,
|
|
1304
|
+
adds headings, rows or columns, or realigns a table. What it reads is a set of items, each with a
|
|
1305
|
+
text, a state (*pending*, *in progress* or *done*), an optional note, its ticket(s) and its
|
|
1306
|
+
dependencies, grouped under milestones. Two notations carry them, and one file may use both:
|
|
1307
|
+
|
|
1308
|
+
- **Checkboxes.** A checkbox line (`- [ ]` / `- [x]`) is an item: `[x]` is done, flow's trailing
|
|
1309
|
+
annotation (below) says in progress, anything else is pending. A checkbox line with checkbox
|
|
1310
|
+
children is a milestone made of those children. Checkbox items have no dependencies but their
|
|
1311
|
+
order.
|
|
1312
|
+
- **Tables.** A markdown table whose header has a **state** column holds one item per row. The
|
|
1313
|
+
column roles are read off the header, in the file's language: *state* (status, estado…),
|
|
1314
|
+
*ticket* (issue, ticket…), *dependencies* (depends on, after, depende de…), and the item's text in
|
|
1315
|
+
the first remaining column. `roadmap.columns` names them when the header is ambiguous —
|
|
1316
|
+
`state=<header>, ticket=<header>, depends=<header>`. A state cell is a state word, optionally
|
|
1317
|
+
followed by `:` and a free note the team wrote; the state is read from the word alone, against the
|
|
1318
|
+
words the file itself uses (done / in progress / pending, in its language). A word flow cannot
|
|
1319
|
+
place is shown as it is and counted as pending.
|
|
1320
|
+
|
|
1321
|
+
**Milestones.** The headings that hold items are the phases and milestones, at whatever depth the
|
|
1322
|
+
file uses. When the file has an **order table** — a table whose rows name the other sections
|
|
1323
|
+
(`H1`, `Phase 2`, a heading's text) — only the sections it lists are milestones, and its own
|
|
1324
|
+
dependency column is the milestones' dependencies; a section with items that it does not list is
|
|
1325
|
+
**side work** (work that is not code, a parallel track): counted and shown, never proposed as next.
|
|
1326
|
+
A milestone may state its **closing criterion** in prose — a line such as `Done when: …` / `Terminado
|
|
1327
|
+
cuando: …` right under its heading. flow never judges prose, so a milestone with a criterion is
|
|
1328
|
+
closed **only when the file says so**: a done state for it in the order table, or a checked checkbox
|
|
1329
|
+
on the criterion line. One without a criterion is closed when every item in it is done.
|
|
1330
|
+
|
|
1331
|
+
**Dependencies.** An item's dependency cell names other items or milestones — by their text, their
|
|
1332
|
+
ticket, or the milestone's id or heading — and an item inherits its milestone's dependencies. A
|
|
1333
|
+
dependency is **met** when the item it names is done, or the milestone it names is closed. A name
|
|
1334
|
+
that resolves to nothing is **unmet**, and is said as such: flow never guesses a near match.
|
|
1308
1335
|
|
|
1309
1336
|
**Where the project stands** — computed the same way by `next`, `daily` and `resume`:
|
|
1310
|
-
- **Current phase**: the first
|
|
1311
|
-
- **In progress**:
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1337
|
+
- **Current phase**: the first milestone, in file order, that is not closed.
|
|
1338
|
+
- **In progress**: items an open work links (below), or whose state is in progress.
|
|
1339
|
+
- **Next**: the first pending item, in file order across the whole file, whose dependencies are all
|
|
1340
|
+
met and that no open work links — a leaf, not a milestone whose children are listed, and never
|
|
1341
|
+
side work. Without dependencies this is the first pending item of the current phase, as order
|
|
1342
|
+
alone always said.
|
|
1343
|
+
- **Blocked**: the pending items ahead of *next* that wait on something, each with what it waits on;
|
|
1344
|
+
a milestone whose items are all done but whose criterion is not marked is named with its criterion.
|
|
1345
|
+
- **Stale**: items whose work has already merged while their state still says otherwise (below).
|
|
1315
1346
|
- Said in one line: `Roadmap: <phase> › <milestone> — <done>/<total> · in progress: <item> (<work>) ·
|
|
1316
|
-
next: <item
|
|
1347
|
+
next: <item> · blocked: <item> ← <what it waits on>`, the last part only when something ahead of
|
|
1348
|
+
*next* is blocked; a milestone waiting on its criterion reads `<milestone>: items done — criterion
|
|
1349
|
+
not marked: "<criterion>"`. Counts are the items under the current phase. Every milestone closed →
|
|
1350
|
+
`Roadmap: complete`.
|
|
1351
|
+
|
|
1352
|
+
**Stale items — the merge that never reached the file.** An item can stay *in progress* or *pending*
|
|
1353
|
+
after the work that delivers it merged: a part shipped outside flow, a train whose closing MR/PR was
|
|
1354
|
+
merged by hand, a deliverable split across several tickets. `next`, `daily` and `resume` check every
|
|
1355
|
+
item that is not done and names a ticket, or that an open or archived work links, against:
|
|
1356
|
+
- **the works** — a live or `_archive/` work linking the item (or carrying its ticket) whose
|
|
1357
|
+
`phase` is `done`, or whose `mrs[]` are all merged → **delivered**;
|
|
1358
|
+
- **the tracker**, when `tracker.cli` is set — the ticket reports done, and the forge has no open
|
|
1359
|
+
MR/PR carrying it → **delivered**;
|
|
1360
|
+
- **the forge alone** — MRs/PRs carrying the ticket are merged and none is open, with no work and no
|
|
1361
|
+
tracker to say it was the last part → **probably delivered**: said as such, never corrected by
|
|
1362
|
+
`ship`.
|
|
1363
|
+
A delivered item whose state is not done is **stale**, said in one line with its evidence:
|
|
1364
|
+
`stale: <milestone> › <item> still <state> — <TICKET> merged <date>`. One forge query per ticket,
|
|
1365
|
+
only for items that are not done; the commands that report it stay read-only.
|
|
1317
1366
|
|
|
1318
1367
|
**The link.** A work records the item it delivers in `meta.json.roadmap`:
|
|
1319
|
-
`{ "path": "<file>", "item": "<the
|
|
1320
|
-
— or `null`. `/flow-feat-start` sets it: an item the ticket clearly names (its id
|
|
1321
|
-
matching the item's text) is taken in every mode; otherwise `manual`
|
|
1322
|
-
|
|
1323
|
-
work is linked to one item, at any depth: linking a milestone means the work
|
|
1324
|
-
|
|
1368
|
+
`{ "path": "<file>", "item": "<the item's text, without checkbox, annotation or note>", "under": "<heading › heading>" }`
|
|
1369
|
+
— or `null`. `/flow-feat-start` sets it: an item the ticket clearly names (its id in the item's text
|
|
1370
|
+
or ticket cell, or its title matching the item's text) is taken in every mode; otherwise `manual`
|
|
1371
|
+
asks once, offering the next items and *none*, and `guided`/`auto`/`unattended` record `null` and
|
|
1372
|
+
say so in one line. A work is linked to one item, at any depth: linking a milestone means the work
|
|
1373
|
+
delivers all its items.
|
|
1325
1374
|
|
|
1326
1375
|
**The mark — in the MR/PR, so the roadmap moves with the code and is reviewed with it.** `/flow-feat-ship`
|
|
1327
|
-
edits the file in the same commit as the change, and the preview shows
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1376
|
+
edits the file in the same commit as the change, and the preview shows each line it will change,
|
|
1377
|
+
before and after:
|
|
1378
|
+
- **First MR/PR of the work, more to come** → in progress. A checkbox item stays unchecked and gains
|
|
1379
|
+
` — in progress (<TICKET>)`. A table row gets the file's in-progress word in its state cell.
|
|
1380
|
+
- **Last MR/PR of the work** (the one that `Closes` the ticket, or a single one) → done. A checkbox
|
|
1381
|
+
item becomes `- [x]` and its annotation ` — done (<TICKET>)`; every child of a linked milestone is
|
|
1382
|
+
ticked with it, and a parent checkbox whose children are now all ticked is ticked too, without
|
|
1383
|
+
annotation — unless it states a closing criterion, which flow never marks. A table row gets the
|
|
1384
|
+
file's done word; every row of a linked milestone with it. A milestone itself is never closed by
|
|
1385
|
+
flow when it has a criterion.
|
|
1333
1386
|
- **Intermediate MRs/PRs of a train** touch nothing: the first one marked the item and the last one
|
|
1334
1387
|
closes it, so stacked branches never edit the same line twice.
|
|
1335
|
-
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1388
|
+
- **A table row is edited in two cells at most, and only there**: the state word — the note after
|
|
1389
|
+
the `:` is kept as the team wrote it, the preview shows it so a note that no longer holds is seen
|
|
1390
|
+
before approval — and the ticket cell, filled with this work's ticket when it is empty. No other
|
|
1391
|
+
cell, row or alignment changes; a cell that grows wider than its column is left so, because
|
|
1392
|
+
realigning would touch every row. A `|` inside a value is written `\|`. Without a ticket column
|
|
1393
|
+
the ticket goes in parentheses after the state word.
|
|
1394
|
+
- **The words are the file's.** A state word is one the column already uses, or — for a state it
|
|
1395
|
+
never uses yet — the one the file's own instructions name, else the plain word in the file's
|
|
1396
|
+
language. flow recognises its checkbox annotation as a trailing ` — <words> (<ticket>)` and
|
|
1397
|
+
replaces it rather than stacking a second one. The ticket, not the MR/PR url: the edit is
|
|
1398
|
+
committed before the MR/PR exists, and the ticket already leads to it. A ticket-less work writes
|
|
1399
|
+
its slug.
|
|
1400
|
+
- **Stale items found on the way** → the same preview offers to correct them in this MR/PR: only
|
|
1401
|
+
items **delivered** by the works or the tracker (never *probably delivered*), only to *done*, by
|
|
1402
|
+
the rules above, each line shown before and after. Not on an intermediate MR/PR of a train.
|
|
1339
1403
|
- **The item cannot be found** (renamed, moved, deleted since `start`) → do not guess a near match:
|
|
1340
1404
|
leave the file alone and say so in the ship's stop. **The file is git-ignored** → there is no MR/PR
|
|
1341
1405
|
to carry it: edit it in place in the main checkout at the same moment, and say so.
|
|
1342
|
-
- `roadmap.mark: never` keeps the roadmap read-only — a team document flow only reads.
|
|
1406
|
+
- `roadmap.mark: never` keeps the roadmap read-only — a team document flow only reads. Stale items
|
|
1407
|
+
are still reported.
|
|
1343
1408
|
|
|
1344
1409
|
Bugs do not link: a bug repairs something already delivered, and the roadmap tracks what is still to
|
|
1345
1410
|
deliver. A bug that *is* a roadmap item is started as a feature.
|
|
@@ -95,7 +95,7 @@ this is the same gate as a red test.
|
|
|
95
95
|
|
|
96
96
|
## 5. Close
|
|
97
97
|
|
|
98
|
-
- Red test, regressions, **or the original symptom still reproducible in §2.5** → `phase` stays at `fix`; the user iterates. A red gate stops in every mode except `unattended`, where flow-core §2.1 decides: every failing test also red on the base → its exception advances (the reproduction test lives in a file this diff touches, so it never qualifies); otherwise a repair round of that row — the failing tests become unticked steps of `04-fix.md`'s plan, `phase = fix`, chain into `/flow-bug-fix`, which chains back here; rounds go on while each lowers the red count, three at most, and one that does not, or a third still red → `blocked`, naming the tests still red. The original symptom still reproducible in §2.5 is not a failing test: `blocked`, naming it.
|
|
98
|
+
- Red test, regressions, **or the original symptom still reproducible in §2.5** → `phase` stays at `fix`; the user iterates. A red gate stops in every mode except `unattended`, where flow-core §2.1 decides: every failing test also red on the base → its exception advances (the reproduction test lives in a file this diff touches, so it never qualifies); when every test red in HEAD's three runs is a suspect flake — red once in HEAD's three runs, never on the base, outside the files this diff touches, green on their own — those tests get that row's five more HEAD runs, their counts written in `05-validation.md`, and nothing red in them advances with `unattended:validate-flaky` (the reproduction test never qualifies here either); otherwise a repair round of that row — the failing tests become unticked steps of `04-fix.md`'s plan, `phase = fix`, chain into `/flow-bug-fix`, which chains back here; rounds go on while each lowers the red count, three at most, and one that does not, or a third still red → `blocked`, naming the tests still red. The original symptom still reproducible in §2.5 is not a failing test: `blocked`, naming it.
|
|
99
99
|
- Green → `phase = "validate"`, add to `phases_done`; in the same write record `validated_sha` = `git rev-parse HEAD` — the tree the regression test passed on, which `/flow-bug-ship §0` reads. Suggest `/flow-bug-review`.
|
|
100
100
|
- **Other bugs detected become `followups[]` entries** (flow-core §7) when they clear its bar — a reproducible symptom with someone who suffers it, not «this looks fragile» — per the output template.
|
|
101
101
|
- **Stage what the validation taught** (`knowledge.stage` set; silence by default): a mutation that stayed green, a disguise the scenario wore, a fixture that could not produce the case — findings about how this codebase is tested, not about this diff. Same rule and evidence line as the review's Close.
|
|
@@ -66,7 +66,8 @@ place it would ask:
|
|
|
66
66
|
**In every mode**, criteria `07-validation.md` marks `not-verified-unattended` go into the body under
|
|
67
67
|
`## Not verified — needs a human`, with what to do for each — and so do the tests the suite left red
|
|
68
68
|
because they also fail on the base (`unattended:validate-red-base`): each name, and the base sha
|
|
69
|
-
where it failed too — and the
|
|
69
|
+
where it failed too — and the suspect flakes the run advanced past (`unattended:validate-flaky`), one line each:
|
|
70
|
+
`` `<test>` — intermittent: red 1/3 then 0/5 on HEAD, 0/3 on base `<sha>`; not in a file this change touches `` — and the review findings an orchestrator's answer accepted unfixed
|
|
70
71
|
(`06-review.md` "Answered (unattended)"), one line each. The §3 preview shows that section like
|
|
71
72
|
any other, and the person reading it is the check the run could not do. Entries of
|
|
72
73
|
`auto-answers.md` for this MR/PR (`MR/PR <n>` in their heading, or all of them for a work with no
|
|
@@ -116,9 +117,9 @@ Decide first whether **this** MR/PR *completes* the issue: it does when, after i
|
|
|
116
117
|
- **`linear`**: `Closes <TICKET>` (Linear id, e.g. `ENG-123`) on the completing MR/PR; nothing on intermediates.
|
|
117
118
|
- **`none` / empty**: nothing to link.
|
|
118
119
|
|
|
119
|
-
### Roadmap mark (only with a linked item)
|
|
120
|
+
### Roadmap mark (only with a linked item or a stale one)
|
|
120
121
|
|
|
121
|
-
`meta.json.roadmap` set and `roadmap.mark` not `never` → decide the edit by flow-core §10, with the same *completes / intermediate* answer as the issue link above: the work's first MR/PR with more to come marks the item in progress, the completing one
|
|
122
|
+
`meta.json.roadmap` set, or a stale item §10 counts as delivered, and `roadmap.mark` not `never` → decide the edit by flow-core §10, with the same *completes / intermediate* answer as the issue link above: the work's first MR/PR with more to come marks the item in progress, the completing one marks it done (with its children, and any parent left with every child done — never a milestone that states a closing criterion), an intermediate one touches nothing. Find the item by its `item` text with flow's annotation, or a table row's note, stripped; not found → no edit, and the stop says so. In a table, only the state cell and an empty ticket cell change. Not an intermediate MR/PR → also list the **stale items** §10 counts as delivered, to be marked done in the same edit. Decide it here, show it in the §3 preview, write it in §4.1 — never before approval.
|
|
122
123
|
|
|
123
124
|
### Referencing other MRs/PRs of the plan in the body (never `#<n>`)
|
|
124
125
|
|
|
@@ -201,7 +202,8 @@ Squash on merge: <git.squash from FLOW.md>
|
|
|
201
202
|
Target branch: <git.default_base from FLOW.md, or the parent branch in train mode>
|
|
202
203
|
Issue link: <keyword that will appear in the body, e.g. "Closes #123" / "Part of #123 (intermediate train PR)" / "none — Jira links by title prefix">
|
|
203
204
|
Pre-deploy (manual SQL): <"yes — N statements, a blocking thread will be opened" / "not applicable">
|
|
204
|
-
Roadmap: <"<line now>" → "<line after>" / "untouched — intermediate MR/PR" / "item not found"> (line only with a linked item)
|
|
205
|
+
Roadmap: <"<line now>" → "<line after>", one pair per line changed / "untouched — intermediate MR/PR" / "item not found"> (line only with a linked item or a stale one)
|
|
206
|
+
<stale items: "<line now>" → "<line after>" — <evidence>; each one can be dropped from the edit> (only if any)
|
|
205
207
|
|
|
206
208
|
Description:
|
|
207
209
|
<full description rendered exactly as it will appear in the MR/PR>
|
|
@@ -155,7 +155,7 @@ Another repo referenced but **no** contract → say so in one line — *"the `<r
|
|
|
155
155
|
|
|
156
156
|
## 3.7 Roadmap item
|
|
157
157
|
|
|
158
|
-
Only when the repo has a roadmap (flow-core §10) and `roadmap.path` is not `none`: link this work to the item it delivers, by §10's rule. A clear match — the item names this ticket's id, or its text is this ticket's title (a ticket-less start drafted from a roadmap item is one) — is taken in every mode, with no question. Otherwise `manual` asks once (header "Roadmap"): the next two or three
|
|
158
|
+
Only when the repo has a roadmap (flow-core §10) and `roadmap.path` is not `none`: link this work to the item it delivers, by §10's rule. A clear match — the item names this ticket's id, in its text or its ticket cell, or its text is this ticket's title (a ticket-less start drafted from a roadmap item is one) — is taken in every mode, with no question. Otherwise `manual` asks once (header "Roadmap"): the next two or three items by §10's *next* rule (dependencies met, not linked by another work), **none** as the last option; an item whose dependencies are not met is never offered, and one the ticket clearly names but that is blocked is linked anyway, with one line naming what it waits on; `guided`/`auto`/`unattended` record `null` and say in one line that the work is not linked. Never create, rename or reorder an item here: start reads the roadmap, `ship` is the only command that writes it.
|
|
159
159
|
|
|
160
160
|
## 4. Classify size
|
|
161
161
|
|
|
@@ -231,7 +231,10 @@ Write `.claude/work/<TICKET>/07-validation.md`:
|
|
|
231
231
|
failing tests on the base the way they went red on HEAD — the whole suite, three runs on each side
|
|
232
232
|
for a test that is red in the suite and green on its own — and write each name, its result there,
|
|
233
233
|
the run counts and the base sha under "Suite results" in `07-validation.md`. Calling a failure "pre-existing" without that run is not the
|
|
234
|
-
exception — it is a red suite.
|
|
234
|
+
exception — it is a red suite. Tests red once in HEAD's three runs, never on the base, outside the
|
|
235
|
+
files this diff touches, green on their own and proving no criterion are suspect flakes: when every test red in HEAD's three runs is one,
|
|
236
|
+
five more whole-suite runs on HEAD decide — nothing red in them → `unattended:validate-flaky`, the
|
|
237
|
+
counts under "Suite results", and the phase advances. Short of it, the red suite gets a repair round (the same row):
|
|
235
238
|
the failing tests become unticked steps of this MR/PR's plan, `phase = build`, and the run
|
|
236
239
|
chains into `/flow-feat-build`, then review and this phase again. Rounds go on while each lowers
|
|
237
240
|
the red count, three at most; one that does not, or a third still red → `blocked`, naming the
|
|
@@ -79,7 +79,7 @@ Run, deduce, show what was found for confirmation or correction:
|
|
|
79
79
|
|
|
80
80
|
<!-- stack-detection:end -->
|
|
81
81
|
|
|
82
|
-
- **Roadmap** (`roadmap.path`, flow-core §10) — a markdown file at the root or under `docs/` with headings and checkbox lines whose name or title says plan, roadmap, phases or milestones, in any language. `ROADMAP.md` or `docs/ROADMAP.md
|
|
82
|
+
- **Roadmap** (`roadmap.path`, flow-core §10) — a markdown file at the root or under `docs/` with headings and either checkbox lines or tables with a state column, whose name or title says plan, roadmap, phases or milestones, in any language. `ROADMAP.md` or `docs/ROADMAP.md`, in any letter case → nothing to write, it is found by default. Tables whose header does not say plainly which column is the state, the ticket and the dependencies → propose `roadmap.columns` with the headers you would map, for confirmation. Any other → propose its path. Several → ask which one is the project's plan. None → leave the section out.
|
|
83
83
|
|
|
84
84
|
## 3. Ask five things
|
|
85
85
|
|
|
@@ -30,7 +30,7 @@ runs a phase on its own and never advances `meta.json`.
|
|
|
30
30
|
3. Those work folders — how many open works, in which worktree each is checked out (`git worktree list`), and their `phase` (from `meta.json`; read `00-summary.md` when present, never the full artifacts).
|
|
31
31
|
3b. `followups[]` across those works **and** their `_archive/*/meta.json`: any entry `accepted` with no `work` started (flow-core §7).
|
|
32
32
|
4. Is the working tree dirty (`git status --porcelain`)?
|
|
33
|
-
5. The roadmap, if the repo has one (flow-core §10): where the project stands — current phase, what is in progress, the next
|
|
33
|
+
5. The roadmap, if the repo has one (flow-core §10): where the project stands — current phase, what is in progress, the next item whose dependencies are met, what is blocked, and any stale item.
|
|
34
34
|
|
|
35
35
|
## 2. Route
|
|
36
36
|
|
|
@@ -44,7 +44,7 @@ runs a phase on its own and never advances `meta.json`.
|
|
|
44
44
|
| No works at all | "Nothing in flight." | `/flow-feat-start <TICKET>` (or with no ticket, from the conversation) · `/flow-bug-start <TICKET>` |
|
|
45
45
|
|
|
46
46
|
- The SessionStart hook (`hooks/session-start.sh`) has already printed the first two rows of this table's second case — the header and what the last session was doing — off disk, without reading a ticket or an artifact. Say them again anyway: `next` is where the user asked, and a line they scrolled past is not an answer.
|
|
47
|
-
- A roadmap exists → its one line (flow-core §10) goes under the situation in every row but the first: the work in front of you is one step of it, and that line is what "where are we" means for the project.
|
|
47
|
+
- A roadmap exists → its one line (flow-core §10) goes under the situation in every row but the first: the work in front of you is one step of it, and that line is what "where are we" means for the project. A stale item gets its own line under it, with its evidence: it is the plan saying something the code already contradicts.
|
|
48
48
|
- An `accepted` follow-up exists **and** other works are open → do not reroute; add one line naming it after the options. It is a standing commitment, not an interruption.
|
|
49
49
|
- Dirty tree and no matching work → mention it in one line ("uncommitted changes on `<branch>`, no work is tracking them") before the options; `start` will warn again.
|
|
50
50
|
- A FLOW layer is present but `/flow-doctor` has never been run in this session and the
|
|
@@ -119,7 +119,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
|
|
|
119
119
|
"related_repos": [
|
|
120
120
|
{ "repo": "sibling-project", "scope": "what's needed there", "status": "pending" | "in_progress" | "done", "contract_handoff": "none" | "pending" | "published → <location>" }
|
|
121
121
|
],
|
|
122
|
-
"roadmap": { "path": "ROADMAP.md", "item": "the checkbox line
|
|
122
|
+
"roadmap": { "path": "ROADMAP.md", "item": "the item's text — a checkbox line or a table row", "under": "Phase 2 › Milestone 2.3" } | null,
|
|
123
123
|
"followups": [
|
|
124
124
|
{ "id": "F1",
|
|
125
125
|
"kind": "prevention" | "audit" | "out-of-scope" | "risk" | "edge-case" | "other-bug" | "tooling" | "decision",
|
|
@@ -164,7 +164,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
|
|
|
164
164
|
- **`review_findings[]`**: one entry per finding **per source** — `{ round, origin, severity, file, discarded_by_skeptic }`, no finding text (that stays in `06-review.md`). Written at `review`'s Close, and by `flow review --record` when the CLI ran the panel. `origin` is `built-in`, a panel role, or the pass that raised it. It exists so a pass can be retired on evidence: `flow cost` reports per origin how many findings each contributed, how many **only** it raised, and how many of those survived §6 — and a finding three sources raised says nothing about any of them, which is why dedup keeps every source rather than the first. The rule was written down before the data arrived: no exclusive surviving finding across twenty reviews and the pass comes out of the command.
|
|
165
165
|
Two fields for the review because they are two facts. `reviewed_sha` used to be `git rev-parse HEAD` at the end of the phase, which by then held the round's own fixes — so `ship` compared a sha against itself and reported a match over code no reviewer had read. Read by `ship` at pre-flight against `HEAD`: a delta of test files and this work's own folder passes with a note in `06-review.md`; anything else stops and asks in every autonomy mode. Empty is not a mismatch; `fixed_sha` set with `reviewed_sha == HEAD` is one. `review` also reads `reviewed_sha` back as **its own base** on a re-review, so the second round reads the delta instead of the whole branch.
|
|
166
166
|
- **`respond_rounds`**: rounds of `/flow-work-respond` on an MR/PR. `/flow-work-respond §1` reads it against `quality.respond_max_rounds` (empty = 3) and refuses the round that would exceed it, handing the open threads back to the user.
|
|
167
|
-
- **`roadmap`**: the roadmap item this work delivers (flow-core §10). Linked at `/flow-feat-start §3.7`, marked in progress /
|
|
167
|
+
- **`roadmap`**: the roadmap item this work delivers (flow-core §10). Linked at `/flow-feat-start §3.7`, marked in progress / done by `/flow-feat-ship` inside the MR/PR, shown by `next`/`daily`/`resume` — which also flag an item the code delivered but the file still does not mark. `null` with no roadmap, no link, or a bug.
|
|
168
168
|
- **`related_repos`**: the **other repos a task touches**. Captured at `/flow-feat-start` / `/flow-bug-start` §cross-repo, refined at `design`/`plan`, reminded at `ship`, shown by `daily`/`resume`/`status`. flow only notes and reminds — never touches the other repo. `[]` for single-repo.
|
|
169
169
|
- **`ticket_deps`**: the **other tickets this study cannot be built without** — something the design needs that is not on the base branch and that another ticket brings (`/flow-feat-design` §5.1, `/flow-bug-investigate` §4.1). Read at the two exits of a study: `/flow-work-handoff` §5 writes a `Depends on <ticket>` line per entry into the ticket body, and an unattended study run passes `--depends-on N` per entry on its `done` (flow-core §2.1). Not `mrs[].depends_on`, which orders this work's own MRs/PRs. Written whole each time `design` (or `investigate`) runs, and removed when an unattended study is rewound. `[]` or absent when the study depends on nothing.
|
|
170
170
|
- **`contract_handoff`**: whether the sibling knows **what shape to build against** (`scope` is prose; distinct from `status`). `none` — consumes no contract declared here. `pending` — consumes one, not handed over yet. `published → <location>` — published where that side reads it (normally the tracker ticket; `/flow-feat-ship` §6.3), picked up by the sibling's `/flow-feat-start` §3.6.
|
|
@@ -47,7 +47,7 @@ Every *mine* below — your MRs/PRs, your threads, your tickets — is the **aut
|
|
|
47
47
|
- Repo pulse: `git log --oneline --since="<last-session boundary>"` (fallback `-10`) and `git status --short` for uncommitted changes.
|
|
48
48
|
- Per work: `phase`, `phases_done`, MRs and their `status` (from `meta.json.mrs`), and what was **left pending**.
|
|
49
49
|
- **Cross-repo parts**: `meta.json.related_repos` entries not `done` → a *sibling repo* still needs work. Surface only what is recorded — never scan or open the other repo.
|
|
50
|
-
- **Roadmap** (flow-core §10): where the project stands,
|
|
50
|
+
- **Roadmap** (flow-core §10): where the project stands, which open work delivers which item, what is next (the first pending item whose dependencies are met and no open work links), what is blocked and on what, and the stale items — not done in the file, delivered by the works, the tracker or the forge.
|
|
51
51
|
- **Open follow-ups**: `followups[]` entries not `declined`/`logged`/`done`, from the live works **and** from `_archive/*/meta.json` (flow-core §7). The archive is read for this and nothing else — a finished work is exactly when its deferred items stop being visible.
|
|
52
52
|
- **Measured cost**: `meta.json.cost[]` entries (flow-core §4) — sum the `usd` there, count the phases behind them, count apart the entries whose `source` is `not reported`. No entries → no figure at all: absence is not zero. The figures are the harness's client-side estimates, not a bill; `flow cost` prints them phase by phase.
|
|
53
53
|
|
|
@@ -99,6 +99,7 @@ Turn the *joins* into concrete, **suggested** commands (never act):
|
|
|
99
99
|
- Local work `done`/`ship` but its ticket still open in the tracker → divergence to close out.
|
|
100
100
|
- Local work whose branch has an open MR/PR with **CI red or an unmergeable state** (conflicts, behind base) → `/flow-work-green`; with **threads awaiting your reply** (latest comment not yours) → `/flow-work-respond`.
|
|
101
101
|
- A ticket's **priority was raised** while you were on something else → call out the possible refocus.
|
|
102
|
+
- A **stale roadmap item** (flow-core §10) → the file is behind the code: name the item and its evidence. The next `/flow-feat-ship` offers to correct it in its MR/PR; this command never edits the file.
|
|
102
103
|
- `related_repos` entries not `done` → the **other repo's part is still open**: surface it (`<repo>: <scope>`) and suggest `/flow-feat-start <TICKET>` in that repo. `contract_handoff` `pending` → add that the contract was never handed over; the fix is `/flow-feat-ship` §6.3 on this side first. flow only reminds; it never scans the sibling.
|
|
103
104
|
- **Follow-ups nobody has decided on** → one line at most, not a list: `<N> follow-ups awaiting a decision (oldest: <TICKET> F2 — <title>)`, and separately any `accepted` entry with no `work` started, suggesting `/flow-feat-start <ticket>`. A standup is where deferred work should resurface; it is not where it gets triaged — that is `ship`, once. Say nothing when there are none.
|
|
104
105
|
- Uncommitted local changes not reflected in any log/artifact → nudge toward the relevant phase.
|
|
@@ -142,10 +143,11 @@ Today
|
|
|
142
143
|
<what to resume + what the forge/tracker asks of you, ordered by urgency>
|
|
143
144
|
|
|
144
145
|
Roadmap (only with one)
|
|
145
|
-
<phase › milestone — done/total · in progress: item (work) · next: item>
|
|
146
|
+
<phase › milestone — done/total · in progress: item (work) · next: item · blocked: item ← what it waits on>
|
|
147
|
+
<stale: milestone › item still <state> — TICKET merged <date>, one line each — only if any>
|
|
146
148
|
|
|
147
149
|
Blockers / attention
|
|
148
|
-
<CI red · reviews awaiting you (latest comment not yours) · stale works (merged on the forge) · divergences · raised priorities — or "none">
|
|
150
|
+
<CI red · reviews awaiting you (latest comment not yours) · stale works (merged on the forge) · stale roadmap items · divergences · raised priorities — or "none">
|
|
149
151
|
|
|
150
152
|
Awaiting others (optional)
|
|
151
153
|
<threads you already answered, waiting on the reviewer — informational, not yours to act on>
|
|
@@ -46,7 +46,7 @@ Waves: Wave 1: #1 ∥ #2 → Wave 2: #3 → Wave 3: #4 ∥ #5 (lin
|
|
|
46
46
|
Last updated: <updated_at>
|
|
47
47
|
Notes: <meta.notes>
|
|
48
48
|
Cross-repo: <meta.related_repos entries not "done", as "repo: scope"; or "—">
|
|
49
|
-
Roadmap: <meta.roadmap: "under › item" — and the project's one line, flow-core §10> (line only with a roadmap)
|
|
49
|
+
Roadmap: <meta.roadmap: "under › item" — and the project's one line, flow-core §10, plus any stale item> (line only with a roadmap)
|
|
50
50
|
Ticket thread: <new since <updated_at>: <n> comment(s) that change the work — detailed below · or "nothing new" · or "not read"> (line only in ticket mode, from §2.5)
|
|
51
51
|
Unattended: <from `meta.json.pending` when it is set: the gate, `resume` and the question file's first line — the orchestrator holds the question and will relaunch with its answer> (line only when `pending` is set)
|
|
52
52
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flow-workflows",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.105.0",
|
|
4
4
|
"description": "Guided feat/bug workflows (start→ship), post-deploy monitoring and multi-agent code review, stack-agnostic. Each repo uses a shared FLOW.md plus optional harness overlay.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "flow",
|
|
4
4
|
"displayName": "Flow — guided dev workflows",
|
|
5
5
|
"description": "Guided feat/bug workflows (start→ship), post-deploy monitoring and multi-agent code review, stack-agnostic. Each repo uses a shared FLOW.md plus optional harness overlay.",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.105.0",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Alberto Vioque",
|
|
9
9
|
"email": "mashware@gmail.com"
|
|
@@ -5,6 +5,47 @@ plugin and is what `/flow:news` reads to show you what changed since your previo
|
|
|
5
5
|
|
|
6
6
|
The canonical, richest notes live in the [GitHub Releases](https://github.com/mashware/flow-workflows/releases).
|
|
7
7
|
|
|
8
|
+
## v0.105.0 — A roadmap kept as tables: flow reads its dependencies and sees the rows the code already delivered · 2026-11-02
|
|
9
|
+
|
|
10
|
+
**In short**
|
|
11
|
+
- **A plan written as tables is a roadmap too.** A table whose header has a state column is read row by row:
|
|
12
|
+
state, an optional note after `:`, the ticket and the dependencies, with the column roles read off the header in
|
|
13
|
+
the file's language. `roadmap.columns` names them when the header is ambiguous. Checkbox lines work as before,
|
|
14
|
+
and one file may mix both.
|
|
15
|
+
- **`roadmap.md` and `docs/roadmap.md` are found too.** The default lookup ignores letter case.
|
|
16
|
+
- **"Next" respects dependencies.** It is the first pending item whose dependencies are met, not the first pending
|
|
17
|
+
one in the file. An item inherits its milestone's dependencies from an order table. `next` and `daily` say what is
|
|
18
|
+
blocked and on what.
|
|
19
|
+
- **A milestone that states "Done when: …" in prose is closed only when the file says so.** flow never judges the
|
|
20
|
+
criterion and never closes such a milestone itself. What depends on it waits, and the line says which criterion
|
|
21
|
+
is unmarked.
|
|
22
|
+
- **Stale rows are flagged.** An item that is not done in the file but whose work is done is reported by `next`,
|
|
23
|
+
`daily` and `resume`, with the evidence. The evidence comes from an archived work, every MR/PR of its work merged,
|
|
24
|
+
or the tracker. The next `feat:ship` offers to correct it in its own MR/PR. Evidence from the forge alone is
|
|
25
|
+
reported, never corrected.
|
|
26
|
+
- **`feat:ship` edits a row in two cells at most.** It changes the state word, keeps the team's note, and fills an
|
|
27
|
+
empty ticket cell. It never touches another cell, another row or the alignment.
|
|
28
|
+
|
|
29
|
+
Until now §10 only counted checkbox lines in `ROADMAP.md`. A team that keeps its plan in tables got silence:
|
|
30
|
+
`next` could not say where the project stood, and `ship` marked nothing. Order was the only dependency, so a row
|
|
31
|
+
waiting on the one below it was proposed first. A merge that delivered a deliverable without updating its row
|
|
32
|
+
went unnoticed.
|
|
33
|
+
|
|
34
|
+
## v0.104.0 — A flaky test outside your change no longer blocks an unattended run · 2026-10-31
|
|
35
|
+
|
|
36
|
+
**In short**
|
|
37
|
+
- **A once-in-three red is measured again before it is blamed.** In `unattended`, a test that went red in one of
|
|
38
|
+
HEAD's three suite runs and none of the base's, in a file the change does not touch and proving no acceptance
|
|
39
|
+
criterion, is a suspect flake. When every red test is one, the whole suite runs five more times on HEAD.
|
|
40
|
+
- **Five clean runs → the run advances**, records `unattended:validate-flaky`, and the draft MR/PR lists each test
|
|
41
|
+
under "Not verified — needs a human" with both sides' counts.
|
|
42
|
+
- **Anything red in those five, or any other red test → the repair rounds, as before.** Tests are never rerun alone,
|
|
43
|
+
retried, skipped or loosened. Bug runs follow the same rule; no other mode changes.
|
|
44
|
+
|
|
45
|
+
Until now one red in three on HEAD against none on the base meant "this change made it". A test failing one time in
|
|
46
|
+
ten lands there about a quarter of the time, so runs spent their repair rounds on code that was not broken and then
|
|
47
|
+
blocked. With the five extra runs, that same test blocks about one run in ten.
|
|
48
|
+
|
|
8
49
|
## v0.103.0 — The project's roadmap: flow reads where you are and ticks off what ships · 2026-10-29
|
|
9
50
|
|
|
10
51
|
**In short**
|
|
@@ -347,12 +347,15 @@ written without that question.
|
|
|
347
347
|
<!-- e.g.: DDD (Domain/Application/Infrastructure); no #[AsMessageHandler]; etc. -->
|
|
348
348
|
|
|
349
349
|
## roadmap
|
|
350
|
-
The project's plan above the ticket — phases, milestones,
|
|
351
|
-
of your own shape (flow-core §10). `next`, `daily` and
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
350
|
+
The project's plan above the ticket — phases, milestones, deliverables as checkbox lines or as table
|
|
351
|
+
rows with a state column — in a markdown file of your own shape (flow-core §10). `next`, `daily` and
|
|
352
|
+
`resume` say where it stands, what is next once its dependencies are met, and which items the code
|
|
353
|
+
already delivered but the file does not say; `feat:start` links a work to one of its items, and
|
|
354
|
+
`feat:ship` marks it in the MR/PR that delivers it.
|
|
355
|
+
|
|
356
|
+
- `path:` # the roadmap file, relative to the repo root. Empty = `ROADMAP.md`, then `docs/ROADMAP.md`, in any letter case, if it has checkbox lines or a table with a state column. `none` = no roadmap.
|
|
357
|
+
- `mark:` # `ship` (default) = mark in progress on the work's first MR/PR, done on its last | `never` = read-only, flow only reads it.
|
|
358
|
+
- `columns:` # only when a table's header is ambiguous: `state=<header>, ticket=<header>, depends=<header>`. Empty = read off the header.
|
|
356
359
|
|
|
357
360
|
## notes
|
|
358
361
|
Per-command extra guidance. When a command runs, it MUST follow the entry matching its command
|