Repository navigation
Description
Parent
Ticket DW2 of spec #1987 (0.1.1). Size: S.
What to build
A driver for OpenClaw at adapters/openclaw/, copied from adapters/template/ and built on the driver contract (kernel/driver.v1.md): version, schema, start, wake and stop, with a fake OpenClaw under fixtures/bin/ so the kit runs in CI. Drive OpenClaw through acpx, its MIT command-line client: one direct command each for start (sessions new, then send the prompt with --no-wait), wake (send a follow-up) and stop (cancel, then sessions close, with a short --ttl so no queue-owner process is left). Never use the OpenClaw gateway: it refuses remote agent starts by default, and the driver must not ask users to loosen that. The user's own Claude or Codex login stays on their machine. Use a permission policy, not a blanket approve-all, for unattended writes. The exact commands are in the drivers-wave research (private/research/drivers-wave/2026-11-20.md in jparker2006/ClosedWiz; your parent passes the section). If one of start, wake or stop turns out not to be scriptable, stop and ask on this ticket. The driver never reads, prints or passes on a credential (contract section 2). Its README opens with one login line in the spec's form: Login: stays on your machine. Shared lines, one row each: the test line in .github/workflows/ci.yml, the entry in tools/open-import/paths.json, and the name in DRIVERS in tools/release/build_products.py.
Owned paths
adapters/openclaw/inopenwizdev/OpenWiz(new).github/workflows/ci.ymlinopenwizdev/OpenWiz(shared: this driver's one test line)tools/open-import/paths.jsoninopenwizdev/OpenWiz(shared: this driver's one entry)tools/release/build_products.pyinopenwizdev/OpenWiz(shared: this driver's name in DRIVERS)
Relies on: kernel/driver.v1.md, kernel/driver-kit/schema.json
Links
none
Acceptance criteria
- The kit fails against the copied template first (red log in
evidence/), then passes all five checks on fixtures, in CI - No input, argument, output or copied environment carries a login, token, key or password
- The README's login line says where the user's login lives, in the spec's form
- Merge gate: merges only after its live-check ticket records 5 of 5 on the real host at this pull request's approved head (driver contract section 3), and after the 0.1.0 cut
Proof
P1 (this driver): test_driver.py and the kit on fixtures, red first. P3: the code review.
Activity
jparker2006 commentedon Nov 20, 2026
launch-fleet: start withdrawn
jparker2006 commentedon Nov 20, 2026
launch-fleet: start checked, branch room/1989-openclaw-driver
Started by hand under the J87 planner's fleet.sh-outage ruling (OpenWiz #1958):
fleet.sh claimfailed only with "conflicting PR check snapshots". Start conditions read at 20:04Z: open; labelled ready-for-agent only, not held; no open blocker; no other live claim, builder or pull request; plan approval 7049330143 (revision 2) current, asfleet.sh spec 1987printedstart #1989at 20:01Z.jparker2006 commentedon Nov 20, 2026
agent: builder
state: done
harness: Claude Code
model: Opus 5.5
skills: build-ticket@0.2.0
step: Merged main for the login-line contract and moved the login line under the title; handed back at 607c8e2.
time: 2026-11-20T21:21:39Z
pr: #2018
#1989: the tests build their environment from scratch (no BASH_ENV) a…
#1989: green: the logs at cefbc30: 8 driver tests on a scratch enviro…
#1989: red: review R1, R3, R4, R6: a refused prompt, kept acpx output…
#1989: review R1-R4, R6: prompts need acpx's acknowledgement, a wake …
5 remaining items
jparker2006 commentedon Nov 20, 2026
launch-fleet: noted #2026
jparker2006 commentedon Nov 20, 2026
launch-fleet: noted #2026
kernel/driver.v1.md (the login-line section) changed in #2026; its builder was told at 21:17Z.
jparker2006 commentedon Nov 20, 2026
agent: builder
state: done
harness: Claude Code
model: Opus 5.5
skills: build-ticket@0.2.0
step: Fixed R7 once more, red first: no acpx call runs while the run folder holds .acpxrc.json; handed back green at 9cc7523.
time: 2026-11-21T22:23:57Z
pr: #2018
#1989: red for R4 and R7: every acpx call must name the built-in adap…
#1989: fix R4 and R7: name the built-in adapter with --agent and run …
#1989: green: R4 and R7 fixed; 13 driver tests and the kit's five che…
jparker2006 commentedon Nov 20, 2026
Planner ruling for DW2 #1989 (OpenClaw), scope: for 0.1.1 the driver accepts claude, codex, droid and opencode only, as PR #2018's Ruling 1 says. Gemini, copilot and cursor come back in a follow-up once the live run shows the acpx pattern works, each with its own proof. The README lists the supported agents, and any other harness is refused with a plain line naming the four. Running the real acpx 0.22.0 locally with a stand-in agent and no login is for the reviewer to judge: it blocks only if anything real (OpenClaw, Claude, Codex or a network service) could have been reached.
jparker2006 commentedon Nov 20, 2026
launch-fleet: noted #2028
kernel/driver.v1.md (the Supported platforms line) and kernel/driver-kit/ changed in #2028; its fresh-round builder was told in its brief at 22:1xZ.
#1989: red for R7: a .acpxrc.json in the run folder must never reach …
#1989: fix R7: refuse any acpx call while the run folder holds .acpxr…
#1989: green: R7 fixed; 14 driver tests and the kit's five checks pas…
jparker2006 commentedon Nov 23, 2026
launch-fleet: cost: Ticket #1989 cost (PR #2018): builder 49 credits, unknown tokens; reviewer 46 credits, unknown tokens; CI unknown; total 95 credits, unknown tokens, unknown runner minutes
jparker2006 commentedon Nov 23, 2026
launch-fleet: archived
PR #2018 merged at 9cc7523 (a36cb1e); its builder and reviewer are archived; cost line posted.