flow-workflows 0.113.0 → 0.115.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.
Files changed (118) hide show
  1. package/README.md +10 -4
  2. package/adapters/codex/CORE.md +143 -126
  3. package/adapters/codex/skills/flow-bug-fix/SKILL.md +2 -2
  4. package/adapters/codex/skills/flow-bug-investigate/SKILL.md +1 -1
  5. package/adapters/codex/skills/flow-bug-postmortem/SKILL.md +1 -1
  6. package/adapters/codex/skills/flow-bug-review/SKILL.md +1 -1
  7. package/adapters/codex/skills/flow-bug-ship/SKILL.md +2 -2
  8. package/adapters/codex/skills/flow-bug-start/SKILL.md +1 -1
  9. package/adapters/codex/skills/flow-bug-validate/SKILL.md +1 -1
  10. package/adapters/codex/skills/flow-doctor/SKILL.md +1 -1
  11. package/adapters/codex/skills/flow-feat-build/SKILL.md +3 -3
  12. package/adapters/codex/skills/flow-feat-design/SKILL.md +1 -1
  13. package/adapters/codex/skills/flow-feat-plan/SKILL.md +1 -1
  14. package/adapters/codex/skills/flow-feat-review/SKILL.md +1 -1
  15. package/adapters/codex/skills/flow-feat-ship/SKILL.md +2 -2
  16. package/adapters/codex/skills/flow-feat-start/SKILL.md +1 -1
  17. package/adapters/codex/skills/flow-feat-validate/SKILL.md +1 -1
  18. package/adapters/codex/skills/flow-work-README/SKILL.md +5 -5
  19. package/adapters/codex/skills/flow-work-abandon/SKILL.md +2 -2
  20. package/adapters/codex/skills/flow-work-clean/SKILL.md +3 -1
  21. package/adapters/codex/skills/flow-work-daily/SKILL.md +3 -3
  22. package/adapters/codex/skills/flow-work-green/SKILL.md +1 -1
  23. package/adapters/codex/skills/flow-work-handoff/SKILL.md +5 -4
  24. package/adapters/codex/skills/flow-work-query/SKILL.md +1 -1
  25. package/adapters/codex/skills/flow-work-respond/SKILL.md +1 -1
  26. package/adapters/codex/skills/flow-work-resume/SKILL.md +9 -25
  27. package/adapters/codex/skills/flow-work-run/SKILL.md +1 -1
  28. package/adapters/codex/skills/flow-work-try/SKILL.md +1 -1
  29. package/adapters/codex/skills/flow-work-watch/SKILL.md +1 -1
  30. package/adapters/gemini/CORE.md +143 -126
  31. package/adapters/gemini/commands/flow/bug/fix.toml +2 -2
  32. package/adapters/gemini/commands/flow/bug/investigate.toml +1 -1
  33. package/adapters/gemini/commands/flow/bug/postmortem.toml +1 -1
  34. package/adapters/gemini/commands/flow/bug/review.toml +1 -1
  35. package/adapters/gemini/commands/flow/bug/ship.toml +2 -2
  36. package/adapters/gemini/commands/flow/bug/start.toml +1 -1
  37. package/adapters/gemini/commands/flow/bug/validate.toml +1 -1
  38. package/adapters/gemini/commands/flow/doctor.toml +1 -1
  39. package/adapters/gemini/commands/flow/feat/build.toml +3 -3
  40. package/adapters/gemini/commands/flow/feat/design.toml +1 -1
  41. package/adapters/gemini/commands/flow/feat/plan.toml +1 -1
  42. package/adapters/gemini/commands/flow/feat/review.toml +1 -1
  43. package/adapters/gemini/commands/flow/feat/ship.toml +2 -2
  44. package/adapters/gemini/commands/flow/feat/start.toml +1 -1
  45. package/adapters/gemini/commands/flow/feat/validate.toml +1 -1
  46. package/adapters/gemini/commands/flow/work/README.toml +5 -5
  47. package/adapters/gemini/commands/flow/work/abandon.toml +2 -2
  48. package/adapters/gemini/commands/flow/work/clean.toml +3 -1
  49. package/adapters/gemini/commands/flow/work/daily.toml +3 -3
  50. package/adapters/gemini/commands/flow/work/green.toml +1 -1
  51. package/adapters/gemini/commands/flow/work/handoff.toml +5 -4
  52. package/adapters/gemini/commands/flow/work/query.toml +1 -1
  53. package/adapters/gemini/commands/flow/work/respond.toml +1 -1
  54. package/adapters/gemini/commands/flow/work/resume.toml +9 -25
  55. package/adapters/gemini/commands/flow/work/run.toml +1 -1
  56. package/adapters/gemini/commands/flow/work/try.toml +1 -1
  57. package/adapters/gemini/commands/flow/work/watch.toml +1 -1
  58. package/adapters/hermes/CORE.md +143 -126
  59. package/adapters/hermes/skills/flow-bug-fix/SKILL.md +2 -2
  60. package/adapters/hermes/skills/flow-bug-investigate/SKILL.md +1 -1
  61. package/adapters/hermes/skills/flow-bug-postmortem/SKILL.md +1 -1
  62. package/adapters/hermes/skills/flow-bug-review/SKILL.md +1 -1
  63. package/adapters/hermes/skills/flow-bug-ship/SKILL.md +2 -2
  64. package/adapters/hermes/skills/flow-bug-start/SKILL.md +1 -1
  65. package/adapters/hermes/skills/flow-bug-validate/SKILL.md +1 -1
  66. package/adapters/hermes/skills/flow-doctor/SKILL.md +1 -1
  67. package/adapters/hermes/skills/flow-feat-build/SKILL.md +3 -3
  68. package/adapters/hermes/skills/flow-feat-design/SKILL.md +1 -1
  69. package/adapters/hermes/skills/flow-feat-plan/SKILL.md +1 -1
  70. package/adapters/hermes/skills/flow-feat-review/SKILL.md +1 -1
  71. package/adapters/hermes/skills/flow-feat-ship/SKILL.md +2 -2
  72. package/adapters/hermes/skills/flow-feat-start/SKILL.md +1 -1
  73. package/adapters/hermes/skills/flow-feat-validate/SKILL.md +1 -1
  74. package/adapters/hermes/skills/flow-work-README/SKILL.md +5 -5
  75. package/adapters/hermes/skills/flow-work-abandon/SKILL.md +2 -2
  76. package/adapters/hermes/skills/flow-work-clean/SKILL.md +3 -1
  77. package/adapters/hermes/skills/flow-work-daily/SKILL.md +3 -3
  78. package/adapters/hermes/skills/flow-work-green/SKILL.md +1 -1
  79. package/adapters/hermes/skills/flow-work-handoff/SKILL.md +5 -4
  80. package/adapters/hermes/skills/flow-work-query/SKILL.md +1 -1
  81. package/adapters/hermes/skills/flow-work-respond/SKILL.md +1 -1
  82. package/adapters/hermes/skills/flow-work-resume/SKILL.md +9 -25
  83. package/adapters/hermes/skills/flow-work-run/SKILL.md +1 -1
  84. package/adapters/hermes/skills/flow-work-try/SKILL.md +1 -1
  85. package/adapters/hermes/skills/flow-work-watch/SKILL.md +1 -1
  86. package/adapters/opencode/CORE.md +143 -126
  87. package/adapters/opencode/commands/flow-bug-fix.md +2 -2
  88. package/adapters/opencode/commands/flow-bug-investigate.md +1 -1
  89. package/adapters/opencode/commands/flow-bug-postmortem.md +1 -1
  90. package/adapters/opencode/commands/flow-bug-review.md +1 -1
  91. package/adapters/opencode/commands/flow-bug-ship.md +2 -2
  92. package/adapters/opencode/commands/flow-bug-start.md +1 -1
  93. package/adapters/opencode/commands/flow-bug-validate.md +1 -1
  94. package/adapters/opencode/commands/flow-doctor.md +1 -1
  95. package/adapters/opencode/commands/flow-feat-build.md +3 -3
  96. package/adapters/opencode/commands/flow-feat-design.md +1 -1
  97. package/adapters/opencode/commands/flow-feat-plan.md +1 -1
  98. package/adapters/opencode/commands/flow-feat-review.md +1 -1
  99. package/adapters/opencode/commands/flow-feat-ship.md +2 -2
  100. package/adapters/opencode/commands/flow-feat-start.md +1 -1
  101. package/adapters/opencode/commands/flow-feat-validate.md +1 -1
  102. package/adapters/opencode/commands/flow-work-README.md +5 -5
  103. package/adapters/opencode/commands/flow-work-abandon.md +2 -2
  104. package/adapters/opencode/commands/flow-work-clean.md +3 -1
  105. package/adapters/opencode/commands/flow-work-daily.md +3 -3
  106. package/adapters/opencode/commands/flow-work-green.md +1 -1
  107. package/adapters/opencode/commands/flow-work-handoff.md +5 -4
  108. package/adapters/opencode/commands/flow-work-query.md +1 -1
  109. package/adapters/opencode/commands/flow-work-respond.md +1 -1
  110. package/adapters/opencode/commands/flow-work-resume.md +9 -25
  111. package/adapters/opencode/commands/flow-work-run.md +1 -1
  112. package/adapters/opencode/commands/flow-work-try.md +1 -1
  113. package/adapters/opencode/commands/flow-work-watch.md +1 -1
  114. package/bin/cli.mjs +546 -12
  115. package/package.json +1 -1
  116. package/plugins/flow/.claude-plugin/plugin.json +1 -1
  117. package/plugins/flow/CHANGELOG.md +31 -0
  118. package/plugins/flow/examples/FLOW.template.md +1 -0
