flow-workflows 0.115.0 → 0.116.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 +101 -11
- package/adapters/codex/skills/flow-bug-fix/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-investigate/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-postmortem/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-review/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-ship/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-start/SKILL.md +1 -1
- package/adapters/codex/skills/flow-bug-validate/SKILL.md +1 -1
- package/adapters/codex/skills/flow-doctor/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-build/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-design/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-plan/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-review/SKILL.md +1 -1
- package/adapters/codex/skills/flow-feat-ship/SKILL.md +2 -2
- package/adapters/codex/skills/flow-feat-start/SKILL.md +2 -2
- package/adapters/codex/skills/flow-feat-validate/SKILL.md +1 -1
- package/adapters/codex/skills/flow-next/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-README/SKILL.md +3 -3
- package/adapters/codex/skills/flow-work-abandon/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-clean/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-daily/SKILL.md +2 -2
- package/adapters/codex/skills/flow-work-green/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-handoff/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-query/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-respond/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-resume/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-run/SKILL.md +4 -3
- package/adapters/codex/skills/flow-work-try/SKILL.md +1 -1
- package/adapters/codex/skills/flow-work-watch/SKILL.md +1 -1
- package/adapters/gemini/CORE.md +101 -11
- package/adapters/gemini/commands/flow/bug/fix.toml +1 -1
- package/adapters/gemini/commands/flow/bug/investigate.toml +1 -1
- package/adapters/gemini/commands/flow/bug/postmortem.toml +1 -1
- package/adapters/gemini/commands/flow/bug/review.toml +1 -1
- package/adapters/gemini/commands/flow/bug/ship.toml +1 -1
- package/adapters/gemini/commands/flow/bug/start.toml +1 -1
- package/adapters/gemini/commands/flow/bug/validate.toml +1 -1
- package/adapters/gemini/commands/flow/doctor.toml +1 -1
- package/adapters/gemini/commands/flow/feat/build.toml +1 -1
- package/adapters/gemini/commands/flow/feat/design.toml +1 -1
- package/adapters/gemini/commands/flow/feat/plan.toml +1 -1
- package/adapters/gemini/commands/flow/feat/review.toml +1 -1
- package/adapters/gemini/commands/flow/feat/ship.toml +2 -2
- package/adapters/gemini/commands/flow/feat/start.toml +2 -2
- package/adapters/gemini/commands/flow/feat/validate.toml +1 -1
- package/adapters/gemini/commands/flow/next.toml +1 -1
- package/adapters/gemini/commands/flow/work/README.toml +3 -3
- package/adapters/gemini/commands/flow/work/abandon.toml +1 -1
- package/adapters/gemini/commands/flow/work/clean.toml +1 -1
- package/adapters/gemini/commands/flow/work/daily.toml +2 -2
- package/adapters/gemini/commands/flow/work/green.toml +1 -1
- package/adapters/gemini/commands/flow/work/handoff.toml +1 -1
- package/adapters/gemini/commands/flow/work/query.toml +1 -1
- package/adapters/gemini/commands/flow/work/respond.toml +1 -1
- package/adapters/gemini/commands/flow/work/resume.toml +1 -1
- package/adapters/gemini/commands/flow/work/run.toml +4 -3
- package/adapters/gemini/commands/flow/work/try.toml +1 -1
- package/adapters/gemini/commands/flow/work/watch.toml +1 -1
- package/adapters/hermes/CORE.md +101 -11
- package/adapters/hermes/skills/flow-bug-fix/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-investigate/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-postmortem/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-review/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-ship/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-start/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-bug-validate/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-doctor/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-build/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-design/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-plan/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-review/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-feat-ship/SKILL.md +2 -2
- package/adapters/hermes/skills/flow-feat-start/SKILL.md +2 -2
- package/adapters/hermes/skills/flow-feat-validate/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-next/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-README/SKILL.md +3 -3
- package/adapters/hermes/skills/flow-work-abandon/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-clean/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-daily/SKILL.md +2 -2
- package/adapters/hermes/skills/flow-work-green/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-handoff/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-query/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-respond/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-resume/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-run/SKILL.md +4 -3
- package/adapters/hermes/skills/flow-work-try/SKILL.md +1 -1
- package/adapters/hermes/skills/flow-work-watch/SKILL.md +1 -1
- package/adapters/opencode/CORE.md +101 -11
- package/adapters/opencode/commands/flow-bug-fix.md +1 -1
- package/adapters/opencode/commands/flow-bug-investigate.md +1 -1
- package/adapters/opencode/commands/flow-bug-postmortem.md +1 -1
- package/adapters/opencode/commands/flow-bug-review.md +1 -1
- package/adapters/opencode/commands/flow-bug-ship.md +1 -1
- package/adapters/opencode/commands/flow-bug-start.md +1 -1
- package/adapters/opencode/commands/flow-bug-validate.md +1 -1
- package/adapters/opencode/commands/flow-doctor.md +1 -1
- package/adapters/opencode/commands/flow-feat-build.md +1 -1
- package/adapters/opencode/commands/flow-feat-design.md +1 -1
- package/adapters/opencode/commands/flow-feat-plan.md +1 -1
- package/adapters/opencode/commands/flow-feat-review.md +1 -1
- package/adapters/opencode/commands/flow-feat-ship.md +2 -2
- package/adapters/opencode/commands/flow-feat-start.md +2 -2
- package/adapters/opencode/commands/flow-feat-validate.md +1 -1
- package/adapters/opencode/commands/flow-next.md +1 -1
- package/adapters/opencode/commands/flow-work-README.md +3 -3
- package/adapters/opencode/commands/flow-work-abandon.md +1 -1
- package/adapters/opencode/commands/flow-work-clean.md +1 -1
- package/adapters/opencode/commands/flow-work-daily.md +2 -2
- package/adapters/opencode/commands/flow-work-green.md +1 -1
- package/adapters/opencode/commands/flow-work-handoff.md +1 -1
- package/adapters/opencode/commands/flow-work-query.md +1 -1
- package/adapters/opencode/commands/flow-work-respond.md +1 -1
- package/adapters/opencode/commands/flow-work-resume.md +1 -1
- package/adapters/opencode/commands/flow-work-run.md +4 -3
- package/adapters/opencode/commands/flow-work-try.md +1 -1
- package/adapters/opencode/commands/flow-work-watch.md +1 -1
- package/bin/cli.mjs +45 -7
- package/package.json +1 -1
- package/plugins/flow/.claude-plugin/plugin.json +1 -1
- package/plugins/flow/CHANGELOG.md +49 -0
- package/plugins/flow/examples/FLOW.template.md +1 -1
|
@@ -16,7 +16,7 @@ prompt = """
|
|
|
16
16
|
|
|
17
17
|
Read `~/.claude/flow/CORE.gemini.md` first (shared rules: `FLOW.md` step 0, autonomy, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session.
|
|
18
18
|
|
|
19
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
19
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
20
20
|
|
|
21
21
|
For a study made here and built somewhere else — a server running `/flow:work:run` unattended,
|
|
22
22
|
another person, another machine. The builder gets the work folder at the same path and nothing
|
|
@@ -16,7 +16,7 @@ prompt = """
|
|
|
16
16
|
|
|
17
17
|
Read `~/.claude/flow/CORE.gemini.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`; its parallel rounds take `models.workers`.**
|
|
18
18
|
|
|
19
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
19
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
20
20
|
|
|
21
21
|
**A query is approved by its plan, not by prose.** Fact sheet → challenger attacks → each point settled with a **plan or a number**. **Cross-cutting** (feat or bug), **repeatable**, does **not** advance `meta.json.phase`; runs with or without a work folder.
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@ Extract from `git`: `host`, `cli` (empty → the default for that host), `assign
|
|
|
26
26
|
|
|
27
27
|
Read `~/.claude/flow/CORE.gemini.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: this command runs with the model it was launched with (no `models` key).**
|
|
28
28
|
|
|
29
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
29
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
30
30
|
|
|
31
31
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
32
32
|
|
|
@@ -16,7 +16,7 @@ prompt = """
|
|
|
16
16
|
|
|
17
17
|
Read `~/.claude/flow/CORE.gemini.md` first (shared rules: `FLOW.md` step 0, autonomy, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session.
|
|
18
18
|
|
|
19
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
19
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
20
20
|
|
|
21
21
|
Use when returning to a work after a break (next morning, another session) — including a work an
|
|
22
22
|
unattended run left with a question pending at its orchestrator (flow-core §2.1).
|
|
@@ -16,7 +16,7 @@ prompt = """
|
|
|
16
16
|
|
|
17
17
|
Read `~/.claude/flow/CORE.gemini.md` first (shared rules: `FLOW.md` step 0, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: this command runs with the model it was launched with (no `models` key).**
|
|
18
18
|
|
|
19
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
19
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
20
20
|
|
|
21
21
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
22
22
|
|
|
@@ -158,6 +158,7 @@ and the `done` of the table above.
|
|
|
158
158
|
## 3. Close
|
|
159
159
|
|
|
160
160
|
Nothing to write here beyond the routing above — the phase it hands to owns the artifacts, the
|
|
161
|
-
panel and the closing order. When the route ended the run itself
|
|
162
|
-
`
|
|
161
|
+
panel and the closing order. When the route ended the run itself, publish the panel (flow-core §4) —
|
|
162
|
+
`ask` → the question as `decision`, which raises `wait`; `blocked` → `attention: block`; `done` →
|
|
163
|
+
`attention: done` — and print the §3 header.
|
|
163
164
|
"""
|
|
@@ -16,7 +16,7 @@ prompt = """
|
|
|
16
16
|
|
|
17
17
|
Read `~/.claude/flow/CORE.gemini.md` first (shared rules: `FLOW.md` step 0, autonomy, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session.
|
|
18
18
|
|
|
19
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
19
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
20
20
|
|
|
21
21
|
Temporarily point the **main checkout** at another branch to test it against this checkout's live environment (running stack, DB, containers), then return — a generic `make wt-try`/`wt-back` pair. The git switch is built in; the project-specific re-sync (e.g. migrations) comes from `git.worktree_resync` in `FLOW.md`. Operates **in place**; never creates or touches worktrees.
|
|
22
22
|
|
|
@@ -16,7 +16,7 @@ prompt = """
|
|
|
16
16
|
|
|
17
17
|
Read `~/.claude/flow/CORE.gemini.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: this command runs with the model it was launched with; the wait it delegates takes `models.supervisors`.**
|
|
18
18
|
|
|
19
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
19
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
20
20
|
|
|
21
21
|
**Autopiloted post-deploy monitoring**: signals **scoped to the change** over a window (default 30 min), against a baseline; alert on errors or performance regressions from the deploy.
|
|
22
22
|
|
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.
|
|
20
|
+
**This file belongs to flow `0.116.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
|
|
@@ -399,7 +399,7 @@ Each place a command would have asked resolves one of these ways:
|
|
|
399
399
|
add `{ "key": "unattended:<site>", "default": "<resolution>", "phase": "<phase>" }` to
|
|
400
400
|
`meta.json.defaults_used[]` (the prefix says it is not a FLOW key), and continue.
|
|
401
401
|
- **question** — a decision only a person can take: the question stop below, `ask --gate <site>`,
|
|
402
|
-
the panel's `
|
|
402
|
+
the question as the panel's `decision` (it raises `wait`), end of the run.
|
|
403
403
|
- **blocked** — something the run cannot get past (the environment, a tool, a check that keeps
|
|
404
404
|
failing): `blocked --reason-file` with one line saying what a person or the orchestrator must
|
|
405
405
|
fix, `attention: block`, end of the run.
|
|
@@ -680,21 +680,24 @@ language. So a publication is two moves:
|
|
|
680
680
|
|
|
681
681
|
```json
|
|
682
682
|
{"phase": "build", "now": "unit suite over #2", "next": "review #2",
|
|
683
|
-
"decision": "confirm the MR/PR body before I create it",
|
|
683
|
+
"decision": "confirm the MR/PR body before I create it",
|
|
684
684
|
"blocks": [{"text": "sibling-repo still needs the endpoint contract", "link": "https://…"}],
|
|
685
685
|
"stale_after_minutes": 45,
|
|
686
686
|
"labels": {"now": "Ahora", "next": "Siguiente", "decision": "Decisión", "open": "Abierto",
|
|
687
687
|
"closed": "nada más aquí", "review": "ronda de review", "findings": "abiertos",
|
|
688
|
-
"followups": "seguimientos"}}
|
|
688
|
+
"followups": "seguimientos", "merged": "fusionadas"}}
|
|
689
689
|
```
|
|
690
690
|
|
|
691
691
|
Every field is optional. `phase` is the phase **running now**. `now` is what is running — never
|
|
692
692
|
the train restated (*"MR/PR open, waiting for review"* is what the train line already says).
|
|
693
693
|
`next` is the next phase or MR/PR — never housekeeping (*archive the work*, *remove the
|
|
694
|
-
worktree*). `decision` only while parked on the user; it
|
|
694
|
+
worktree*). `decision` only while parked on the user; it is the only thing that raises `attention: wait`.
|
|
695
|
+
`attention` itself is written only for `block` with no `blocks` line, or `done`: a written
|
|
696
|
+
`wait` with no `decision` claims nobody.
|
|
695
697
|
`blocks` are what stops the work on somebody else — a sibling repo with `contract_handoff:
|
|
696
698
|
pending`, a red pipeline, an unmerged dependency — each with its `link` when it names an MR/PR.
|
|
697
|
-
`labels` carry the fixed words in **the language of the work's artifacts
|
|
699
|
+
`labels` carry the fixed words in **the language of the work's artifacts** — also `mrs` (the
|
|
700
|
+
train's header, `MRs`/`PRs` by default), `merged` and `plan` (the block headers); omitted, they are
|
|
698
701
|
English. Free text lives in this file, never on a command line.
|
|
699
702
|
2. **Run `npx flow-workflows@<version> panel --harness <harness> --forge`** from the work's
|
|
700
703
|
checkout (`<version>` this plugin's own, from `~/.claude/flow/.claude-plugin/plugin.json`
|
|
@@ -708,7 +711,12 @@ language. So a publication is two moves:
|
|
|
708
711
|
**Where the plugin's hooks run — Claude Code and Codex — the render also happens on its own**: a
|
|
709
712
|
`PostToolUse` hook renders the panel again whenever `meta.json`, the plan, or `panel-input.json` is
|
|
710
713
|
newer than `panel.json` and than that branch's last attempt — a render that wrote nothing is not
|
|
711
|
-
retried until one of them changes again. Ticking a step in the plan *is* publishing it there.
|
|
714
|
+
retried until one of them changes again. Ticking a step in the plan *is* publishing it there. **An answered question is too**: when the
|
|
715
|
+
user answers the harness's question tool (`AskUserQuestion`, Codex's `request_user_input`) and the
|
|
716
|
+
input holds a `decision`, the hook copies the input aside as answered (`panel-answered.json`) and
|
|
717
|
+
renders: while the input is still that copy, its `decision` and `wait` claim nobody. Your input is
|
|
718
|
+
never rewritten — the next one you write is newer than the answer and asks again. A question left
|
|
719
|
+
unanswered, rejected or timed out changes nothing. The hook cannot reach
|
|
712
720
|
the terminal's MCP tools, which is what `panel.publish_cmd` is for (§4.2).
|
|
713
721
|
|
|
714
722
|
**The CLI unavailable** — no network for npx, a sandbox that blocks it, a non-zero exit with no
|
|
@@ -740,16 +748,21 @@ for the rest of the session.
|
|
|
740
748
|
"updated_at": "2026-08-06T16:45:00+02:00",
|
|
741
749
|
"phase": "validate",
|
|
742
750
|
"header": true,
|
|
751
|
+
"milestone": "H3",
|
|
752
|
+
"deliverable": "MT-1234",
|
|
743
753
|
"lines": [
|
|
744
754
|
{"key": "title", "text": "Expose a thread's tracking state and events", "style": "title"},
|
|
745
755
|
"",
|
|
756
|
+
{"key": "mrs", "text": "MRs", "style": "section", "summary": "0/6 merged", "collapsed": true},
|
|
746
757
|
{"key": "mr-1", "ref": "#1", "text": "batch read sources", "mark": "wait", "link": "https://gitlab.com/…/merge_requests/9977"},
|
|
747
758
|
{"key": "mr-1-state", "text": "pipeline passed · 0/1 approvals · 2 open threads", "mark": "info", "indent": 4},
|
|
748
759
|
{"key": "mr-2", "ref": "#2", "text": "per-event and per-recipient counters", "mark": "current"},
|
|
760
|
+
{"key": "mr-3-6", "ref": "#3–#6", "text": "channel map · use case · document detail · route", "mark": "pending"},
|
|
761
|
+
"",
|
|
762
|
+
{"key": "plan", "text": "Plan #2", "style": "section", "summary": "1/3"},
|
|
749
763
|
{"key": "step-1", "ref": "1", "text": "counter columns + migration", "mark": "done", "indent": 4},
|
|
750
764
|
{"key": "step-2", "ref": "2", "text": "per-recipient aggregation in the use case", "mark": "current", "indent": 4},
|
|
751
765
|
{"key": "step-3", "ref": "3", "text": "expose both counters on the endpoint", "mark": "pending", "indent": 4},
|
|
752
|
-
{"key": "mr-3-6", "ref": "#3–#6", "text": "channel map · use case · document detail · route", "mark": "pending"},
|
|
753
766
|
"",
|
|
754
767
|
{"key": "sib-1", "ref": "mcp !71", "text": "pipeline running", "mark": "wait", "link": "https://gitlab.com/…/mcp/-/merge_requests/71"},
|
|
755
768
|
"",
|
|
@@ -766,7 +779,9 @@ for the rest of the session.
|
|
|
766
779
|
|
|
767
780
|
- **`mark` says what a line is**; the reader draws it. `done` · `current` (at most one per block) · `pending` · `wait` (waiting on someone else: an open MR/PR, a user decision) · `block` · `info`. Do not set `style` on a marked line — except `mark: "info"` + `style: ok|warn|error` when the colour *is* the information (a monitoring verdict, the closing line).
|
|
768
781
|
- **`link` is a field, never a URL inside `text`**, and every line that names an MR/PR carries it.
|
|
769
|
-
- **
|
|
782
|
+
- **Block headers.** A line with `style: "section"` names the block it opens, `summary` (at most 40 characters) says how far along it is, and `collapsed: true` makes the block start folded — title and summary only, until the reader opens it. The train's header (`MRs`, or `PRs` on GitHub; `<merged>/<all> merged`) is always folded: merged MRs/PRs are reference. The plan's header (`Plan #<n>`, plain `Plan` for a bug; `<ticked>/<steps>`) and the `Now`/`Next`/`Decision` block stay open: they are the news.
|
|
783
|
+
- **`milestone` / `deliverable`** say where this console works in the project's plan (§10): copied from `meta.json.roadmap`, and absent when the work is not a deliverable of it. Never set from anything else.
|
|
784
|
+
- **Order:** the title (`meta.json.title` without the ticket id: `header: true` draws ticket, type, phase and age); the MR/PR train under its header, one entry per `meta.json.mrs[]` (a single MR/PR from `mr_url`), not-started ones folded into one `#a–#z` line, each open one followed by its state from the forge; then, in a block of its own, the plan's steps of the MR/PR being built — or of the bug in `fix` — from the ticks, never ahead of them, at most five lines (past three done they fold, a long pending tail folds); sibling repos' MRs/PRs; one `Open` line for the latest review round's open findings and the open follow-ups; `Now`, `Next`, `Decision`; blockers. A finished work (`meta.json.phase` `done`) shows its train, one `info`/`ok` closing line and `attention: done`, and nothing else.
|
|
770
785
|
- **Rules:** every fact from `meta.json`, the artifacts and the forge — an invented MR/PR state is worse than a blank panel. Keep it under ~14 lines.
|
|
771
786
|
|
|
772
787
|
### 4.2 Over the terminal's MCP — `panel_set` with what the CLI printed
|
|
@@ -777,6 +792,8 @@ parked on the user, `block` when stuck on somebody else, `done` when the work cl
|
|
|
777
792
|
simply working. The terminal never deduces it from the body, and a `wait` left behind flags that tab
|
|
778
793
|
for ever — so the next render, which drops the `decision`, is what clears it. The first `panel_set`
|
|
779
794
|
claims the pane for as long as this session lives; a second producer is refused by name.
|
|
795
|
+
`attention_since` — when the current `attention` started — is the terminal's to keep: flow never
|
|
796
|
+
writes it, and drops it from a document it read back with `panel_get` before publishing again.
|
|
780
797
|
|
|
781
798
|
- `panel_patch` is for the CLI-unavailable case only (§4): there, patch by `key` rather than
|
|
782
799
|
rebuild — ops `replace`, `before`, `after`, `delete`, `first`, `last`, `set` (`phase`,
|
|
@@ -808,7 +825,9 @@ halfway is not shown as finished. When the stretch will outlast the ~30 min stal
|
|
|
808
825
|
`stale_after_minutes` in the input to what it will really take; (d) wherever `## Close` updates
|
|
809
826
|
`meta.json`; (e) **the moment a question is answered or a gate is cleared** — before you resume the
|
|
810
827
|
work: drop `decision` from the input, move `now` on, render. A panel still asking what the user
|
|
811
|
-
already answered is worse than one that never asked
|
|
828
|
+
already answered is worse than one that never asked. Where the hook runs, an answer
|
|
829
|
+
given through the question tool already did it; a question asked in prose, or a gate cleared
|
|
830
|
+
another way, did not; (f) **each plan step that lands** — tick it in
|
|
812
831
|
the phase artifact, move `now` on, render without `--forge`. Where the plugin's hook runs, the tick
|
|
813
832
|
and the input change already rendered it; publish over the tools anyway when they are there.
|
|
814
833
|
|
|
@@ -1475,7 +1494,8 @@ only for items that are not done; the commands that report it stay read-only.
|
|
|
1475
1494
|
|
|
1476
1495
|
**The link.** A work records the item it delivers in `meta.json.roadmap`:
|
|
1477
1496
|
`{ "path": "<file>", "item": "<the item's text, without checkbox, annotation or note>", "under": "<heading › heading>" }`
|
|
1478
|
-
— or `null`.
|
|
1497
|
+
— or `null`. With the project plan on (§10.1) it may also carry `milestone` and `deliverable`, the
|
|
1498
|
+
ids of the plan that place this console on the board. `/flow-feat-start` sets it: an item the ticket clearly names (its id in the item's text
|
|
1479
1499
|
or ticket cell, or its title matching the item's text) is taken in every mode; otherwise `manual`
|
|
1480
1500
|
asks once, offering the next items and *none*, and `guided`/`auto`/`unattended` record `null` and
|
|
1481
1501
|
say so in one line. A work is linked to one item, at any depth: linking a milestone means the work
|
|
@@ -1518,6 +1538,76 @@ before and after:
|
|
|
1518
1538
|
Bugs do not link: a bug repairs something already delivered, and the roadmap tracks what is still to
|
|
1519
1539
|
deliver. A bug that *is* a roadmap item is started as a feature.
|
|
1520
1540
|
|
|
1541
|
+
### 10.1 The project plan — the roadmap on the terminal's board
|
|
1542
|
+
|
|
1543
|
+
A terminal that paints panels may also paint a board with one **plan** per repository, shared by
|
|
1544
|
+
its worktrees: its milestones, each milestone's deliverables and their state, and every console of
|
|
1545
|
+
the repo hung from the deliverable it works on. flow publishes the roadmap there — translated, never
|
|
1546
|
+
judged.
|
|
1547
|
+
|
|
1548
|
+
**On only when both hold**, else this section does not exist and nothing is said:
|
|
1549
|
+
- `roadmap.path` **names a file** in the FLOW config. Empty (found by the default names) or `none` →
|
|
1550
|
+
no plan: a board is something the repo asks for, not something flow deduces it wants.
|
|
1551
|
+
- A tool whose name ends in `plan_set` is there — namespaced and possibly **deferred**, as §4 says
|
|
1552
|
+
of `panel_set`. There is no file transport for the plan: where the plan lives is the terminal's
|
|
1553
|
+
business.
|
|
1554
|
+
|
|
1555
|
+
**The translation** — one document, the whole file every time, read by §10's rules:
|
|
1556
|
+
|
|
1557
|
+
```json
|
|
1558
|
+
{"title": "<the file's first heading>", "source": "<roadmap.path>",
|
|
1559
|
+
"milestones": [{"id": "H3", "title": "TaxRates", "done_when": "<criterion as written>",
|
|
1560
|
+
"depends_on": ["H0"],
|
|
1561
|
+
"items": [{"id": "MT-16456", "text": "Jurisdiction catalog", "mark": "done", "ref": "MT-16456"},
|
|
1562
|
+
{"id": "TAX-06", "text": "Manual load with review", "mark": "pending"},
|
|
1563
|
+
{"text": "Backup sources", "mark": "pending"}]}],
|
|
1564
|
+
"outside": [{"text": "Company certificate", "mark": "pending"}]}
|
|
1565
|
+
```
|
|
1566
|
+
|
|
1567
|
+
- **A milestone** is each of §10's milestones, in file order. `id` is the code its heading or its
|
|
1568
|
+
order-table row leads with (`H3` in `H3 · TaxRates`, `Phase 2` in `Phase 2: Billing`), and
|
|
1569
|
+
`title` the rest; a heading with no code is its own `id` and `title`, whole. `done_when` is its
|
|
1570
|
+
closing criterion as written, without its label; none → absent. `depends_on` is the `id` of every
|
|
1571
|
+
milestone its order-table dependency cell names by §10's rule — a range written as one (`H2 to
|
|
1572
|
+
H11`) names each milestone whose code has the same prefix and a number in that range, never a
|
|
1573
|
+
milestone without a code that happens to sit between them in the file; an item, a person or
|
|
1574
|
+
anything outside the file named there stays out.
|
|
1575
|
+
- **An item** is each deliverable — a table row or a checkbox — under that milestone, in file
|
|
1576
|
+
order. `text` is the item's first sentence, its markdown removed, cut to 80 characters with `…`.
|
|
1577
|
+
`ref` is the ticket cell as written (the checkbox annotation's ticket), absent when empty or a
|
|
1578
|
+
dash. `id` is the ticket that cell names; no ticket → the one requirement code the row's whole
|
|
1579
|
+
text cell (not only its first sentence) cites in parentheses (`(TAX-06)`), when it cites exactly
|
|
1580
|
+
one; neither → no `id`. An `id` that two items of one milestone would share — a ticket or a code
|
|
1581
|
+
alike — stays bare on the first and becomes `<id>-2`, `-3`… on the next, in file order.
|
|
1582
|
+
- **`mark` is the state word, copied** — the file's done word → `done`, in progress → `current`,
|
|
1583
|
+
pending → `pending`; a word the file uses for blocked → `block`, for waiting on someone →
|
|
1584
|
+
`wait`. The note after `:` is not read. A word flow cannot place → no `mark`: the board counts
|
|
1585
|
+
only `done`, and an unmarked item is the truth about a state flow does not understand. **Never
|
|
1586
|
+
corrected, never completed**: a stale item (§10) is published as the file says it — fixing the
|
|
1587
|
+
file is `ship`'s job, in an MR/PR — and a milestone is never marked closed.
|
|
1588
|
+
- **`outside`** holds §10's side work — the sections the order table does not list, such as work
|
|
1589
|
+
that is not code — as items of the same shape.
|
|
1590
|
+
|
|
1591
|
+
**When — wherever the roadmap is read to choose or to move**, and nowhere else: `next` and `daily`
|
|
1592
|
+
after they compute where the project stands, `/flow-feat-start` after it links the work (§3.7), and
|
|
1593
|
+
`/flow-feat-ship` right after it commits a roadmap edit — the branch's file, as the MR/PR carries
|
|
1594
|
+
it. That is on purpose: the board shows the deliverable moving the moment its MR/PR says so, and a
|
|
1595
|
+
later `next` or `daily` run from a checkout that has not merged it yet publishes that checkout's
|
|
1596
|
+
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
|
|
1597
|
+
document and `repo` the checkout the file was read from.
|
|
1598
|
+
|
|
1599
|
+
**Where this console works.** The same moment, from a work's checkout (`start`, `ship`): the rows
|
|
1600
|
+
whose ticket cell names `meta.json.ticket` decide it. One row → write its milestone's `id` and the
|
|
1601
|
+
row's `id` into `meta.json.roadmap` as `milestone` and `deliverable`; several → the one
|
|
1602
|
+
`meta.json.roadmap.item` names, else `milestone` alone when they share one, else neither. No row →
|
|
1603
|
+
neither, and remove them if an earlier publication wrote them: the panel then carries no place, and
|
|
1604
|
+
the board shows the console off the plan, which is what it is. The panel CLI copies the two fields
|
|
1605
|
+
from `meta.json` into every render (§4.1); nothing else sets them.
|
|
1606
|
+
|
|
1607
|
+
**Failure never stops a phase.** A refusal, a malformed reply or a tool that errors → no retry; the
|
|
1608
|
+
next stop carries one line, `plan: <error>`, once per session. `plan_retire` is the person's: flow
|
|
1609
|
+
never retires a plan.
|
|
1610
|
+
|
|
1521
1611
|
## 11. A red test outside the change — find the cause before it is excused
|
|
1522
1612
|
|
|
1523
1613
|
A test this diff did not touch goes red, and every path flow has for it — the base exception and the
|
|
@@ -24,7 +24,7 @@ Apply the fix. **Minimum viable**: no refactor of adjacent areas. Note other pro
|
|
|
24
24
|
|
|
25
25
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`.**
|
|
26
26
|
|
|
27
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
27
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
28
28
|
|
|
29
29
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
30
30
|
|
|
@@ -31,7 +31,7 @@ cannot be reproduced and needs a person to try → blocked.
|
|
|
31
31
|
|
|
32
32
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`; its parallel rounds take `models.workers`.**
|
|
33
33
|
|
|
34
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
34
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
35
35
|
|
|
36
36
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
37
37
|
|
|
@@ -26,7 +26,7 @@ Goal: capture lessons that prevent recurrence — not to blame anyone.
|
|
|
26
26
|
|
|
27
27
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: this command runs with the model it was launched with (no `models` key).**
|
|
28
28
|
|
|
29
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
29
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
30
30
|
|
|
31
31
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
32
32
|
|
|
@@ -24,7 +24,7 @@ Mandatory code review of the fix.
|
|
|
24
24
|
|
|
25
25
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`; its parallel rounds take `models.workers`.**
|
|
26
26
|
|
|
27
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
27
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
28
28
|
|
|
29
29
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
30
30
|
|
|
@@ -39,7 +39,7 @@ stays `ship`); and Close ends with the run's closing order, on a clean tree:
|
|
|
39
39
|
|
|
40
40
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: this command runs with the model it was launched with; the wait it delegates takes `models.supervisors`.**
|
|
41
41
|
|
|
42
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
42
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
43
43
|
|
|
44
44
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
45
45
|
|
|
@@ -43,7 +43,7 @@ the answer lands there and `start` is never relaunched.
|
|
|
43
43
|
|
|
44
44
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: this command runs with the model it was launched with (no `models` key).**
|
|
45
45
|
|
|
46
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
46
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
47
47
|
|
|
48
48
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
49
49
|
|
|
@@ -24,7 +24,7 @@ Validate that the fix works and that the bug does not return.
|
|
|
24
24
|
|
|
25
25
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`; the wait it delegates takes `models.supervisors`.**
|
|
26
26
|
|
|
27
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
27
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
28
28
|
|
|
29
29
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
30
30
|
|
|
@@ -225,7 +225,7 @@ refuse) · **degraded** (it runs, quietly worse than the config promises), plus
|
|
|
225
225
|
`.agents/agents`, or a plugin. Report each missing name and that it falls back per flow-core §6.6 — the installed agent
|
|
226
226
|
that fits, else `general-purpose` (a skill: skipped) — a panel missing agents reviews less and still reports a clean pass.
|
|
227
227
|
- Harness cannot set a model per subagent → note that every `models.*` value degrades to inheritance.
|
|
228
|
-
- **Where the live panel will go this session** (flow-core §4): a tool whose name ends in `panel_set` / `panel_patch` — namespaced by the harness (`mcp__panel__panel_set` on Claude Code) and possibly **deferred**, which reads as absent until the list of deferred tools is checked → the terminal draws the panel; genuinely absent → `panel.json` is the transport. Either way the panel CLI writes `panel.json`; with `panel.publish_cmd` set, one line with its value and the file it came from — a fault when that file is tracked by git, where the CLI refuses to run it. Neither is a fault — one line naming the tools as they are actually called here, or saying the file is the transport.
|
|
228
|
+
- **Where the live panel will go this session** (flow-core §4): a tool whose name ends in `panel_set` / `panel_patch` — namespaced by the harness (`mcp__panel__panel_set` on Claude Code) and possibly **deferred**, which reads as absent until the list of deferred tools is checked → the terminal draws the panel; genuinely absent → `panel.json` is the transport. Either way the panel CLI writes `panel.json`; with `panel.publish_cmd` set, one line with its value and the file it came from — a fault when that file is tracked by git, where the CLI refuses to run it. Neither is a fault — one line naming the tools as they are actually called here, or saying the file is the transport. With `roadmap.path` written out, one more line: whether a tool ending in `plan_set` is there, so the roadmap reaches the terminal's board as the project's plan (flow-core §10.1) — absent is not a fault either.
|
|
229
229
|
- **The artifact mirror** (flow-core §4.6) — `panel.artifact` empty and the artifact tools here → one information line, not a fault: *control room off — `/flow-init room` turns it on*. Set: one line with its value and the file it came from; whether a tool whose name ends in `ArtifactData` is here (deferred counts); and, when it is, whether a `list` of collection `works` (limit 1) on that URL answers — a read, never a write. Tool present → also name the rule that keeps every card update from asking — `ArtifactData` (as the harness calls it) under `permissions.allow` — and its cost in the same line: it lets any session write to the data of any of your artifacts without asking, not only this page's; without it, each card update is approved by hand. The value coming from any file but `FLOW.claude.md` → a fault: the URL is one person's page, and a committed `FLOW.md` hands it to every teammate, whose writes it refuses. Key set and no tool → *off in this harness*, not a fault. The read failing → the error, as a fault. The read answering → also the page's version (`flow-room-page`, through an Artifact `read`) against the plugin's example: older or absent → one information line, *control room page out of date — the next card write republishes it*, not a fault.
|
|
230
230
|
|
|
231
231
|
### 2.3 Knowledge sources
|
|
@@ -20,7 +20,7 @@ description: "Implement the feature following the approved design and keep a run
|
|
|
20
20
|
|
|
21
21
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`.**
|
|
22
22
|
|
|
23
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
23
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
24
24
|
|
|
25
25
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ description: "Design the technical solution (architecture, DB, APIs, risks) befo
|
|
|
20
20
|
|
|
21
21
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`; its parallel rounds take `models.workers`.**
|
|
22
22
|
|
|
23
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
23
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
24
24
|
|
|
25
25
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ description: "Split the work into small, independently mergeable MRs/PRs before
|
|
|
20
20
|
|
|
21
21
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`.**
|
|
22
22
|
|
|
23
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
23
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
24
24
|
|
|
25
25
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ description: "Mandatory multi-agent code review before shipping"
|
|
|
20
20
|
|
|
21
21
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`; its parallel rounds take `models.workers`.**
|
|
22
22
|
|
|
23
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
23
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
24
24
|
|
|
25
25
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ description: "Commit, push, MR/PR, and offer to save domain knowledge"
|
|
|
20
20
|
|
|
21
21
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: this command runs with the model it was launched with; the wait it delegates takes `models.supervisors`.**
|
|
22
22
|
|
|
23
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
23
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
24
24
|
|
|
25
25
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
26
26
|
|
|
@@ -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.
|
|
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.
|
|
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
|
|
|
@@ -20,7 +20,7 @@ description: "Start a new feature (read the tracker, classify size, create branc
|
|
|
20
20
|
|
|
21
21
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: this command runs with the model it was launched with (no `models` key).**
|
|
22
22
|
|
|
23
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
23
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
24
24
|
|
|
25
25
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
26
26
|
|
|
@@ -157,7 +157,7 @@ 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. 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.
|
|
161
161
|
|
|
162
162
|
## 4. Classify size
|
|
163
163
|
|
|
@@ -20,7 +20,7 @@ description: "Validate tests, edge cases, and integrity before shipping"
|
|
|
20
20
|
|
|
21
21
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, models, autonomy modes and hard gates, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session. **Models: the subagents it launches take `models.agents`; the wait it delegates takes `models.supervisors`.**
|
|
22
22
|
|
|
23
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
23
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
24
24
|
|
|
25
25
|
**In `unattended`, before this phase's first step, read flow-core §2.1 whole — from its heading to the next section, unless it is already in your context whole; having read parts of it does not count** — the orchestrator command, the question stop and the way its answer comes back are all in it, and a phase that reads only part of it skips them.
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ 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. With the project plan on (flow-core §10.1), publish it now, from the file just read.
|
|
36
36
|
|
|
37
37
|
## 2. Route
|
|
38
38
|
|
|
@@ -121,7 +121,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
|
|
|
121
121
|
"related_repos": [
|
|
122
122
|
{ "repo": "sibling-project", "scope": "what's needed there", "status": "pending" | "in_progress" | "done", "contract_handoff": "none" | "pending" | "published → <location>" }
|
|
123
123
|
],
|
|
124
|
-
"roadmap": { "path": "ROADMAP.md", "item": "the item's text — a checkbox line or a table row", "under": "Phase 2 › Milestone 2.3" } | null,
|
|
124
|
+
"roadmap": { "path": "ROADMAP.md", "item": "the item's text — a checkbox line or a table row", "under": "Phase 2 › Milestone 2.3", "milestone": "H2 — optional, flow-core §10.1", "deliverable": "MT-1234 — optional" } | null,
|
|
125
125
|
"followups": [
|
|
126
126
|
{ "id": "F1",
|
|
127
127
|
"kind": "prevention" | "audit" | "out-of-scope" | "risk" | "edge-case" | "other-bug" | "tooling" | "decision",
|
|
@@ -167,7 +167,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
|
|
|
167
167
|
- **`escape`** (bug works only): `{ work, ticket, commit, file, size }` — the reviewed work the root-cause commit belongs to, written by `flow escape` at `bug:investigate`'s Close, and only when the commit sits inside exactly one work's reviewed range (merge history) or carries the number of exactly one reviewed MR/PR (squash). `flow yield` prints `escapes: <n>` under the table of that work's size: what a lighter review at that size has already let through.
|
|
168
168
|
Two fields for the review because they are two facts. `reviewed_sha` used to be `git rev-parse HEAD` at the end of the phase, which by then held the round's own fixes — so `ship` compared a sha against itself and reported a match over code no reviewer had read. Read by `ship` at pre-flight against `HEAD`: a delta of test files and this work's own folder passes with a note in `06-review.md`; anything else stops and asks in every autonomy mode. Empty is not a mismatch; `fixed_sha` set with `reviewed_sha == HEAD` is one. `review` also reads `reviewed_sha` back as **its own base** on a re-review, so the second round reads the delta instead of the whole branch.
|
|
169
169
|
- **`respond_rounds`**: rounds of `/flow-work-respond` on an MR/PR. `/flow-work-respond §1` reads it against `quality.respond_max_rounds` (empty = 3) and refuses the round that would exceed it, handing the open threads back to the user.
|
|
170
|
-
- **`roadmap`**: the roadmap item this work delivers (flow-core §10). Linked at `/flow-feat-start §3.7`, marked in progress / done by `/flow-feat-ship` inside the MR/PR, shown by `next`/`daily`/`resume` — which also flag an item the code delivered but the file still does not mark. `null` with no roadmap, no link, or a bug.
|
|
170
|
+
- **`roadmap`**: the roadmap item this work delivers (flow-core §10). Linked at `/flow-feat-start §3.7`, marked in progress / done by `/flow-feat-ship` inside the MR/PR, shown by `next`/`daily`/`resume` — which also flag an item the code delivered but the file still does not mark. `null` with no roadmap, no link, or a bug. With the project plan on (flow-core §10.1) it may also carry `milestone` and `deliverable` — the plan's ids for the deliverable whose ticket cell names this work's ticket — which the panel copies so the board hangs this console from it; absent when the ticket is in no row.
|
|
171
171
|
- **`related_repos`**: the **other repos a task touches**. Captured at `/flow-feat-start` / `/flow-bug-start` §cross-repo, refined at `design`/`plan`, reminded at `ship`, shown by `daily`/`resume`/`status`. flow only notes and reminds — never touches the other repo. `[]` for single-repo.
|
|
172
172
|
- **`ticket_deps`**: the **other tickets this study cannot be built without** — something the design needs that is not on the base branch and that another ticket brings (`/flow-feat-design` §5.1, `/flow-bug-investigate` §4.1). Read at the two exits of a study: `/flow-work-handoff` §5 writes a `Depends on <ticket>` line per entry into the ticket body, and an unattended study run passes `--depends-on N` per entry on its `done` (flow-core §2.1). Not `mrs[].depends_on`, which orders this work's own MRs/PRs. Written whole each time `design` (or `investigate`) runs, and removed when an unattended study is rewound. `[]` or absent when the study depends on nothing.
|
|
173
173
|
- **`contract_handoff`**: whether the sibling knows **what shape to build against** (`scope` is prose; distinct from `status`). `none` — consumes no contract declared here. `pending` — consumes one, not handed over yet. `published → <location>` — published where that side reads it (normally the tracker ticket; `/flow-feat-ship` §6.3), picked up by the sibling's `/flow-feat-start` §3.6.
|
|
@@ -211,7 +211,7 @@ This system **orchestrates** the project's existing sub-agents and skills (it do
|
|
|
211
211
|
- **`ref`** — the column label: `#1`, `#3–#6`, `Now`, `Next`, `Decision`.
|
|
212
212
|
- **`link`** — URL as a **field, never pasted into `text`**; the reader shortens it to the MR/PR number and makes it clickable. Every line naming an MR/PR carries one — train entry, blocker about another MR/PR, `Now`/`Next` about the open one (flow-core §4.1).
|
|
213
213
|
- **`stale_after_minutes`** — raises the 30-minute staleness threshold for a stretch known to run long.
|
|
214
|
-
- **`style`** — `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`; semantic names, the reader owns the palette.
|
|
214
|
+
- **`style`** — `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`; semantic names, the reader owns the palette. `section` opens a block: `summary` is its figure on the right and `collapsed: true` starts it folded (flow-core §4.1).
|
|
215
215
|
- **`header`** — `true` (default): the reader draws ticket, type, phase and age, which never belong in `lines`. `false` hands every line to the writer.
|
|
216
216
|
- **`phase`** — the phase running **right now** (`meta.json.phase` advances only at close); the reader prefers it.
|
|
217
217
|
- **`updated_at`** — local ISO-8601 with offset from the real clock, never carried over; lets the reader flag a stale snapshot. Over the tools the app stamps each delivery itself.
|
|
@@ -20,7 +20,7 @@ description: "Close a work without shipping (discarded feature, non-issue, etc.)
|
|
|
20
20
|
|
|
21
21
|
Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, autonomy, how a stop reads, the live panel, `00-summary.md`) — skip if you already read it in this session.
|
|
22
22
|
|
|
23
|
-
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
23
|
+
**Panel words are closed** — `mark`: `done` · `current` · `pending` · `wait` · `block` · `info`; `style`: `normal` · `dim` · `title` · `accent` · `ok` · `warn` · `error` · `section`. Anything else is dropped by the reader in silence: the panel still paints, and nobody is told. **Publish it before every stop and every question, and again the moment an answer arrives** — the control-room card with it when the control room is on (flow-core §4.4, §4.6): a phase that asks four questions and publishes nothing leaves the screen on the first.
|
|
24
24
|
|
|
25
25
|
Clean closure for works that will not reach the base branch: a feature discarded after `design`, a bug that is not one (expected behavior, external problem, user misconfiguration), a work absorbed by another ticket.
|
|
26
26
|
|