flow-workflows 0.64.0 → 0.65.0-rc.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.
Files changed (30) hide show
  1. package/README.md +43 -8
  2. package/adapters/codex/CORE.md +10 -1
  3. package/adapters/codex/skills/flow-bug-review/SKILL.md +22 -0
  4. package/adapters/codex/skills/flow-doctor/SKILL.md +11 -0
  5. package/adapters/codex/skills/flow-feat-review/SKILL.md +22 -0
  6. package/adapters/codex/skills/flow-init/SKILL.md +10 -0
  7. package/adapters/codex/skills/flow-work-status/SKILL.md +2 -0
  8. package/adapters/gemini/CORE.md +10 -1
  9. package/adapters/gemini/commands/flow/bug/review.toml +22 -0
  10. package/adapters/gemini/commands/flow/doctor.toml +11 -0
  11. package/adapters/gemini/commands/flow/feat/review.toml +22 -0
  12. package/adapters/gemini/commands/flow/init.toml +10 -0
  13. package/adapters/gemini/commands/flow/work/status.toml +2 -0
  14. package/adapters/hermes/CORE.md +10 -1
  15. package/adapters/hermes/skills/flow-bug-review/SKILL.md +22 -0
  16. package/adapters/hermes/skills/flow-doctor/SKILL.md +11 -0
  17. package/adapters/hermes/skills/flow-feat-review/SKILL.md +22 -0
  18. package/adapters/hermes/skills/flow-init/SKILL.md +10 -0
  19. package/adapters/hermes/skills/flow-work-status/SKILL.md +2 -0
  20. package/adapters/opencode/CORE.md +10 -1
  21. package/adapters/opencode/commands/flow-bug-review.md +22 -0
  22. package/adapters/opencode/commands/flow-doctor.md +11 -0
  23. package/adapters/opencode/commands/flow-feat-review.md +22 -0
  24. package/adapters/opencode/commands/flow-init.md +10 -0
  25. package/adapters/opencode/commands/flow-work-status.md +2 -0
  26. package/bin/cli.mjs +543 -4
  27. package/package.json +1 -1
  28. package/plugins/flow/.claude-plugin/plugin.json +1 -1
  29. package/plugins/flow/CHANGELOG.md +51 -0
  30. package/plugins/flow/examples/FLOW.template.md +20 -0
@@ -69,6 +69,12 @@ Branch and Pull/Merge Request conventions.
69
69
  - `cli:` # Empty = the default for `host` in the table above. Set it for a self-hosted forge, a wrapper, or
70
70
  # a host with no CLI of its own (`bitbucket`), where the commands degrade to plain git and say so.
71
71
  - `default_base:` # base for new branches, e.g. `origin/master` or `origin/main`.
72
+ - `diff_exclude:` # paths kept out of the diff a phase reads, one per line with `- `. Generated files nobody reviews —
73
+ # dependency locks, generated migrations, compiled assets, recorded fixtures — cost context in every
74
+ # phase that opens the diff and in every reviewer launched over it. Empty = exclude nothing.
75
+ # `/flow:init` proposes what it finds. Git pathspec syntax, so a glob works. e.g.:
76
+ # - '*.lock'
77
+ # - 'assets/build/**'
72
78
  - `branch_pattern:` # e.g. `{PREFIX}{TICKET}-{slug}`. `{slug}` in English, kebab-case. Empty = `{PREFIX}{TICKET}-{slug}`.
73
79
  - `assignee:` # user to assign the MR/PR to. Empty = do not assign.
74
80
  - `squash:` # `true` | `false` (squash-before-merge).
@@ -180,6 +186,18 @@ Two keys below configure the **parallel fan-out** (approach panel in `design` §
180
186
  sweep in `investigate` §3.A, finding verification in `review`) instead of naming an agent. The
181
187
  fan-out runs as plain parallel subagents — the primitive every harness has.
182
188
 
189
+ - `exec_cmd:` # how to invoke a harness NON-interactively, so `flow review` can run one reviewer per role in one
190
+ # turn each instead of an agentic loop each. `{ROLE}` and `{SCHEMA}` are substituted; the diff and
191
+ # the brief arrive on stdin. **Empty = the agentic panel inside `/flow:*:review` reviews, exactly
192
+ # as before** — this key is the opt-in, nothing changes without it. It takes any command: a
193
+ # subscription login, an API key, another vendor's CLI, or a script of your own. When it is set,
194
+ # that command picks the model and `models.agents`/`models.workers` no longer apply to review.
195
+ # Quote `{SCHEMA}` with DOUBLE quotes: the substitution escapes for that context and single
196
+ # quotes would hand the command invalid JSON. A harness that answers in an envelope of its own
197
+ # is unwrapped here — no `jq` needed. Measured: one reviewer over a small diff ≈ $0.17, so a
198
+ # four-role round ≈ $0.70, which is what `budget_max` below is bounding. e.g.:
199
+ # - claude -p --model sonnet --output-format json --json-schema "{SCHEMA}"
200
+ # - codex exec --model <m>
183
201
  - `fanout_max:` # max subagents per parallel round. Empty = 4. Lower it to keep the flow cheap; what a cap drops is always reported
184
202
  - `budget_max:` # max subagents ONE command run may launch in total, summed over every round (flow-core §6). Empty = 12. `0` = no ceiling
185
203
  # (not recommended). `fanout_max` bounds a round; this bounds the command — `/flow:*:review` composes a panel, area
@@ -195,6 +213,8 @@ command composes itself — the panel in `review`, the delegated pieces in `buil
195
213
  `validate` — not to the prompts this plugin already writes out with their own cap.
196
214
 
197
215
  - `report_max_words:` # word cap every brief you write for a subagent carries. Empty = 250. Not a style rule: a report too long for the harness to carry is truncated in transit and reaches you as silence
216
+ # Output tokens are the most expensive kind and are never served from cache,
217
+ # so this is a cost ceiling as much as a format rule
198
218
  - `stall_after_minutes:` # a fan-out agent past this with nothing written to its named path is stopped, its brief split in two, and relaunched. Empty = 25 —
199
219
  # a guess from one session, not a measurement. Lower it if your rounds are short and you would rather relaunch early; raise it
200
220
  # for agents that legitimately read for half an hour before writing