Skip to content

chore(deps): upgrade OpenCode SDK and qualification host to 2.4.2 - #264

Merged
bateau84 merged 13 commits into
mainfrom
chore/opencode-2.4.2-compatibility
Nov 28, 2026
Merged

bateau84 merged 13 commits into
mainfrom
chore/opencode-2.4.2-compatibility

Conversation

@bateau84

@bateau84 bateau84 commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Purpose

Compatibility-only upgrade of exact OpenCode SDK and qualification host from 2.3.0 to 2.4.2. No new product functionality. No changes to #263, production Evaluator activation, source-access expansion, managed routing activation or scheduler replacement. Do not merge without separate authorization.

Compatibility changes

  • Registry-resolved SDK and Bun lock; current installed-host workflows retargeted. Historical reports, the 2.2.6 recovery fixture and the 2.0.29 Code Mode search fixture remain version-bound.
  • Separate historical digest-checked 2.3.0 request/attempt witnesses from exact installed 2.4.2 SDK declarations. No attempt identity or account-binding claim.
  • Native deny-all catalog on 2.4.2 is empty, not expanded (upstream #65899). Original failed run and audit establish actual shell and skill calls rejected as unavailable. Require empty catalogs and exact rejected call identities; separate visible-skill positive/negative native control verifies actual resource authorization and no denied content disclosure.
  • Upstream #64324: unique inner tool invocation IDs; permission prompts remain bound to outer execute. Require distinct paired inner/outer IDs, same native Session/agent/assistant message, and exact outer permission source. Preserve no-write/no-delivery/denied invocation controls and historical fail-closed correlation. The native caller loop may continue after a plain rejection, identically to the ordinary native tool control; this does not authorize delivery.
  • Keep automations disabled in ordinary disposable fixtures; qualify the empty default-enabled inventory on fresh boot. The separate focused job registers only explicitly test-owned one-shot and deleted-future automations. No production scheduling, real inference, or authorization change.
  • Retarget only the test-only request-local route candidate and preserve the production unqualified guard.

Targeted installed qualification

Focused compatibility job at exact candidate passed:

  1. Agent-selected/unselected instructions reach actual provider inputs and survive compaction.
  2. In-flight Promise wait cancels without interrupting the target. Separate boot/trust probe checks pre-aborted mutation denial.
  3. Quoted background heading alone does not imply outstanding work.
  4. Actual timed-out foreground shell returns a running background handle; parent receives running report then completed settlement.
  5. Test-only plugin automation CRUD and one-shot silent child (parent link retained; no parent notification or model wake).

The installed production-question suite also verifies recursive same-location child relocation and exclusion of a child previously moved elsewhere. See compatibility assessment for limitations and intermediate evidence.

QA-B compatibility follow-up

Earlier QA-B failure revealed an obsolete scripted fixture assumption: 2.4.2 wraps actual child reports in <background-result kind="subagent" ...>, not only the historical <subagent ...> envelope. The fixture now accepts only exact completed child notices as no-ops, with malformed, noncompleted, wrong-kind, quoted-phase and pending-continuation negative tests. Both installed source-proof variants passed on the current head, including source oracle completeness and host recovery. Their source-only status remains UNPROVEN for full retrospective/Evaluator acceptance.

Evidence and merge gates

Candidate: dcd4ffb7eda7af7b58376e81d9321b26a1f1c64a. Current checks.

Workflow Candidate status
Engineering history browser qualification PASS
Installed historical engineering evidence PASS
Installed OpenCode 2.4.2 unqualified routing guard PASS
Installed OpenCode boot and trust regression PASS
Installed OpenCode Session-variant qualification PASS
Installed question production-path qualification PASS
Installed Stage 3 and Stage 4 learning mechanics PASS
Installed V2 routing acceptance (local providers) PASS
Learning qualification workspace PASS
Loom plugin CI PASS

Registry resolution and frozen install passed; temporary bootstrap workflow removed. All ten workflows passed on the exact candidate, including both installed-question jobs and all five installed Stage 3/4 execution, retrieval and durable publication/recovery steps. Plugin CI passed 438 core, 1,130 native and 372 Python tests, plus the additional component and search tests and production/fixture typechecks. Historical evidence and prior qualification runs remain version-bound.

Status: 10/10 final-head workflows passed; ready for independent review. Independent review remains outstanding. No merge or review approval inferred. Historical or native control-flow limitations remain explicit; passing these compatibility checks does not qualify production Evaluator inference, complete causal provenance, managed billing/routing or native automation adoption.

Qualification runs execute on actual packed plugin and isolated CI hosts because the editing environment lacks local Bun/OpenCode and a network-accessible repository clone.

@bateau84
bateau84 marked this pull request as ready for review November 28, 2026 21:43
@bateau84
bateau84 merged commit 6261526 into main Nov 28, 2026
11 checks passed
@bateau84
bateau84 deleted the chore/opencode-2.4.2-compatibility branch November 28, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant