flow-workflows 0.83.1 → 0.85.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/adapters/codex/CORE.md +115 -151
  2. package/adapters/codex/skills/flow-bug-fix/SKILL.md +2 -2
  3. package/adapters/codex/skills/flow-bug-investigate/SKILL.md +3 -3
  4. package/adapters/codex/skills/flow-bug-postmortem/SKILL.md +2 -2
  5. package/adapters/codex/skills/flow-bug-review/SKILL.md +3 -3
  6. package/adapters/codex/skills/flow-bug-ship/SKILL.md +13 -14
  7. package/adapters/codex/skills/flow-bug-start/SKILL.md +16 -10
  8. package/adapters/codex/skills/flow-bug-validate/SKILL.md +3 -3
  9. package/adapters/codex/skills/flow-doctor/SKILL.md +8 -6
  10. package/adapters/codex/skills/flow-feat-build/SKILL.md +5 -5
  11. package/adapters/codex/skills/flow-feat-design/SKILL.md +3 -3
  12. package/adapters/codex/skills/flow-feat-plan/SKILL.md +1 -1
  13. package/adapters/codex/skills/flow-feat-review/SKILL.md +4 -5
  14. package/adapters/codex/skills/flow-feat-ship/SKILL.md +30 -30
  15. package/adapters/codex/skills/flow-feat-start/SKILL.md +19 -14
  16. package/adapters/codex/skills/flow-feat-validate/SKILL.md +3 -3
  17. package/adapters/codex/skills/flow-init/SKILL.md +2 -1
  18. package/adapters/codex/skills/flow-work-README/SKILL.md +1 -0
  19. package/adapters/codex/skills/flow-work-green/SKILL.md +26 -1
  20. package/adapters/codex/skills/flow-work-respond/SKILL.md +44 -1
  21. package/adapters/codex/skills/flow-work-resume/SKILL.md +3 -3
  22. package/adapters/codex/skills/flow-work-run/SKILL.md +70 -0
  23. package/adapters/gemini/CORE.md +115 -151
  24. package/adapters/gemini/commands/flow/bug/fix.toml +2 -2
  25. package/adapters/gemini/commands/flow/bug/investigate.toml +3 -3
  26. package/adapters/gemini/commands/flow/bug/postmortem.toml +2 -2
  27. package/adapters/gemini/commands/flow/bug/review.toml +3 -3
  28. package/adapters/gemini/commands/flow/bug/ship.toml +13 -14
  29. package/adapters/gemini/commands/flow/bug/start.toml +16 -10
  30. package/adapters/gemini/commands/flow/bug/validate.toml +3 -3
  31. package/adapters/gemini/commands/flow/doctor.toml +8 -6
  32. package/adapters/gemini/commands/flow/feat/build.toml +5 -5
  33. package/adapters/gemini/commands/flow/feat/design.toml +3 -3
  34. package/adapters/gemini/commands/flow/feat/plan.toml +1 -1
  35. package/adapters/gemini/commands/flow/feat/review.toml +4 -5
  36. package/adapters/gemini/commands/flow/feat/ship.toml +30 -30
  37. package/adapters/gemini/commands/flow/feat/start.toml +19 -14
  38. package/adapters/gemini/commands/flow/feat/validate.toml +3 -3
  39. package/adapters/gemini/commands/flow/init.toml +2 -1
  40. package/adapters/gemini/commands/flow/work/README.toml +1 -0
  41. package/adapters/gemini/commands/flow/work/green.toml +26 -1
  42. package/adapters/gemini/commands/flow/work/respond.toml +44 -1
  43. package/adapters/gemini/commands/flow/work/resume.toml +3 -3
  44. package/adapters/gemini/commands/flow/work/run.toml +67 -0
  45. package/adapters/hermes/CORE.md +115 -151
  46. package/adapters/hermes/skills/flow-bug-fix/SKILL.md +2 -2
  47. package/adapters/hermes/skills/flow-bug-investigate/SKILL.md +3 -3
  48. package/adapters/hermes/skills/flow-bug-postmortem/SKILL.md +2 -2
  49. package/adapters/hermes/skills/flow-bug-review/SKILL.md +3 -3
  50. package/adapters/hermes/skills/flow-bug-ship/SKILL.md +13 -14
  51. package/adapters/hermes/skills/flow-bug-start/SKILL.md +16 -10
  52. package/adapters/hermes/skills/flow-bug-validate/SKILL.md +3 -3
  53. package/adapters/hermes/skills/flow-doctor/SKILL.md +8 -6
  54. package/adapters/hermes/skills/flow-feat-build/SKILL.md +5 -5
  55. package/adapters/hermes/skills/flow-feat-design/SKILL.md +3 -3
  56. package/adapters/hermes/skills/flow-feat-plan/SKILL.md +1 -1
  57. package/adapters/hermes/skills/flow-feat-review/SKILL.md +4 -5
  58. package/adapters/hermes/skills/flow-feat-ship/SKILL.md +30 -30
  59. package/adapters/hermes/skills/flow-feat-start/SKILL.md +19 -14
  60. package/adapters/hermes/skills/flow-feat-validate/SKILL.md +3 -3
  61. package/adapters/hermes/skills/flow-init/SKILL.md +2 -1
  62. package/adapters/hermes/skills/flow-work-README/SKILL.md +1 -0
  63. package/adapters/hermes/skills/flow-work-green/SKILL.md +26 -1
  64. package/adapters/hermes/skills/flow-work-respond/SKILL.md +44 -1
  65. package/adapters/hermes/skills/flow-work-resume/SKILL.md +3 -3
  66. package/adapters/hermes/skills/flow-work-run/SKILL.md +70 -0
  67. package/adapters/opencode/CORE.md +115 -151
  68. package/adapters/opencode/commands/flow-bug-fix.md +2 -2
  69. package/adapters/opencode/commands/flow-bug-investigate.md +3 -3
  70. package/adapters/opencode/commands/flow-bug-postmortem.md +2 -2
  71. package/adapters/opencode/commands/flow-bug-review.md +3 -3
  72. package/adapters/opencode/commands/flow-bug-ship.md +13 -14
  73. package/adapters/opencode/commands/flow-bug-start.md +16 -10
  74. package/adapters/opencode/commands/flow-bug-validate.md +3 -3
  75. package/adapters/opencode/commands/flow-doctor.md +8 -6
  76. package/adapters/opencode/commands/flow-feat-build.md +5 -5
  77. package/adapters/opencode/commands/flow-feat-design.md +3 -3
  78. package/adapters/opencode/commands/flow-feat-plan.md +1 -1
  79. package/adapters/opencode/commands/flow-feat-review.md +4 -5
  80. package/adapters/opencode/commands/flow-feat-ship.md +30 -30
  81. package/adapters/opencode/commands/flow-feat-start.md +19 -14
  82. package/adapters/opencode/commands/flow-feat-validate.md +3 -3
  83. package/adapters/opencode/commands/flow-init.md +2 -1
  84. package/adapters/opencode/commands/flow-work-README.md +1 -0
  85. package/adapters/opencode/commands/flow-work-green.md +26 -1
  86. package/adapters/opencode/commands/flow-work-respond.md +44 -1
  87. package/adapters/opencode/commands/flow-work-resume.md +3 -3
  88. package/adapters/opencode/commands/flow-work-run.md +68 -0
  89. package/package.json +1 -1
  90. package/plugins/flow/.claude-plugin/plugin.json +1 -1
  91. package/plugins/flow/CHANGELOG.md +42 -0
  92. package/plugins/flow/examples/FLOW.template.md +8 -9
@@ -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.83.1",
6
+ "version": "0.85.0",
7
7
  "author": {
8
8
  "name": "Alberto Vioque",
9
9
  "email": "mashware@gmail.com"
@@ -5,6 +5,48 @@ 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.85.0 — An unattended run answers its reviewers and fixes its own pipeline · 2026-10-01
9
+
10
+ **In short**
11
+ - **Review comments on a draft no longer stop an unattended run.** Relaunched with `why = review`,
12
+ `/flow:work:run` hands the run to `/flow:work:respond`, which reads the threads from the
13
+ orchestrator (`events --json`), answers each one through it (`reply --thread … --body-file …`),
14
+ commits what was agreed and hands the work back with `publish` — or `done` when only replies were
15
+ needed. It still never resolves a thread.
16
+ - **A red pipeline is fixed at the root, or named.** Relaunched with `why = pipeline`,
17
+ `/flow:work:green` reads the failed jobs and their log tails from the orchestrator, fixes and
18
+ verifies locally, and ends with `publish`. A flake, an infrastructure failure, a conflict, or
19
+ anything that needs a rebase or a force-push ends `blocked` with the reason: reruns and the
20
+ red-round limit belong to the orchestrator. Green-washing stays forbidden in every mode.
21
+ - **What only a person can settle is asked once, before anything is posted**: one question for
22
+ every thread that needs a product decision or a call the recorded design does not make.
23
+ - Nothing changes in `manual`, `guided` or `auto`. Completes #177.
24
+
25
+ ## v0.84.0 — An unattended run talks to its orchestrator through one command · 2026-10-01
26
+
27
+ **In short**
28
+ - **Whoever launches an unattended run now names one command, and flow talks to it through that
29
+ command alone.** Set `autonomy.orchestrator_cmd` (for example `orch`): the run asks it why it was
30
+ launched, reads the ticket and the answer from it, and ends with exactly one order — `ask` a
31
+ question, `publish` the finished work, say it is `blocked`, or say it is `done`.
32
+ - **flow no longer pushes or opens MR/PRs in this mode, and needs no forge credentials.** When the
33
+ work is ready it commits on its own branch and hands over a title and a body; the orchestrator
34
+ pushes the branch and opens the draft. A split task says which part it is (`--part 2 --of 3`).
35
+ - **One entry for every run: `/flow:work:run`.** It starts a new feature or bug from the ticket the
36
+ orchestrator serves, continues after an answer exactly where the run stopped, or builds the next
37
+ part once the previous one merged. Review comments and red pipelines end the run as "not
38
+ supported yet" until the next version.
39
+ - **The stop and answer files are gone** — `.claude/work/stop.json`, `.claude/work/answer.json`, the
40
+ `running` mark, the person pickup and `autonomy.unattended_ship`. A pending question is recorded
41
+ in `meta.json.pending`; every free text (question, options, title, body, reason) travels in a
42
+ file, never on a command line, so a backtick in a ticket title cannot reach a shell.
43
+ - **`unattended` without `orchestrator_cmd` runs nothing** and says why; `/flow:doctor` flags it.
44
+ - The Codex/OpenCode smoke runner now judges the call log of a fake orchestrator
45
+ (`script/tests/fixtures/fake-orchestrator.sh`) instead of the stop file.
46
+
47
+ Breaking for anyone running `unattended` on 0.82/0.83: add `orchestrator_cmd` and launch
48
+ `/flow:work:run`. Nothing changes in `manual`, `guided` or `auto`. Tracked in #177; makes #176 moot.
49
+
8
50
  ## v0.83.1 — Every unattended phase reads its stop-file rules whole · 2026-09-30
9
51
 
10
52
  **In short**
@@ -100,11 +100,10 @@ How much the flow advances on its own vs. stopping to ask you.
100
100
  # auto — as guided, plus auto-resolves the remaining decision points with sensible
101
101
  # (recorded) defaults, chaining phases without pausing.
102
102
  # unattended — as auto, for a run nobody watches (script, container, headless CLI):
103
- # never asks; each hard gate is recorded, becomes a draft MR/PR, or ends
104
- # the run with a question in .claude/work/stop.json for a runner to
105
- # post; its answer comes back in .claude/work/answer.json and the run
106
- # continues, or a person picks it up. One MR/PR per run. Only when set explicitly —
107
- # in a FLOW file only the runner's environment reads.
103
+ # never asks; driven by `orchestrator_cmd`. Each hard gate is recorded or
104
+ # ends the run with one order to that command (ask · publish · blocked ·
105
+ # done); flow never pushes or opens an MR/PR. One MR/PR per run. Only when
106
+ # set explicitly — in a FLOW file only the orchestrator's environment reads.
108
107
  # HARD GATES stop and ask in manual/guided/auto, no exceptions: any push or MR/PR (ship),
109
108
  # branch creation with an ambiguous base, DB schema changes/migrations, a review
110
109
  # with high-severity findings, and the business brief confirmed just before the
@@ -113,10 +112,10 @@ How much the flow advances on its own vs. stopping to ask you.
113
112
  # (panels, challengers, how many reviewers), WIP commits, continuing a train when
114
113
  # the train's next MR/PR in `guided`/`auto`, size confirmation, and anything already decided
115
114
  # and recorded — only new contradicting evidence reopens a settled decision.
116
- - `unattended_ship:` # What `ship` does in `unattended`: `draft` | `stop`. Empty = `stop`.
117
- # draft — push the work branch and open the MR/PR as draft; never merge, never ready.
118
- # stop — nothing is pushed; ship ends the run with a question in stop.json.
119
- # Read only when mode is `unattended`.
115
+ - `orchestrator_cmd:` # Required in `unattended`: the command that run talks to, e.g. `orch`.
116
+ # It says why the run was launched, serves the ticket and the answer, and takes
117
+ # the run's one closing order (`ask`, `publish`, `blocked`, `done`). Read only
118
+ # in that mode. The orders: flow-core §2.1.
120
119
 
121
120
  ## quality
122
121
  Repo commands for quality gates, whatever the stack — `make test`, `./gradlew test`, `dotnet test`,