flow-workflows 0.118.0 → 0.118.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adapters/codex/CORE.md +36 -10
- package/adapters/codex/skills/flow-feat-ship/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-start/SKILL.md +3 -1
- package/adapters/codex/skills/flow-next/SKILL.md +2 -1
- package/adapters/codex/skills/flow-work-daily/SKILL.md +2 -1
- package/adapters/gemini/CORE.md +36 -10
- package/adapters/gemini/commands/flow/feat/ship.toml +1 -1
- package/adapters/gemini/commands/flow/feat/start.toml +3 -1
- package/adapters/gemini/commands/flow/next.toml +2 -1
- package/adapters/gemini/commands/flow/work/daily.toml +2 -1
- package/adapters/hermes/CORE.md +36 -10
- package/adapters/hermes/skills/flow-feat-ship/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-start/SKILL.md +3 -1
- package/adapters/hermes/skills/flow-next/SKILL.md +2 -1
- package/adapters/hermes/skills/flow-work-daily/SKILL.md +2 -1
- package/adapters/opencode/CORE.md +36 -10
- package/adapters/opencode/commands/flow-feat-ship.md +1 -1
- package/adapters/opencode/commands/flow-feat-start.md +3 -1
- package/adapters/opencode/commands/flow-next.md +2 -1
- package/adapters/opencode/commands/flow-work-daily.md +2 -1
- package/package.json +1 -1
- package/plugins/flow/.claude-plugin/plugin.json +1 -1
- package/plugins/flow/CHANGELOG.md +16 -0
package/adapters/codex/CORE.md
CHANGED
|
@@ -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.
|
|
20
|
+
**This file belongs to flow `0.118.1`.** 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.
|
|
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.
|
|
1633
|
-
|
|
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
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
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
|
-
|
|
1645
|
-
|
|
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
|
|
|
@@ -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,
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
package/adapters/gemini/CORE.md
CHANGED
|
@@ -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.
|
|
19
|
+
**This file belongs to flow `0.118.1`.** 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.
|
|
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.
|
|
1632
|
-
|
|
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
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
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
|
-
|
|
1644
|
-
|
|
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
|
|
|
@@ -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,
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
package/adapters/hermes/CORE.md
CHANGED
|
@@ -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.
|
|
20
|
+
**This file belongs to flow `0.118.1`.** 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.
|
|
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.
|
|
1633
|
-
|
|
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
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
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
|
-
|
|
1645
|
-
|
|
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
|
|
|
@@ -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,
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
19
|
+
**This file belongs to flow `0.118.1`.** 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.
|
|
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.
|
|
1632
|
-
|
|
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
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
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
|
-
|
|
1644
|
-
|
|
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
|
|
|
@@ -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,
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
3
|
+
"version": "0.118.1",
|
|
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.
|
|
6
|
+
"version": "0.118.1",
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Alberto Vioque",
|
|
9
9
|
"email": "mashware@gmail.com"
|
|
@@ -5,6 +5,22 @@ 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.118.1 — The roadmap actually reaches Ivy's board, and a console sits in its milestone from the start · 2026-11-24
|
|
9
|
+
|
|
10
|
+
**In short**
|
|
11
|
+
- **The plan is now sent.** v0.116.0 told `next`, `daily`, `start` and `ship` to publish the roadmap to the terminal's
|
|
12
|
+
board, but as a clause at the end of the roadmap step — and it was skipped. In one repo with `roadmap.path` set,
|
|
13
|
+
three works published their panel inside Ivy 13, 25 and 33 times and never called `plan_get`; one even loaded the
|
|
14
|
+
plan tools and never used them. The board said *no roadmap*.
|
|
15
|
+
- **Publishing is its own step in each of the four commands**, in a fixed order (load `plan_get`/`plan_set` with the
|
|
16
|
+
panel tools, translate, `plan_get`, `plan_set` when it changed, place the console), and every stop of a command
|
|
17
|
+
that published says `plan: published`, `plan: unchanged` or `plan: <error>`. A plan that is on with no such line at
|
|
18
|
+
the stop is a skipped step anyone can see.
|
|
19
|
+
- **A console whose row had no ticket yet now sits inside its milestone.** Placement only looked for the work's
|
|
20
|
+
ticket in the ticket cells, and a row usually gets its ticket when its work starts — so the works that most needed
|
|
21
|
+
a place landed in *Off the plan*. Now the row the work is linked to places it: in its milestone at `start`, on its
|
|
22
|
+
deliverable once `ship` fills the ticket cell. No id is ever invented from the work's ticket.
|
|
23
|
+
|
|
8
24
|
## v0.118.0 — After you answer, the agent is told to stop claiming you in Ivy · 2026-11-19
|
|
9
25
|
|
|
10
26
|
**In short**
|