@@ -40,7 +40,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
40
40
  - **Shared rules live in the `flow-core` skill** (`skills/flow-core/SKILL.md`): configuration merge,
41
41
  `models`, autonomy and hard gates, never-a-question list, stop header, the live panel,
42
42
  `00-summary.md`. Every command loads it once per session.
43
- - **One folder per ticket**: `.claude/work/{TICKET}/` holds `meta.json`, `00-summary.md`, the numbered markdown artifacts and — where the terminal offers no panel tools — `panel.json`.
43
+ - **One folder per ticket**: `.claude/work/{TICKET}/` holds `meta.json`, `00-summary.md`, the numbered markdown artifacts, `panel-input.json` (what the agent knows right now) and `panel.json` (the panel the CLI rendered from all of them).
44
44
  - **Numbered artifacts**: each phase writes a `NN-phase.md` that the next step reads.
45
45
  - **`evidence/`**: what `/flow-*-validate` actually observed when it drove the running app — a screenshot, a response body, a log excerpt, one file per criterion, with a **before** where the change alters something already visible. `/flow-*-ship` attaches it to the MR/PR description. `quality.evidence: off` disables both halves.
46
46
  - **`meta.json` is the source of truth** for state (current phase, size, branch). Without it, commands refuse to continue.
@@ -65,7 +65,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
65
65
  - **Commits follow the autonomy mode** (`/flow-feat-build` §2.2, `/flow-bug-fix` §2.1): changes **always reported before anything is recorded**. `manual`: **no `git commit` on its own**. `guided`: asks **once**. `auto`: WIP commit per step, cut by step (§2.3) — **`autonomy.mode: auto` plus typing the command is the explicit authorization**. WIP commits on the work branch **only**; push and MR/PR creation stay hard gates in every mode.
66
66
  - **A named next command is not a handoff**: each `## Close` carries the **autonomy handoff** — `manual` proposes the next command with one `AskUserQuestion`; `guided`/`auto` **chain in the same turn**. Never chained: `ship` (hard gate in every mode) and anything downstream of a red gate.
67
67
  - **Every stop opens with where you are** (flow-core §3): stop header, then ≤ ~10 product-altitude lines. Own process → the artifact; subagent notifications never earn a turn.
68
- - **The stop is also published to the live panel** ([document below](#the-panel-document), flow-core §4): through the terminal's `panel_set` / `panel_patch` tools where they exist, and `.claude/work/<work>/panel.json` **overwritten whole, never patched** where they do not. Published **before** a long stretch, never after, with an honest `updated_at`.
68
+ - **The stop is also published to the live panel** ([document below](#the-panel-document), flow-core §4): rendered by `flow-workflows panel` from `meta.json`, the plan's ticks, the forge and `panel-input.json`, then carried by the terminal's `panel_set` where it exists — `panel.json` is written either way, and the plugin's hook re-renders it when those files change (Claude Code, Codex). Published **before** a long stretch, never after.
69
69
  - **What is never a question is as binding as what always is**: hard gates stop in **every** mode; in `guided`/`auto` flow mechanics, WIP commits, the train's next MR/PR, size confirmation and anything already decided are never asked (flow-core §2). Only new evidence reopens a decision.
70
70
  - **A correction is a convention, and a convention is written down**: when the user overrides something a phase proposed and the same correction would apply to an unrelated ticket in this repo, it becomes a `meta.json.conventions_candidates[]` row and a `## Conventions learned` line in the phase artifact, asking nothing (flow-core §8). `review`'s idiom audit reads them in the same work; `ship` offers them to `FLOW.md` once, at Close, in every mode. What is about *this* ticket stays in the artifact and goes no further.
71
71
  - **Work you decide not to do is recorded, not narrated**: every "idea for a separate ticket", out-of-scope piece, unmitigated risk, unchecked edge case and prevention action becomes a `meta.json.followups[]` entry (flow-core §7) alongside its artifact section. Written without asking, and only when it clears the bar of §7 (a named subject, a path someone has actually seen, waiting costing more than doing it). Triaged **once** at `ship`'s Close, behind a skeptic: 3 or more candidates go to an agent whose job is to refute that each deserves a ticket, and only the strongest `tracker.followup_ask_max` (empty → **2**) become questions (**Do it** / **Not worth it** / **Later**). The rest are logged. Published in the MR/PR description while still open, and surfaced by `status`/`daily`/`next` — from `_archive/` too — until decided. Creating the tracker issue for an accepted one is outward-facing: **asks in every mode**. Two kinds are not deferred work: a **`decision`** the diff depends on is asked when it surfaces (in every mode) and only a deferred one is recorded; a **`tooling`** gap is recorded with no question at all and never goes to the tracker.
@@ -181,7 +181,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
181
181
 
182
182
  ## The panel document
183
183
 
184
- `meta.json` is the *state machine*; the panel is the *view* a reader outside the chat watches. Optional: a work that never publishes it still resolves from `meta.json` alone. Writer rules (order, when, ceiling) and the two transports — the terminal's `panel_set` / `panel_patch` / `panel_get` tools (namespaced by the harness, and possibly deferred: flow-core §4 says how to find them), or `.claude/work/<work>/panel.json` — are flow-core §4. The document below is the same either way.
184
+ `meta.json` is the *state machine*; the panel is the *view* a reader outside the chat watches. Optional: a work that never publishes it still resolves from `meta.json` alone. `flow-workflows panel` renders it (flow-core §4): order, ceiling and the derived lines are the CLI's; what the agent supplies is `panel-input.json`. The document below is what it prints, and what a phase writes by hand only when the CLI is unavailable.
185
185
 
186
186
  ```json
187
187
  {
@@ -214,11 +214,11 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
214
214
  - **`phase`** — the phase running **right now** (`meta.json.phase` advances only at close); the reader prefers it.
215
215
  - **`updated_at`** — local ISO-8601 with offset from the real clock, never carried over; lets the reader flag a stale snapshot. Over the tools the app stamps each delivery itself.
216
216
  - **`attention`** *(tools only)* — `wait` · `block` · `done`, beside `phase`, absent while simply working: the pane's claim on the user's attention, which the app never deduces from a line's `mark`. A tab's card shows the strongest claim among its panes, so an uncleared `wait` flags that tab for ever — it goes, with the `Decision` line, the moment the question is answered (flow-core §4.4e).
217
- - **`key`** *(tools only)* — a unique, never-painted name on any line a later `panel_patch` may replace or delete (`title`, `mr-1`, `now`, `next`, `decision`, `block-1`).
217
+ - **`key`** — a unique, never-painted name on every line the CLI renders (`title`, `mr-1`, `mr-1-state`, `step-3`, `sib-1`, `open`, `now`, `next`, `decision`, `block-1`, `closed`).
218
218
 
219
219
  **No headings over the train.** A shipped MR/PR is *open, waiting to merge*; `mark` says it per entry — `wait` shipped, `current` being worked, `done` only merged.
220
220
 
221
- **The artifact mirror** (opt-in, flow-core §4.6). With `panel.artifact` set — in `FLOW.claude.md`, Claude Code only — each publication is also written (a per-step patch only when the card is 10 minutes old), whole, as one card of a claude.ai page that gathers every work of every repo: doc `<owner.repo>--<work folder>` in collection `works`, the document above plus `updated_at`, `attention` (on either transport) and `repo`, `work`, `ticket`, `type`, `branch`, `harness`. The page is `examples/panel-artifact.html`, published once by hand. The transport above is unchanged.
221
+ **The artifact mirror** (opt-in, flow-core §4.6). With `panel.artifact` set — in `FLOW.claude.md`, Claude Code only — each publication is also written (a per-step render only when the card is 10 minutes old), whole, as one card of a claude.ai page that gathers every work of every repo: the `card.json` the CLI writes beside `panel.json` — the document plus `repo`, `work`, `ticket`, `type`, `branch`, `harness` — set as doc `<repo>--<work>` in collection `works`. The page is `examples/panel-artifact.html`, which `/flow-init room` publishes. The transport above is unchanged.
222
222
 
223
223
  **Who publishes it.** The 18 phase commands (flow-core §4); `/flow-feat-ship` and `/flow-bug-ship` the instant an MR/PR URL exists; `/flow-feat-plan` when the train is populated — a new train is a new shape, so a full republish; `/flow-work-resume` (§5), after reading what is on screen; `/flow-work-watch` every cycle; `/flow-work-abandon` with a terminal state. Read-only `status`, `daily`, `config`, `doctor`, `news` never publish; `/flow-work-clean` archives the folder with any panel file inside.
224
224
 
@@ -18,7 +18,7 @@ description: Close a work without shipping (discarded feature, non-issue, etc.)
18
18
 
19
19
  Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, autonomy, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session.
20
20
 
21
- **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
22
22
 
23
23
  Clean closure for works that will not reach the base branch: a feature discarded after `design`, a bug that is not one (expected behavior, external problem, user misconfiguration), a work absorbed by another ticket.
24
24
 
@@ -91,7 +91,7 @@ Ask the user what to do with the branch — do not decide alone:
91
91
  - Update `meta.json`: `phase = "abandoned"`; `phases_done` not touched (it reflects what was actually done); `notes` += abandonment reason; `updated_at` updated.
92
92
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
93
93
  - **Tracker: move to won't-do** (never "done" — this work did not ship). Only if `tracker.tool` is not `none`/empty, `tracker.abandon_cmd` is set, and `meta.json.ticket` is a **real tracker id** (skip for local-only slugs). Run `tracker.abandon_cmd` substituting `{TICKET}` = `meta.json.ticket`. Same contract as `/flow-feat-start §6.5`: **best-effort, idempotent, gated** (ask once in `autonomy.mode: manual`; automatic in `guided`/`auto`); failure or already-in-state ticket → warn and continue, never block. `tracker.abandon_cmd` empty → do nothing (the user closes the ticket by hand if they want).
94
- - Panel published for this work (flow-core §4) → publish a terminal state before archiving: the title, one `block` line saying the work was abandoned and why, no `Decision` line, and `attention` cleared where the panel tools carry it — nothing is waiting on anyone any more.
94
+ - Panel published for this work (flow-core §4) → render a terminal state before archiving: `panel-input.json` holding only one `blocks` entry saying the work was abandoned and why, after `meta.json.phase` is `abandoned` — the CLI then draws no Now, Next or Decision and claims nobody's attention.
95
95
  - Delete the work's card from the artifact control room when `panel.artifact` is set (flow-core §4.6, *a card ends with its work folder*), then move the folder to `.claude/work/_archive/` **keeping its directory name** (`_archive/<work-dir>/`, the folder located in §1 — e.g. `<TICKET>-<slug>`) so `/flow-work-daily` no longer lists it.
96
96
  - Report to the user: ticket abandoned, reason, what was done with the branch.
97
97
 
@@ -18,7 +18,7 @@ description: Sweep what finished work left behind — merged worktrees, dead bra
18
18
 
19
19
  Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, autonomy, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session.
20
20
 
21
- **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
22
22
 
23
23
  The forge (`git.cli`) is **best-effort**: CLI missing, unauthenticated, or over ~5s → fall back to the local evidence in §4 and say so in one line; never block.
24
24
 
@@ -124,6 +124,8 @@ Above 25 → skip the pass and report how many were left unresolved.
124
124
 
125
125
  Degraded mode (no forge, no successful fetch): keep the (b)–(d) verdicts, mark the whole table `(local evidence only — origin not refreshed)`, and drop `merged, squashed` to `unknown`.
126
126
 
127
+ **Cards that still ask.** With `panel.artifact` set, every work whose MR/PR the forge reports merged or closed here gets its control-room card brought up to date before the sweep is shown (flow-core §4.6, *a card whose MR/PR moved without its session*) — kept works included: a card is not a residue, and rewriting it removes nothing.
128
+
127
129
  ## 5. The protected set
128
130
 
129
131
  A candidate must survive all of these — each a hard exclusion, not a warning:
@@ -18,13 +18,13 @@ description: Your work assistant — a Scrum-style daily standup across all your
18
18
 
19
19
  Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, autonomy, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session.
20
20
 
21
- **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
22
22
 
23
23
  External sources (tracker, forge, `knowledge`) are all **best-effort**: a CLI missing/unauthenticated, an MCP failing, or a call over ~3s → continue without that source and note it in a single line; **never block**.
24
24
 
25
25
  Your **work assistant**: a Scrum-style daily standup — *"what was I working on?"*, *"what's left?"*, *"what should I pick up today?"* — from three sources: **local** work state, the **forge** (open MRs/PRs, reviews, CI), the **tracker** (assigned/re-prioritized tickets). The one overview of every open work; `/flow-work-resume` is the one-branch view. With forge and tracker both unavailable it is still the full local picture.
26
26
 
27
- **Read-only.** Never touches `meta.json`, git, the forge, or the tracker; its only write is the "last seen" marker (§7). What it finds stale it reports and points at the command that writes.
27
+ **Read-only.** Never touches `meta.json`, git, the forge, or the tracker; its only writes are the "last seen" marker (§7) and, with `panel.artifact` set, the control-room cards §2 finds stale — with the `card.json` the panel CLI renders for those works (never their `panel.json`: that is each work's own session's pane). What it finds stale it reports and points at the command that writes.
28
28
 
29
29
  ## Modes
30
30
 
@@ -70,7 +70,7 @@ What the team is asking of you **right now**, and what already happened to the M
70
70
 
71
71
  - **Your open MRs/PRs**: `glab mr list --author=@me` / `gh pr list --author @me`.
72
72
  - **Awaiting your review**: `glab mr list --reviewer=@me` / `gh pr list --search "review-requested:@me"`.
73
- - **Recorded vs real state** — every `meta.json.mrs[]` entry with a number whose `status` is not `merged`/`closed`/`superseded`: one `glab mr view <n> --output json` / `gh pr view <n> --json state,mergedAt` each. The forge says merged or closed while the work still says otherwise → that work is **stale**: the merge happened outside flow, and the open-list above can no longer show it.
73
+ - **Recorded vs real state** — every `meta.json.mrs[]` entry with a number whose `status` is not `merged`/`closed`/`superseded`: one `glab mr view <n> --output json` / `gh pr view <n> --json state,mergedAt` each. The forge says merged or closed while the work still says otherwise → that work is **stale**: the merge happened outside flow, and the open-list above can no longer show it. With `panel.artifact` set, its control-room card is brought up to date now (flow-core §4.6, *a card whose MR/PR moved without its session*).
74
74
  - **CI red** on your MRs/PRs → flag it (→ `/flow-work-green`).
75
75
  - **Cannot merge** — the forge's verdict, distinct from the pipeline: conflicts, behind base, draft, approvals missing (`detailed_merge_status`/`has_conflicts` on GitLab · `mergeable`/`mergeStateStatus`/`reviewDecision` on GitHub). Flag separately, naming the reason. Conflicts / behind-base → `/flow-work-green`; draft and approvals are yours or the reviewers' to clear.
76
76
  - **Threads that need *your* reply** — **latest comment not yours** (§0), fetched per open MR/PR (`glab api .../merge_requests/:iid/discussions` · `gh api` review threads). This — **not** the raw *unresolved* count — is the signal for `/flow-work-respond` (it **never resolves** threads, so an answered thread stays unresolved until the reviewer closes it).
@@ -32,7 +32,7 @@ Extract from `git`: `host`, `cli` (empty → the default for that host), `defaul
32
32
 
33
33
  Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`; the wait it delegates takes `models.supervisors`.**
34
34
 
35
- **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told.
35
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
36
36
 
37
37
  **In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
38
38
 
@@ -18,7 +18,7 @@ description: Hand a finished study to whoever builds it elsewhere — push only
18
18
 
19
19
  Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, autonomy, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session.
20
20
 
21
- **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
22
22
 
23
23
  For a study made here and built somewhere else — a server running `/flow-work-run` unattended,
24
24
  another person, another machine. The builder gets the work folder at the same path and nothing
@@ -86,7 +86,7 @@ cd "$(git rev-parse --show-toplevel)" || exit 1
86
86
  [ -d "$WORK" ] || { echo "no such folder: $WORK"; exit 1; }
87
87
  tmp=$(mktemp -d) || exit 1
88
88
  idx="$tmp/index" # does not exist yet: git starts an empty index there
89
- GIT_INDEX_FILE="$idx" git add -f -- "$WORK" ":(exclude)$WORK/panel.json" &&
89
+ GIT_INDEX_FILE="$idx" git add -f -- "$WORK" ":(exclude)$WORK/panel.json" ":(exclude)$WORK/panel-input.json" ":(exclude)$WORK/card.json" ":(exclude)$WORK/forge-state.json" ":(exclude)$WORK/.panel-refresh*" ":(exclude)$WORK/*.tmp" &&
90
90
  files=$(GIT_INDEX_FILE="$idx" git ls-files) &&
91
91
  tree=$(GIT_INDEX_FILE="$idx" git write-tree) &&
92
92
  commit=$(git commit-tree "$tree" -m "study $TICKET")
@@ -96,8 +96,9 @@ printf '%s\n' "$files"; echo "commit=$commit"
96
96
  ```
97
97
 
98
98
  `GIT_INDEX_FILE` is set per command, never exported, so a failure leaves no session pointing git
99
- at a deleted index. `panel.json` stays out: it is this machine's terminal panel, and on another one
100
- it would show this session's last state as if it were theirs. The block failing → its message, and
99
+ at a deleted index. `panel.json`, `panel-input.json`, `card.json`, `forge-state.json`, the `.panel-refresh*` stamps and
100
+ any `*.tmp` stay out: they are this machine's panel, and on
101
+ another one they would show this session's last state as if it were theirs. The block failing → its message, and
101
102
  stop: `commit-tree` with no git identity configured is the usual cause.
102
103
 
103
104
  ## 4. Confirm, then push
@@ -18,7 +18,7 @@ description: Put a data-access query on trial — schema, indexes, execution pla
18
18
 
19
19
  Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`; its parallel rounds take `models.workers`.**
20
20
 
21
- **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
22
22
 
23
23
  **A query is approved by its plan, not by prose.** Fact sheet → challenger attacks → each point settled with a **plan or a number**. **Cross-cutting** (feat or bug), **repeatable**, does **not** advance `meta.json.phase`; runs with or without a work folder.
24
24
 
@@ -28,7 +28,7 @@ Extract from `git`: `host`, `cli` (empty → the default for that host), `assign
28
28
 
29
29
  Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: this command runs with the model it was launched with (no `models` key).**
30
30
 
31
- **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told.
31
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
32
32
 
33
33
  **In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
34
34
 
@@ -18,7 +18,7 @@ description: Resume the work associated with the current branch and suggest the
18
18
 
19
19
  Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, autonomy, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session.
20
20
 
21
- **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
22
22
 
23
23
  Use when returning to a work after a break (next morning, another session) — including a work an
24
24
  unattended run left with a question pending at its orchestrator (flow-core §2.1).
@@ -98,32 +98,16 @@ With what is new (there is already work on disk):
98
98
 
99
99
  ## 5. Rebuild the live panel
100
100
 
101
- After a break the panel is most likely stale, and a resumed session is exactly where flow-core §4 asks for `panel_get` **before** publishing: read what is on screen, then publish the whole document from the state just rebuilt (`meta.json`, git, the ticket) — `panel_set` where the terminal offers the panel tools, `.claude/work/<work>/panel.json` overwritten whole where it does not:
101
+ After a break the panel is most likely stale, and a resumed session is exactly where flow-core §4 asks for `panel_get` **before** publishing: read what is on screen, then render it from the state just rebuilt — `panel-input.json` written whole, then the panel CLI with `--forge` (flow-core §4), whose document goes to `panel_set` where the terminal offers the panel tools:
102
102
 
103
103
  ```json
104
- {
105
- "updated_at": "2026-08-06T16:45:00+02:00",
106
- "phase": "build",
107
- "header": true,
108
- "lines": [
109
- {"text": "<work title>", "style": "title"},
110
- "",
111
- {"ref": "#1", "text": "batch read sources", "mark": "wait", "link": "https://gitlab.com/…/merge_requests/9977"},
112
- {"ref": "#2", "text": "per-event counters", "mark": "current"},
113
- {"ref": "#3–#6", "text": "channel map · use case · detail · route", "mark": "pending"},
114
- "",
115
- {"ref": "Now", "text": "nothing running — just resumed", "mark": "info"},
116
- {"ref": "Next", "text": "build", "mark": "info"},
117
- {"ref": "Decision", "text": "run the next step, or leave it for another work", "mark": "wait"},
118
- "",
119
- {"text": "sibling-repo still needs the endpoint contract", "mark": "block"}
120
- ]
121
- }
104
+ {"phase": "build", "now": "nothing running — just resumed", "next": "build",
105
+ "decision": "run the next step, or leave it for another work",
106
+ "blocks": [{"text": "sibling-repo still needs the endpoint contract"}]}
122
107
  ```
123
108
 
124
109
  - `phase` = the phase you are resuming into (`meta.json.phase` does not yet say it).
125
- - `Now` in prose; `Next` names the command §4 suggested.
126
- - `Decision` marked `wait` is always set after a resume — nothing is running, the next move is the user's. It goes the moment they make it (flow-core §4.4e), not at the next stop.
127
- - `block` lines for the blockers §4 surfaced (`contract_handoff` `pending` in a sibling repo, a red pipeline, an unmerged dependency).
128
- - Train: one entry per `meta.json.mrs[]`, not-started collapsed into one `#a–#z` line; omit without `mrs`.
129
- - `updated_at` from `date -Iseconds` when the panel goes to the file; every fact from `meta.json` and the artifacts; language of the work's artifacts.
110
+ - `now` in prose; `next` names the phase §4 suggested.
111
+ - `decision` is always set after a resume — nothing is running, the next move is the user's. It goes the moment they make it (flow-core §4.4e), not at the next stop.
112
+ - `blocks` for the blockers §4 surfaced (`contract_handoff` `pending` in a sibling repo, a red pipeline, an unmerged dependency); `labels` in the language of the work's artifacts.
113
+ - The train, the steps and each MR/PR's real state come from the CLI: never typed here.
@@ -18,7 +18,7 @@ description: The one entry an orchestrator launches for an unattended run — as
18
18
 
19
19
  Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: this command runs with the model it was launched with (no `models` key).**
20
20
 
21
- **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
22
22
 
23
23
  **In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
24
24
 
@@ -18,7 +18,7 @@ description: Point the main checkout at a branch to test it (then return), re-sy
18
18
 
19
19
  Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, autonomy, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session.
20
20
 
21
- **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
22
22
 
23
23
  Temporarily point the **main checkout** at another branch to test it against this checkout's live environment (running stack, DB, containers), then return — a generic `make wt-try`/`wt-back` pair. The git switch is built in; the project-specific re-sync (e.g. migrations) comes from `git.worktree_resync` in `FLOW.md`. Operates **in place**; never creates or touches worktrees.
24
24
 
@@ -18,7 +18,7 @@ description: Monitor the observability platform after a deploy and alert on erro
18
18
 
19
19
  Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: this command runs with the model it was launched with; the wait it delegates takes `models.supervisors`.**
20
20
 
21
- **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
22
22
 
23
23
  **Autopiloted post-deploy monitoring**: signals **scoped to the change** over a window (default 30 min), against a baseline; alert on errors or performance regressions from the deploy.
24
24