GeezerVison is showing github.com — Wire OpenClaw ACP adapters to Nix runtime plugin by dezren39 · Pull Request #3275 · developing-today/code
Conversation
dezren39
commented
Nov 1, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
acpx configuration → managed codex wrapper → stable symlink → Nix acpx plugin adapter (codex-acp)
Repoint for #1711, rebased onto current main and reduced to codex-only (2026-11-16, task 1930, lane any-d).
What changed (2 files)
home/openclaw/default.nix: acpxPlugin binding to the nix-openclaw openclaw-runtime-plugin-acpx package (the adapters already ship in that plugin, so this is a repoint, not new packaging); home-manager wiring for a stable symlink ~/.openclaw/acpx/bin/codex-acp.mjs → the plugin's store path for @agentclientprotocol/codex-acp/dist/index.js, and the managed wrapper at ~/.openclaw/acpx/managed-codex-acp-wrapper.mjs; both codex command references (standalone ~/.acpx/config.json and the embedded acpx override) now point at the managed wrapper.
home/openclaw/acpx/codex-acp-wrapper.mjs: the wrapper from the original PR, unchanged (installedBinPath = ~/.openclaw/acpx/bin/codex-acp.mjs, npm-exec fallback retained).
OpenClaw's generated wrappers in ~/.openclaw/acpx stay untouched as rollback until the plugin-captures tree is removed after post-activation verification.
Why codex-only
The original PR also wired a claude adapter. Main commit 6d2feb8 (code#7098, Drew's order 2026-11-08) removed the claude ACP agent entirely — nothing automated may spawn the real Claude CLI headlessly. The claude half is superseded by that later order; this PR does not reintroduce it. Live need verified 2026-11-16: current main still pointed codex at the generated wrapper hardcoding ~/.openclaw/tmp/plugin-captures/22c5dae2-*/.../codex-acp/dist/index.js.
Verification (2026-11-16, at head 08862c0)
nix eval .#nixosConfigurations.amd.config.system.build.toplevel.drvPath — PASS (drvPath produced; warnings unrelated/pre-existing).
- ACP smoke against the store adapter (
openclaw-runtime-plugin-acpx-2026.10.7, codex-acp 2.1.1): initialize PASS, session/new PASS (authenticated account session created).
- No Codex review comments/reviews on this PR (checked fresh).
- Stale PR check failures (2026-11-09 runs: pm-stack suites, scripts-test) are disjoint from this diff (Nix + one wrapper file; no Python/pm-stack files) and predate the rebase; per fleet merge doctrine CI runs on main.
Activation (same shift, per answered ledger item acp-liveops-1711)
Merge → NixOS switch on amd from a clean merged-main worktree (the laptop primary checkout is dirty with another lane's work and is left untouched) → verify gateway health, managed wrapper smoke, and OpenCode ACP path → audit plugin-captures references → delete the plugin-captures tree (19c17971 1.7G + 22c5dae2 624M).
![View with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F4bf30e889deab47175063b7d57e6a9352020b495a6e0b8ebd393ed7eda3da4f8%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f766965772d776974682d636f6465736d6974682d6461726b2d76332d33782e706e67)
Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 1, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Caution
Review failed
The pull request is closed.
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 1, 2026
This was referenced Nov 1, 2026
|
agent-note:v1
event: picked_up
task: 13353 (pr_shepherd, repo-health-code-pilot; worker repo-worker-code; lane code-u)
by: repo-worker-code lane code-u
at: 2026-11-08T16:14Z
Picked up task 13353 to shepherd PR #3275 (issue #7297 batch part 1). Fresh revalidation: PR #3275 OPEN, draft, head 61b0a75, branch queue/1930-1711-acp-adapters, no labels (no held / user/owned / do-not-merge / do-not-auto-edit hard stops), 3 files +772/-7; issue #7297 OPEN. No Codex reviews and no inline review comments exist on PR #3275; only CodeRabbit (skipping). The wrapper files are NOT on current main, so the work is not superseded. Merge state is dirty: a single-commit rebase onto current main conflicts only in home/openclaw/default.nix. Next: attempt that rebase in laptop worktree ~/git/fleet/13353-3275; merge itself still requires the outstanding session smoke tests / activation pass for issue #1711.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1
event: parked
task: 13353 (pr_shepherd, repo-health-code-pilot; worker repo-worker-code; lane code-u)
by: repo-worker-code lane code-u
at: 2026-11-08T16:21Z
Shepherd progress on PR #3275 (issue #7297 batch part 1; underlying issue #1711):
- Rebased the single commit onto current main in laptop worktree ~/git/fleet/13353-3275: head 61b0a75 -> 650b041 (force-with-lease push). The only conflict was home/openclaw/default.nix (3 hunks), resolved by keeping main's retired-proxy ports and OpenClaw: share one opencode serve via a small ACP-to-HTTP adapter #1243 opencode ACP-to-HTTP adapter while adding the PR's acpxPlugin binding, the managed-wrapper home.file entries, and the managed wrapper commands in both acpx config spots; nixfmt applied (diff limited to the PR's own long lines).
- Verified fresh: PR Wire OpenClaw ACP adapters to Nix runtime plugin #3275 OPEN, draft, MERGEABLE (was dirty/conflicted), no hard-stop labels; no Codex reviews or inline findings exist to disposition; CodeRabbit skipping.
- Targeted verification:
nix-instantiate --parse home/openclaw/default.nix OK; nixfmt --check OK; nix eval/nix build of the locked nix-openclaw package openclaw-runtime-plugin-acpx-2026.10.7 (flake.lock rev 26516d997d) succeeded and both adapter paths the module references (node_modules/@agentclientprotocol/claude-agent-acp/dist/index.js, .../codex-acp/dist/index.js) exist in the built store output; node --check passes on both wrapper files. The wrapper files are NOT on main, so the work is not superseded.
- CI on head 650b041: 5 check runs QUEUED (known CI backlog), CodeRabbit skipped.
- NOT merged: the PR is an explicitly partial implementation for issue Nix-package the Claude/Codex ACP adapters — repoint OpenClaw acpx off tmp/plugin-captures #1711 — outstanding session-creation smoke tests, activation, post-activation gateway/OpenCode health, reference audit and capture cleanup require the dedicated live-ops pass that task 1930 already escalated to Drew (issue Nix-package the Claude/Codex ACP adapters — repoint OpenClaw acpx off tmp/plugin-captures #1711 carries user/escalated).
Parked task 13353 for 1200s. Resume condition: Drew releases ownership / authorizes the live-ops pass for issue #1711 (or directs a close), then finish the outstanding smoke tests, undraft, and merge once checks are green — or close with a salvage note if Drew directs. Labels on PR #3275: queue/parked + status/parked set, work/assigned retained.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · parked
- Agent: queue worker (repo-worker-code), lane code-m
- Session / ID: task 13353
- Found via: queue claim (direct execution lane — worked by this lane, not handed off)
- Task: Shepherd PR Wire OpenClaw ACP adapters to Nix runtime plugin #3275 for issue Nix-package the Claude/Codex ACP adapters — repoint OpenClaw acpx off tmp/plugin-captures #1711 (batch issue Unowned PR batch from branch disposition (2026-11-07) #7297 part 1). Direct review on 2026-11-08: PR Wire OpenClaw ACP adapters to Nix runtime plugin #3275 is OPEN but still a DRAFT partial implementation (+774/-7, 3 files, 1 commit, mergeable, checks pending/unstable, no reviews and no Codex findings to disposition). Its own body lists outstanding work: session creation smoke tests, activation, post-activation gateway and OpenCode health, reference audit, and capture cleanup, with the original wrappers retained for rollback — and issue Nix-package the Claude/Codex ACP adapters — repoint OpenClaw acpx off tmp/plugin-captures #1711 itself carries user/escalated. It is therefore not merge-ready under the standing criteria.
- Expectation: task 13353 parked; resume when PR Wire OpenClaw ACP adapters to Nix runtime plugin #3275's outstanding verification (session smoke tests + activation + post-activation health) is done and the PR is marked ready, or when Drew rules on issue Nix-package the Claude/Codex ACP adapters — repoint OpenClaw acpx off tmp/plugin-captures #1711's escalation.
- Links: PR Wire OpenClaw ACP adapters to Nix runtime plugin #3275, issue Nix-package the Claude/Codex ACP adapters — repoint OpenClaw acpx off tmp/plugin-captures #1711, issue Unowned PR batch from branch disposition (2026-11-07) #7297
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
agent-note:v1
event: blocked
task: 13353 (pr_shepherd, repo-health-code-pilot; worker repo-worker-code; lane code-m)
by: queue worker lane code-m
at: 2026-11-08T21:00:08Z
Fresh revalidation 2026-11-08: PR #3275 is OPEN and draft, head 650b041, no hard-stop labels (held/user-owned/do-not-merge/do-not-auto-edit) on the PR itself; it is unchanged since 2026-11-08T19:24:25Z. The PR is a partial implementation for issue #1711, which carries user/escalated: the decision needed from Drew - an explicit ownership handoff/release for issue #1711 / PR #3275 plus authorization for the live ACP activation steps - was already escalated on issue #1711 on 2026-11-04 (task 1930) and is still unanswered. The PR body lists outstanding session creation smoke tests, activation, post-activation gateway and OpenCode health checks, reference audit, and capture cleanup, so it is not merge-ready. Blocking task 13353 as escalated-to-user rather than burning another park cycle (attempt 3 of 4). PR #3275 stays open and draft, untouched.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
🤖 Agent note · blocked (escalated-to-user, ledgered)
- Agent: queue worker (repo-worker-code), lane code-a
- Session / ID: task 13353 (pr_shepherd)
- Found via: queue claim
- Task: Shepherd PR Wire OpenClaw ACP adapters to Nix runtime plugin #3275 (partial implementation for issue Nix-package the Claude/Codex ACP adapters — repoint OpenClaw acpx off tmp/plugin-captures #1711, batch issue Unowned PR batch from branch disposition (2026-11-07) #7297 part 1) to a terminal disposition.
- Fresh state 2026-11-12: PR Wire OpenClaw ACP adapters to Nix runtime plugin #3275 OPEN, draft, head 650b041 (rebased 2026-11-08 by lane code-u), no hard-stop labels on the PR. The two wrapper files (
home/openclaw/acpx/claude-agent-acp-wrapper.mjs, codex-acp-wrapper.mjs) are NOT on main — this PR carries unique work (+772/-7) and must not be closed as superseded.
- Correction to earlier notes: authorship/assignment to dezren39 is the fleet's working identity, not a Drew hold (Drew, 2026-11-07 and 2026-11-11: "I don't have any PRs"; record code#7297). The gate is not ownership.
- The actual gate: the PR's own outstanding steps are a dedicated live-ops pass — activation (NixOS switch), gateway restart, ACP auth provisioning, session smoke tests, plugin-captures cleanup — which changes live ACP paths. That authorization is genuinely Drew's and was escalated by tasks 1930/13353 since 2026-11-04, but the pending-decisions ledger had NO entry for it. Added today: ledger item
acp-liveops-1711 (status pending), so the escalation is now delivered, not just stamped.
- Checks on head 650b041: failing —
aggregator + projector + dispatch + python suites + quota exporters, basic: scripts-test (3.12), basic: scripts-test (3.14); some basic checks pass. These need disposition before any merge even after authorization.
- Expectation: task 13353 blocks as escalated-to-user naming ledger
acp-liveops-1711. Resume: Drew authorizes (or declines) the live-ops pass in the ledger; on authorization, a shepherd rebases, dispositions the failing checks + any Codex findings, undrafts, merges, and the live-ops pass runs in its window.
- Links: task 13353 · issue Nix-package the Claude/Codex ACP adapters — repoint OpenClaw acpx off tmp/plugin-captures #1711 · issue Unowned PR batch from branch disposition (2026-11-07) #7297
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
dezren39
added a commit
that referenced
this pull request
Nov 12, 2026
…257)
The fork (developing-today/nix-openclaw @da8a763) carries allow-sessions-spawn-headless.patch in the gateway build: sessions_spawn offered in embedded (headless/CLI) turns, which upstream gates off and no config key can reach (task 7861 triage, option 2). Patch applies with --fuzz=0 plus a grep assertion in gateway-postpatch.sh, so an upstream bump that moves the gate fails the build loudly.
Verified: patch applies cleanly to the exact pinned 2026.10.7 source; nixosConfigurations.amd evaluates with the fork pin (toplevel drv instantiated). NOT yet done: host rebuild + live proof (CLI turn spawning agentId=opencode; the opencode-acp half waits on #2256/PR #3275 settling) -- this PR stays unmerged until the proof is recorded on #2257.
dezren39
added a commit
that referenced
this pull request
Nov 14, 2026
…257)
The fork (developing-today/nix-openclaw @da8a763) carries allow-sessions-spawn-headless.patch in the gateway build: sessions_spawn offered in embedded (headless/CLI) turns, which upstream gates off and no config key can reach (task 7861 triage, option 2). Patch applies with --fuzz=0 plus a grep assertion in gateway-postpatch.sh, so an upstream bump that moves the gate fails the build loudly.
Verified: patch applies cleanly to the exact pinned 2026.10.7 source; nixosConfigurations.amd evaluates with the fork pin (toplevel drv instantiated). NOT yet done: host rebuild + live proof (CLI turn spawning agentId=opencode; the opencode-acp half waits on #2256/PR #3275 settling) -- this PR stays unmerged until the proof is recorded on #2257.
dezren39
added a commit
that referenced
this pull request
Nov 15, 2026
…257)
The fork (developing-today/nix-openclaw @da8a763) carries allow-sessions-spawn-headless.patch in the gateway build: sessions_spawn offered in embedded (headless/CLI) turns, which upstream gates off and no config key can reach (task 7861 triage, option 2). Patch applies with --fuzz=0 plus a grep assertion in gateway-postpatch.sh, so an upstream bump that moves the gate fails the build loudly.
Verified: patch applies cleanly to the exact pinned 2026.10.7 source; nixosConfigurations.amd evaluates with the fork pin (toplevel drv instantiated). NOT yet done: host rebuild + live proof (CLI turn spawning agentId=opencode; the opencode-acp half waits on #2256/PR #3275 settling) -- this PR stays unmerged until the proof is recorded on #2257.
dezren39
added a commit
that referenced
this pull request
Nov 15, 2026
…257)
The fork (developing-today/nix-openclaw @da8a763) carries allow-sessions-spawn-headless.patch in the gateway build: sessions_spawn offered in embedded (headless/CLI) turns, which upstream gates off and no config key can reach (task 7861 triage, option 2). Patch applies with --fuzz=0 plus a grep assertion in gateway-postpatch.sh, so an upstream bump that moves the gate fails the build loudly.
Verified: patch applies cleanly to the exact pinned 2026.10.7 source; nixosConfigurations.amd evaluates with the fork pin (toplevel drv instantiated). NOT yet done: host rebuild + live proof (CLI turn spawning agentId=opencode; the opencode-acp half waits on #2256/PR #3275 settling) -- this PR stays unmerged until the proof is recorded on #2257.
dezren39
added a commit
that referenced
this pull request
Nov 15, 2026
…257)
The fork (developing-today/nix-openclaw @da8a763) carries allow-sessions-spawn-headless.patch in the gateway build: sessions_spawn offered in embedded (headless/CLI) turns, which upstream gates off and no config key can reach (task 7861 triage, option 2). Patch applies with --fuzz=0 plus a grep assertion in gateway-postpatch.sh, so an upstream bump that moves the gate fails the build loudly.
Verified: patch applies cleanly to the exact pinned 2026.10.7 source; nixosConfigurations.amd evaluates with the fork pin (toplevel drv instantiated). NOT yet done: host rebuild + live proof (CLI turn spawning agentId=opencode; the opencode-acp half waits on #2256/PR #3275 settling) -- this PR stays unmerged until the proof is recorded on #2257.
The adapters already ship in the nix-openclaw acpx runtime plugin, so this is a repoint, not new packaging: a stable home-manager symlink ~/.openclaw/acpx/bin/codex-acp.mjs resolves to the plugin store path, and a managed wrapper (separate name, so plugin admission cannot rewrite it) replaces the generated wrapper in both codex command references (standalone ~/.acpx/config.json and the embedded acpx override). The generated wrappers stay untouched as rollback until the plugin-captures tree is removed after verification.
Codex-only: the claude half of the original PR is superseded by Drew's 2026-11-08 order (code#7098) removing the claude ACP agent entirely - nothing automated may spawn the real Claude CLI headlessly.
Verified: nix eval .#nixosConfigurations.amd.config.system.build.toplevel.drvPath succeeds at this head; ACP initialize + session/new smoke passes against the store adapter (codex-acp 2.1.1, authenticated).
Codex Review Summary: ❌ Failed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
❌ Failed 2026-11-16T08:22:29.893413Z We couldn’t complete this review. Comment @codex review to try again. |
08862c0 |
Draft marked ready |
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review" or "@codex security review".
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 16, 2026
Uh oh!
There was an error while loading. Please reload this page.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|