opencode-plugin-flow 4.1.0 → 4.1.2

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,11 +3,17 @@
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
- ## [Unreleased]
6
+ ## [4.1.2] - 2026-06-15
7
+
8
+ Make Flow's skill registry lag visible with restart-aware setup warnings, a doctor command, and a bundled review fallback for stale OpenCode startups.
9
+
10
+ ## [4.1.1] - 2026-06-15
11
+
12
+ Keep Flow's local session ledger out of Git by default with a generated `.flow/.gitignore`, while preserving opt-in versioning for teams that intentionally archive session evidence.
7
13
 
8
14
  ## [4.1.0] - 2026-06-15
9
15
 
10
- - Add Flow-native orchestration handoffs, verification gates, and a hidden verifier worker while keeping the public runtime surface unchanged.
16
+ Add Flow-native orchestration handoffs, verification gates, and a hidden verifier worker, inspired by Ray Fernando's parallel agent workflow skill work and RepoPrompt CE's context-engineering approach, while keeping the public runtime surface unchanged.
11
17
 
12
18
  ## [4.0.1] - 2026-06-15
13
19
 
package/README.md CHANGED
@@ -1,16 +1,26 @@
1
1
  # Flow Plugin for OpenCode
2
2
 
3
- `opencode-plugin-flow` is a skills-first workflow helper for OpenCode. The skills carry the planning, execution, validation, cleanup, UI, and review guidance. The plugin code is deliberately small: it keeps a durable `.flow/session.json` ledger and enforces the few binary gates that prompts cannot reliably enforce.
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.
4
4
 
5
5
  Flow v4 is a breaking simplification. It does not preserve v3 session layouts or retired tool aliases.
6
6
 
7
+ ## What Flow adds
8
+
9
+ - A resumable one-feature-at-a-time loop for larger coding work.
10
+ - Skill-guided planning, running, validation, review, cleanup, and UI quality.
11
+ - Hidden evidence, review, validation, audit, verifier, and candidate workers for broad work.
12
+ - Structured handoffs with coverage, evidence, confidence, and gaps.
13
+ - Runtime gates for approval immutability, validation evidence, review evidence, and safe session closure.
14
+
15
+ The manager still owns every Flow state change. Workers gather evidence; they do not approve plans, complete features, or close sessions.
16
+
7
17
  ## Install
8
18
 
9
19
  Add Flow to your OpenCode config:
10
20
 
11
21
  ```json
12
22
  {
13
- "plugin": ["opencode-plugin-flow@4.1.0"]
23
+ "plugin": ["opencode-plugin-flow@4.1.2"]
14
24
  }
15
25
  ```
16
26
 
@@ -31,6 +41,18 @@ Project-local skill overrides still work through OpenCode's normal lookup:
31
41
  .opencode/skills/flow-plan/SKILL.md
32
42
  ```
33
43
 
44
+ If Flow installs or updates skills during the current OpenCode startup, restart
45
+ OpenCode once more before using Flow commands. OpenCode may have already scanned
46
+ the skill registry for the running process, so a just-synced skill can exist on
47
+ disk while still being unavailable to that process. Flow reports this through
48
+ `flow_status` as `setup.skills.status: "restart_required"`.
49
+
50
+ To inspect the installed skill set:
51
+
52
+ ```bash
53
+ npx -y opencode-plugin-flow@4.1.2 doctor
54
+ ```
55
+
34
56
  ## Commands
35
57
 
36
58
  Commands are thin pointers into skills:
@@ -45,7 +67,7 @@ Commands are thin pointers into skills:
45
67
 
46
68
  ## Tools
47
69
 
48
- The v4 runtime exposes seven tools:
70
+ The runtime exposes seven tools:
49
71
 
50
72
  | Tool | Purpose |
51
73
  | --- | --- |
@@ -59,8 +81,6 @@ The v4 runtime exposes seven tools:
59
81
 
60
82
  There is no `flow_context` and no separate review-record tool. Review evidence is part of `flow_feature_complete`: every completed feature needs a passing `featureReview`, and the final feature also needs a passing `finalReview`.
61
83
 
62
- Broad Flow work can fan out through hidden evidence, review, validation, audit, verifier, and candidate workers. Those workers return structured handoffs with coverage, evidence, confidence, and gaps; the manager still owns all Flow state changes and no extra user command is required.
63
-
64
84
  ## Runtime Contract
65
85
 
66
86
  The runtime owns only safety:
@@ -68,6 +88,7 @@ The runtime owns only safety:
68
88
  - `.flow/session.json` is the active source of truth.
69
89
  - `.flow/history/<session-id>.json` stores closed sessions.
70
90
  - Session writes are locked and atomic.
91
+ - Flow writes `.flow/.gitignore` so session state stays out of Git by default.
71
92
  - Mutable roots cannot be filesystem roots or `$HOME`.
72
93
  - Plans cannot be changed after approval.
73
94
  - Only one feature can be active at a time.
@@ -76,7 +97,7 @@ The runtime owns only safety:
76
97
  - Final completion requires `validationScope: "broad"` and a passing final review matching the plan's `finalReviewPolicy`.
77
98
  - `flow_session_close` accepts `kind: "completed"` only after an approved plan has passed final completion.
78
99
 
79
- Planning quality, decomposition, review depth, validation adequacy, and recovery judgment live in the skills.
100
+ Planning quality, decomposition, review depth, validation adequacy, orchestration, and recovery judgment live in the skills.
80
101
 
81
102
  ## State Layout
82
103
 
@@ -86,6 +107,10 @@ Planning quality, decomposition, review depth, validation adequacy, and recovery
86
107
  .flow/session.lock/
87
108
  ```
88
109
 
110
+ Versioning `.flow` state is opt-in. Edit `.flow/.gitignore` or use
111
+ `git add -f` only when a repository intentionally wants to archive Flow session
112
+ evidence.
113
+
89
114
  ## Development
90
115
 
91
116
  ```bash
@@ -99,6 +124,12 @@ The package exports only the OpenCode plugin entrypoint:
99
124
  import flowPlugin from "opencode-plugin-flow";
100
125
  ```
101
126
 
127
+ ## Credits
128
+
129
+ Flow's parallel orchestration guidance was inspired by Ray Fernando's skill work on parallel agent workflows. Flow also draws conceptual inspiration from [RepoPrompt CE](https://github.com/repoprompt/repoprompt-ce), especially its emphasis on codebase orientation, context engineering, agent orchestration, and reviewable handoffs.
130
+
131
+ The Flow version is its own OpenCode-native design: skills-first, manager-owned state, hidden workers, and no extra runtime ledger.
132
+
102
133
  ## Uninstall
103
134
 
104
135
  ```bash