Repository navigation
Description
Problem Statement
OpenHands Cloud and Warp Oz both run Claude Code or Codex for their users, and many developers use them (OpenHands about 94k GitHub stars, Warp about 66k). Neither can be an OpenWiz host today: each starts, wakes and stops a run only through an HTTP API that takes the user's key, and driver v1's login rules forbid a driver from handling a key. The drivers census (private) puts them first among the key hosts to build once spec #2378's key helper exists.
Solution
Two new drivers, one for OpenHands Cloud and one for Warp Oz, built only on the key helper (driver v1 rule N4, from #2378's KY1). Each starts a run for a ticket, wakes the same run with a follow-up, and stops it, sending every request through the helper to its host's registered address. The key stays in the user's keychain or an environment variable they set. The driver never sees it, and OpenWiz never stores it. The harness login inside each host stays a secret held by that host, which the driver refers to only by name. Each driver passes the driver kit on fixtures in CI, and on the real host in a live check the owner runs.
Changelog headline
You can now run OpenWiz fleets on OpenHands Cloud and Warp Oz, with your API key kept on your own computer.
User Stories
- As an OpenHands Cloud user, I keep my OpenHands API key in my keychain or an environment variable, and OpenWiz starts, wakes and stops OpenHands conversations for my tickets.
- As a Warp user, I keep my Warp API key in my keychain or an environment variable, and OpenWiz starts, wakes and stops Warp Oz cloud agent runs for my tickets.
- As either user, I choose Claude Code or Codex for the run, and my harness login stays a secret held by the host, never handed to OpenWiz.
- As a user, I can revoke OpenWiz's access by removing the key, and OpenWiz never stored it.
- As a reviewer, I trust each driver because the kit proves it never sees the key and only reaches its host's registered address.
- As the owner, I see each driver pass 5 of 5 on the real host before it merges.
Implementation Decisions
- Built on the key helper only. Each driver calls the kit's key helper with a host name, a method and a path, and never names, reads or passes the key, nor builds an address. It relies on driver v1, the kit's schema, the helper and its registry as 0.1.2 KY1: the key helper, its address registry and the kit's key check (driver v1 N4) #2379 defines them, so this spec has no contract-first ticket of its own: the shared interface is KY1's.
- One registry row each in the kit's host registry: the host's HTTPS origin (from the host's own OpenAPI servers entry, origin only), the environment variable, the keychain entry and the bearer header. The rows are
openhands(OPENHANDS_API_KEY,openwiz-openhands) andwarp-oz(WARP_API_KEY,openwiz-warp-oz). The registry is shared with 0.1.2 spec: drivers for hosts that need an API key #2378's tickets, one row per host. - OpenHands Cloud: start creates an app conversation; wake sends a message to it, resuming its paused sandbox first; stop pauses the sandbox and deletes the conversation. The run id is the conversation id. Open question: whether the agent profile picks Claude Code or Codex for each conversation.
- Warp Oz: start creates a cloud agent run with the harness named (Claude Code or Codex); wake posts a follow-up; stop cancels the run. The run id is Warp's run id. The harness login is a Warp secret named per run.
- Open questions stop the builder. If a host's API differs from its published OpenAPI document (a different auth header, no wake of the same run, or no stop), the builder stops and asks on its ticket. A host without wake or stop gets no driver.
- Live checks are the owner's. Each driver merges only after its live check records 5 of 5 on the real host at the build pull request's approved head (driver contract section 3).
Testing Decisions
- Seam: the driver kit (
kit.py), on fixtures in CI, against a fake host that the helper reaches through its loopback test override. It is the same seam 0.1.2 spec: drivers for hosts that need an API key #2378's Devin driver uses. - Behaviour to prove: each driver passes all five checks, its key check included; it fails first against the copied template; no file of the driver names the key's variable or calls the keychain; and nothing it passes or prints carries the key.
- Prior art: 0.1.2 spec: drivers for hosts that need an API key #2378's Devin driver (KY2) and the kit's key check (KY1).
Proof
| Claim | Proof |
|---|---|
| P1 OpenHands Cloud driver passes the kit | The kit on fixtures in CI, red first; the live 5-of-5 run |
| P2 Warp Oz driver passes the kit | The kit on fixtures in CI, red first; the live 5-of-5 run |
| P3 Neither driver sees the key | The kit's key check, and the code review |
Checkpoints
- One-way door: no
- User-visible: yes
Live check
One throwaway ticket per host, on the owner's own account, with the key in the owner's keychain or environment: the kit prints 5 of 5 against the real host at the approved head.
Out of Scope
- The other key hosts in the census, and the class A hosts.
- Changing the key helper, its rule or the kit (0.1.2 spec: drivers for hosts that need an API key #2378).
- Storing or managing any key.
Further Notes
From Jake's go (J314). Sources: the drivers census (private), spec #2378 and driver v1.
Activity
jparker2006 commentedon Nov 22, 2026
Plan graph written, spec #2425: key-host wave 1, OpenHands Cloud and Warp Oz drivers (0.1.2). Planned under the owner's go (J314). Builders start stacked on KY1's branch as drafts, and merge after #2379 and each driver's live check.
Measures: longest chain 3 (#2379 to a driver to its live check); widest 2. No contract-first ticket: the shared interface is KY1's helper and registry (#2379). Shared files:
kernel/driver-kit/hosts.json(one row per host, with #2378's tickets), and the CI test line,paths.jsonentry andDRIVERSname, one each. No file links.Link check:
links 4, real 4, file 0. Builders are Opus 5.5 Medium; reviewers Codex Sol 6.2 Medium.jparker2006 commentedon Nov 22, 2026
Machine plan approval, 2026-11-22, revision 1: links, relies, sizes, width and owned paths passed.
Grill confirmed: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7087025217
Checks: 4 tickets; links 4; relies 2; sizes S 2, M 2, L 0; width: chain 3, widest 2; owned paths 2.
Fingerprint:
b8e2097d8f98102654dee67397e7db1323b27702ad25acb3c52fd1b16bfbf5f9Revision text
jparker2006 commentedon Nov 22, 2026
Machine plan approval, 2026-11-22, revision 2: links, relies, sizes, width and owned paths passed.
Grill confirmed: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7087025217
Checks: 4 tickets; links 6; relies 2; sizes S 2, M 2, L 0; width: chain 3, widest 2; owned paths 2.
Changed since revision 1: KH1 and KH2 take or declare the user's effort (J318) and are blocked by EF1 (#2558).
Fingerprint:
6ff65214e41f1543e2260c26103bd6cdb29be9cbb145149c67e1451422ee8973Revision text
jparker2006 commentedon Nov 23, 2026
Machine plan approval, 2026-11-23, revision 3: links, relies, sizes, width and owned paths passed.
Grill confirmed: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7087025217
Checks: 4 tickets; links 8; relies 2; sizes S 2, M 2, L 0; width: chain 3, widest 2; owned paths 2.
Changed since revision 2: KH1 and KH2 gain #2819 as a native blocker, with its Links line (the kit must prove effort reached the host at run creation), per the effort fleet.
Fingerprint:
b16b116a64da0c4afb456a81d28c64f9b3041fea599b491fb8f97b3c27ebad7cRevision text