flow-workflows 0.114.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.
Files changed (122) hide show
  1. package/README.md +10 -4
  2. package/adapters/codex/CORE.md +224 -135
  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 +3 -3
  16. package/adapters/codex/skills/flow-feat-start/SKILL.md +2 -2
  17. package/adapters/codex/skills/flow-feat-validate/SKILL.md +1 -1
  18. package/adapters/codex/skills/flow-next/SKILL.md +1 -1
  19. package/adapters/codex/skills/flow-work-README/SKILL.md +8 -8
  20. package/adapters/codex/skills/flow-work-abandon/SKILL.md +2 -2
  21. package/adapters/codex/skills/flow-work-clean/SKILL.md +1 -1
  22. package/adapters/codex/skills/flow-work-daily/SKILL.md +3 -3
  23. package/adapters/codex/skills/flow-work-green/SKILL.md +1 -1
  24. package/adapters/codex/skills/flow-work-handoff/SKILL.md +5 -4
  25. package/adapters/codex/skills/flow-work-query/SKILL.md +1 -1
  26. package/adapters/codex/skills/flow-work-respond/SKILL.md +1 -1
  27. package/adapters/codex/skills/flow-work-resume/SKILL.md +9 -25
  28. package/adapters/codex/skills/flow-work-run/SKILL.md +1 -1
  29. package/adapters/codex/skills/flow-work-try/SKILL.md +1 -1
  30. package/adapters/codex/skills/flow-work-watch/SKILL.md +1 -1
  31. package/adapters/gemini/CORE.md +224 -135
  32. package/adapters/gemini/commands/flow/bug/fix.toml +2 -2
  33. package/adapters/gemini/commands/flow/bug/investigate.toml +1 -1
  34. package/adapters/gemini/commands/flow/bug/postmortem.toml +1 -1
  35. package/adapters/gemini/commands/flow/bug/review.toml +1 -1
  36. package/adapters/gemini/commands/flow/bug/ship.toml +2 -2
  37. package/adapters/gemini/commands/flow/bug/start.toml +1 -1
  38. package/adapters/gemini/commands/flow/bug/validate.toml +1 -1
  39. package/adapters/gemini/commands/flow/doctor.toml +1 -1
  40. package/adapters/gemini/commands/flow/feat/build.toml +3 -3
  41. package/adapters/gemini/commands/flow/feat/design.toml +1 -1
  42. package/adapters/gemini/commands/flow/feat/plan.toml +1 -1
  43. package/adapters/gemini/commands/flow/feat/review.toml +1 -1
  44. package/adapters/gemini/commands/flow/feat/ship.toml +3 -3
  45. package/adapters/gemini/commands/flow/feat/start.toml +2 -2
  46. package/adapters/gemini/commands/flow/feat/validate.toml +1 -1
  47. package/adapters/gemini/commands/flow/next.toml +1 -1
  48. package/adapters/gemini/commands/flow/work/README.toml +8 -8
  49. package/adapters/gemini/commands/flow/work/abandon.toml +2 -2
  50. package/adapters/gemini/commands/flow/work/clean.toml +1 -1
  51. package/adapters/gemini/commands/flow/work/daily.toml +3 -3
  52. package/adapters/gemini/commands/flow/work/green.toml +1 -1
  53. package/adapters/gemini/commands/flow/work/handoff.toml +5 -4
  54. package/adapters/gemini/commands/flow/work/query.toml +1 -1
  55. package/adapters/gemini/commands/flow/work/respond.toml +1 -1
  56. package/adapters/gemini/commands/flow/work/resume.toml +9 -25
  57. package/adapters/gemini/commands/flow/work/run.toml +1 -1
  58. package/adapters/gemini/commands/flow/work/try.toml +1 -1
  59. package/adapters/gemini/commands/flow/work/watch.toml +1 -1
  60. package/adapters/hermes/CORE.md +224 -135
  61. package/adapters/hermes/skills/flow-bug-fix/SKILL.md +2 -2
  62. package/adapters/hermes/skills/flow-bug-investigate/SKILL.md +1 -1
  63. package/adapters/hermes/skills/flow-bug-postmortem/SKILL.md +1 -1
  64. package/adapters/hermes/skills/flow-bug-review/SKILL.md +1 -1
  65. package/adapters/hermes/skills/flow-bug-ship/SKILL.md +2 -2
  66. package/adapters/hermes/skills/flow-bug-start/SKILL.md +1 -1
  67. package/adapters/hermes/skills/flow-bug-validate/SKILL.md +1 -1
  68. package/adapters/hermes/skills/flow-doctor/SKILL.md +1 -1
  69. package/adapters/hermes/skills/flow-feat-build/SKILL.md +3 -3
  70. package/adapters/hermes/skills/flow-feat-design/SKILL.md +1 -1
  71. package/adapters/hermes/skills/flow-feat-plan/SKILL.md +1 -1
  72. package/adapters/hermes/skills/flow-feat-review/SKILL.md +1 -1
  73. package/adapters/hermes/skills/flow-feat-ship/SKILL.md +3 -3
  74. package/adapters/hermes/skills/flow-feat-start/SKILL.md +2 -2
  75. package/adapters/hermes/skills/flow-feat-validate/SKILL.md +1 -1
  76. package/adapters/hermes/skills/flow-next/SKILL.md +1 -1
  77. package/adapters/hermes/skills/flow-work-README/SKILL.md +8 -8
  78. package/adapters/hermes/skills/flow-work-abandon/SKILL.md +2 -2
  79. package/adapters/hermes/skills/flow-work-clean/SKILL.md +1 -1
  80. package/adapters/hermes/skills/flow-work-daily/SKILL.md +3 -3
  81. package/adapters/hermes/skills/flow-work-green/SKILL.md +1 -1
  82. package/adapters/hermes/skills/flow-work-handoff/SKILL.md +5 -4
  83. package/adapters/hermes/skills/flow-work-query/SKILL.md +1 -1
  84. package/adapters/hermes/skills/flow-work-respond/SKILL.md +1 -1
  85. package/adapters/hermes/skills/flow-work-resume/SKILL.md +9 -25
  86. package/adapters/hermes/skills/flow-work-run/SKILL.md +1 -1
  87. package/adapters/hermes/skills/flow-work-try/SKILL.md +1 -1
  88. package/adapters/hermes/skills/flow-work-watch/SKILL.md +1 -1
  89. package/adapters/opencode/CORE.md +224 -135
  90. package/adapters/opencode/commands/flow-bug-fix.md +2 -2
  91. package/adapters/opencode/commands/flow-bug-investigate.md +1 -1
  92. package/adapters/opencode/commands/flow-bug-postmortem.md +1 -1
  93. package/adapters/opencode/commands/flow-bug-review.md +1 -1
  94. package/adapters/opencode/commands/flow-bug-ship.md +2 -2
  95. package/adapters/opencode/commands/flow-bug-start.md +1 -1
  96. package/adapters/opencode/commands/flow-bug-validate.md +1 -1
  97. package/adapters/opencode/commands/flow-doctor.md +1 -1
  98. package/adapters/opencode/commands/flow-feat-build.md +3 -3
  99. package/adapters/opencode/commands/flow-feat-design.md +1 -1
  100. package/adapters/opencode/commands/flow-feat-plan.md +1 -1
  101. package/adapters/opencode/commands/flow-feat-review.md +1 -1
  102. package/adapters/opencode/commands/flow-feat-ship.md +3 -3
  103. package/adapters/opencode/commands/flow-feat-start.md +2 -2
  104. package/adapters/opencode/commands/flow-feat-validate.md +1 -1
  105. package/adapters/opencode/commands/flow-next.md +1 -1
  106. package/adapters/opencode/commands/flow-work-README.md +8 -8
  107. package/adapters/opencode/commands/flow-work-abandon.md +2 -2
  108. package/adapters/opencode/commands/flow-work-clean.md +1 -1
  109. package/adapters/opencode/commands/flow-work-daily.md +3 -3
  110. package/adapters/opencode/commands/flow-work-green.md +1 -1
  111. package/adapters/opencode/commands/flow-work-handoff.md +5 -4
  112. package/adapters/opencode/commands/flow-work-query.md +1 -1
  113. package/adapters/opencode/commands/flow-work-respond.md +1 -1
  114. package/adapters/opencode/commands/flow-work-resume.md +9 -25
  115. package/adapters/opencode/commands/flow-work-run.md +1 -1
  116. package/adapters/opencode/commands/flow-work-try.md +1 -1
  117. package/adapters/opencode/commands/flow-work-watch.md +1 -1
  118. package/bin/cli.mjs +572 -12
  119. package/package.json +1 -1
  120. package/plugins/flow/.claude-plugin/plugin.json +1 -1
  121. package/plugins/flow/CHANGELOG.md +49 -0
  122. package/plugins/flow/examples/FLOW.template.md +2 -1
@@ -18,7 +18,7 @@ description: Implement the feature following the approved design and keep a runn
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`.**
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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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
 
@@ -186,7 +186,7 @@ Execution mode:
186
186
 
187
187
  Use `TaskCreate` to track the steps of the **§2.0ter plan for this MR/PR** — one task per numbered step, same order. Step skipped there (small MR/PR) → seed from `03-design.md` §"Implementation plan (order)", taking only the steps this MR/PR covers per `04-mr-plan.md`; the feature's plan predates the split and carries steps that belong to siblings. Mark each step `in_progress` when starting and `completed` when done — do not batch.
188
188
 
189
- **The steps go to the live panel** (flow-core §4.1 (2b), §4.4 (f)) — that is the list the user watches, whatever the harness. Publish the block when the first step starts, patch it as each one lands.
189
+ **The steps go to the live panel** (flow-core §4.1, §4.4 (f)) — that is the list the user watches, whatever the harness. The panel CLI draws them from the ticks in `05-implementation.md`: render the panel when the first step starts and again as each one lands — where the plugin's hook runs, the tick itself renders it.
190
190
 
191
191
  **A harness task list is optional on top.** `TaskCreate` is the Claude Code name; a harness may call it otherwise (`TodoWrite` on older builds), list it **deferred** — by name only, uncallable until its schema is loaded — or not offer it at all (Claude Code withholds it from newer models unless `CLAUDE_CODE_ENABLE_TODO_TOOLS=true`). There → seed it too; not there → nothing is missing and nothing is said. Either way the plan in `05-implementation.md` is the record: tick each step there (`- [x]`) as it lands — the panel and any task list follow the ticks, never the other way round.
192
192
 
@@ -239,7 +239,7 @@ The step's changes are **always reported before anything is recorded**. Who deci
239
239
 
240
240
  **After completing each plan step**:
241
241
 
242
- 1. **Tick the step** in `05-implementation.md`, patch the panel's step block (flow-core §4.4 (f)), and mark it `completed` in the harness task list if there is one (§2.1).
242
+ 1. **Tick the step** in `05-implementation.md`, move `now` on in `panel-input.json` and render the panel (flow-core §4.4 (f)), and mark it `completed` in the harness task list if there is one (§2.1).
243
243
  2. **Report to the user** a step summary (≤ 5 lines):
244
244
  ```
245
245
  Step N done: <description>
@@ -18,7 +18,7 @@ description: Design the technical solution (architecture, DB, APIs, risks) befor
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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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: Split the work into small, independently mergeable MRs/PRs before i
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`.**
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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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: Mandatory multi-agent code review before shipping
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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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: Commit, push, MR/PR, and offer to save domain knowledge
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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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
 
@@ -254,7 +254,7 @@ git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null # must NOT be
254
254
  Only here — with the content approved in §3 — invoke `Skill commit-commands:commit-push-pr` passing **the final title and description**. The skill must not re-ask for the content; if it does, answer with what was confirmed. Any push it does must be `git push -u origin HEAD` (own branch), never to the base branch.
255
255
 
256
256
  - `git.assignee` not empty → assign to that user. `git.squash` `true` → enable squash-before-merge.
257
- - **Roadmap mark approved in §3** → write it into the roadmap file **before** the commit, here in the worktree (a tracked file belongs to the branch, flow-core §0), so it ships in the same commit as the change. A git-ignored roadmap is edited in place in the main checkout instead, and the stop says it travelled in no MR/PR.
257
+ - **Roadmap mark approved in §3** → write it into the roadmap file **before** the commit, here in the worktree (a tracked file belongs to the branch, flow-core §0), so it ships in the same commit as the change. A git-ignored roadmap is edited in place in the main checkout instead, and the stop says it travelled in no MR/PR. With the project plan on (flow-core §10.1), publish it right after the commit, from the file this commit carries, and refresh `meta.json.roadmap.milestone` / `deliverable` by its rule — a ticket cell this edit just filled is what first places the work on the board.
258
258
  - **Knowledge approved in §3** → at the same point, before the commit: run the consolidation of flow-core §0 on the approved list, step 4 included — with `meta.json.worktree` set, every file `knowledge.save` wrote is moved from the main checkout into this worktree, so it is in the diff about to be committed and the main checkout is left as it was. Then stage what it wrote (`meta.json.knowledge.files`, or the `KNOWLEDGE.md` it appended) with the change — and the files an earlier phase already landed in this worktree (the same key), which are otherwise left uncommitted. A store that writes outside the repo leaves nothing to stage, and that is fine. A `save` that fails → report it in one line, `meta.json.knowledge.status: "failed"`, and the MR/PR goes out without those files; §5 offers them again.
259
259
  - `commit-push-pr` skill unavailable → commit and push manually and create the MR/PR with the `git.cli` CLI from `FLOW.md` — always with the content confirmed in §3.
260
260
 
@@ -434,7 +434,7 @@ In every scenario:
434
434
  ```
435
435
 
436
436
  Nothing back → the content is **not** on the base whatever the forge says (see §6.2.1). Do not mark the entry `merged`: leave it `in_progress` with a `note`, tell the user in one line, and recover it with a fresh MR/PR against `git.default_base` before the train moves on.
437
- - Refresh the panel from the updated `meta.json`. A shipped-but-open MR/PR is a `wait` line carrying its `link`; it becomes `done` only when confirmed merged. When this ship sets `phase = "done"`, say so in plain words (`mark: "info"` with `style: "ok"`: nothing left here) and drop the `Decision` line.
437
+ - Render the panel from the updated `meta.json` (flow-core §4, with `--forge`): a shipped-but-open MR/PR draws as `wait` with its real state, `done` once merged; when this ship sets `phase = "done"` the CLI closes the panel itself (nothing left here, `attention: done`) — drop `decision` from the input.
438
438
  - Overwrite `00-summary.md` whole (≤15 lines, flow-core §5).
439
439
 
440
440
  ### 6.1.1 Tracker: move to done
@@ -18,7 +18,7 @@ description: Start a new feature (read the tracker, classify size, create branch
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 (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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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
 
@@ -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, 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.
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. With the project plan on (flow-core §10.1), publish it now and record where this work sits in it — `meta.json.roadmap.milestone` / `deliverable` only when this ticket is in a deliverable's ticket cell — before the first panel of the work, so that panel already carries them.
159
159
 
160
160
  ## 4. Classify size
161
161
 
@@ -18,7 +18,7 @@ description: Validate tests, edge cases, and integrity before shipping
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`; 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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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
 
@@ -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 item whose dependencies are met, what is blocked, and any stale item.
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. With the project plan on (flow-core §10.1), publish it now, from the file just read.
34
34
 
35
35
  ## 2. Route
36
36
 
@@ -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.
@@ -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 item's text — a checkbox line or a table row", "under": "Phase 2 › Milestone 2.3" } | null,
122
+ "roadmap": { "path": "ROADMAP.md", "item": "the item's text — a checkbox line or a table row", "under": "Phase 2 › Milestone 2.3", "milestone": "H2 — optional, flow-core §10.1", "deliverable": "MT-1234 — optional" } | null,
123
123
  "followups": [
124
124
  { "id": "F1",
125
125
  "kind": "prevention" | "audit" | "out-of-scope" | "risk" | "edge-case" | "other-bug" | "tooling" | "decision",
@@ -165,7 +165,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
165
165
  - **`escape`** (bug works only): `{ work, ticket, commit, file, size }` — the reviewed work the root-cause commit belongs to, written by `flow escape` at `bug:investigate`'s Close, and only when the commit sits inside exactly one work's reviewed range (merge history) or carries the number of exactly one reviewed MR/PR (squash). `flow yield` prints `escapes: <n>` under the table of that work's size: what a lighter review at that size has already let through.
166
166
  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.
167
167
  - **`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.
168
- - **`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
+ - **`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. With the project plan on (flow-core §10.1) it may also carry `milestone` and `deliverable` — the plan's ids for the deliverable whose ticket cell names this work's ticket — which the panel copies so the board hangs this console from it; absent when the ticket is in no row.
169
169
  - **`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.
170
170
  - **`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.
171
171
  - **`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.
@@ -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
  {
@@ -209,16 +209,16 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
209
209
  - **`ref`** — the column label: `#1`, `#3–#6`, `Now`, `Next`, `Decision`.
210
210
  - **`link`** — URL as a **field, never pasted into `text`**; the reader shortens it to the MR/PR number and makes it clickable. Every line naming an MR/PR carries one — train entry, blocker about another MR/PR, `Now`/`Next` about the open one (flow-core §4.1).
211
211
  - **`stale_after_minutes`** — raises the 30-minute staleness threshold for a stretch known to run long.
212
- - **`style`** — `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`; semantic names, the reader owns the palette.
212
+ - **`style`** — `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`; semantic names, the reader owns the palette. `section` opens a block: `summary` is its figure on the right and `collapsed: true` starts it folded (flow-core §4.1).
213
213
  - **`header`** — `true` (default): the reader draws ticket, type, phase and age, which never belong in `lines`. `false` hands every line to the writer.
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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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
 
@@ -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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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 writes are the "last seen" marker (§7) and, with `panel.artifact` set, the control-room cards §2 finds stale. 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
 
@@ -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, 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.
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. With the project plan on (flow-core §10.1), publish it from the file just read.
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
 
@@ -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. **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.
35
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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. **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.
31
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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. **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.
21
+ **Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. 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