opencode-agent-orchestration-kit 1.0.41 → 1.0.43
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/README.md +119 -11
- package/docs/commands.md +2 -0
- package/docs/comparison.md +137 -0
- package/docs/distribution/awesome-opencode-submission.md +51 -0
- package/docs/installation.md +20 -0
- package/docs/models.md +10 -2
- package/docs/releases/v1.0.28.md +1 -2
- package/docs/releases/v1.0.29.md +1 -2
- package/docs/releases/v1.0.42.md +51 -0
- package/docs/releases/v1.0.43.md +67 -0
- package/opencode/agents/developer.md +8 -0
- package/opencode/agents/lead.md +40 -13
- package/opencode/agents/reviewer.md +22 -0
- package/opencode/docs/ai/evolution/benchmarks/replay-fixtures-red.jsonl +2 -0
- package/opencode/docs/ai/evolution/benchmarks/router-scenarios-red.jsonl +2 -0
- package/opencode/docs/ai/harness/agents.md +50 -0
- package/opencode/docs/ai/harness/playbooks/lead-ahe-flow.md +43 -0
- package/opencode/package-lock.json +27 -24
- package/opencode/scripts/check-harness.mjs +5 -1
- package/opencode/scripts/collect-session-evidence.mjs +197 -9
- package/opencode/scripts/collect-session-evidence.test.mjs +151 -0
- package/opencode/scripts/replay-routing.test.mjs +58 -0
- package/package.json +24 -1
- package/scripts/benchmark-tool-paths.mjs +1 -1
- package/scripts/check-public-boundary.mjs +1 -0
- package/scripts/package-smoke.test.mjs +2 -2
- package/scripts/version.test.mjs +2 -2
- package/docker/open-design/data/app.sqlite +0 -0
- package/docker/open-design/data/app.sqlite-shm +0 -0
- package/docker/open-design/data/app.sqlite-wal +0 -0
- package/docker/open-design/opencode-auth/log/2026-05-02T105802.log +0 -17
- package/docker/open-design/opencode-auth/log/2026-05-04T102127.log +0 -16
- package/docker/open-design/opencode-auth/opencode.db +0 -0
- package/docker/open-design/opencode-auth/opencode.db-shm +0 -0
- package/docker/open-design/opencode-auth/opencode.db-wal +0 -0
- package/docs/synology.md +0 -30
package/README.md
CHANGED
|
@@ -7,14 +7,24 @@
|
|
|
7
7
|
<a href="https://github.com/sponsors/jcarlosrodicio"><img src="https://img.shields.io/badge/Sponsor-GitHub%20Sponsors-ea4aaa?logo=githubsponsors&logoColor=white" alt="Sponsor on GitHub"></a>
|
|
8
8
|
</p>
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
**An open-source multi-agent orchestration harness for OpenCode.**
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
OpenCode Agent Orchestration Kit (OAK) turns OpenCode into a structured
|
|
13
|
+
software-engineering team of specialized agents for research, design,
|
|
14
|
+
specification, implementation, review, and validation. It keeps OpenCode agent
|
|
15
|
+
orchestration local, inspectable, version-controlled, and reproducible.
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
Unlike systems designed primarily around large parallel worker pools, OAK
|
|
18
|
+
focuses on bounded engineering workflows with durable state, explicit
|
|
19
|
+
handoffs, independent review, validation evidence, and optional human approval
|
|
20
|
+
gates. It is model-agnostic within OpenCode: each role can use the default
|
|
21
|
+
model or an explicit provider/model available in the user's OpenCode setup.
|
|
22
|
+
|
|
23
|
+
**Apache-2.0 · Local-first · OpenCode-native · Model-agnostic**
|
|
15
24
|
|
|
16
25
|
> [!NOTE]
|
|
17
|
-
> This
|
|
26
|
+
> This software-engineering agent harness is not a hosted platform, a fully
|
|
27
|
+
> autonomous software factory, or a replacement for engineering judgment.
|
|
18
28
|
|
|
19
29
|
## Why this exists
|
|
20
30
|
|
|
@@ -61,6 +71,28 @@ The goal is not to force every request through a heavy process. Small, clear, lo
|
|
|
61
71
|
| Optional token visibility | TUI plugin for lead and subagent token usage when OpenCode exposes session trees |
|
|
62
72
|
| Versioned documentation | Agent, command, evidence, and validation contracts stored alongside the configuration |
|
|
63
73
|
|
|
74
|
+
### Bounded autonomous execution
|
|
75
|
+
|
|
76
|
+
OAK supports explicitly requested autonomous local work without turning it
|
|
77
|
+
into unlimited or unattended execution:
|
|
78
|
+
|
|
79
|
+
- `/loop` requires an approved task contract before writes, allows at most
|
|
80
|
+
three iterations per invocation within a task-specific one-to-six iteration
|
|
81
|
+
budget, and can resume from durable state. Worktrees are explicit opt-in.
|
|
82
|
+
- `/autonomous` is local-checkout-only, uses a task-specific one-to-six
|
|
83
|
+
iteration budget, runs deterministic validation in every iteration, and
|
|
84
|
+
stops as soon as an independent `reviewer` approves the result.
|
|
85
|
+
- Both workflows use a schema-versioned JSON snapshot, append-only JSONL
|
|
86
|
+
history, an exclusive lock, contract hashing, idempotent action IDs, and
|
|
87
|
+
explicit recovery for interrupted writes.
|
|
88
|
+
|
|
89
|
+
The `/autonomous` contract prohibits network access, worktrees, parallel
|
|
90
|
+
execution, scheduling, write-enabled connectors, commits, pushes, merges,
|
|
91
|
+
deployments, releases, and publication. Sensitive or expanded scope stops for
|
|
92
|
+
human review. See the [`/loop`](opencode/commands/loop.md) and
|
|
93
|
+
[`/autonomous`](opencode/commands/autonomous.md) contracts for the exact
|
|
94
|
+
boundaries.
|
|
95
|
+
|
|
64
96
|
## Built around
|
|
65
97
|
|
|
66
98
|
This kit builds on and integrates with the following projects:
|
|
@@ -93,6 +125,51 @@ This kit may not be the right fit if you:
|
|
|
93
125
|
- Need autonomous parallel execution across many repositories or worktrees.
|
|
94
126
|
- Expect every request to be fully automated without human oversight.
|
|
95
127
|
|
|
128
|
+
## How OAK compares
|
|
129
|
+
|
|
130
|
+
OpenCode orchestration projects optimize for different operating models. This
|
|
131
|
+
summary describes their documented emphasis; it is not a universal ranking.
|
|
132
|
+
|
|
133
|
+
| Approach | Documented emphasis | Consider it when |
|
|
134
|
+
|---|---|---|
|
|
135
|
+
| **OAK** | Versioned software-engineering workflows, specialized phase roles, durable bounded loops, independent review, and local safety contracts | You want research → specification → implementation → review with explicit scope and evidence |
|
|
136
|
+
| [`opencode-orchestrator`](https://github.com/agnusdei1207/opencode-orchestrator) | A persisted mission runtime with Commander, Planner, Worker, and Reviewer roles, local memory, and configurable agent concurrency | You want runtime-governed mission execution and a larger concurrent worker pool |
|
|
137
|
+
| [`oh-my-openagent`](https://github.com/code-yeongyu/oh-my-openagent) | A broad multi-model agent harness with specialized agents, integrated tools, background agents, and opt-in parallel Team Mode | You want an extensive agent/tool ecosystem and optional parallel teams |
|
|
138
|
+
| [`opencode-agent-tree`](https://github.com/beremaran/opencode-agent-tree) | A plugin that makes an orchestrator decompose and delegate every request, with hands-on tools blocked and configurable delegation depth | You want enforced delegation trees and parallel fan-out of independent subtasks |
|
|
139
|
+
|
|
140
|
+
### Choose OAK when
|
|
141
|
+
|
|
142
|
+
- You want OpenCode to behave like a structured engineering team.
|
|
143
|
+
- You want research, specification, implementation, validation, and independent review to remain distinct.
|
|
144
|
+
- You need durable, resumable workflows with explicit scope and acceptance criteria.
|
|
145
|
+
- You prefer bounded autonomy and inspectable local contracts over unconstrained agent loops.
|
|
146
|
+
|
|
147
|
+
### Consider another orchestration approach when
|
|
148
|
+
|
|
149
|
+
- Your primary goal is maximizing parallel worker throughput.
|
|
150
|
+
- You need autonomous execution across many worktrees or repositories.
|
|
151
|
+
- You need a hosted orchestration or control-plane product.
|
|
152
|
+
- You want an unattended software factory rather than bounded engineering workflows.
|
|
153
|
+
|
|
154
|
+
See [OpenCode Agent Orchestration Approaches](docs/comparison.md) for the
|
|
155
|
+
comparison method, architectural distinctions, limitations, and source links.
|
|
156
|
+
|
|
157
|
+
## Engineering quality
|
|
158
|
+
|
|
159
|
+
OAK's reproducibility and safety claims are backed by checked repository
|
|
160
|
+
artifacts rather than a maturity label:
|
|
161
|
+
|
|
162
|
+
- 1,000+ automated unit and script tests across the package and shipped harness.
|
|
163
|
+
- Mechanical validation of agent, command, workflow, evidence, and routing contracts.
|
|
164
|
+
- Type checking plus dependency vulnerability, integrity, and signature audits.
|
|
165
|
+
- Isolated installation and exact-package smoke tests for the `oak` and `oc-switch` CLIs.
|
|
166
|
+
- Compatibility checks across the declared OpenCode and Node.js boundaries.
|
|
167
|
+
- Durable-state recovery, corruption, idempotency, and adversarial fixtures.
|
|
168
|
+
- Public/private configuration boundary checks and release-provenance validation.
|
|
169
|
+
|
|
170
|
+
The [Validation](#validation) section explains the normal and release-grade
|
|
171
|
+
checks and their limits.
|
|
172
|
+
|
|
96
173
|
## How it works
|
|
97
174
|
|
|
98
175
|
Free-form requests start with the `lead` agent.
|
|
@@ -163,6 +240,15 @@ Use the smallest useful flow:
|
|
|
163
240
|
one-to-six-iteration budget, a hard ceiling of six, durable state, and
|
|
164
241
|
reviewer-only closure. Final approval stops the cycle immediately.
|
|
165
242
|
|
|
243
|
+
### Small-gate fast path
|
|
244
|
+
|
|
245
|
+
A declared `small` change of at most two files may skip final review when it
|
|
246
|
+
does not touch protected surfaces (auth, secrets, public API, migrations, CI,
|
|
247
|
+
or the harness itself), is not destructive, and does not require new tests.
|
|
248
|
+
`lead` then records `review_skipped_reason: small_gate_pass`. Medium and large
|
|
249
|
+
work, and any sensitive surface, still get a full `reviewer` verdict. The
|
|
250
|
+
unique gate definition lives in `opencode/docs/ai/harness/agents.md`.
|
|
251
|
+
|
|
166
252
|
## Included agents
|
|
167
253
|
|
|
168
254
|
| Agent | Responsibility |
|
|
@@ -316,7 +402,14 @@ From this checkout, run:
|
|
|
316
402
|
npm run oc-switch
|
|
317
403
|
```
|
|
318
404
|
|
|
319
|
-
To install the command globally
|
|
405
|
+
To install the command globally from the published npm package:
|
|
406
|
+
|
|
407
|
+
```bash
|
|
408
|
+
npm install --global opencode-agent-orchestration-kit
|
|
409
|
+
oc-switch
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
To install the current cloned checkout instead:
|
|
320
413
|
|
|
321
414
|
```bash
|
|
322
415
|
npm install --global .
|
|
@@ -327,7 +420,7 @@ After a tagged release is published, you can install the same CLI directly
|
|
|
327
420
|
from GitHub without keeping a checkout:
|
|
328
421
|
|
|
329
422
|
```bash
|
|
330
|
-
npm install --global "git+https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit.git#v1.0.
|
|
423
|
+
npm install --global "git+https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit.git#v1.0.43"
|
|
331
424
|
oc-switch
|
|
332
425
|
```
|
|
333
426
|
|
|
@@ -382,9 +475,24 @@ Try one of these commands:
|
|
|
382
475
|
/feature Add a small settings page with a saved theme preference
|
|
383
476
|
```
|
|
384
477
|
|
|
385
|
-
## Install
|
|
478
|
+
## Install from npm or a checkout
|
|
479
|
+
|
|
480
|
+
The published package can be installed directly from npm:
|
|
481
|
+
|
|
482
|
+
```bash
|
|
483
|
+
npm install --global opencode-agent-orchestration-kit
|
|
484
|
+
oak version
|
|
485
|
+
oak install --dry-run
|
|
486
|
+
oak install
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
The npm install only places the `oak` and `oc-switch` commands on `PATH`. It
|
|
490
|
+
has no install lifecycle script and does not modify OpenCode configuration
|
|
491
|
+
until `oak install` is explicitly run. Previewing first preserves the same
|
|
492
|
+
ownership, collision, and rollback rules as the shell wrappers.
|
|
386
493
|
|
|
387
|
-
|
|
494
|
+
From a cloned checkout, preview and install the harness into your OpenCode
|
|
495
|
+
configuration directory:
|
|
388
496
|
|
|
389
497
|
```bash
|
|
390
498
|
./install.sh --dry-run
|
|
@@ -741,7 +849,7 @@ Validate only the canonical identity and current release note with:
|
|
|
741
849
|
|
|
742
850
|
```bash
|
|
743
851
|
npm run check:version
|
|
744
|
-
node scripts/version.mjs --check-tag v1.0.
|
|
852
|
+
node scripts/version.mjs --check-tag v1.0.43
|
|
745
853
|
```
|
|
746
854
|
|
|
747
855
|
Tag validation compares an explicitly supplied tag with the package identity.
|
|
@@ -793,7 +901,6 @@ node scripts/check-harness.mjs
|
|
|
793
901
|
│ ├── quickstart.md
|
|
794
902
|
│ ├── security.md
|
|
795
903
|
│ ├── superpowers.md
|
|
796
|
-
│ ├── synology.md
|
|
797
904
|
│ ├── troubleshooting.md
|
|
798
905
|
│ └── workflows.md
|
|
799
906
|
├── opencode/
|
|
@@ -919,6 +1026,7 @@ Detailed guides are available in [`docs/`](docs/):
|
|
|
919
1026
|
- [Agents](docs/agents.md)
|
|
920
1027
|
- [Commands](docs/commands.md)
|
|
921
1028
|
- [Workflows](docs/workflows.md)
|
|
1029
|
+
- [Comparison with other OpenCode orchestration approaches](docs/comparison.md)
|
|
922
1030
|
- [Models](docs/models.md)
|
|
923
1031
|
- [Open Design](docs/open-design.md)
|
|
924
1032
|
- [Docker Open Design](docs/docker-open-design.md)
|
|
@@ -928,7 +1036,7 @@ Detailed guides are available in [`docs/`](docs/):
|
|
|
928
1036
|
- [Threat model](docs/threat-model.md)
|
|
929
1037
|
- [Reproducible use cases](docs/use-cases/README.md)
|
|
930
1038
|
- [Troubleshooting](docs/troubleshooting.md)
|
|
931
|
-
- [
|
|
1039
|
+
- [Awesome OpenCode submission draft](docs/distribution/awesome-opencode-submission.md)
|
|
932
1040
|
|
|
933
1041
|
## Compatibility and scope
|
|
934
1042
|
|
package/docs/commands.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
- `/feature`: full feature orchestration.
|
|
4
4
|
- `/plan`: research, implementation-ready spec, and reviewer pass with no implementation.
|
|
5
5
|
- `/scope`: research plus scoped spec, no implementation.
|
|
6
|
+
- `/loop`: explicitly approved, resumable developer-review loop with durable state and bounded iterations.
|
|
7
|
+
- `/autonomous`: explicitly requested local-only developer-review cycle with deterministic validation and a one-to-six iteration budget.
|
|
6
8
|
- `/mvp-spec`: strict MVP spec with small tasks and clear out of scope.
|
|
7
9
|
- `/design`: design via PRODUCT.md/DESIGN.md, optional Impeccable, and Open Design.
|
|
8
10
|
- `/research`: direct researcher task.
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# OpenCode Agent Orchestration Approaches
|
|
2
|
+
|
|
3
|
+
OpenCode supports several forms of multi-agent orchestration. Some projects
|
|
4
|
+
provide versioned engineering workflows, some add an autonomous mission
|
|
5
|
+
runtime, and others enforce delegation or optimize parallel agent execution.
|
|
6
|
+
The right choice depends on the control model a team needs.
|
|
7
|
+
|
|
8
|
+
This comparison was reviewed against public project documentation on
|
|
9
|
+
2026-08-28. These projects evolve quickly; follow the linked sources before
|
|
10
|
+
making a current feature decision.
|
|
11
|
+
|
|
12
|
+
## What OAK is
|
|
13
|
+
|
|
14
|
+
OpenCode Agent Orchestration Kit (OAK) is an open-source OpenCode orchestrator
|
|
15
|
+
implemented as a local, inspectable configuration and workflow kit. It turns
|
|
16
|
+
OpenCode into a software-engineering team with specialized research, design,
|
|
17
|
+
specification, implementation, validation, and review roles.
|
|
18
|
+
|
|
19
|
+
OAK's primary abstraction is the engineering workflow. Phase contracts define
|
|
20
|
+
who can act, what evidence is required, when a human decision is needed, and
|
|
21
|
+
which agent has completion authority. The configuration, commands, skills,
|
|
22
|
+
contracts, and durable state remain local and version-controlled.
|
|
23
|
+
|
|
24
|
+
## What OAK is not
|
|
25
|
+
|
|
26
|
+
OAK is not a hosted control plane, a general-purpose agent cloud, or an
|
|
27
|
+
unattended software factory. It does not claim arbitrary parallel worker
|
|
28
|
+
execution, implicit worktree orchestration, multi-repository autonomy,
|
|
29
|
+
automatic merging, or unattended deployment.
|
|
30
|
+
|
|
31
|
+
Its bounded workflows deliberately constrain execution:
|
|
32
|
+
|
|
33
|
+
- `/loop` requires a human-approved contract before writes and allows a
|
|
34
|
+
worktree only through explicit opt-in.
|
|
35
|
+
- `/autonomous` is local-checkout-only and prohibits worktrees, parallelism,
|
|
36
|
+
network access, write-enabled connectors, commits, pushes, merges,
|
|
37
|
+
deployments, releases, and publication.
|
|
38
|
+
- Both use finite iteration budgets, deterministic validation, durable state,
|
|
39
|
+
and reviewer-only completion.
|
|
40
|
+
|
|
41
|
+
## Comparison table
|
|
42
|
+
|
|
43
|
+
| Project | Delivery form | Primary orchestration pattern | State and completion | Documented concurrency emphasis |
|
|
44
|
+
|---|---|---|---|---|
|
|
45
|
+
| **OAK** | Versioned OpenCode configuration, commands, skills, contracts, and CLI tools | Explicit software-engineering phases and handoffs | Schema-versioned loop state, append-only history, locks, contract hashes, recovery, and independent reviewer closure | Bounded loops are sequential; `/loop` permits only explicit worktree opt-in and `/autonomous` prohibits worktrees and parallelism |
|
|
46
|
+
| [`agnusdei1207/opencode-orchestrator`](https://github.com/agnusdei1207/opencode-orchestrator) | OpenCode plugin and local runtime | Commander → Planner → Worker → Reviewer mission loop | Persisted missions under `.opencode/`, verification gates, a mission ledger, and local-first memory | Configurable concurrency for planner, worker, and reviewer roles; Rust tooling includes parallel execution primitives |
|
|
47
|
+
| [`code-yeongyu/oh-my-openagent`](https://github.com/code-yeongyu/oh-my-openagent) | Multi-edition agent harness and plugin ecosystem | Main orchestrator delegates to planning, implementation, research, and review specialists | Plans and continuation mechanisms vary by mode; the project documents session recovery and persistent objectives | Background agents and opt-in Team Mode run specialized members in parallel |
|
|
48
|
+
| [`beremaran/opencode-agent-tree`](https://github.com/beremaran/opencode-agent-tree) | OpenCode plugin | An orchestrator-only agent decomposes every request and delegates all hands-on work through a configurable tree | The orchestrator reviews subagent reports and delegates corrections; its hands-on tools are denied by configuration | Its directive encourages parallel fan-out for independent subtasks and supports configurable orchestration depth |
|
|
49
|
+
|
|
50
|
+
The rows describe documented architecture, not feature parity. For example,
|
|
51
|
+
OAK's durable loop contract and `opencode-orchestrator`'s mission runtime both
|
|
52
|
+
persist state, but they assign control and completion authority differently.
|
|
53
|
+
|
|
54
|
+
## OAK vs autonomous mission runtimes
|
|
55
|
+
|
|
56
|
+
An autonomous mission runtime owns the continuing execution loop. It can
|
|
57
|
+
schedule or re-invoke roles until the runtime decides that verification is
|
|
58
|
+
sufficient or escalation is required. This is useful when mission throughput
|
|
59
|
+
and runtime control are primary requirements.
|
|
60
|
+
|
|
61
|
+
OAK instead makes the approved workflow contract the control boundary. Its
|
|
62
|
+
bounded cycles use explicit iteration budgets and stop conditions, and only an
|
|
63
|
+
independent reviewer can close the work. Use this approach when reproducible
|
|
64
|
+
scope, evidence, and human-visible authority matter more than keeping a
|
|
65
|
+
mission running unattended.
|
|
66
|
+
|
|
67
|
+
## OAK vs delegation trees
|
|
68
|
+
|
|
69
|
+
A delegation-tree plugin focuses on ensuring that an orchestrator decomposes
|
|
70
|
+
work and never implements it directly. Deeper trees and parallel fan-out can
|
|
71
|
+
increase specialization or throughput.
|
|
72
|
+
|
|
73
|
+
OAK can delegate among specialized roles, but its central concern is the
|
|
74
|
+
meaning of each engineering phase: what the researcher must establish, what
|
|
75
|
+
the specifier must make testable, what the developer may change, and what the
|
|
76
|
+
reviewer must independently verify. Choose a delegation tree when enforced
|
|
77
|
+
task decomposition is the primary requirement; choose OAK when explicit phase
|
|
78
|
+
contracts and workflow evidence are the primary requirement.
|
|
79
|
+
|
|
80
|
+
## OAK vs large agent frameworks
|
|
81
|
+
|
|
82
|
+
Larger coding-agent frameworks may bundle broad tool suites, model routing,
|
|
83
|
+
background agents, hooks, compatibility layers, and interactive team modes.
|
|
84
|
+
That breadth is useful when one integrated agent environment is the goal.
|
|
85
|
+
|
|
86
|
+
OAK keeps the core OpenCode multi-agent workflow smaller and inspectable. It
|
|
87
|
+
uses OpenCode's model/provider configuration and treats design tools,
|
|
88
|
+
methodology plugins, and observability as optional integrations. The tradeoff
|
|
89
|
+
is deliberate: OAK does not attempt to match every runtime or tool feature of
|
|
90
|
+
a larger framework.
|
|
91
|
+
|
|
92
|
+
## Workflow orchestration vs worker-pool orchestration
|
|
93
|
+
|
|
94
|
+
Workflow orchestration organizes responsibility and evidence across stages:
|
|
95
|
+
|
|
96
|
+
```text
|
|
97
|
+
research -> specification -> implementation -> validation -> independent review
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Worker-pool orchestration organizes execution capacity:
|
|
101
|
+
|
|
102
|
+
```text
|
|
103
|
+
decompose -> dispatch independent workers -> collect results -> integrate
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
The models can coexist, but they optimize different constraints. OAK focuses
|
|
107
|
+
on the first model and limits parallel and unattended execution in its bounded
|
|
108
|
+
flows to preserve explicit scope, review authority, and reproducibility.
|
|
109
|
+
|
|
110
|
+
## Choosing an OpenCode orchestration approach
|
|
111
|
+
|
|
112
|
+
Choose OAK when:
|
|
113
|
+
|
|
114
|
+
- You want multi-agent orchestration for OpenCode to follow explicit
|
|
115
|
+
software-engineering contracts.
|
|
116
|
+
- You need research, specification, implementation, and independent review to
|
|
117
|
+
remain separate and auditable.
|
|
118
|
+
- You need durable and resumable local state with finite execution budgets.
|
|
119
|
+
- You want configuration and evidence to remain inspectable and
|
|
120
|
+
version-controlled.
|
|
121
|
+
|
|
122
|
+
Consider a runtime-oriented or delegation-oriented approach when:
|
|
123
|
+
|
|
124
|
+
- Maximum parallel worker throughput is the main objective.
|
|
125
|
+
- You need autonomous execution across many worktrees or repositories.
|
|
126
|
+
- You want a broad bundled tool/model ecosystem or a hosted control plane.
|
|
127
|
+
- You intentionally want an unattended mission runtime rather than bounded
|
|
128
|
+
coding agent orchestration.
|
|
129
|
+
|
|
130
|
+
## Sources
|
|
131
|
+
|
|
132
|
+
- [OAK README](../README.md), [`/loop` contract](../opencode/commands/loop.md),
|
|
133
|
+
and [`/autonomous` contract](../opencode/commands/autonomous.md)
|
|
134
|
+
- [`opencode-orchestrator` README](https://github.com/agnusdei1207/opencode-orchestrator#readme)
|
|
135
|
+
- [`oh-my-openagent` README](https://github.com/code-yeongyu/oh-my-openagent#readme)
|
|
136
|
+
and [orchestration guide](https://github.com/code-yeongyu/oh-my-openagent/blob/dev/docs/guide/orchestration.md)
|
|
137
|
+
- [`opencode-agent-tree` README](https://github.com/beremaran/opencode-agent-tree#readme)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Awesome OpenCode submission draft
|
|
2
|
+
|
|
3
|
+
Target: [`awesome-opencode/awesome-opencode`](https://github.com/awesome-opencode/awesome-opencode)
|
|
4
|
+
|
|
5
|
+
The target's current contribution guide uses one YAML file per entry. OAK is a
|
|
6
|
+
collection of specialized agents and commands rather than a single OpenCode
|
|
7
|
+
plugin, so the recommended category is **Agents**.
|
|
8
|
+
|
|
9
|
+
## Proposed project title
|
|
10
|
+
|
|
11
|
+
OpenCode Agent Orchestration Kit (OAK)
|
|
12
|
+
|
|
13
|
+
## One-line description
|
|
14
|
+
|
|
15
|
+
Open-source multi-agent orchestration harness for reproducible OpenCode software-engineering workflows.
|
|
16
|
+
|
|
17
|
+
## Recommended category and file
|
|
18
|
+
|
|
19
|
+
`data/agents/opencode-agent-orchestration-kit.yaml`
|
|
20
|
+
|
|
21
|
+
## Proposed entry
|
|
22
|
+
|
|
23
|
+
```yaml
|
|
24
|
+
name: OpenCode Agent Orchestration Kit (OAK)
|
|
25
|
+
repo: https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit
|
|
26
|
+
tagline: Open-source multi-agent orchestration harness for reproducible OpenCode engineering workflows.
|
|
27
|
+
description: Local, inspectable OpenCode agent orchestration with specialized research, design, specification, implementation, and review roles; durable workflow state; validation evidence; and bounded autonomous execution.
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Why it fits
|
|
31
|
+
|
|
32
|
+
OAK is directly related to OpenCode and provides a maintained, public,
|
|
33
|
+
Apache-2.0 software-engineering agent harness. It packages specialized agents,
|
|
34
|
+
commands, workflow contracts, local lifecycle tools, durable bounded loops,
|
|
35
|
+
and validation evidence. The repository README already states that the project
|
|
36
|
+
is not affiliated with OpenCode or its optional integrations.
|
|
37
|
+
|
|
38
|
+
## Concise pull-request body
|
|
39
|
+
|
|
40
|
+
```text
|
|
41
|
+
Add OpenCode Agent Orchestration Kit (OAK) to Agent Collections.
|
|
42
|
+
|
|
43
|
+
OAK is an Apache-2.0, local-first multi-agent orchestration harness for OpenCode. It provides specialized engineering roles, explicit workflow contracts, durable bounded execution, independent review, and reproducible validation evidence.
|
|
44
|
+
|
|
45
|
+
Repository: https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Before submitting, re-check the target repository's
|
|
49
|
+
[`contributing.md`](https://github.com/awesome-opencode/awesome-opencode/blob/main/contributing.md)
|
|
50
|
+
and confirm the generated entry is not already present. This repository does
|
|
51
|
+
not open or modify the external pull request automatically.
|
package/docs/installation.md
CHANGED
|
@@ -4,6 +4,26 @@ Prerequisites include Node.js `^22.9.0 || ^24.0.0` and npm. See the
|
|
|
4
4
|
[compatibility matrix](compatibility.md) for supported OpenCode versions,
|
|
5
5
|
platform status, exact integration pins, and evidence.
|
|
6
6
|
|
|
7
|
+
## Install the published CLI package
|
|
8
|
+
|
|
9
|
+
The npm package exposes the dependency-free `oak` lifecycle CLI and the
|
|
10
|
+
`oc-switch` model selector:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install --global opencode-agent-orchestration-kit
|
|
14
|
+
oak version
|
|
15
|
+
oak install --dry-run
|
|
16
|
+
oak install
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
`npm install` does not mutate OpenCode configuration: the package declares no
|
|
20
|
+
`preinstall`, `install`, or `postinstall` lifecycle script. `oak install`
|
|
21
|
+
remains an explicit operation with the ownership, collision, backup, and
|
|
22
|
+
rollback rules documented below.
|
|
23
|
+
|
|
24
|
+
Installing from a cloned checkout remains supported through `./install.sh` or
|
|
25
|
+
`npm install --global .` followed by `oak install`.
|
|
26
|
+
|
|
7
27
|
## Test without a global install
|
|
8
28
|
|
|
9
29
|
```bash
|
package/docs/models.md
CHANGED
|
@@ -16,7 +16,15 @@ export OPENCODE_REVIEWER_MODEL="openai/gpt-5.5"
|
|
|
16
16
|
|
|
17
17
|
## Interactive switching
|
|
18
18
|
|
|
19
|
-
Run `npm run oc-switch` from a checkout, or install the CLI globally
|
|
19
|
+
Run `npm run oc-switch` from a checkout, or install the published CLI globally
|
|
20
|
+
with npm:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
npm install --global opencode-agent-orchestration-kit
|
|
24
|
+
oc-switch
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
To install the current checkout instead:
|
|
20
28
|
|
|
21
29
|
```bash
|
|
22
30
|
npm install --global .
|
|
@@ -26,7 +34,7 @@ oc-switch
|
|
|
26
34
|
Once a release tag exists, a checkout is optional:
|
|
27
35
|
|
|
28
36
|
```bash
|
|
29
|
-
npm install --global "git+https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit.git#v1.0.
|
|
37
|
+
npm install --global "git+https://github.com/jcarlosrodicio/opencode-agent-orchestration-kit.git#v1.0.43"
|
|
30
38
|
oc-switch
|
|
31
39
|
```
|
|
32
40
|
|
package/docs/releases/v1.0.28.md
CHANGED
|
@@ -67,5 +67,4 @@ separate non-blocking observation.
|
|
|
67
67
|
|
|
68
68
|
The public package excludes private OpenCode configuration, local provider and
|
|
69
69
|
MCP wiring, credentials, authentication files, raw transcripts, private
|
|
70
|
-
evidence, user-specific absolute paths, and machine-local state.
|
|
71
|
-
the local SearXNG research integration is not part of this release.
|
|
70
|
+
evidence, user-specific absolute paths, and machine-local state.
|
package/docs/releases/v1.0.29.md
CHANGED
|
@@ -74,5 +74,4 @@ limits.
|
|
|
74
74
|
The public release excludes private OpenCode configuration, local provider and
|
|
75
75
|
MCP wiring, credentials, authentication files, raw transcripts, private
|
|
76
76
|
evidence, user-specific absolute paths, machine-local state, and internal Slice
|
|
77
|
-
1.5 planning artifacts.
|
|
78
|
-
is not part of this release.
|
|
77
|
+
1.5 planning artifacts.
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# v1.0.42 - Safe lifecycle and canonical release identity
|
|
2
|
+
|
|
3
|
+
This patch release makes the package easier to find, evaluate, and install as
|
|
4
|
+
an open-source multi-agent orchestration harness for OpenCode. It clarifies the
|
|
5
|
+
bounded-autonomy model and public safety guarantees without changing runtime
|
|
6
|
+
behavior.
|
|
7
|
+
|
|
8
|
+
## Highlights
|
|
9
|
+
|
|
10
|
+
- Clarify OAK's category, engineering workflow, bounded autonomous execution,
|
|
11
|
+
and intended audience in the README and command documentation.
|
|
12
|
+
- Add a factual comparison of prominent OpenCode orchestration approaches,
|
|
13
|
+
including the tradeoffs that distinguish OAK.
|
|
14
|
+
- Add npm and GitHub discovery metadata plus direct published-package install
|
|
15
|
+
instructions for the `oak` and `oc-switch` CLIs.
|
|
16
|
+
- Add a repository-ready Awesome OpenCode submission draft.
|
|
17
|
+
- Document the repository's validation and supply-chain quality signals.
|
|
18
|
+
|
|
19
|
+
## Installation or upgrade
|
|
20
|
+
|
|
21
|
+
Install or upgrade the published CLI package:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install --global opencode-agent-orchestration-kit@1.0.42
|
|
25
|
+
oak version
|
|
26
|
+
oak install --dry-run
|
|
27
|
+
oak install
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
The npm installation exposes the CLIs but does not mutate OpenCode
|
|
31
|
+
configuration. `oak install` remains a separate, explicit operation.
|
|
32
|
+
|
|
33
|
+
## Migration
|
|
34
|
+
|
|
35
|
+
No migration is required. This release changes public documentation and
|
|
36
|
+
package metadata only; existing harness configuration and runtime behavior
|
|
37
|
+
remain compatible.
|
|
38
|
+
|
|
39
|
+
## Validation performed
|
|
40
|
+
|
|
41
|
+
The full 1,068-test unit and script suite, contract check, type checking,
|
|
42
|
+
dependency vulnerability and signature audits, isolated installation smoke,
|
|
43
|
+
exact-package smoke, clean archive inspection, and release provenance checks
|
|
44
|
+
passed.
|
|
45
|
+
|
|
46
|
+
## Public safety boundary
|
|
47
|
+
|
|
48
|
+
The public release excludes private OpenCode and Pi configuration, local
|
|
49
|
+
providers and MCP wiring, credentials, authentication files, raw transcripts,
|
|
50
|
+
private evidence, absolute machine paths, and runtime state. Pi uses its own
|
|
51
|
+
native model catalog and is not included in this OpenCode package.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# v1.0.43 - Safe lifecycle and canonical release identity
|
|
2
|
+
|
|
3
|
+
This patch release ships the iteration-025 latency fast paths: a small-gate
|
|
4
|
+
review skip, proportional review-lite, a condensed small-change card, a slimmer
|
|
5
|
+
lead prompt with on-demand AHE playbooks, and collector telemetry v2. It also
|
|
6
|
+
locks a red routing-fixture corpus, hardens the public leak scanner, and bumps
|
|
7
|
+
browserslist for two published advisories.
|
|
8
|
+
|
|
9
|
+
## Highlights
|
|
10
|
+
|
|
11
|
+
- Add a small-gate fast path: a declared `small` change of at most two files
|
|
12
|
+
may skip final review when it does not touch protected surfaces, is not
|
|
13
|
+
destructive, and does not require new tests. `lead` records
|
|
14
|
+
`review_skipped_reason` (`small_gate_pass`, `protected_surface`,
|
|
15
|
+
`destructive_diff`, `tests_required`, `scope_not_small`, or `human_decision`).
|
|
16
|
+
- Add proportional review-lite. Reviewer depth is `skipped`, `trivial`, `lite`,
|
|
17
|
+
or `full`. Lite consumes the developer Verification Envelope and must not
|
|
18
|
+
re-run green suites; medium/large and sensitive surfaces keep an intact
|
|
19
|
+
final verdict.
|
|
20
|
+
- Add a condensed small card of at most six fields (objective, success,
|
|
21
|
+
validation, diff base, constraints, output) when the unique small-gate in
|
|
22
|
+
`opencode/docs/ai/harness/agents.md` holds.
|
|
23
|
+
- Slim `lead.md` to a fast-router over phases, with on-demand Skill Resolution
|
|
24
|
+
and AHE details in `opencode/docs/ai/harness/playbooks/lead-ahe-flow.md`.
|
|
25
|
+
- Extend phase-0 collector telemetry v2 with request-turn ids, paired handoff
|
|
26
|
+
timestamps, `review_skipped_reason`, and post-hoc `diff_size`.
|
|
27
|
+
- Lock synthetic red routing fixtures so the classic corpus stays green, and
|
|
28
|
+
obfuscate a private hostname fragment in the public leak scanner.
|
|
29
|
+
- Remove stale SearXNG and Synology documentation from the public kit.
|
|
30
|
+
- Bump `browserslist` to 4.28.8 for GHSA-c83g-rgw3-j3cx and GHSA-73wf-gq98-2v4g.
|
|
31
|
+
|
|
32
|
+
## Installation or upgrade
|
|
33
|
+
|
|
34
|
+
Install or upgrade the published CLI package:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
npm install --global opencode-agent-orchestration-kit@1.0.43
|
|
38
|
+
oak version
|
|
39
|
+
oak install --dry-run
|
|
40
|
+
oak install
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
The npm installation exposes the CLIs but does not mutate OpenCode
|
|
44
|
+
configuration. `oak install` remains a separate, explicit operation.
|
|
45
|
+
|
|
46
|
+
## Migration
|
|
47
|
+
|
|
48
|
+
No migration is required. Existing harness configuration remains compatible.
|
|
49
|
+
Small changes that meet the unique small-gate may now skip final review; all
|
|
50
|
+
other changes keep the previous review path.
|
|
51
|
+
|
|
52
|
+
## Validation performed
|
|
53
|
+
|
|
54
|
+
The public contract check, unit and script suite, tag/version identity check,
|
|
55
|
+
`git diff --check`, and npm pack dry-run passed. GitHub Actions Check on
|
|
56
|
+
merged `master` was green before the release-prep commit.
|
|
57
|
+
|
|
58
|
+
## Public safety boundary
|
|
59
|
+
|
|
60
|
+
The public release excludes private OpenCode and Pi configuration, local
|
|
61
|
+
providers and MCP wiring, credentials, authentication files, provider URLs,
|
|
62
|
+
raw transcripts, private evidence, absolute machine-local paths, and runtime
|
|
63
|
+
state. Pi uses its own native model catalog and is not included in this
|
|
64
|
+
OpenCode package.
|
|
65
|
+
|
|
66
|
+
Boundary statement: no private config, no credentials, no provider URLs, no
|
|
67
|
+
raw transcripts, no machine-local paths.
|
|
@@ -145,6 +145,14 @@ objective, decisions made, files read/touched, validation state, blockers, and
|
|
|
145
145
|
next action. If there are long outputs, reference the artifact path instead of
|
|
146
146
|
copying the log into context.
|
|
147
147
|
|
|
148
|
+
Small-scope exemption: if the handoff includes the condensed 6-field card
|
|
149
|
+
(objective, success, validation, diff base, constraints, output) and the task
|
|
150
|
+
meets the small-gate defined uniquely in `docs/ai/harness/agents.md`, work
|
|
151
|
+
against that card without expanding the full Task Contract or `handoff_packet`.
|
|
152
|
+
In that case the card's `output` absorbs the essentials of the Result Contract
|
|
153
|
+
and Verification Envelope in a short summary; otherwise the full blocks above
|
|
154
|
+
and below remain mandatory.
|
|
155
|
+
|
|
148
156
|
## Result Contract and Verification Envelope
|
|
149
157
|
|
|
150
158
|
When closing a non-trivial implementation, add a compact `Result Contract`:
|