opencode-dispatcher 0.2.10 → 0.2.11

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 CHANGED
@@ -29,7 +29,7 @@ flowchart TD
29
29
  User[User] --> Orchestrator[Orchestrator]
30
30
 
31
31
  Orchestrator -->|Question or review| Direct[Direct answer]
32
- Orchestrator -->|Tiny exact edit| Executor[Executor]
32
+ Orchestrator -->|Exact mechanical edit| Executor[Executor]
33
33
  Orchestrator -->|Substantial task| Planner[Task Planner]
34
34
  Orchestrator -->|External facts needed| Research[Research]
35
35
  Orchestrator -->|Commit or push requested| Shipper[Shipper]
@@ -113,9 +113,9 @@ The orchestrator is the main entry point. It talks with you, clarifies the reque
113
113
 
114
114
  | Agent | Role | Used When |
115
115
  | -------- | -------------------------------------- | --------------------------------------- |
116
- | Executor | Performs tiny single-file atomic edits | For exact, unambiguous one-file changes |
116
+ | Executor | Performs exact, mechanical, low-risk edits | For edits where a task spec would not improve safety |
117
117
 
118
- The executor is used when a full task spec would be unnecessary.
118
+ The executor is used when the edit is exact, mechanical, and low-risk — a task spec would not improve safety.
119
119
 
120
120
  Example:
121
121
 
@@ -216,7 +216,7 @@ flowchart LR
216
216
  User --> Orchestrator --> Executor --> Orchestrator --> Summary[Summary]
217
217
  ```
218
218
 
219
- Used for exact, single-file changes.
219
+ Used for exact, mechanical, low-risk edits that do not need task planning or acceptance criteria.
220
220
 
221
221
  ### Substantial Feature or Fix
222
222
 
@@ -407,7 +407,7 @@ Current payloads include agents for:
407
407
  * validation
408
408
  * research
409
409
  * shipping
410
- * tiny atomic edits
410
+ * exact mechanical edits
411
411
 
412
412
  The installer does **not** install or manage:
413
413
 
@@ -526,6 +526,10 @@ Use Dispatcher when the structure is worth it. Use the fast path or plain OpenCo
526
526
 
527
527
  ## Version History
528
528
 
529
+ * **v0.2.11**
530
+ * **Routing Clarity**: Clarified executor routing as exact, mechanical, low-risk edits rather than file-count-based; clarified planner auto-proceed behavior when no user-facing decisions are introduced.
531
+ * **Shipper Boundary**: Tightened shipper routing so it only commits and pushes existing intended changes.
532
+ * **CI Update**: Updated publish workflow to Node 24-compatible GitHub Actions (`actions/checkout@v6`, `actions/setup-node@v6`, `node-version: 24`).
529
533
  * **v0.2.10**
530
534
  * **Agent Context**: Shipper agent now reads `.ai/context.md` for project-specific conventions (commit format, version bump patterns, auto-publish). Added `read` permission to shipper. Updated `.ai/context.md` with publication and auto-publish conventions. Added CI workflow (`.github/workflows/publish.yml`) to auto-publish on version bump commits.
531
535
  * **v0.2.8**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-dispatcher",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "A low-context OpenCode dispatcher workflow with orchestrator agents and task artifacts.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -110,10 +110,10 @@ Ask one focused question only when the missing answer would change scope, safety
110
110
  Choose the smallest safe path:
111
111
 
112
112
  - Answer directly when no file changes are needed.
113
- - Use executor when the edit is exact, low-risk, and unambiguous (file count is irrelevant).
113
+ - Use executor when the requested edit is exact, mechanical, low-risk, and does not need task planning or acceptance criteria.
114
114
  - Use research when current facts, external docs, pricing, vendor behaviour, or source-backed confidence matter.
115
115
  - Use task-planner when the work is behaviour-changing, risky, unclear, needs acceptance criteria, or benefits from a written plan before implementation.
116
- - Use shipper only when the user explicitly asks to commit or push.
116
+ - Use shipper only for explicit git commit or push work after the intended file changes already exist.
117
117
  - Use model-config when the user wants to configure per-agent models for this project.
118
118
  ### Common Requests
119
119
 
@@ -123,7 +123,7 @@ Choose the smallest safe path:
123
123
 
124
124
  Delegate to the specialist that owns the next action.
125
125
 
126
- - executor: tiny single-file edit
126
+ - executor: exact mechanical edit
127
127
  - research: source-backed fact finding
128
128
  - task-planner: task specs and decomposition
129
129
  - test-writer: tests from approved specs
@@ -142,6 +142,7 @@ Execution pipeline for task specs:
142
142
  - After the pipeline completes, always spawn `validator` as the final agent.
143
143
  - If the `## Execution` section is missing or empty, do not spawn any agents; report the gap to the user.
144
144
  - Never assume a default agent sequence — always read the pipeline from the spec.
145
+ - Auto-proceed rule: after task-planner returns a spec, continue automatically into the spec's Execution pipeline when the spec matches the clarified request and introduces no new user-facing decisions. Ask the user only for ambiguity, material scope expansion, risky tradeoffs, conflicting requirements, or required user choices. Multi-unit decomposition still requires explicit user approval before child specs are created.
145
146
 
146
147
  ### REVIEW
147
148
 
@@ -22,6 +22,8 @@ permission:
22
22
  "git config*": allow
23
23
  "ls": allow
24
24
  "ls *": allow
25
+ "npm run check": allow
26
+ "npm run check *": allow
25
27
  "git reset*": deny
26
28
  "git rebase*": deny
27
29
  "git clean*": deny
@@ -52,6 +54,7 @@ Hard boundaries:
52
54
  - Only commit when orchestrator/user explicitly requests a commit.
53
55
  - Only push when orchestrator/user explicitly requests a push.
54
56
  - Do not amend, force-push, reset, rebase, clean, tag, or create PRs unless explicitly requested.
57
+ - Do not prepare changes; only commit or push existing intended changes.
55
58
  - If branch/upstream ambiguity exists, report back to orchestrator instead of guessing.
56
59
 
57
60
  Required pre-commit inspection: