flow-workflows 0.118.1 → 0.120.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -336,7 +336,7 @@ flow-workflows/
336
336
  │ ├── commands/ feat/ bug/ work/ + next, init, doctor, news
337
337
  │ ├── codex-skills/ · zcode-commands/ # generated mirrors for the two other plugin hosts
338
338
  │ ├── skills/flow-core/ # shared rules, loaded once per session
339
- │ ├── hooks/ push guard · update notice · where-you-left-off notice
339
+ │ ├── hooks/ push guard · update notice · where-you-left-off notice · session title
340
340
  │ └── examples/ FLOW.template.md · symfony/ (a worked example, never loaded)
341
341
  ├── docs/ CONCEPTS · PHILOSOPHY · DESIGN · CONFIGURATION · WORKFLOWS
342
342
  ├── script/check.py # release preflight
@@ -355,6 +355,7 @@ python3 script/adapter-smoke.py # also runs install.sh against a throwaway
355
355
  bash script/tests/push-guard.sh # the push guard's cases
356
356
  bash script/tests/notify-update.sh # the update-notice hook's cases
357
357
  bash script/tests/session-start.sh # the where-you-left-off hook's cases
358
+ bash script/tests/session-title.sh # the session-title hook's cases
358
359
  bash script/tests/review-unwrap.sh # the answer shapes `flow review` has to unwrap
359
360
  bash script/tests/bench-compare.sh # the reader that compares two runs of the review bench
360
361
  ```
@@ -17,7 +17,7 @@ Every `$flow-*` command assumes these rules. They are stated once, here, so a co
17
17
  carries what is specific to its phase. Read this once per session; a command that says "load
18
18
  `flow-core`" means this file.
19
19
 
20
- **This file belongs to flow `0.118.1`.** Compare it once, at the start of the session, against
20
+ **This file belongs to flow `0.120.0`.** Compare it once, at the start of the session, against
21
21
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
22
22
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
23
23
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -745,6 +745,8 @@ whose.
745
745
  document — → write the §4.1 document yourself, once, by its rules, and say so at the next stop:
746
746
  `panel: written by hand — <why>`. Never retry variants of the call.
747
747
 
748
+ **Before the work folder exists — the opening of `start` — the panel is drawn by hand too.** `panel-input.json` and the CLI need a folder, and `start` makes one many questions in. Where `panel_set` is available, the first step of `$flow-feat-start` and `$flow-bug-start` publishes a minimal document, `source: "flow"`: the title line (`style: title`) with the identifier it was given, or `New feature` / `New bug` with none, `phase: "start"`, and one `Now` line — `reading the ticket and the repo`. Nothing else: no train, no size, no branch, none of which is known. The first render once the folder exists replaces it whole. With no panel tool there is nothing to write yet: the file transport begins with the folder.
749
+
748
750
  **One panel is drawn by hand on purpose**: `$flow-work-watch` paints a monitoring cycle — verdict, latency, what it is waiting for — that no work file holds, so it writes its §5 document itself, by §4.1's rules, and the CLI is not run while it watches.
749
751
 
750
752
  **Two transports for the one document.** When the tools `panel_set` / `panel_get` are available,
@@ -48,6 +48,7 @@ Read `~/.claude/flow/CORE.codex.md` first (shared rules: `FLOW.md` step 0, model
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
 
50
50
  - Verify you are in the correct repo.
51
+ - **Open the panel before anything slow** — before reading the ticket or the repo: flow-core §4, *Before the work folder exists*. A console that shows nothing until `meta.json` is written looks like flow never started.
51
52
  - **Determine the mode** from `$ARGUMENTS` (`--study` already taken out): non-empty → *ticket mode* (identifier = the canonical ticket of `$ARGUMENTS`, flow-core §0 — `#54`, `owner/repo#54` or this repository's issue URL is `54`; anything else as typed — and one that cannot name a branch or a folder (`[A-Za-z0-9][A-Za-z0-9._-]*`: another repository's reference, a PR/MR, a space inside) → refuse in one line, before any branch or folder exists); empty → *ticket-less mode* (identifier = the slug resolved in §1.5).
52
53
  - Once the identifier is known, check whether the work already exists: in both work-folder locations (flow-core §0); ticket mode → every `meta.json` in those folders (`_archive/` excluded) whose `ticket`, put in the same canonical form, equals `<TICKET>` — never narrowed by folder name first: a work stored as `#54` lives in `#54-<slug>/` and is the work for `54`; ticket-less → `.claude/work/<slug>/meta.json`, right after §1.5.2 decides the slug. If one exists, suggest `$flow-work-resume`.
53
54
  - This command **creates** `00-summary.md` (§4); there is nothing to read yet.
@@ -237,7 +237,7 @@ refuse) · **degraded** (it runs, quietly worse than the config promises), plus
237
237
  ### 2.4 Hooks
238
238
 
239
239
  - The plugin's hooks are installed, **executable**, and the version this plugin expects: the push
240
- guard (`hooks/block-push-to-master.sh`) and the session-start update notice. Check the `+x` bit,
240
+ guard (`hooks/block-push-to-master.sh`), the session-start update notice and the session-title hook (`hooks/session-title.sh`). Check the `+x` bit,
241
241
  not just the path — a hook without it fails open and silently.
242
242
  - `hooks.json` parses; a syntax error there disables the hooks without a word.
243
243
 
@@ -52,6 +52,7 @@ its reason file in a `mktemp -d` directory (flow-core §2.1).
52
52
 
53
53
  ## 1. Pre-flight
54
54
 
55
+ - **Open the panel before anything slow** — before reading the ticket or the repo: flow-core §4, *Before the work folder exists*. A console that shows nothing until `meta.json` is written looks like flow never started.
55
56
  - Read the effective FLOW configuration per flow-core §0; no FLOW layer present → each
56
57
  step's default. This command **creates** `00-summary.md` (§6) instead of reading it (flow-core §5).
57
58
  - No recognizable project structure → warn and stop.
@@ -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.1`.** Compare it once, at the start of the session, against
19
+ **This file belongs to flow `0.120.0`.** Compare it once, at the start of the session, against
20
20
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
21
21
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
22
22
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -744,6 +744,8 @@ whose.
744
744
  document — → write the §4.1 document yourself, once, by its rules, and say so at the next stop:
745
745
  `panel: written by hand — <why>`. Never retry variants of the call.
746
746
 
747
+ **Before the work folder exists — the opening of `start` — the panel is drawn by hand too.** `panel-input.json` and the CLI need a folder, and `start` makes one many questions in. Where `panel_set` is available, the first step of `/flow:feat:start` and `/flow:bug:start` publishes a minimal document, `source: "flow"`: the title line (`style: title`) with the identifier it was given, or `New feature` / `New bug` with none, `phase: "start"`, and one `Now` line — `reading the ticket and the repo`. Nothing else: no train, no size, no branch, none of which is known. The first render once the folder exists replaces it whole. With no panel tool there is nothing to write yet: the file transport begins with the folder.
748
+
747
749
  **One panel is drawn by hand on purpose**: `/flow:work:watch` paints a monitoring cycle — verdict, latency, what it is waiting for — that no work file holds, so it writes its §5 document itself, by §4.1's rules, and the CLI is not run while it watches.
748
750
 
749
751
  **Two transports for the one document.** When the tools `panel_set` / `panel_get` are available,
@@ -44,6 +44,7 @@ Read `~/.claude/flow/CORE.gemini.md` first (shared rules: `FLOW.md` step 0, mode
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
 
46
46
  - Verify you are in the correct repo.
47
+ - **Open the panel before anything slow** — before reading the ticket or the repo: flow-core §4, *Before the work folder exists*. A console that shows nothing until `meta.json` is written looks like flow never started.
47
48
  - **Determine the mode** from `{{args}}` (`--study` already taken out): non-empty → *ticket mode* (identifier = the canonical ticket of `{{args}}`, flow-core §0 — `#54`, `owner/repo#54` or this repository's issue URL is `54`; anything else as typed — and one that cannot name a branch or a folder (`[A-Za-z0-9][A-Za-z0-9._-]*`: another repository's reference, a PR/MR, a space inside) → refuse in one line, before any branch or folder exists); empty → *ticket-less mode* (identifier = the slug resolved in §1.5).
48
49
  - Once the identifier is known, check whether the work already exists: in both work-folder locations (flow-core §0); ticket mode → every `meta.json` in those folders (`_archive/` excluded) whose `ticket`, put in the same canonical form, equals `<TICKET>` — never narrowed by folder name first: a work stored as `#54` lives in `#54-<slug>/` and is the work for `54`; ticket-less → `.claude/work/<slug>/meta.json`, right after §1.5.2 decides the slug. If one exists, suggest `/flow:work:resume`.
49
50
  - This command **creates** `00-summary.md` (§4); there is nothing to read yet.
@@ -233,7 +233,7 @@ refuse) · **degraded** (it runs, quietly worse than the config promises), plus
233
233
  ### 2.4 Hooks
234
234
 
235
235
  - The plugin's hooks are installed, **executable**, and the version this plugin expects: the push
236
- guard (`hooks/block-push-to-master.sh`) and the session-start update notice. Check the `+x` bit,
236
+ guard (`hooks/block-push-to-master.sh`), the session-start update notice and the session-title hook (`hooks/session-title.sh`). Check the `+x` bit,
237
237
  not just the path — a hook without it fails open and silently.
238
238
  - `hooks.json` parses; a syntax error there disables the hooks without a word.
239
239
 
@@ -48,6 +48,7 @@ its reason file in a `mktemp -d` directory (flow-core §2.1).
48
48
 
49
49
  ## 1. Pre-flight
50
50
 
51
+ - **Open the panel before anything slow** — before reading the ticket or the repo: flow-core §4, *Before the work folder exists*. A console that shows nothing until `meta.json` is written looks like flow never started.
51
52
  - Read the effective FLOW configuration per flow-core §0; no FLOW layer present → each
52
53
  step's default. This command **creates** `00-summary.md` (§6) instead of reading it (flow-core §5).
53
54
  - No recognizable project structure → warn and stop.
@@ -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.1`.** Compare it once, at the start of the session, against
20
+ **This file belongs to flow `0.120.0`.** Compare it once, at the start of the session, against
21
21
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
22
22
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
23
23
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -745,6 +745,8 @@ whose.
745
745
  document — → write the §4.1 document yourself, once, by its rules, and say so at the next stop:
746
746
  `panel: written by hand — <why>`. Never retry variants of the call.
747
747
 
748
+ **Before the work folder exists — the opening of `start` — the panel is drawn by hand too.** `panel-input.json` and the CLI need a folder, and `start` makes one many questions in. Where `panel_set` is available, the first step of `/flow-feat-start` and `/flow-bug-start` publishes a minimal document, `source: "flow"`: the title line (`style: title`) with the identifier it was given, or `New feature` / `New bug` with none, `phase: "start"`, and one `Now` line — `reading the ticket and the repo`. Nothing else: no train, no size, no branch, none of which is known. The first render once the folder exists replaces it whole. With no panel tool there is nothing to write yet: the file transport begins with the folder.
749
+
748
750
  **One panel is drawn by hand on purpose**: `/flow-work-watch` paints a monitoring cycle — verdict, latency, what it is waiting for — that no work file holds, so it writes its §5 document itself, by §4.1's rules, and the CLI is not run while it watches.
749
751
 
750
752
  **Two transports for the one document.** When the tools `panel_set` / `panel_get` are available,
@@ -48,6 +48,7 @@ Read `~/.claude/flow/CORE.hermes.md` first (shared rules: `FLOW.md` step 0, mode
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
 
50
50
  - Verify you are in the correct repo.
51
+ - **Open the panel before anything slow** — before reading the ticket or the repo: flow-core §4, *Before the work folder exists*. A console that shows nothing until `meta.json` is written looks like flow never started.
51
52
  - **Determine the mode** from `$ARGUMENTS` (`--study` already taken out): non-empty → *ticket mode* (identifier = the canonical ticket of `$ARGUMENTS`, flow-core §0 — `#54`, `owner/repo#54` or this repository's issue URL is `54`; anything else as typed — and one that cannot name a branch or a folder (`[A-Za-z0-9][A-Za-z0-9._-]*`: another repository's reference, a PR/MR, a space inside) → refuse in one line, before any branch or folder exists); empty → *ticket-less mode* (identifier = the slug resolved in §1.5).
52
53
  - Once the identifier is known, check whether the work already exists: in both work-folder locations (flow-core §0); ticket mode → every `meta.json` in those folders (`_archive/` excluded) whose `ticket`, put in the same canonical form, equals `<TICKET>` — never narrowed by folder name first: a work stored as `#54` lives in `#54-<slug>/` and is the work for `54`; ticket-less → `.claude/work/<slug>/meta.json`, right after §1.5.2 decides the slug. If one exists, suggest `/flow-work-resume`.
53
54
  - This command **creates** `00-summary.md` (§4); there is nothing to read yet.
@@ -237,7 +237,7 @@ refuse) · **degraded** (it runs, quietly worse than the config promises), plus
237
237
  ### 2.4 Hooks
238
238
 
239
239
  - The plugin's hooks are installed, **executable**, and the version this plugin expects: the push
240
- guard (`hooks/block-push-to-master.sh`) and the session-start update notice. Check the `+x` bit,
240
+ guard (`hooks/block-push-to-master.sh`), the session-start update notice and the session-title hook (`hooks/session-title.sh`). Check the `+x` bit,
241
241
  not just the path — a hook without it fails open and silently.
242
242
  - `hooks.json` parses; a syntax error there disables the hooks without a word.
243
243
 
@@ -52,6 +52,7 @@ its reason file in a `mktemp -d` directory (flow-core §2.1).
52
52
 
53
53
  ## 1. Pre-flight
54
54
 
55
+ - **Open the panel before anything slow** — before reading the ticket or the repo: flow-core §4, *Before the work folder exists*. A console that shows nothing until `meta.json` is written looks like flow never started.
55
56
  - Read the effective FLOW configuration per flow-core §0; no FLOW layer present → each
56
57
  step's default. This command **creates** `00-summary.md` (§6) instead of reading it (flow-core §5).
57
58
  - No recognizable project structure → warn and stop.
@@ -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.1`.** Compare it once, at the start of the session, against
19
+ **This file belongs to flow `0.120.0`.** Compare it once, at the start of the session, against
20
20
  `version` in `~/.claude/flow/.claude-plugin/plugin.json`. The two differing means the session
21
21
  is running a **mixture** — the commands from one copy of the plugin, these shared rules from another
22
22
  — which is exactly what happens when a branch or a release candidate is loaded over an installed
@@ -744,6 +744,8 @@ whose.
744
744
  document — → write the §4.1 document yourself, once, by its rules, and say so at the next stop:
745
745
  `panel: written by hand — <why>`. Never retry variants of the call.
746
746
 
747
+ **Before the work folder exists — the opening of `start` — the panel is drawn by hand too.** `panel-input.json` and the CLI need a folder, and `start` makes one many questions in. Where `panel_set` is available, the first step of `/flow-feat-start` and `/flow-bug-start` publishes a minimal document, `source: "flow"`: the title line (`style: title`) with the identifier it was given, or `New feature` / `New bug` with none, `phase: "start"`, and one `Now` line — `reading the ticket and the repo`. Nothing else: no train, no size, no branch, none of which is known. The first render once the folder exists replaces it whole. With no panel tool there is nothing to write yet: the file transport begins with the folder.
748
+
747
749
  **One panel is drawn by hand on purpose**: `/flow-work-watch` paints a monitoring cycle — verdict, latency, what it is waiting for — that no work file holds, so it writes its §5 document itself, by §4.1's rules, and the CLI is not run while it watches.
748
750
 
749
751
  **Two transports for the one document.** When the tools `panel_set` / `panel_get` are available,
@@ -46,6 +46,7 @@ Read `~/.claude/flow/CORE.opencode.md` first (shared rules: `FLOW.md` step 0, mo
46
46
  **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.
47
47
 
48
48
  - Verify you are in the correct repo.
49
+ - **Open the panel before anything slow** — before reading the ticket or the repo: flow-core §4, *Before the work folder exists*. A console that shows nothing until `meta.json` is written looks like flow never started.
49
50
  - **Determine the mode** from `$ARGUMENTS` (`--study` already taken out): non-empty → *ticket mode* (identifier = the canonical ticket of `$ARGUMENTS`, flow-core §0 — `#54`, `owner/repo#54` or this repository's issue URL is `54`; anything else as typed — and one that cannot name a branch or a folder (`[A-Za-z0-9][A-Za-z0-9._-]*`: another repository's reference, a PR/MR, a space inside) → refuse in one line, before any branch or folder exists); empty → *ticket-less mode* (identifier = the slug resolved in §1.5).
50
51
  - Once the identifier is known, check whether the work already exists: in both work-folder locations (flow-core §0); ticket mode → every `meta.json` in those folders (`_archive/` excluded) whose `ticket`, put in the same canonical form, equals `<TICKET>` — never narrowed by folder name first: a work stored as `#54` lives in `#54-<slug>/` and is the work for `54`; ticket-less → `.claude/work/<slug>/meta.json`, right after §1.5.2 decides the slug. If one exists, suggest `/flow-work-resume`.
51
52
  - This command **creates** `00-summary.md` (§4); there is nothing to read yet.
@@ -235,7 +235,7 @@ refuse) · **degraded** (it runs, quietly worse than the config promises), plus
235
235
  ### 2.4 Hooks
236
236
 
237
237
  - The plugin's hooks are installed, **executable**, and the version this plugin expects: the push
238
- guard (`hooks/block-push-to-master.sh`) and the session-start update notice. Check the `+x` bit,
238
+ guard (`hooks/block-push-to-master.sh`), the session-start update notice and the session-title hook (`hooks/session-title.sh`). Check the `+x` bit,
239
239
  not just the path — a hook without it fails open and silently.
240
240
  - `hooks.json` parses; a syntax error there disables the hooks without a word.
241
241
 
@@ -50,6 +50,7 @@ its reason file in a `mktemp -d` directory (flow-core §2.1).
50
50
 
51
51
  ## 1. Pre-flight
52
52
 
53
+ - **Open the panel before anything slow** — before reading the ticket or the repo: flow-core §4, *Before the work folder exists*. A console that shows nothing until `meta.json` is written looks like flow never started.
53
54
  - Read the effective FLOW configuration per flow-core §0; no FLOW layer present → each
54
55
  step's default. This command **creates** `00-summary.md` (§6) instead of reading it (flow-core §5).
55
56
  - No recognizable project structure → warn and stop.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flow-workflows",
3
- "version": "0.118.1",
3
+ "version": "0.120.0",
4
4
  "description": "Guided feat/bug workflows (start→ship), post-deploy monitoring and multi-agent code review, stack-agnostic. Each repo uses a shared FLOW.md plus optional harness overlay.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -3,7 +3,7 @@
3
3
  "name": "flow",
4
4
  "displayName": "Flow — guided dev workflows",
5
5
  "description": "Guided feat/bug workflows (start→ship), post-deploy monitoring and multi-agent code review, stack-agnostic. Each repo uses a shared FLOW.md plus optional harness overlay.",
6
- "version": "0.118.1",
6
+ "version": "0.120.0",
7
7
  "author": {
8
8
  "name": "Alberto Vioque",
9
9
  "email": "mashware@gmail.com"
@@ -5,6 +5,33 @@ 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.120.0 — The panel opens with `start`, and the console is named by the command that starts the work · 2026-11-25
9
+
10
+ **In short**
11
+ - **The panel shows up from the first moment.** `/flow:feat:start` and `/flow:bug:start` publish a minimal panel before
12
+ reading the ticket — the identifier and `Now: reading the ticket and the repo` — instead of leaving the console empty
13
+ until the work folder exists. The full panel replaces it as soon as it does. Needs the terminal's panel tools (Ivy);
14
+ without them nothing changes.
15
+ - **The console is named by the start command itself.** In Claude Code, sending `/flow:feat:start 258` (or `bug:start`,
16
+ `MT-1234`) titles the session `#258` in that same turn; the next prompt completes it to `#258 <title>`. Before, the name
17
+ only appeared one prompt after the work existed. A start with free text and no identifier is still named on the
18
+ following prompt, and a name you chose is still never overwritten.
19
+
20
+ ## v0.119.0 — Ivy names the console after the task, not the opening phrase · 2026-11-24
21
+
22
+ **In short**
23
+ - **The console is named after the task.** In Claude Code, the session title becomes `<ticket> <title>` of the work on
24
+ your branch (`#258 …`, `MT-1234 …`), so a terminal that follows the session title — Ivy does — shows it. Before, it kept
25
+ the phrase Claude Code generated from the start of the conversation, while flow already knew the task.
26
+ - **It follows you between tasks.** The name is set on each prompt from the work of the current branch, so switching
27
+ task renames the console. It appears on the prompt after a work starts, since the hook runs when you send a message.
28
+ - **A name you chose stays.** A session you named with `/rename` is never overwritten, and neither is a console you
29
+ renamed in Ivy; the hook only replaces an empty title or one it set itself.
30
+ - **Ivy needs no change** for Claude Code. Codex, OpenCode and zcode publish their own titles and are unchanged.
31
+
32
+ New hook `hooks/session-title.sh` (a `UserPromptSubmit` hook), with its test `script/tests/session-title.sh`; `doctor`
33
+ now checks its executable bit.
34
+
8
35
  ## v0.118.1 — The roadmap actually reaches Ivy's board, and a console sits in its milestone from the start · 2026-11-24
9
36
 
10
37
  **In short**