Skip to content

OpenCode 2 rejects the runtime ACP --cwd flag #236

Closed

Description

@sumitake

OpenCode 2.1.3 rejects the routing runtime's ACP startup arguments before protocol initialization. This blocks the OpenCode Go qualification for release candidate #235 (runtime 5.0.10).

On the authorized Intel LabMacPro host, the official @opencode/cli@2.1.3 baseline binary reports opencode v2.1.3. Native metadata lists OpenCode Go as a stored API-key integration and exposes the Go model catalog. No credential values were inspected or copied.

A bounded native argument-parsing probe with closed stdin, zero ACP requests and zero prompts produced:

opencode acp --cwd /private/tmp
exit: 1
ERROR: Unrecognized flag: --cwd in command opencode acp

The current scripts/_agent_collab/native_carriers.py::_run_acp_carrier still appends --cwd although it already binds both the child process working directory and ACP session/new.cwd to the identity-checked execution directory. The prior test checked only argv[:2], so it missed the unsupported trailing arguments.

The narrow workspace repair removes that redundant flag, strengthens directory/model-selection/cleanup regressions and advances the runtime to 5.0.11. The signed candidate must be rebuilt and independently qualified before #235 can proceed. All previous failed qualification attempts remain preserved and unqualified. No V2 model request has been dispatched.

Official references: V2 ACP contract and 2.1.3 command declarations.

Activity

  1. sumitake commented on Oct 23, 2026

    @sumitake
    OwnerAuthor

    Runtime 5.0.12 ships OpenCode 2-compatible ACP startup and repaired metadata readiness. Native Intel OpenCode 2.1.3 passed both staged and fresh installed OpenCode Go architecture checks, returning correct fixture values with cleanup and unchanged package/source bytes. Legacy and earlier failed ARM attempts remain unqualified; no credentials were copied or changed.

    Published and verified: agent-collab 7.0.9, signed runtime 5.0.12. Distribution #235 and merged closeout #239 record the released scope. All 184 released files match the observed installations; bounded native checks do not guarantee future provider availability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions