flow-workflows 0.115.0 → 0.116.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 +87 -6
- package/adapters/codex/skills/flow-bug-fix/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-investigate/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-postmortem/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-review/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-ship/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-start/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-validate/SKILL.md +1 -1
- package/adapters/codex/skills/flow-doctor/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-build/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-design/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-plan/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-review/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-ship/SKILL.md +2 -2
- package/adapters/codex/skills/flow-feat-start/SKILL.md +2 -2
- package/adapters/codex/skills/flow-feat-validate/SKILL.md +1 -1
- package/adapters/codex/skills/flow-next/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-README/SKILL.md +3 -3
- package/adapters/codex/skills/flow-work-abandon/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-clean/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-daily/SKILL.md +2 -2
- package/adapters/codex/skills/flow-work-green/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-handoff/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-query/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-respond/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-resume/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-run/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-try/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-watch/SKILL.md +1 -1
- package/adapters/gemini/CORE.md +87 -6
- package/adapters/gemini/commands/flow/bug/fix.toml +1 -1
- package/adapters/gemini/commands/flow/bug/investigate.toml +1 -1
- package/adapters/gemini/commands/flow/bug/postmortem.toml +1 -1
- package/adapters/gemini/commands/flow/bug/review.toml +1 -1
- package/adapters/gemini/commands/flow/bug/ship.toml +1 -1
- package/adapters/gemini/commands/flow/bug/start.toml +1 -1
- package/adapters/gemini/commands/flow/bug/validate.toml +1 -1
- package/adapters/gemini/commands/flow/doctor.toml +1 -1
- package/adapters/gemini/commands/flow/feat/build.toml +1 -1
- package/adapters/gemini/commands/flow/feat/design.toml +1 -1
- package/adapters/gemini/commands/flow/feat/plan.toml +1 -1
- package/adapters/gemini/commands/flow/feat/review.toml +1 -1
- package/adapters/gemini/commands/flow/feat/ship.toml +2 -2
- package/adapters/gemini/commands/flow/feat/start.toml +2 -2
- package/adapters/gemini/commands/flow/feat/validate.toml +1 -1
- package/adapters/gemini/commands/flow/next.toml +1 -1
- package/adapters/gemini/commands/flow/work/README.toml +3 -3
- package/adapters/gemini/commands/flow/work/abandon.toml +1 -1
- package/adapters/gemini/commands/flow/work/clean.toml +1 -1
- package/adapters/gemini/commands/flow/work/daily.toml +2 -2
- package/adapters/gemini/commands/flow/work/green.toml +1 -1
- package/adapters/gemini/commands/flow/work/handoff.toml +1 -1
- package/adapters/gemini/commands/flow/work/query.toml +1 -1
- package/adapters/gemini/commands/flow/work/respond.toml +1 -1
- package/adapters/gemini/commands/flow/work/resume.toml +1 -1
- package/adapters/gemini/commands/flow/work/run.toml +1 -1
- package/adapters/gemini/commands/flow/work/try.toml +1 -1
- package/adapters/gemini/commands/flow/work/watch.toml +1 -1
- package/adapters/hermes/CORE.md +87 -6
- package/adapters/hermes/skills/flow-bug-fix/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-investigate/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-postmortem/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-review/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-ship/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-start/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-validate/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-doctor/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-build/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-design/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-plan/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-review/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-ship/SKILL.md +2 -2
- package/adapters/hermes/skills/flow-feat-start/SKILL.md +2 -2
- package/adapters/hermes/skills/flow-feat-validate/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-next/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-README/SKILL.md +3 -3
- package/adapters/hermes/skills/flow-work-abandon/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-clean/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-daily/SKILL.md +2 -2
- package/adapters/hermes/skills/flow-work-green/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-handoff/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-query/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-respond/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-resume/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-run/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-try/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-watch/SKILL.md +1 -1
- package/adapters/opencode/CORE.md +87 -6
- package/adapters/opencode/commands/flow-bug-fix.md +1 -1
- package/adapters/opencode/commands/flow-bug-investigate.md +1 -1
- package/adapters/opencode/commands/flow-bug-postmortem.md +1 -1
- package/adapters/opencode/commands/flow-bug-review.md +1 -1
- package/adapters/opencode/commands/flow-bug-ship.md +1 -1
- package/adapters/opencode/commands/flow-bug-start.md +1 -1
- package/adapters/opencode/commands/flow-bug-validate.md +1 -1
- package/adapters/opencode/commands/flow-doctor.md +1 -1
- package/adapters/opencode/commands/flow-feat-build.md +1 -1
- package/adapters/opencode/commands/flow-feat-design.md +1 -1
- package/adapters/opencode/commands/flow-feat-plan.md +1 -1
- package/adapters/opencode/commands/flow-feat-review.md +1 -1
- package/adapters/opencode/commands/flow-feat-ship.md +2 -2
- package/adapters/opencode/commands/flow-feat-start.md +2 -2
- package/adapters/opencode/commands/flow-feat-validate.md +1 -1
- package/adapters/opencode/commands/flow-next.md +1 -1
- package/adapters/opencode/commands/flow-work-README.md +3 -3
- package/adapters/opencode/commands/flow-work-abandon.md +1 -1
- package/adapters/opencode/commands/flow-work-clean.md +1 -1
- package/adapters/opencode/commands/flow-work-daily.md +2 -2
- package/adapters/opencode/commands/flow-work-green.md +1 -1
- package/adapters/opencode/commands/flow-work-handoff.md +1 -1
- package/adapters/opencode/commands/flow-work-query.md +1 -1
- package/adapters/opencode/commands/flow-work-respond.md +1 -1
- package/adapters/opencode/commands/flow-work-resume.md +1 -1
- package/adapters/opencode/commands/flow-work-run.md +1 -1
- package/adapters/opencode/commands/flow-work-try.md +1 -1
- package/adapters/opencode/commands/flow-work-watch.md +1 -1
- package/bin/cli.mjs +31 -5
- package/package.json +1 -1
- package/plugins/flow/.claude-plugin/plugin.json +1 -1
- package/plugins/flow/CHANGELOG.md +28 -0
- package/plugins/flow/examples/FLOW.template.md +1 -1
package/bin/cli.mjs
CHANGED
|
@@ -1641,6 +1641,8 @@ const PANEL_ATTENTION = ['wait', 'block', 'done']
|
|
|
1641
1641
|
const PANEL_LABELS = {
|
|
1642
1642
|
now: 'Now', next: 'Next', decision: 'Decision', open: 'Open', closed: 'nothing left here',
|
|
1643
1643
|
review: 'review round', findings: 'open', followups: 'follow-ups',
|
|
1644
|
+
// `mrs` left empty is named from the forge the URLs point at: PRs on GitHub, MRs elsewhere.
|
|
1645
|
+
mrs: '', merged: 'merged', plan: 'Plan',
|
|
1644
1646
|
}
|
|
1645
1647
|
const HARNESS_NAMES = {
|
|
1646
1648
|
claude: 'Claude Code', codex: 'Codex', opencode: 'OpenCode', zcode: 'zcode', gemini: 'Gemini CLI', hermes: 'Hermes',
|
|
@@ -1794,7 +1796,7 @@ function readPanelInput(work, warn) {
|
|
|
1794
1796
|
return { input }
|
|
1795
1797
|
}
|
|
1796
1798
|
|
|
1797
|
-
function renderPanel({ meta, work, input, forge = {}, foreign = false }) {
|
|
1799
|
+
function renderPanel({ meta, work, input, forge = {}, foreign = false, prs = false }) {
|
|
1798
1800
|
const labels = { ...PANEL_LABELS, ...(input.labels ?? {}) }
|
|
1799
1801
|
const done = meta.phase === 'done'
|
|
1800
1802
|
const abandoned = meta.phase === 'abandoned'
|
|
@@ -1833,7 +1835,6 @@ function renderPanel({ meta, work, input, forge = {}, foreign = false }) {
|
|
|
1833
1835
|
flush()
|
|
1834
1836
|
train.push({ key: `mr-${n}`, ref: `#${n}`, text: String(m.title ?? ''), mark, ...(m.url ? { link: m.url } : {}) })
|
|
1835
1837
|
if (mark === 'wait' && f?.summary) train.push({ key: `mr-${n}-state`, text: f.summary, mark: 'info', indent: 4 })
|
|
1836
|
-
if (m === building) train.push(...stepLines(planOf(n)))
|
|
1837
1838
|
})
|
|
1838
1839
|
flush()
|
|
1839
1840
|
const url = !mrs.length ? singleUrl(meta) : null
|
|
@@ -1847,11 +1848,26 @@ function renderPanel({ meta, work, input, forge = {}, foreign = false }) {
|
|
|
1847
1848
|
// A bug's plan lives in 04-fix.md and is shown while fix runs: before `fix` first closes, and
|
|
1848
1849
|
// when a review's or a red suite's steps send the work back into it — `fix` is then already in
|
|
1849
1850
|
// phases_done, and the phase being run is the only thing that says so.
|
|
1851
|
+
let steps = null
|
|
1852
|
+
if (building) {
|
|
1853
|
+
const n = building.n ?? mrs.indexOf(building) + 1
|
|
1854
|
+
steps = { ref: `#${n}`, list: planOf(n) }
|
|
1855
|
+
}
|
|
1850
1856
|
if (meta.type === 'bug' && !done && !abandoned) {
|
|
1851
1857
|
const fixClosed = Array.isArray(meta.phases_done) && meta.phases_done.includes('fix')
|
|
1852
|
-
if (!fixClosed || input.phase === 'fix')
|
|
1858
|
+
if (!fixClosed || input.phase === 'fix') steps = { ref: null, list: planSteps(work, { file: '04-fix.md', re: /^##\s+Plan\b/ }) }
|
|
1859
|
+
}
|
|
1860
|
+
// Each block opens with a header that names it and says how far along it is. The train is
|
|
1861
|
+
// reference once its MRs/PRs merge, so it starts folded; the plan being built is the news.
|
|
1862
|
+
if (train.length) {
|
|
1863
|
+
const forgeWord = labels.mrs || (prs || train.some((l) => /\/pulls?\/\d+/.test(l.link ?? '')) ? 'PRs' : 'MRs')
|
|
1864
|
+
const merged = marks.filter((k) => k === 'done').length
|
|
1865
|
+
block([{ key: 'mrs', text: forgeWord, style: 'section', summary: `${merged}/${marks.length} ${labels.merged}`, collapsed: true }, ...train])
|
|
1866
|
+
}
|
|
1867
|
+
if (steps?.list.length) {
|
|
1868
|
+
const ticked = steps.list.filter((s) => s.ticked).length
|
|
1869
|
+
block([{ key: 'plan', text: steps.ref ? `${labels.plan} ${steps.ref}` : labels.plan, style: 'section', summary: `${ticked}/${steps.list.length}` }, ...stepLines(steps.list)])
|
|
1853
1870
|
}
|
|
1854
|
-
block(train)
|
|
1855
1871
|
|
|
1856
1872
|
// Every MR/PR merged is the end of the work's waiting, whatever meta.json.phase still says: a
|
|
1857
1873
|
// merge done in the forge has no session to close the work, and the card it leaves behind
|
|
@@ -1911,10 +1927,18 @@ function renderPanel({ meta, work, input, forge = {}, foreign = false }) {
|
|
|
1911
1927
|
: abandoned ? null
|
|
1912
1928
|
: input.decision ? 'wait'
|
|
1913
1929
|
: input.attention ?? (blocks.length ? 'block' : null)
|
|
1930
|
+
// Where this console works in the project's plan (flow-core §10): written into meta.json only
|
|
1931
|
+
// when the work's ticket is a deliverable's, and left out otherwise — the board then shows it
|
|
1932
|
+
// off the plan, which is the truth.
|
|
1933
|
+
const place = meta.roadmap && typeof meta.roadmap === 'object' ? meta.roadmap : {}
|
|
1934
|
+
const milestone = typeof place.milestone === 'string' && place.milestone ? place.milestone : null
|
|
1935
|
+
const deliverable = milestone && typeof place.deliverable === 'string' && place.deliverable ? place.deliverable : null
|
|
1914
1936
|
return {
|
|
1915
1937
|
updated_at: new Date().toISOString(),
|
|
1916
1938
|
...(phase ? { phase } : {}),
|
|
1917
1939
|
header: true,
|
|
1940
|
+
...(milestone ? { milestone } : {}),
|
|
1941
|
+
...(deliverable ? { deliverable } : {}),
|
|
1918
1942
|
...(attention ? { attention } : {}),
|
|
1919
1943
|
...(Number(input.stale_after_minutes) > 0 ? { stale_after_minutes: Number(input.stale_after_minutes) } : {}),
|
|
1920
1944
|
lines,
|
|
@@ -2043,7 +2067,9 @@ function panel(argv) {
|
|
|
2043
2067
|
// the folder of this branch's own work.
|
|
2044
2068
|
const branches = [meta.branch, ...(Array.isArray(meta.mrs) ? meta.mrs.map((m) => m?.branch) : [])]
|
|
2045
2069
|
const foreign = Boolean(named) && !branches.includes(branch)
|
|
2046
|
-
|
|
2070
|
+
// The forge's own word for the train, read off the remote while no MR/PR has a URL yet.
|
|
2071
|
+
const prs = /github/i.test(git(['remote', 'get-url', 'origin'], repo))
|
|
2072
|
+
const doc = renderPanel({ meta, work, input, forge, foreign, prs })
|
|
2047
2073
|
// Another branch's panel.json is the live pane of the session that owns it: a render made for
|
|
2048
2074
|
// the control room (daily, clean) writes only the card, never the file that session shows.
|
|
2049
2075
|
if (!foreign) writeAtomic(join(work, 'panel.json'), panelText(doc))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flow-workflows",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.116.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.116.0",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Alberto Vioque",
|
|
9
9
|
"email": "mashware@gmail.com"
|
|
@@ -5,6 +5,34 @@ 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.116.0 — The board shows the roadmap, and each console hangs from its deliverable · 2026-11-12
|
|
9
|
+
|
|
10
|
+
**In short**
|
|
11
|
+
- **Every panel's MR/PR list starts folded**, with a header that says how many have merged (`MRs ── 2/4 merged`).
|
|
12
|
+
Merged MRs/PRs are reference; the plan being built, what is running now and the question waiting on you stay
|
|
13
|
+
open, each block under its own header.
|
|
14
|
+
- **The roadmap reaches the terminal's board as the project's plan.** With `roadmap.path` written in the FLOW
|
|
15
|
+
config and a terminal that paints a board, `next`, `daily`, `start` and `ship` publish it — milestones, their
|
|
16
|
+
"done when", dependencies, every deliverable with its state and ticket, and the work that is not code.
|
|
17
|
+
- **Each state is copied as the file says it**: done, in progress, pending — a word flow cannot place goes
|
|
18
|
+
without a mark, and a stale row is published stale. The board counts; flow does not judge.
|
|
19
|
+
- **A console hangs from its deliverable** when the work's ticket is in that row's ticket cell. When it is not,
|
|
20
|
+
the panel says nothing, and the board shows the console off the plan — which is what it is.
|
|
21
|
+
|
|
22
|
+
The terminal flow publishes to grew a project board: block headers that can start folded, one plan per
|
|
23
|
+
repository shared by its worktrees, and a panel field that places each console on that plan. The longest block
|
|
24
|
+
of every panel was the MR/PR train, open in full long after its MRs had merged; a repo that keeps its plan in
|
|
25
|
+
a roadmap file — which flow already read to choose the next work — showed nothing on the board; and every
|
|
26
|
+
console showed as off the plan.
|
|
27
|
+
|
|
28
|
+
How: `flow-workflows panel` now opens the train with a folded `section` header and gives the plan's steps a
|
|
29
|
+
block of their own; it copies `milestone` and `deliverable` from `meta.json.roadmap` into every render.
|
|
30
|
+
flow-core §10.1 says how the roadmap becomes the plan document — ids from the headings' codes, `done_when`
|
|
31
|
+
from the closing criterion, `depends_on` from the order table, item ids from the ticket or the one requirement
|
|
32
|
+
code a row cites — and when it is published with `plan_set` (after a `plan_get` that finds it changed).
|
|
33
|
+
`attention_since` is the terminal's: flow never writes it. The control-room page paints the headers and folds
|
|
34
|
+
the same blocks (page version 2, republished on its own at the next card write).
|
|
35
|
+
|
|
8
36
|
## v0.115.0 — The live panel tells the plan, the progress and the close · 2026-11-11
|
|
9
37
|
|
|
10
38
|
**In short**
|
|
@@ -353,7 +353,7 @@ rows with a state column — in a markdown file of your own shape (flow-core §1
|
|
|
353
353
|
already delivered but the file does not say; `feat:start` links a work to one of its items, and
|
|
354
354
|
`feat:ship` marks it in the MR/PR that delivers it.
|
|
355
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.
|
|
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. Written out (`docs/roadmap.md`), it also publishes the roadmap as the project's plan to a terminal that paints one — a tool ending in `plan_set` (flow-core §10.1); empty, no plan is published.
|
|
357
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
358
|
- `columns:` # only when a table's header is ambiguous: `state=<header>, ticket=<header>, depends=<header>`. Empty = read off the header.
|
|
359
359
|
|