Skip to content

feat: add OpenCode execution foundation - #77

Merged
pacphi merged 1 commit into
mainfrom
feat/generalized-multi-host-routing
Jul 29, 2026
Merged

feat: add OpenCode execution foundation#77
pacphi merged 1 commit into
mainfrom
feat/generalized-multi-host-routing

Conversation

@pacphi

@pacphi pacphi commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Summary

First implementation slice for #76. It establishes the host-neutral execution boundary while preserving ak dual behavior and keeping OpenCode non-routable.

  • add ADR-0018 and a normalized worker-result/execution-adapter contract
  • materialize a host-neutral plan, then project it back into the existing Claude/Codex dual-run shape
  • add an OpenCode loopback HTTP/SSE adapter with ephemeral Basic auth, isolated sessions, permission abort, and owned-server cleanup
  • add an invocation-only OpenCode worker template; it does not alter user agents, permissions, or configuration

Safety

  • no --auto or permission-policy mutation
  • OpenCode remains canRouteActivities:false
  • no provider, billing, or vendor-diversity fact is inferred from the host or model selector

Verification

  • pnpm run check

Follow-up within #76: connect the generalized runner and prove live sandbox mutation, cancellation/timeout, malformed-event handling, and final-head evidence before the capability gate changes. #73 remains the next ordered issue after this PR merges.

@pacphi
pacphi merged commit 7811a7b into main Jul 29, 2026
11 checks passed
@pacphi
pacphi deleted the feat/generalized-multi-host-routing branch July 29, 2026 06:25
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