You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
claude images: CLAUDE_CODE_EXECUTABLE Docker ENV is dropped by env_clear() before spawning claude-agent-acp #1623
Dockerfile.claude:35, Dockerfile.package:106 and Dockerfile.unified:141 set ENV CLAUDE_CODE_EXECUTABLE=/usr/local/bin/claude so that claude-agent-acp uses the pinned global Claude Code CLI instead of its bundled SDK cli.js (see #418, fixed in 3c0eb0a).
OpenAB calls cmd.env_clear() before spawning the agent (crates/openab-core/src/acp/connection.rs:469) and passes only HOME, PATH, USER, [agent].env and [agent].inherit_env. A Docker ENV therefore does not reach the adapter, so the image most likely falls back to the bundled CLI again, as in #418.
This is the same root cause as #1611 (CODEX_PATH for codex-acp), found during review of #1616.
Suggested check
Inside a claude image, run the adapter the way OpenAB spawns it:
env -i HOME=/home/node PATH=/usr/local/bin:/usr/bin:/bin USER=node \
sh -c 'echo "CLAUDE_CODE_EXECUTABLE=${CLAUDE_CODE_EXECUTABLE:-<unset>}"'
Then confirm which CLI the adapter actually launches, and pick a fix that survives env_clear() (whatever approach #1616 settles on for codex).
Thanks for the report! A maintainer will triage this shortly and apply the appropriate label. Once a type label is added, the issue will be re-validated automatically.
Activity
github-actions commentedon Nov 24, 2026
Thanks for the report! A maintainer will triage this shortly and apply the appropriate label. Once a type label is added, the issue will be re-validated automatically.