flow-workflows 0.118.0 → 0.119.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 (28) hide show
  1. package/README.md +2 -1
  2. package/adapters/codex/CORE.md +36 -10
  3. package/adapters/codex/skills/flow-doctor/SKILL.md +1 -1
  4. package/adapters/codex/skills/flow-feat-ship/SKILL.md +1 -1
  5. package/adapters/codex/skills/flow-feat-start/SKILL.md +3 -1
  6. package/adapters/codex/skills/flow-next/SKILL.md +2 -1
  7. package/adapters/codex/skills/flow-work-daily/SKILL.md +2 -1
  8. package/adapters/gemini/CORE.md +36 -10
  9. package/adapters/gemini/commands/flow/doctor.toml +1 -1
  10. package/adapters/gemini/commands/flow/feat/ship.toml +1 -1
  11. package/adapters/gemini/commands/flow/feat/start.toml +3 -1
  12. package/adapters/gemini/commands/flow/next.toml +2 -1
  13. package/adapters/gemini/commands/flow/work/daily.toml +2 -1
  14. package/adapters/hermes/CORE.md +36 -10
  15. package/adapters/hermes/skills/flow-doctor/SKILL.md +1 -1
  16. package/adapters/hermes/skills/flow-feat-ship/SKILL.md +1 -1
  17. package/adapters/hermes/skills/flow-feat-start/SKILL.md +3 -1
  18. package/adapters/hermes/skills/flow-next/SKILL.md +2 -1
  19. package/adapters/hermes/skills/flow-work-daily/SKILL.md +2 -1
  20. package/adapters/opencode/CORE.md +36 -10
  21. package/adapters/opencode/commands/flow-doctor.md +1 -1
  22. package/adapters/opencode/commands/flow-feat-ship.md +1 -1
  23. package/adapters/opencode/commands/flow-feat-start.md +3 -1
  24. package/adapters/opencode/commands/flow-next.md +2 -1
  25. package/adapters/opencode/commands/flow-work-daily.md +2 -1
  26. package/package.json +1 -1
  27. package/plugins/flow/.claude-plugin/plugin.json +1 -1
  28. package/plugins/flow/CHANGELOG.md +31 -0
package/README.md CHANGED
@@ -336,7 +336,7 @@ flow-workflows/
336
336
  │ ├── commands/ feat/ bug/ work/ + next, init, doctor, news
337
337
  │ ├── codex-skills/ · zcode-commands/ # generated mirrors for the two other plugin hosts
338
338
  │ ├── skills/flow-core/ # shared rules, loaded once per session
339
- │ ├── hooks/ push guard · update notice · where-you-left-off notice
339
+ │ ├── hooks/ push guard · update notice · where-you-left-off notice · session title
340
340
  │ └── examples/ FLOW.template.md · symfony/ (a worked example, never loaded)
341
341
  ├── docs/ CONCEPTS · PHILOSOPHY · DESIGN · CONFIGURATION · WORKFLOWS
342
342
  ├── script/check.py # release preflight
@@ -355,6 +355,7 @@ python3 script/adapter-smoke.py # also runs install.sh against a throwaway
355
355
  bash script/tests/push-guard.sh # the push guard's cases
356
356
  bash script/tests/notify-update.sh # the update-notice hook's cases
357
357
  bash script/tests/session-start.sh # the where-you-left-off hook's cases
358
+ bash script/tests/session-title.sh # the session-title hook's cases
358
359
  bash script/tests/review-unwrap.sh # the answer shapes `flow review` has to unwrap
359
360
  bash script/tests/bench-compare.sh # the reader that compares two runs of the review bench
360
361
  ```
@@ -17,7 +17,7 @@ Every `$flow-*` command assumes these rules. They are stated once, here, so a co
17
17
  carries what is specific to its phase. Read this once per session; a command that says "load
18
18
  `flow-core`" means this file.
19
19
 
20
- **This file belongs to flow `0.118.0`.** Compare it once, at the start of the session, against
20
+ **This file belongs to flow `0.119.0`.** Compare it once, at the start of the session, against
21
21
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
22
22
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
23
23
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -760,7 +760,8 @@ harness namespaces an MCP server's tools, so what you are looking for is a tool
760
760
  `panel_set` — `mcp__ivy__panel_set` on Claude Code inside an Ivy pane, another prefix elsewhere. It may also be
761
761
  **deferred**: listed by name with no schema, uncallable until you load it, and indistinguishable from
762
762
  absent unless you read that list. A deferred tool is a tool that is there; load the schemas and
763
- publish. A `panel_get` that answers is the proof that the channel works; a tool that answers that
763
+ publish. With the project plan on (§10.1), the same lookup loads the tools ending in `plan_get` and
764
+ `plan_set`: a session that loads only the panel tools is one that never publishes the plan. A `panel_get` that answers is the proof that the channel works; a tool that answers that
764
765
  this console is not one of its panes → the file is the transport for the rest of the session.
765
766
 
766
767
  ### 4.1 The document — what the CLI prints, and what you write when it cannot
@@ -1629,20 +1630,45 @@ after they compute where the project stands, `$flow-feat-start` after it links t
1629
1630
  `$flow-feat-ship` right after it commits a roadmap edit — the branch's file, as the MR/PR carries
1630
1631
  it. That is on purpose: the board shows the deliverable moving the moment its MR/PR says so, and a
1631
1632
  later `next` or `daily` run from a checkout that has not merged it yet publishes that checkout's
1632
- file again — each publication is the file it was read from, never a merge of several. First `plan_get`: the same document → nothing to send. Otherwise one `plan_set` with the
1633
- document and `repo` the checkout the file was read from.
1633
+ file again — each publication is the file it was read from, never a merge of several.
1634
+
1635
+ **Publishing is its own step, done in this order — never a clause folded into the roadmap
1636
+ summary.** Read as an afterthought, it was skipped: consoles of a repo with `roadmap.path` set
1637
+ published their panel dozens of times inside the terminal and never once called `plan_get` — one
1638
+ loaded the plan tools and still never called them — so the board said *no roadmap* for a project
1639
+ whose file flow read at every start.
1640
+
1641
+ 1. **Load the tools.** In the same lookup as the panel tools (§4): the tools whose names end in
1642
+ `plan_get` and `plan_set`, loading their schemas when they are deferred. Absent, or a tool
1643
+ answering that this console is not one of its panes → the plan is off for this session, and
1644
+ nothing is said.
1645
+ 2. **Translate** the file just read into the document above.
1646
+ 3. **`plan_get`.** The same document → nothing to send. Otherwise one `plan_set` with the document
1647
+ and `repo` the checkout the file was read from.
1648
+ 4. **Place this console** — only from a work's checkout (`start`, `ship`), by the rule below, and
1649
+ before the first panel that follows, so that panel already carries the place.
1650
+ 5. **Say it.** The stop of the command that published carries one line: `plan: published` ·
1651
+ `plan: unchanged` · `plan: <error>`. A plan that is on and has no line at the stop is a step that
1652
+ was skipped.
1634
1653
 
1635
1654
  **Where this console works.** The same moment, from a work's checkout (`start`, `ship`): the rows
1636
1655
  whose ticket cell names `meta.json.ticket`, both in canonical form (§0, the ticket), decide it. One row → write its milestone's `id` and the
1637
1656
  row's `id` into `meta.json.roadmap` as `milestone` and `deliverable`; several → the one
1638
- `meta.json.roadmap.item` names, else `milestone` alone when they share one, else neither. No row →
1639
- neither, and remove them if an earlier publication wrote them: the panel then carries no place, and
1640
- the board shows the console off the plan, which is what it is. The panel CLI copies the two fields
1641
- from `meta.json` into every render (§4.1); nothing else sets them.
1657
+ `meta.json.roadmap.item` names, else `milestone` alone when they share one, else neither. **No row
1658
+ → the row the work is linked to** (`meta.json.roadmap.item` under `under`, §10), when the file still
1659
+ has it: its milestone's `id` as `milestone`, and the row's `id` as `deliverable` only when the
1660
+ translation gave it one. A row is usually ticket-less exactly when its work starts — the ticket is
1661
+ created for it — so this is the common case, not the edge: the console sits inside its milestone
1662
+ from the first panel, and on its deliverable once `ship` fills the ticket cell and places it again.
1663
+ Never an `id` invented from the work's ticket: each publication replaces the whole plan, and an id
1664
+ that one checkout writes and another does not would come and go. Neither found → neither, and
1665
+ remove them if an earlier publication wrote them: the panel then carries no place, and the board
1666
+ shows the console off the plan, which is what it is. The panel CLI copies the two fields from
1667
+ `meta.json` into every render (§4.1); nothing else sets them.
1642
1668
 
1643
1669
  **Failure never stops a phase.** A refusal, a malformed reply or a tool that errors → no retry; the
1644
- next stop carries one line, `plan: <error>`, once per session. `plan_retire` is the person's: flow
1645
- never retires a plan.
1670
+ stop's line is `plan: <error>`, once per session. `plan_retire` is the person's: flow never retires
1671
+ a plan.
1646
1672
 
1647
1673
  ## 11. A red test outside the change — find the cause before it is excused
1648
1674
 
@@ -237,7 +237,7 @@ refuse) · **degraded** (it runs, quietly worse than the config promises), plus
237
237
  ### 2.4 Hooks
238
238
 
239
239
  - The plugin's hooks are installed, **executable**, and the version this plugin expects: the push
240
- guard (`hooks/block-push-to-master.sh`) and the session-start update notice. Check the `+x` bit,
240
+ guard (`hooks/block-push-to-master.sh`), the session-start update notice and the session-title hook (`hooks/session-title.sh`). Check the `+x` bit,
241
241
  not just the path — a hook without it fails open and silently.
242
242
  - `hooks.json` parses; a syntax error there disables the hooks without a word.
243
243
 
@@ -256,7 +256,7 @@ git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null # must NOT be
256
256
  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.
257
257
 
258
258
  - `git.assignee` not empty → assign to that user. `git.squash` `true` → enable squash-before-merge.
259
- - **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.
259
+ - **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, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — then refresh `meta.json.roadmap.milestone` / `deliverable` by its rule, and put the `plan:` line in the stop. A ticket cell this edit just filled is what moves the console from its milestone onto its deliverable.
260
260
  - **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.
261
261
  - `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.
262
262
 
@@ -157,7 +157,9 @@ Another repo referenced but **no** contract → say so in one line — *"the `<r
157
157
 
158
158
  ## 3.7 Roadmap item
159
159
 
160
- 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.
160
+ 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.
161
+
162
+ **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`), and a step of its own, right after the link and before the first panel of the work: publish it by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — then write `meta.json.roadmap.milestone` / `deliverable` by its *Where this console works* rule. The row this work was just linked to usually has no ticket yet: it still places the console inside its milestone, and `ship` moves it onto the deliverable once the ticket cell is filled. The `plan:` line goes in this command's stop.
161
163
 
162
164
  ## 4. Classify size
163
165
 
@@ -32,7 +32,8 @@ runs a phase on its own and never advances `meta.json`.
32
32
  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).
33
33
  3b. `followups[]` across those works **and** their `_archive/*/meta.json`: any entry `accepted` with no `work` started (flow-core §7).
34
34
  4. Is the working tree dirty (`git status --porcelain`)?
35
- 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.
35
+ 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.
36
+ 6. **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`): publish it now, from the file step 5 read, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed. Its `plan:` line goes under the roadmap line of §2's answer. It is the one thing `next` sends anywhere, and it is not optional: the board shows no roadmap until some command sends it.
36
37
 
37
38
  ## 2. Route
38
39
 
@@ -49,7 +49,8 @@ Every *mine* below — your MRs/PRs, your threads, your tickets — is the **aut
49
49
  - Repo pulse: `git log --oneline --since="<last-session boundary>"` (fallback `-10`) and `git status --short` for uncommitted changes.
50
50
  - Per work: `phase`, `phases_done`, MRs and their `status` (from `meta.json.mrs`), and what was **left pending**.
51
51
  - **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.
52
- - **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.
52
+ - **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.
53
+ - **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`): publish it from the file the roadmap line just read, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — and put its `plan:` line under the roadmap line of the briefing. A step of its own, not a clause of the line above: folded into it, it was skipped.
53
54
  - **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.
54
55
  - **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.
55
56
 
@@ -16,7 +16,7 @@ Every `/flow:*` command assumes these rules. They are stated once, here, so a co
16
16
  carries what is specific to its phase. Read this once per session; a command that says "load
17
17
  `flow-core`" means this file.
18
18
 
19
- **This file belongs to flow `0.118.0`.** Compare it once, at the start of the session, against
19
+ **This file belongs to flow `0.119.0`.** Compare it once, at the start of the session, against
20
20
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
21
21
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
22
22
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -759,7 +759,8 @@ harness namespaces an MCP server's tools, so what you are looking for is a tool
759
759
  `panel_set` — `mcp__ivy__panel_set` on Claude Code inside an Ivy pane, another prefix elsewhere. It may also be
760
760
  **deferred**: listed by name with no schema, uncallable until you load it, and indistinguishable from
761
761
  absent unless you read that list. A deferred tool is a tool that is there; load the schemas and
762
- publish. A `panel_get` that answers is the proof that the channel works; a tool that answers that
762
+ publish. With the project plan on (§10.1), the same lookup loads the tools ending in `plan_get` and
763
+ `plan_set`: a session that loads only the panel tools is one that never publishes the plan. A `panel_get` that answers is the proof that the channel works; a tool that answers that
763
764
  this console is not one of its panes → the file is the transport for the rest of the session.
764
765
 
765
766
  ### 4.1 The document — what the CLI prints, and what you write when it cannot
@@ -1628,20 +1629,45 @@ after they compute where the project stands, `/flow:feat:start` after it links t
1628
1629
  `/flow:feat:ship` right after it commits a roadmap edit — the branch's file, as the MR/PR carries
1629
1630
  it. That is on purpose: the board shows the deliverable moving the moment its MR/PR says so, and a
1630
1631
  later `next` or `daily` run from a checkout that has not merged it yet publishes that checkout's
1631
- file again — each publication is the file it was read from, never a merge of several. First `plan_get`: the same document → nothing to send. Otherwise one `plan_set` with the
1632
- document and `repo` the checkout the file was read from.
1632
+ file again — each publication is the file it was read from, never a merge of several.
1633
+
1634
+ **Publishing is its own step, done in this order — never a clause folded into the roadmap
1635
+ summary.** Read as an afterthought, it was skipped: consoles of a repo with `roadmap.path` set
1636
+ published their panel dozens of times inside the terminal and never once called `plan_get` — one
1637
+ loaded the plan tools and still never called them — so the board said *no roadmap* for a project
1638
+ whose file flow read at every start.
1639
+
1640
+ 1. **Load the tools.** In the same lookup as the panel tools (§4): the tools whose names end in
1641
+ `plan_get` and `plan_set`, loading their schemas when they are deferred. Absent, or a tool
1642
+ answering that this console is not one of its panes → the plan is off for this session, and
1643
+ nothing is said.
1644
+ 2. **Translate** the file just read into the document above.
1645
+ 3. **`plan_get`.** The same document → nothing to send. Otherwise one `plan_set` with the document
1646
+ and `repo` the checkout the file was read from.
1647
+ 4. **Place this console** — only from a work's checkout (`start`, `ship`), by the rule below, and
1648
+ before the first panel that follows, so that panel already carries the place.
1649
+ 5. **Say it.** The stop of the command that published carries one line: `plan: published` ·
1650
+ `plan: unchanged` · `plan: <error>`. A plan that is on and has no line at the stop is a step that
1651
+ was skipped.
1633
1652
 
1634
1653
  **Where this console works.** The same moment, from a work's checkout (`start`, `ship`): the rows
1635
1654
  whose ticket cell names `meta.json.ticket`, both in canonical form (§0, the ticket), decide it. One row → write its milestone's `id` and the
1636
1655
  row's `id` into `meta.json.roadmap` as `milestone` and `deliverable`; several → the one
1637
- `meta.json.roadmap.item` names, else `milestone` alone when they share one, else neither. No row →
1638
- neither, and remove them if an earlier publication wrote them: the panel then carries no place, and
1639
- the board shows the console off the plan, which is what it is. The panel CLI copies the two fields
1640
- from `meta.json` into every render (§4.1); nothing else sets them.
1656
+ `meta.json.roadmap.item` names, else `milestone` alone when they share one, else neither. **No row
1657
+ → the row the work is linked to** (`meta.json.roadmap.item` under `under`, §10), when the file still
1658
+ has it: its milestone's `id` as `milestone`, and the row's `id` as `deliverable` only when the
1659
+ translation gave it one. A row is usually ticket-less exactly when its work starts — the ticket is
1660
+ created for it — so this is the common case, not the edge: the console sits inside its milestone
1661
+ from the first panel, and on its deliverable once `ship` fills the ticket cell and places it again.
1662
+ Never an `id` invented from the work's ticket: each publication replaces the whole plan, and an id
1663
+ that one checkout writes and another does not would come and go. Neither found → neither, and
1664
+ remove them if an earlier publication wrote them: the panel then carries no place, and the board
1665
+ shows the console off the plan, which is what it is. The panel CLI copies the two fields from
1666
+ `meta.json` into every render (§4.1); nothing else sets them.
1641
1667
 
1642
1668
  **Failure never stops a phase.** A refusal, a malformed reply or a tool that errors → no retry; the
1643
- next stop carries one line, `plan: <error>`, once per session. `plan_retire` is the person's: flow
1644
- never retires a plan.
1669
+ stop's line is `plan: <error>`, once per session. `plan_retire` is the person's: flow never retires
1670
+ a plan.
1645
1671
 
1646
1672
  ## 11. A red test outside the change — find the cause before it is excused
1647
1673
 
@@ -233,7 +233,7 @@ refuse) · **degraded** (it runs, quietly worse than the config promises), plus
233
233
  ### 2.4 Hooks
234
234
 
235
235
  - The plugin's hooks are installed, **executable**, and the version this plugin expects: the push
236
- guard (`hooks/block-push-to-master.sh`) and the session-start update notice. Check the `+x` bit,
236
+ guard (`hooks/block-push-to-master.sh`), the session-start update notice and the session-title hook (`hooks/session-title.sh`). Check the `+x` bit,
237
237
  not just the path — a hook without it fails open and silently.
238
238
  - `hooks.json` parses; a syntax error there disables the hooks without a word.
239
239
 
@@ -252,7 +252,7 @@ git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null # must NOT be
252
252
  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.
253
253
 
254
254
  - `git.assignee` not empty → assign to that user. `git.squash` `true` → enable squash-before-merge.
255
- - **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.
255
+ - **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, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — then refresh `meta.json.roadmap.milestone` / `deliverable` by its rule, and put the `plan:` line in the stop. A ticket cell this edit just filled is what moves the console from its milestone onto its deliverable.
256
256
  - **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.
257
257
  - `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.
258
258
 
@@ -153,7 +153,9 @@ Another repo referenced but **no** contract → say so in one line — *"the `<r
153
153
 
154
154
  ## 3.7 Roadmap item
155
155
 
156
- 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.
156
+ 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.
157
+
158
+ **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`), and a step of its own, right after the link and before the first panel of the work: publish it by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — then write `meta.json.roadmap.milestone` / `deliverable` by its *Where this console works* rule. The row this work was just linked to usually has no ticket yet: it still places the console inside its milestone, and `ship` moves it onto the deliverable once the ticket cell is filled. The `plan:` line goes in this command's stop.
157
159
 
158
160
  ## 4. Classify size
159
161
 
@@ -28,7 +28,8 @@ runs a phase on its own and never advances `meta.json`.
28
28
  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).
29
29
  3b. `followups[]` across those works **and** their `_archive/*/meta.json`: any entry `accepted` with no `work` started (flow-core §7).
30
30
  4. Is the working tree dirty (`git status --porcelain`)?
31
- 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.
31
+ 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.
32
+ 6. **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`): publish it now, from the file step 5 read, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed. Its `plan:` line goes under the roadmap line of §2's answer. It is the one thing `next` sends anywhere, and it is not optional: the board shows no roadmap until some command sends it.
32
33
 
33
34
  ## 2. Route
34
35
 
@@ -45,7 +45,8 @@ Every *mine* below — your MRs/PRs, your threads, your tickets — is the **aut
45
45
  - Repo pulse: `git log --oneline --since="<last-session boundary>"` (fallback `-10`) and `git status --short` for uncommitted changes.
46
46
  - Per work: `phase`, `phases_done`, MRs and their `status` (from `meta.json.mrs`), and what was **left pending**.
47
47
  - **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.
48
- - **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.
48
+ - **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.
49
+ - **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`): publish it from the file the roadmap line just read, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — and put its `plan:` line under the roadmap line of the briefing. A step of its own, not a clause of the line above: folded into it, it was skipped.
49
50
  - **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.
50
51
  - **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.
51
52
 
@@ -17,7 +17,7 @@ Every `/flow-*` command assumes these rules. They are stated once, here, so a co
17
17
  carries what is specific to its phase. Read this once per session; a command that says "load
18
18
  `flow-core`" means this file.
19
19
 
20
- **This file belongs to flow `0.118.0`.** Compare it once, at the start of the session, against
20
+ **This file belongs to flow `0.119.0`.** Compare it once, at the start of the session, against
21
21
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
22
22
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
23
23
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -760,7 +760,8 @@ harness namespaces an MCP server's tools, so what you are looking for is a tool
760
760
  `panel_set` — `mcp__ivy__panel_set` on Claude Code inside an Ivy pane, another prefix elsewhere. It may also be
761
761
  **deferred**: listed by name with no schema, uncallable until you load it, and indistinguishable from
762
762
  absent unless you read that list. A deferred tool is a tool that is there; load the schemas and
763
- publish. A `panel_get` that answers is the proof that the channel works; a tool that answers that
763
+ publish. With the project plan on (§10.1), the same lookup loads the tools ending in `plan_get` and
764
+ `plan_set`: a session that loads only the panel tools is one that never publishes the plan. A `panel_get` that answers is the proof that the channel works; a tool that answers that
764
765
  this console is not one of its panes → the file is the transport for the rest of the session.
765
766
 
766
767
  ### 4.1 The document — what the CLI prints, and what you write when it cannot
@@ -1629,20 +1630,45 @@ after they compute where the project stands, `/flow-feat-start` after it links t
1629
1630
  `/flow-feat-ship` right after it commits a roadmap edit — the branch's file, as the MR/PR carries
1630
1631
  it. That is on purpose: the board shows the deliverable moving the moment its MR/PR says so, and a
1631
1632
  later `next` or `daily` run from a checkout that has not merged it yet publishes that checkout's
1632
- file again — each publication is the file it was read from, never a merge of several. First `plan_get`: the same document → nothing to send. Otherwise one `plan_set` with the
1633
- document and `repo` the checkout the file was read from.
1633
+ file again — each publication is the file it was read from, never a merge of several.
1634
+
1635
+ **Publishing is its own step, done in this order — never a clause folded into the roadmap
1636
+ summary.** Read as an afterthought, it was skipped: consoles of a repo with `roadmap.path` set
1637
+ published their panel dozens of times inside the terminal and never once called `plan_get` — one
1638
+ loaded the plan tools and still never called them — so the board said *no roadmap* for a project
1639
+ whose file flow read at every start.
1640
+
1641
+ 1. **Load the tools.** In the same lookup as the panel tools (§4): the tools whose names end in
1642
+ `plan_get` and `plan_set`, loading their schemas when they are deferred. Absent, or a tool
1643
+ answering that this console is not one of its panes → the plan is off for this session, and
1644
+ nothing is said.
1645
+ 2. **Translate** the file just read into the document above.
1646
+ 3. **`plan_get`.** The same document → nothing to send. Otherwise one `plan_set` with the document
1647
+ and `repo` the checkout the file was read from.
1648
+ 4. **Place this console** — only from a work's checkout (`start`, `ship`), by the rule below, and
1649
+ before the first panel that follows, so that panel already carries the place.
1650
+ 5. **Say it.** The stop of the command that published carries one line: `plan: published` ·
1651
+ `plan: unchanged` · `plan: <error>`. A plan that is on and has no line at the stop is a step that
1652
+ was skipped.
1634
1653
 
1635
1654
  **Where this console works.** The same moment, from a work's checkout (`start`, `ship`): the rows
1636
1655
  whose ticket cell names `meta.json.ticket`, both in canonical form (§0, the ticket), decide it. One row → write its milestone's `id` and the
1637
1656
  row's `id` into `meta.json.roadmap` as `milestone` and `deliverable`; several → the one
1638
- `meta.json.roadmap.item` names, else `milestone` alone when they share one, else neither. No row →
1639
- neither, and remove them if an earlier publication wrote them: the panel then carries no place, and
1640
- the board shows the console off the plan, which is what it is. The panel CLI copies the two fields
1641
- from `meta.json` into every render (§4.1); nothing else sets them.
1657
+ `meta.json.roadmap.item` names, else `milestone` alone when they share one, else neither. **No row
1658
+ → the row the work is linked to** (`meta.json.roadmap.item` under `under`, §10), when the file still
1659
+ has it: its milestone's `id` as `milestone`, and the row's `id` as `deliverable` only when the
1660
+ translation gave it one. A row is usually ticket-less exactly when its work starts — the ticket is
1661
+ created for it — so this is the common case, not the edge: the console sits inside its milestone
1662
+ from the first panel, and on its deliverable once `ship` fills the ticket cell and places it again.
1663
+ Never an `id` invented from the work's ticket: each publication replaces the whole plan, and an id
1664
+ that one checkout writes and another does not would come and go. Neither found → neither, and
1665
+ remove them if an earlier publication wrote them: the panel then carries no place, and the board
1666
+ shows the console off the plan, which is what it is. The panel CLI copies the two fields from
1667
+ `meta.json` into every render (§4.1); nothing else sets them.
1642
1668
 
1643
1669
  **Failure never stops a phase.** A refusal, a malformed reply or a tool that errors → no retry; the
1644
- next stop carries one line, `plan: <error>`, once per session. `plan_retire` is the person's: flow
1645
- never retires a plan.
1670
+ stop's line is `plan: <error>`, once per session. `plan_retire` is the person's: flow never retires
1671
+ a plan.
1646
1672
 
1647
1673
  ## 11. A red test outside the change — find the cause before it is excused
1648
1674
 
@@ -237,7 +237,7 @@ refuse) · **degraded** (it runs, quietly worse than the config promises), plus
237
237
  ### 2.4 Hooks
238
238
 
239
239
  - The plugin's hooks are installed, **executable**, and the version this plugin expects: the push
240
- guard (`hooks/block-push-to-master.sh`) and the session-start update notice. Check the `+x` bit,
240
+ guard (`hooks/block-push-to-master.sh`), the session-start update notice and the session-title hook (`hooks/session-title.sh`). Check the `+x` bit,
241
241
  not just the path — a hook without it fails open and silently.
242
242
  - `hooks.json` parses; a syntax error there disables the hooks without a word.
243
243
 
@@ -256,7 +256,7 @@ git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null # must NOT be
256
256
  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.
257
257
 
258
258
  - `git.assignee` not empty → assign to that user. `git.squash` `true` → enable squash-before-merge.
259
- - **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.
259
+ - **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, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — then refresh `meta.json.roadmap.milestone` / `deliverable` by its rule, and put the `plan:` line in the stop. A ticket cell this edit just filled is what moves the console from its milestone onto its deliverable.
260
260
  - **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.
261
261
  - `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.
262
262
 
@@ -157,7 +157,9 @@ Another repo referenced but **no** contract → say so in one line — *"the `<r
157
157
 
158
158
  ## 3.7 Roadmap item
159
159
 
160
- 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.
160
+ 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.
161
+
162
+ **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`), and a step of its own, right after the link and before the first panel of the work: publish it by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — then write `meta.json.roadmap.milestone` / `deliverable` by its *Where this console works* rule. The row this work was just linked to usually has no ticket yet: it still places the console inside its milestone, and `ship` moves it onto the deliverable once the ticket cell is filled. The `plan:` line goes in this command's stop.
161
163
 
162
164
  ## 4. Classify size
163
165
 
@@ -32,7 +32,8 @@ runs a phase on its own and never advances `meta.json`.
32
32
  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).
33
33
  3b. `followups[]` across those works **and** their `_archive/*/meta.json`: any entry `accepted` with no `work` started (flow-core §7).
34
34
  4. Is the working tree dirty (`git status --porcelain`)?
35
- 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.
35
+ 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.
36
+ 6. **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`): publish it now, from the file step 5 read, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed. Its `plan:` line goes under the roadmap line of §2's answer. It is the one thing `next` sends anywhere, and it is not optional: the board shows no roadmap until some command sends it.
36
37
 
37
38
  ## 2. Route
38
39
 
@@ -49,7 +49,8 @@ Every *mine* below — your MRs/PRs, your threads, your tickets — is the **aut
49
49
  - Repo pulse: `git log --oneline --since="<last-session boundary>"` (fallback `-10`) and `git status --short` for uncommitted changes.
50
50
  - Per work: `phase`, `phases_done`, MRs and their `status` (from `meta.json.mrs`), and what was **left pending**.
51
51
  - **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.
52
- - **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.
52
+ - **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.
53
+ - **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`): publish it from the file the roadmap line just read, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — and put its `plan:` line under the roadmap line of the briefing. A step of its own, not a clause of the line above: folded into it, it was skipped.
53
54
  - **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.
54
55
  - **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.
55
56
 
@@ -16,7 +16,7 @@ Every `/flow-*` command assumes these rules. They are stated once, here, so a co
16
16
  carries what is specific to its phase. Read this once per session; a command that says "load
17
17
  `flow-core`" means this file.
18
18
 
19
- **This file belongs to flow `0.118.0`.** Compare it once, at the start of the session, against
19
+ **This file belongs to flow `0.119.0`.** Compare it once, at the start of the session, against
20
20
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
21
21
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
22
22
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -759,7 +759,8 @@ harness namespaces an MCP server's tools, so what you are looking for is a tool
759
759
  `panel_set` — `mcp__ivy__panel_set` on Claude Code inside an Ivy pane, another prefix elsewhere. It may also be
760
760
  **deferred**: listed by name with no schema, uncallable until you load it, and indistinguishable from
761
761
  absent unless you read that list. A deferred tool is a tool that is there; load the schemas and
762
- publish. A `panel_get` that answers is the proof that the channel works; a tool that answers that
762
+ publish. With the project plan on (§10.1), the same lookup loads the tools ending in `plan_get` and
763
+ `plan_set`: a session that loads only the panel tools is one that never publishes the plan. A `panel_get` that answers is the proof that the channel works; a tool that answers that
763
764
  this console is not one of its panes → the file is the transport for the rest of the session.
764
765
 
765
766
  ### 4.1 The document — what the CLI prints, and what you write when it cannot
@@ -1628,20 +1629,45 @@ after they compute where the project stands, `/flow-feat-start` after it links t
1628
1629
  `/flow-feat-ship` right after it commits a roadmap edit — the branch's file, as the MR/PR carries
1629
1630
  it. That is on purpose: the board shows the deliverable moving the moment its MR/PR says so, and a
1630
1631
  later `next` or `daily` run from a checkout that has not merged it yet publishes that checkout's
1631
- file again — each publication is the file it was read from, never a merge of several. First `plan_get`: the same document → nothing to send. Otherwise one `plan_set` with the
1632
- document and `repo` the checkout the file was read from.
1632
+ file again — each publication is the file it was read from, never a merge of several.
1633
+
1634
+ **Publishing is its own step, done in this order — never a clause folded into the roadmap
1635
+ summary.** Read as an afterthought, it was skipped: consoles of a repo with `roadmap.path` set
1636
+ published their panel dozens of times inside the terminal and never once called `plan_get` — one
1637
+ loaded the plan tools and still never called them — so the board said *no roadmap* for a project
1638
+ whose file flow read at every start.
1639
+
1640
+ 1. **Load the tools.** In the same lookup as the panel tools (§4): the tools whose names end in
1641
+ `plan_get` and `plan_set`, loading their schemas when they are deferred. Absent, or a tool
1642
+ answering that this console is not one of its panes → the plan is off for this session, and
1643
+ nothing is said.
1644
+ 2. **Translate** the file just read into the document above.
1645
+ 3. **`plan_get`.** The same document → nothing to send. Otherwise one `plan_set` with the document
1646
+ and `repo` the checkout the file was read from.
1647
+ 4. **Place this console** — only from a work's checkout (`start`, `ship`), by the rule below, and
1648
+ before the first panel that follows, so that panel already carries the place.
1649
+ 5. **Say it.** The stop of the command that published carries one line: `plan: published` ·
1650
+ `plan: unchanged` · `plan: <error>`. A plan that is on and has no line at the stop is a step that
1651
+ was skipped.
1633
1652
 
1634
1653
  **Where this console works.** The same moment, from a work's checkout (`start`, `ship`): the rows
1635
1654
  whose ticket cell names `meta.json.ticket`, both in canonical form (§0, the ticket), decide it. One row → write its milestone's `id` and the
1636
1655
  row's `id` into `meta.json.roadmap` as `milestone` and `deliverable`; several → the one
1637
- `meta.json.roadmap.item` names, else `milestone` alone when they share one, else neither. No row →
1638
- neither, and remove them if an earlier publication wrote them: the panel then carries no place, and
1639
- the board shows the console off the plan, which is what it is. The panel CLI copies the two fields
1640
- from `meta.json` into every render (§4.1); nothing else sets them.
1656
+ `meta.json.roadmap.item` names, else `milestone` alone when they share one, else neither. **No row
1657
+ → the row the work is linked to** (`meta.json.roadmap.item` under `under`, §10), when the file still
1658
+ has it: its milestone's `id` as `milestone`, and the row's `id` as `deliverable` only when the
1659
+ translation gave it one. A row is usually ticket-less exactly when its work starts — the ticket is
1660
+ created for it — so this is the common case, not the edge: the console sits inside its milestone
1661
+ from the first panel, and on its deliverable once `ship` fills the ticket cell and places it again.
1662
+ Never an `id` invented from the work's ticket: each publication replaces the whole plan, and an id
1663
+ that one checkout writes and another does not would come and go. Neither found → neither, and
1664
+ remove them if an earlier publication wrote them: the panel then carries no place, and the board
1665
+ shows the console off the plan, which is what it is. The panel CLI copies the two fields from
1666
+ `meta.json` into every render (§4.1); nothing else sets them.
1641
1667
 
1642
1668
  **Failure never stops a phase.** A refusal, a malformed reply or a tool that errors → no retry; the
1643
- next stop carries one line, `plan: <error>`, once per session. `plan_retire` is the person's: flow
1644
- never retires a plan.
1669
+ stop's line is `plan: <error>`, once per session. `plan_retire` is the person's: flow never retires
1670
+ a plan.
1645
1671
 
1646
1672
  ## 11. A red test outside the change — find the cause before it is excused
1647
1673
 
@@ -235,7 +235,7 @@ refuse) · **degraded** (it runs, quietly worse than the config promises), plus
235
235
  ### 2.4 Hooks
236
236
 
237
237
  - The plugin's hooks are installed, **executable**, and the version this plugin expects: the push
238
- guard (`hooks/block-push-to-master.sh`) and the session-start update notice. Check the `+x` bit,
238
+ guard (`hooks/block-push-to-master.sh`), the session-start update notice and the session-title hook (`hooks/session-title.sh`). Check the `+x` bit,
239
239
  not just the path — a hook without it fails open and silently.
240
240
  - `hooks.json` parses; a syntax error there disables the hooks without a word.
241
241
 
@@ -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. 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.
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, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — then refresh `meta.json.roadmap.milestone` / `deliverable` by its rule, and put the `plan:` line in the stop. A ticket cell this edit just filled is what moves the console from its milestone onto its deliverable.
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
 
@@ -155,7 +155,9 @@ 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. 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.
158
+ Only when the repo has a roadmap (flow-core §10) and `roadmap.path` is not `none`: link this work to the item it delivers, by §10's rule. A clear match — the item names this ticket's id, in its text or its ticket cell, or its text is this ticket's title (a ticket-less start drafted from a roadmap item is one) — is taken in every mode, with no question. Otherwise `manual` asks once (header "Roadmap"): the next two or three items by §10's *next* rule (dependencies met, not linked by another work), **none** as the last option; an item whose dependencies are not met is never offered, and one the ticket clearly names but that is blocked is linked anyway, with one line naming what it waits on; `guided`/`auto`/`unattended` record `null` and say in one line that the work is not linked. Never create, rename or reorder an item here: start reads the roadmap, `ship` is the only command that writes it.
159
+
160
+ **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`), and a step of its own, right after the link and before the first panel of the work: publish it by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — then write `meta.json.roadmap.milestone` / `deliverable` by its *Where this console works* rule. The row this work was just linked to usually has no ticket yet: it still places the console inside its milestone, and `ship` moves it onto the deliverable once the ticket cell is filled. The `plan:` line goes in this command's stop.
159
161
 
160
162
  ## 4. Classify size
161
163
 
@@ -30,7 +30,8 @@ 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. With the project plan on (flow-core §10.1), publish it now, from the file just read.
33
+ 5. The roadmap, if the repo has one (flow-core §10): where the project stands — current phase, what is in progress, the next item whose dependencies are met, what is blocked, and any stale item.
34
+ 6. **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`): publish it now, from the file step 5 read, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed. Its `plan:` line goes under the roadmap line of §2's answer. It is the one thing `next` sends anywhere, and it is not optional: the board shows no roadmap until some command sends it.
34
35
 
35
36
  ## 2. Route
36
37
 
@@ -47,7 +47,8 @@ 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. With the project plan on (flow-core §10.1), publish it from the file just read.
50
+ - **Roadmap** (flow-core §10): where the project stands, which open work delivers which item, what is next (the first pending item whose dependencies are met and no open work links), what is blocked and on what, and the stale items — not done in the file, delivered by the works, the tracker or the forge.
51
+ - **The project plan** — on only as flow-core §10.1 says (`roadmap.path` names a file and the terminal offers `plan_set`): publish it from the file the roadmap line just read, by §10.1's steps — load `plan_get`/`plan_set`, translate, `plan_get`, `plan_set` when it changed — and put its `plan:` line under the roadmap line of the briefing. A step of its own, not a clause of the line above: folded into it, it was skipped.
51
52
  - **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
53
  - **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
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flow-workflows",
3
- "version": "0.118.0",
3
+ "version": "0.119.0",
4
4
  "description": "Guided feat/bug workflows (start→ship), post-deploy monitoring and multi-agent code review, stack-agnostic. Each repo uses a shared FLOW.md plus optional harness overlay.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -3,7 +3,7 @@
3
3
  "name": "flow",
4
4
  "displayName": "Flow — guided dev workflows",
5
5
  "description": "Guided feat/bug workflows (start→ship), post-deploy monitoring and multi-agent code review, stack-agnostic. Each repo uses a shared FLOW.md plus optional harness overlay.",
6
- "version": "0.118.0",
6
+ "version": "0.119.0",
7
7
  "author": {
8
8
  "name": "Alberto Vioque",
9
9
  "email": "mashware@gmail.com"
@@ -5,6 +5,37 @@ plugin and is what `/flow:news` reads to show you what changed since your previo
5
5
 
6
6
  The canonical, richest notes live in the [GitHub Releases](https://github.com/mashware/flow-workflows/releases).
7
7
 
8
+ ## v0.119.0 — Ivy names the console after the task, not the opening phrase · 2026-11-24
9
+
10
+ **In short**
11
+ - **The console is named after the task.** In Claude Code, the session title becomes `<ticket> <title>` of the work on
12
+ your branch (`#258 …`, `MT-1234 …`), so a terminal that follows the session title — Ivy does — shows it. Before, it kept
13
+ the phrase Claude Code generated from the start of the conversation, while flow already knew the task.
14
+ - **It follows you between tasks.** The name is set on each prompt from the work of the current branch, so switching
15
+ task renames the console. It appears on the prompt after a work starts, since the hook runs when you send a message.
16
+ - **A name you chose stays.** A session you named with `/rename` is never overwritten, and neither is a console you
17
+ renamed in Ivy; the hook only replaces an empty title or one it set itself.
18
+ - **Ivy needs no change** for Claude Code. Codex, OpenCode and zcode publish their own titles and are unchanged.
19
+
20
+ New hook `hooks/session-title.sh` (a `UserPromptSubmit` hook), with its test `script/tests/session-title.sh`; `doctor`
21
+ now checks its executable bit.
22
+
23
+ ## v0.118.1 — The roadmap actually reaches Ivy's board, and a console sits in its milestone from the start · 2026-11-24
24
+
25
+ **In short**
26
+ - **The plan is now sent.** v0.116.0 told `next`, `daily`, `start` and `ship` to publish the roadmap to the terminal's
27
+ board, but as a clause at the end of the roadmap step — and it was skipped. In one repo with `roadmap.path` set,
28
+ three works published their panel inside Ivy 13, 25 and 33 times and never called `plan_get`; one even loaded the
29
+ plan tools and never used them. The board said *no roadmap*.
30
+ - **Publishing is its own step in each of the four commands**, in a fixed order (load `plan_get`/`plan_set` with the
31
+ panel tools, translate, `plan_get`, `plan_set` when it changed, place the console), and every stop of a command
32
+ that published says `plan: published`, `plan: unchanged` or `plan: <error>`. A plan that is on with no such line at
33
+ the stop is a skipped step anyone can see.
34
+ - **A console whose row had no ticket yet now sits inside its milestone.** Placement only looked for the work's
35
+ ticket in the ticket cells, and a row usually gets its ticket when its work starts — so the works that most needed
36
+ a place landed in *Off the plan*. Now the row the work is linked to places it: in its milestone at `start`, on its
37
+ deliverable once `ship` fills the ticket cell. No id is ever invented from the work's ticket.
38
+
8
39
  ## v0.118.0 — After you answer, the agent is told to stop claiming you in Ivy · 2026-11-19
9
40
 
10
41
  **In short**