Description
Current scope (maintainer, 2026-10-16, revised)
Eric's rule (#203): a read-only lane means the read-only settings pstack passes to the CLI. The operator's host, account, repository and organization configuration applies as they set it up; pstack adds no refusal, guard or account check because of it, and the catalog notes disclose what it can do. This replaces the earlier containment items, which asked to refuse managed, remote and project configuration.
The PR (#202) restores the adapter from 08556cd: a read-only lane on opencode/deepseek-v4.1-flash-free (OpenCode Zen, needs no key) with pstack's own lane settings (a run-owned config with a read-only permission set, --pure, --agent build, --title, the project-config and external-skill switches), stored logins as the user has them, and no pre-launch guard or .opencode/ refusal. The catalog notes say what still loads: managed and macOS managed-preferences configuration, remote configuration from a well-known login or console organization, a home or repository .opencode/ plugin, and anything else OpenCode 1.19.1 reads, and that these can add tools, servers or routing to a lane.
Original request
Add support for [OpenCode](https://opencode.ai/) as a coding agent in open-pstack, allowing users to use OpenCode through the same workflows and interfaces as the existing supported agents. The integration should detect the opencode CLI, provide the necessary configuration and invocation logic, handle missing installations with a clear error, preserve existing integrations, and include basic documentation and tests for the new support.
Activity
ericlitman commentedon Oct 1, 2026
Maintainer decision (2026-10-01): OpenCode is supported as an external helper provider through the runner, not as a third parent harness. It waits on the registry design in #103. Prior art: simonbloom's OpenCode GLM adapter and live Sol + GLM proof, described on #33.
ericlitman commentedon Oct 16, 2026
Work on this started today (2026-10-15).
First I'm recording what OpenCode actually prints when it runs without a terminal, on a Mac where it's installed and logged in. Then I'll build the adapter the same way as the Devin one (PR #183), and test it for real from both Claude Code and Codex before it merges. If OpenCode can't run unattended, I'll say so here with the recordings.
fix(runner): keep home config out of read-only lanes (#68, #37, #158, #…
fix(runner): refuse lanes whose project-config walk would reach the h…
fix(runner): refuse an OpenCode lane whose effective permissions exce…
refactor(runner): move OpenCode, Amp and Cursor out of this PR (#68, #…
refactor(runner): drop OpenCode's pre-launch guard and .opencode/ ref…
Merge pull request #202 from ericlitman/feat/68-opencode-runner
feat(runner): let adapters set run-owned environment and lane config (e…
feat(runner): add a read-only OpenCode provider with DeepSeek V4.1 Fl…
feat(runner): add OpenCode as a read-only external provider (ericlitm…
[MEDIUM] Update pstack and add formal verification skills (#2)