opencode-codeops 1.8.0 → 1.8.1

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
@@ -2,6 +2,21 @@
2
2
 
3
3
  All notable changes to CodeOps are recorded here.
4
4
 
5
+ ## 1.8.1 — 2026-10-04
6
+
7
+ ### Documentation
8
+
9
+ - agents: refresh project guidance with specialist facts
10
+ - plan: record ST-43 and final verification evidence
11
+ - plan: add ST-44 for the ask-and-create acceptance path
12
+ - plan: record ST-34 dispatch acceptance evidence
13
+
14
+ ### Fixes
15
+
16
+ - test: broaden availability regression guard per re-review
17
+ - docs: complete AR #27 availability correction per phase-4 review
18
+ - docs: correct specialist availability per ST-35 observation
19
+
5
20
  ## 1.8.0 — 2026-10-04
6
21
 
7
22
  ### Documentation
package/README.md CHANGED
@@ -168,9 +168,10 @@ only with your explicit approval — the `--auto-design` mode cannot approve the
168
168
  listed specialists are dispatched as **additional** reviewers or executors: they never replace a
169
169
  required reviewer or gate, reviewer findings use the `SR-NNN` prefix, and the generated agent
170
170
  defaults to `reasoningEffort: max` (override it with `routing.roles.<role>.reasoning`).
171
- - **Fallback** — OpenCode loads agents at startup, so a specialist created during a session becomes
172
- available in the next one; while unavailable, dispatch falls back to a generic subagent carrying
173
- the brief excerpt and reports the fallback. No review depends on a specialist existing.
171
+ - **Fallback** — a specialist is available as soon as its generated agent exists; OpenCode's
172
+ discovery timing is whatever your build provides. If it is missing, invalid, or a dispatch fails,
173
+ dispatch falls back to a generic subagent carrying the brief excerpt and reports the fallback.
174
+ No review depends on a specialist existing.
174
175
 
175
176
  Lifecycle checks: `--check` reports `INVALID`, `MISSING`, `STALE`, `ORPHAN`, `HAND-AUTHORED`, and
176
177
  `AGENTS.md` states; `--remove-custom <role> --yes` deletes the generated agent and its brief and
@@ -178,8 +179,8 @@ updates the index.
178
179
 
179
180
  > **Upgrading:** specialist agents embed the generic template contract. When a newer plugin changes
180
181
  > those templates, `--check` reports the agent as `STALE`; re-run
181
- > `python3 scripts/install_agents.py --project . --custom <role>` (then `--sync-agents-md`) to
182
- > regenerate it.
182
+ > `python3 "${CODEOPS_PLUGIN_ROOT}/scripts/install_agents.py" --project . --custom <role>` (then
183
+ > `--sync-agents-md`) to regenerate it.
183
184
 
184
185
  ## Requirements
185
186
 
@@ -13,7 +13,7 @@ Quality and routing configuration lives in `codeops/codeops.json`, validated aga
13
13
  configuration.
14
14
 
15
15
  The quality section controls independent review and stop conditions. The routing section controls
16
- optional roles, effort, model pins, sandboxes, and concurrency. Domain/risk tags in the active
16
+ optional roles, effort, reasoning, model pins, sandboxes, and concurrency. Domain/risk tags in the active
17
17
  specification select additional reviewer roles. Outcome metrics are disabled unless
18
18
  `metrics.enabled` is explicitly `true`.
19
19
 
@@ -5,8 +5,9 @@
5
5
  This is the **single canonical definition** of project-specific specialist subagents: how a
6
6
  capability gap is detected, how a candidate is proposed and approved, and how the specialist is
7
7
  created, used, and retired. It lives at the plugin root in `_shared/`; the participating skills
8
- (`make-requirements`, `make-plan`, `analyze-project`, `setup-routing`, `exec-plan`) link here
9
- instead of carrying copies.
8
+ (`make-requirements`, `make-plan`, `analyze-project`, `setup-routing`) link here instead of
9
+ carrying copies. `exec-plan` dispatches per `_shared/quality-profile.md`, which owns the
10
+ dispatch, independence, and fallback rules.
10
11
 
11
12
  A specialist is a project-local agent that carries durable domain knowledge a generic catalog role
12
13
  does not have. Routing is an optimization and a context mechanism, **never a correctness source**.
@@ -140,6 +141,7 @@ escalation)` entry.
140
141
  The authoritative dispatch rules live in `_shared/quality-profile.md` (resolution order, finding
141
142
  prefix `SR`, additional-reviewer independence, and dynamic-packet fallback). A specialist
142
143
  dispatches only when the plan's `00-index.md` "Specialist Agents" table assigns it to the phase.
143
- When the agent is unavailable — for example it was created after the session started — dispatch a
144
- generic subagent with the complete packet, including the brief excerpt, and report the fallback.
145
- The phase is never marked complete unreviewed because a specialist was missing.
144
+ When the agent is unavailable — for example its generated file is missing, its brief is invalid,
145
+ or a dispatch fails — dispatch a generic subagent with the complete packet, including the brief
146
+ excerpt, and report the fallback. The phase is never marked complete unreviewed because a
147
+ specialist was missing.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-codeops",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Specification-first engineering for complex systems — CodeOps plugin for OpenCode",
5
5
  "type": "module",
6
6
  "engines": {
@@ -90,7 +90,7 @@ Creation, after approval:
90
90
  2. Write `routing.roles.<role>` policy first when a model/effort/sandbox/reasoning override is needed: routing wins over the brief, and a policy written later makes the generated agent immediately stale.
91
91
  3. Generate the agent: `python3 "${CODEOPS_PLUGIN_ROOT}/scripts/install_agents.py" --project . --custom <role>`.
92
92
  4. Sync the index: `... --sync-agents-md`.
93
- 5. Verify last with `... --check`, then tell the user the agent is available from the next OpenCode session.
93
+ 5. Verify last with `... --check`, then tell the user the agent is available as soon as its generated file exists (discovery timing follows the running OpenCode build).
94
94
 
95
95
  Removal: confirm, run `--remove-custom <role> --yes` (it deletes the agent and brief and syncs the index), drop the routing entry, warn when an active plan references the role, and report that `exec-plan` will fall back to a dynamic packet.
96
96