Title: openclaw ACP adapter: load the standing-server credential — gateway launch wires no OPENCODE_SERVER_PASSWORD (#3997) · Issue #4615 · developing-today/code · GitHub
Open Graph Title: openclaw ACP adapter: load the standing-server credential — gateway launch wires no OPENCODE_SERVER_PASSWORD (#3997) · Issue #4615 · developing-today/code
X Title: openclaw ACP adapter: load the standing-server credential — gateway launch wires no OPENCODE_SERVER_PASSWORD (#3997) · Issue #4615 · developing-today/code
Description: Finding (from PR review) In the configured OpenClaw gateway, the ACP adapter (bin/opencode-acp-adapter.mjs) only authenticates if OPENCODE_SERVER_PASSWORD happens to be inherited, but home/openclaw/default.nix neither supplies that varia...
Open Graph Description: Finding (from PR review) In the configured OpenClaw gateway, the ACP adapter (bin/opencode-acp-adapter.mjs) only authenticates if OPENCODE_SERVER_PASSWORD happens to be inherited, but home/openclaw...
X Description: Finding (from PR review) In the configured OpenClaw gateway, the ACP adapter (bin/opencode-acp-adapter.mjs) only authenticates if OPENCODE_SERVER_PASSWORD happens to be inherited, but home/openclaw...
Opengraph URL: https://github.com/developing-today/code/issues/4615
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"openclaw ACP adapter: load the standing-server credential — gateway launch wires no OPENCODE_SERVER_PASSWORD (#3997)","articleBody":"## Finding (from PR review)\n\nIn the configured OpenClaw gateway, the ACP adapter (`bin/opencode-acp-adapter.mjs`) only authenticates if `OPENCODE_SERVER_PASSWORD` happens to be inherited, but `home/openclaw/default.nix` neither supplies that variable nor installs a wrapper to load it. Codex (P1, PR #3997):\n\n> The standing server requires the password stored in `~/.local/state/opencode/service-prod.json`: `bin/openchamber-start.sh` loads it explicitly, as does the dispatch client. Unlike the previous private-server ACP command, this adapter therefore sends unauthenticated session and event requests in the declared gateway environment, preventing session creation even after the API contract is corrected. Read the standing server's credential at runtime or explicitly wire it into the adapter's launch environment.\n\n## Evidence\n\n- Source PR: #3997 — https://github.com/developing-today/code/pull/3997 (merged 2026-11-02 as-is)\n- Review comment: https://github.com/developing-today/code/pull/3997#discussion_r4437436108 — chatgpt-codex-connector[bot], 2026-11-01T21:31:18Z, `bin/opencode-acp-adapter.mjs:67`\n- No-response evidence: the review thread is unresolved (GraphQL `reviewThreads`, checked 2026-11-02), the comment has no replies, and PR #3997 contains a single commit (8e67215808, 2026-11-01T21:26:51Z) that predates the comment — no fix followed it before merge.\n- Still live on current main (verified by raw read 2026-11-02): `bin/opencode-acp-adapter.mjs:65` reads the password only from `process.env.OPENCODE_SERVER_PASSWORD`; `home/openclaw/default.nix` (lines 59 and 442) launches the adapter with a bare command and no `OPENCODE_SERVER_PASSWORD` wiring and no reference to `service-prod.json`.\n\n## Acceptance criteria\n\n- The adapter, as launched by the OpenClaw gateway config in `home/openclaw/default.nix`, authenticates to the standing server — either by loading the credential from `~/.local/state/opencode/service-prod.json` at runtime (as `bin/openchamber-start.sh` and the dispatch client do) or by explicit environment wiring in the launch definition.\n- Verified against the gateway launch path, not only a hand-exported shell environment.\n- Or the finding is resolved by a documented decision on this issue.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-02T22:13:44Z","url":"https://github.com/developing-today/code/issues/4615"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3895da0f-4697-fdec-5d29-ca062dcb7203 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7DE:C35D8:946B5D:C236FA:6B06343D |
| html-safe-nonce | b41706b6955a8eb96cda3908e29d9ad64812fd7e5d2281d655a4ab35344d005e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0RFOkMzNUQ4Ojk0NkI1RDpDMjM2RkE6NkIwNjM0M0QiLCJ2aXNpdG9yX2lkIjoiMjk3NjMxNTc3NDE3Mzg1MjczMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5a5b16caf0578b746895445ed1766c1d20a486e859569069710b7a363169f083 |
| hovercard-subject-tag | issue:6171976812 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/4615/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3610f61cbad0a58d2309c9686de641cfea4476bedc0cd73266c16ec02eec0856/developing-today/code/issues/4615 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3610f61cbad0a58d2309c9686de641cfea4476bedc0cd73266c16ec02eec0856/developing-today/code/issues/4615 |
| og:image:alt | Finding (from PR review) In the configured OpenClaw gateway, the ACP adapter (bin/opencode-acp-adapter.mjs) only authenticates if OPENCODE_SERVER_PASSWORD happens to be inherited, but home/openclaw... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3584c853cd39700ecff6e2cf8364295ffdb5313e571046c41cd2479270f7df0 |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9eb3bb1597d09170a5f282cd38ae376dee1a5ec1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width