opencode-plugin-flow 4.1.5 → 4.1.7

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.7] - 2026-06-17
7
+
8
+ 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.
9
+
10
+ ## [4.1.6] - 2026-06-16
11
+
12
+ Make Flow's pinned installer path force-aware, so OpenCode replaces older global plugin entries instead of leaving stale versions behind.
13
+
6
14
  ## [4.1.5] - 2026-06-16
7
15
 
8
16
  Make Flow installation follow OpenCode's native plugin installer, with pre-start skill sync and older-version fallback.
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,24 +8,26 @@ 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.
14
16
 
15
17
  The manager still owns every Flow state change. Workers gather evidence; they do not approve plans, complete features, or close sessions.
16
18
 
17
- ## Install
19
+ ## Install or update
18
20
 
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.5 --global
23
- npx -y opencode-plugin-flow@4.1.5 sync
24
+ opencode plugin opencode-plugin-flow@4.1.7 --global --force
25
+ npx -y opencode-plugin-flow@4.1.7 sync
24
26
  ```
25
27
 
26
- The first command adds Flow to your global OpenCode plugin config. The `sync`
27
- command pre-installs Flow's managed skills so the next OpenCode startup can load
28
- the refreshed skill registry.
28
+ The first command adds Flow to your global OpenCode plugin config or replaces an
29
+ older pinned Flow entry. The `sync` command pre-installs Flow's managed skills so
30
+ the next OpenCode startup can load the refreshed skill registry.
29
31
 
30
32
  Then start or restart OpenCode. On startup, the plugin syncs its global skills
31
33
  into:
@@ -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,14 +48,18 @@ OpenCode config manually instead:
44
48
 
45
49
  ```json
46
50
  {
47
- "plugin": ["opencode-plugin-flow@4.1.5"]
51
+ "plugin": ["opencode-plugin-flow@4.1.7"]
48
52
  }
49
53
  ```
50
54
 
55
+ When updating through this fallback, replace the older
56
+ `opencode-plugin-flow@...` entry with the new pinned version instead of adding a
57
+ duplicate entry.
58
+
51
59
  Then run the same pre-start skill sync and start or restart OpenCode:
52
60
 
53
61
  ```bash
54
- npx -y opencode-plugin-flow@4.1.5 sync
62
+ npx -y opencode-plugin-flow@4.1.7 sync
55
63
  ```
56
64
 
57
65
  Project-local skill overrides still work through OpenCode's normal lookup:
@@ -66,18 +74,17 @@ the skill registry for the running process, so a just-synced skill can exist on
66
74
  disk while still being unavailable to that process. Flow reports this through
67
75
  `flow_status` as `setup.skills.status: "restart_required"`.
68
76
 
69
- To update a pinned Flow version, replace the existing OpenCode plugin entry and
70
- sync the matching skill bundle:
77
+ To update a pinned Flow version later, rerun the same install command with the
78
+ new version.
71
79
 
72
- ```bash
73
- opencode plugin opencode-plugin-flow@4.1.5 --global --force
74
- npx -y opencode-plugin-flow@4.1.5 sync
75
- ```
80
+ `--force` is intentional here: OpenCode keeps an existing same-package plugin
81
+ entry unless replacement is requested, so the flag avoids leaving an older pinned
82
+ version in your global `opencode.json`.
76
83
 
77
84
  To inspect the installed skill set:
78
85
 
79
86
  ```bash
80
- npx -y opencode-plugin-flow@4.1.5 doctor
87
+ npx -y opencode-plugin-flow@4.1.7 doctor
81
88
  ```
82
89
 
83
90
  If a command reports `Skill "flow-review" not found. Available skills...` or a
@@ -85,14 +92,14 @@ similar Flow skill-loading error, run `/flow-status` or the doctor command above
85
92
  first. Missing, incomplete, or outdated managed skills can be repaired with:
86
93
 
87
94
  ```bash
88
- npx -y opencode-plugin-flow@4.1.5 sync
95
+ npx -y opencode-plugin-flow@4.1.7 sync
89
96
  ```
90
97
 
91
98
  Then restart OpenCode so the refreshed registry is loaded. `sync` manages all
92
- bundled Flow skills: `flow`, `flow-plan`, `flow-run`, `flow-review`,
93
- `flow-deslop`, and `flow-ui-quality`. If doctor reports a foreign or edited
94
- managed skill folder, Flow leaves it in place and asks for a user decision
95
- instead of overwriting local work.
99
+ bundled Flow skills: `flow`, `flow-plan`, `flow-run`, `flow-test`,
100
+ `flow-review`, `flow-deslop`, `flow-ui-quality`, and `flow-commit`. If doctor
101
+ reports a foreign or edited managed skill folder, Flow leaves it in place and
102
+ asks for a user decision instead of overwriting local work.
96
103
 
97
104
  ## Commands
98
105
 
@@ -106,6 +113,10 @@ Commands are thin pointers into skills:
106
113
  | `/flow-review` | Run a read-only review. |
107
114
  | `/flow-status` | Show the active session and next action. |
108
115
 
116
+ `flow-test` and `flow-commit` are managed helper skills, not public commands in
117
+ this release. `flow-commit` is user-triggered only and stays outside the
118
+ autonomous Flow runtime loop.
119
+
109
120
  ## Tools
110
121
 
111
122
  The runtime exposes seven tools:
@@ -148,9 +159,9 @@ Planning quality, decomposition, review depth, validation adequacy, orchestratio
148
159
  .flow/session.lock/
149
160
  ```
150
161
 
151
- Versioning `.flow` state is opt-in. Edit `.flow/.gitignore` or use
152
- `git add -f` only when a repository intentionally wants to archive Flow session
153
- evidence.
162
+ Versioning `.flow` state is opt-in. Keep it ignored by default, and archive only
163
+ exact Flow session artifacts when a maintainer intentionally asks for them; avoid
164
+ broad forced adds of `.flow/**`.
154
165
 
155
166
  ## Development
156
167
 
@@ -177,7 +188,7 @@ First remove `opencode-plugin-flow` from your OpenCode plugin config so future
177
188
  OpenCode startups stop loading Flow. Then remove Flow-owned synced skills:
178
189
 
179
190
  ```bash
180
- npx -y opencode-plugin-flow@4.1.5 uninstall
191
+ npx -y opencode-plugin-flow@4.1.7 uninstall
181
192
  ```
182
193
 
183
194
  Restart OpenCode after both steps. This removes Flow-owned synced skills when