opencode-plugin-flow 4.1.6 → 4.1.8

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  One short line per release. For the full rationale behind each entry, see the
4
4
  commit history and review evidence.
5
5
 
6
+ ## [4.1.8] - 2026-06-17
7
+
8
+ Make Flow command preflight overrule stale OpenCode command lore, with review instructions bundled where skill discovery can lag.
9
+
10
+ ## [4.1.7] - 2026-06-17
11
+
12
+ Teach Flow's managed skill lore to test, commit, and trigger more precisely while keeping release state and `.flow/**` artifacts guarded by explicit maintainer intent.
13
+
6
14
  ## [4.1.6] - 2026-06-16
7
15
 
8
16
  Make Flow's pinned installer path force-aware, so OpenCode replaces older global plugin entries instead of leaving stale versions behind.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Flow Plugin for OpenCode
2
2
 
3
- `opencode-plugin-flow` is a skills-first workflow helper for OpenCode. The skills carry planning, execution, validation, cleanup, UI quality, review, and orchestration judgment. The plugin code stays deliberately small: it keeps a durable `.flow/session.json` ledger and enforces the hard gates prompts should not be trusted to remember.
3
+ `opencode-plugin-flow` is a skills-first workflow helper for OpenCode. The skills carry planning, execution, validation, cleanup, UI quality, review, safe commit preparation, and orchestration judgment. The plugin code stays deliberately small: it keeps a durable `.flow/session.json` ledger and enforces the hard gates prompts should not be trusted to remember.
4
4
 
5
5
  Flow v4 is a breaking simplification. It does not preserve v3 session layouts or retired tool aliases.
6
6
 
@@ -8,6 +8,8 @@ Flow v4 is a breaking simplification. It does not preserve v3 session layouts or
8
8
 
9
9
  - A resumable one-feature-at-a-time loop for larger coding work.
10
10
  - Skill-guided planning, running, validation, review, cleanup, and UI quality.
11
+ - First-class validation guidance through `flow-test`, plus user-triggered safe
12
+ commit preparation through `flow-commit`.
11
13
  - Hidden evidence, review, validation, audit, verifier, and candidate workers for broad work.
12
14
  - Structured handoffs with coverage, evidence, confidence, and gaps.
13
15
  - Runtime gates for approval immutability, validation evidence, review evidence, and safe session closure.
@@ -19,8 +21,8 @@ The manager still owns every Flow state change. Workers gather evidence; they do
19
21
  Use OpenCode's plugin installer when your OpenCode version supports it:
20
22
 
21
23
  ```bash
22
- opencode plugin opencode-plugin-flow@4.1.6 --global --force
23
- npx -y opencode-plugin-flow@4.1.6 sync
24
+ opencode plugin opencode-plugin-flow@4.1.8 --global --force
25
+ npx -y opencode-plugin-flow@4.1.8 sync
24
26
  ```
25
27
 
26
28
  The first command adds Flow to your global OpenCode plugin config or replaces an
@@ -34,9 +36,11 @@ into:
34
36
  ~/.config/opencode/skills/flow/SKILL.md
35
37
  ~/.config/opencode/skills/flow-plan/SKILL.md
36
38
  ~/.config/opencode/skills/flow-run/SKILL.md
39
+ ~/.config/opencode/skills/flow-test/SKILL.md
37
40
  ~/.config/opencode/skills/flow-review/SKILL.md
38
41
  ~/.config/opencode/skills/flow-deslop/SKILL.md
39
42
  ~/.config/opencode/skills/flow-ui-quality/SKILL.md
43
+ ~/.config/opencode/skills/flow-commit/SKILL.md
40
44
  ```
41
45
 
42
46
  If your OpenCode version does not have `opencode plugin`, add Flow to your
@@ -44,7 +48,7 @@ OpenCode config manually instead:
44
48
 
45
49
  ```json
46
50
  {
47
- "plugin": ["opencode-plugin-flow@4.1.6"]
51
+ "plugin": ["opencode-plugin-flow@4.1.8"]
48
52
  }
49
53
  ```
50
54
 
@@ -55,7 +59,7 @@ duplicate entry.
55
59
  Then run the same pre-start skill sync and start or restart OpenCode:
56
60
 
57
61
  ```bash
58
- npx -y opencode-plugin-flow@4.1.6 sync
62
+ npx -y opencode-plugin-flow@4.1.8 sync
59
63
  ```
60
64
 
61
65
  Project-local skill overrides still work through OpenCode's normal lookup:
@@ -80,22 +84,26 @@ version in your global `opencode.json`.
80
84
  To inspect the installed skill set:
81
85
 
82
86
  ```bash
83
- npx -y opencode-plugin-flow@4.1.6 doctor
87
+ npx -y opencode-plugin-flow@4.1.8 doctor
84
88
  ```
85
89
 
86
90
  If a command reports `Skill "flow-review" not found. Available skills...` or a
87
- similar Flow skill-loading error, run `/flow-status` or the doctor command above
88
- first. Missing, incomplete, or outdated managed skills can be repaired with:
91
+ similar Flow skill-loading error after upgrading, it is usually an older
92
+ OpenCode process or stale resolved command body. Flow command preflight replaces
93
+ public Flow command bodies in the running process, and `/flow-review` no longer
94
+ asks OpenCode to native-load the `flow-review` skill. Run `/flow-status` or the
95
+ doctor command above first. Missing, incomplete, or outdated managed skills can
96
+ still be repaired with:
89
97
 
90
98
  ```bash
91
- npx -y opencode-plugin-flow@4.1.6 sync
99
+ npx -y opencode-plugin-flow@4.1.8 sync
92
100
  ```
93
101
 
94
102
  Then restart OpenCode so the refreshed registry is loaded. `sync` manages all
95
- bundled Flow skills: `flow`, `flow-plan`, `flow-run`, `flow-review`,
96
- `flow-deslop`, and `flow-ui-quality`. If doctor reports a foreign or edited
97
- managed skill folder, Flow leaves it in place and asks for a user decision
98
- instead of overwriting local work.
103
+ bundled Flow skills: `flow`, `flow-plan`, `flow-run`, `flow-test`,
104
+ `flow-review`, `flow-deslop`, `flow-ui-quality`, and `flow-commit`. If doctor
105
+ reports a foreign or edited managed skill folder, Flow leaves it in place and
106
+ asks for a user decision instead of overwriting local work.
99
107
 
100
108
  ## Commands
101
109
 
@@ -109,6 +117,10 @@ Commands are thin pointers into skills:
109
117
  | `/flow-review` | Run a read-only review. |
110
118
  | `/flow-status` | Show the active session and next action. |
111
119
 
120
+ `flow-test` and `flow-commit` are managed helper skills, not public commands in
121
+ this release. `flow-commit` is user-triggered only and stays outside the
122
+ autonomous Flow runtime loop.
123
+
112
124
  ## Tools
113
125
 
114
126
  The runtime exposes seven tools:
@@ -151,9 +163,9 @@ Planning quality, decomposition, review depth, validation adequacy, orchestratio
151
163
  .flow/session.lock/
152
164
  ```
153
165
 
154
- Versioning `.flow` state is opt-in. Edit `.flow/.gitignore` or use
155
- `git add -f` only when a repository intentionally wants to archive Flow session
156
- evidence.
166
+ Versioning `.flow` state is opt-in. Keep it ignored by default, and archive only
167
+ exact Flow session artifacts when a maintainer intentionally asks for them; avoid
168
+ broad forced adds of `.flow/**`.
157
169
 
158
170
  ## Development
159
171
 
@@ -180,7 +192,7 @@ First remove `opencode-plugin-flow` from your OpenCode plugin config so future
180
192
  OpenCode startups stop loading Flow. Then remove Flow-owned synced skills:
181
193
 
182
194
  ```bash
183
- npx -y opencode-plugin-flow@4.1.6 uninstall
195
+ npx -y opencode-plugin-flow@4.1.8 uninstall
184
196
  ```
185
197
 
186
198
  Restart OpenCode after both steps. This removes Flow-owned synced skills when