Skip to content

0.1.2 spec: key-host wave 1, OpenHands Cloud and Warp Oz drivers #2425

Open
0 of 4 issues completed
Open

Description

@jparker2006

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

  1. 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.
  2. 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.
  3. 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.
  4. As a user, I can revoke OpenWiz's access by removing the key, and OpenWiz never stored it.
  5. As a reviewer, I trust each driver because the kit proves it never sees the key and only reaches its host's registered address.
  6. 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) and warp-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

Further Notes

From Jake's go (J314). Sources: the drivers census (private), spec #2378 and driver v1.

Sub-issues

Sub-issues

0 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. added this to the 0.1.2 milestone on Nov 22, 2026
  2. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    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.

    flowchart LR
      KY1["#2379 0.1.2 KY1: key helper, registry, kit key check"] -->|real: the helper, registry and key check| KH1["#2429 KH1: OpenHands Cloud driver"]
      KY1 -->|real: the helper, registry and key check| KH2["#2444 KH2: Warp Oz driver"]
      KH1 -->|real: the driver to run live| KH1L(["#2456 KH1L: live check, OpenHands Cloud 5 of 5 (Jake)"])
      KH2 -->|real: the driver to run live| KH2L(["#2460 KH2L: live check, Warp Oz 5 of 5 (Jake)"])
    
    Loading
    Ticket Size Blocked by Label
    #2429 KH1 M #2379 ready-for-agent
    #2444 KH2 M #2379 ready-for-agent
    #2456 KH1L S #2429 ready-for-human
    #2460 KH2L S #2444 ready-for-human

    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.json entry and DRIVERS name, 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.

  3. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    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.

    Ticket Title Blocked by Label
    #2429 0.1.2 KH1: the OpenHands Cloud driver passes the kit through the key helper #2379 ready-for-agent
    #2444 0.1.2 KH2: the Warp Oz driver passes the kit through the key helper #2379 ready-for-agent
    #2456 0.1.2 KH1L: live check: the OpenHands Cloud driver passes 5 of 5 #2429 ready-for-human
    #2460 0.1.2 KH2L: live check: the Warp Oz driver passes 5 of 5 #2444 ready-for-human

    Fingerprint: b8e2097d8f98102654dee67397e7db1323b27702ad25acb3c52fd1b16bfbf5f9

    Revision text
    plan-graph revision v2
    spec #2425 body sha256 8410895f3ed16deef85910b6c3c454c25c320c170f5f2af2c29705413f1b6bbe
    ticket #2429 blocked-by #2379 body sha256 797f4ee1e31d4b92bea7d9479d7bb186ac0a62877a63034b901e1369125c1713 title 0.1.2 KH1: the OpenHands Cloud driver passes the kit through the key helper
    ticket #2444 blocked-by #2379 body sha256 3dfc95219623539a7841d4c38ac2fe6f2ed9ab75d4c66cc22e05c29e51a54dc6 title 0.1.2 KH2: the Warp Oz driver passes the kit through the key helper
    ticket #2456 blocked-by #2429 body sha256 10b1f69ff67ab24dea78129c1212a3337b6a8da0af256cf06634c66154f0a872 title 0.1.2 KH1L: live check: the OpenHands Cloud driver passes 5 of 5
    ticket #2460 blocked-by #2444 body sha256 fc637ba6f816dc1d55a6ad8ea2376a1ef0a32e2de9651023b31bfc6dda48db7b title 0.1.2 KH2L: live check: the Warp Oz driver passes 5 of 5
    
  4. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    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).

    Ticket Title Blocked by Label
    #2429 0.1.2 KH1: the OpenHands Cloud driver passes the kit through the key helper #2379 #2558 ready-for-agent
    #2444 0.1.2 KH2: the Warp Oz driver passes the kit through the key helper #2379 #2558 ready-for-agent
    #2456 0.1.2 KH1L: live check: the OpenHands Cloud driver passes 5 of 5 #2429 ready-for-human
    #2460 0.1.2 KH2L: live check: the Warp Oz driver passes 5 of 5 #2444 ready-for-human

    Fingerprint: 6ff65214e41f1543e2260c26103bd6cdb29be9cbb145149c67e1451422ee8973

    Revision text
    plan-graph revision v2
    spec #2425 body sha256 8410895f3ed16deef85910b6c3c454c25c320c170f5f2af2c29705413f1b6bbe
    ticket #2429 blocked-by #2379 #2558 body sha256 8ff5a57773ab711a24eb408569476fd705335a7bdcf94c133ffe9a1bd7b5093c title 0.1.2 KH1: the OpenHands Cloud driver passes the kit through the key helper
    ticket #2444 blocked-by #2379 #2558 body sha256 47d336065b0681dc314d57742a221f0d17571ad25d73babf3b0e18583abb33da title 0.1.2 KH2: the Warp Oz driver passes the kit through the key helper
    ticket #2456 blocked-by #2429 body sha256 10b1f69ff67ab24dea78129c1212a3337b6a8da0af256cf06634c66154f0a872 title 0.1.2 KH1L: live check: the OpenHands Cloud driver passes 5 of 5
    ticket #2460 blocked-by #2444 body sha256 fc637ba6f816dc1d55a6ad8ea2376a1ef0a32e2de9651023b31bfc6dda48db7b title 0.1.2 KH2L: live check: the Warp Oz driver passes 5 of 5
    
  5. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    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.

    Ticket Title Blocked by Label
    #2429 0.1.2 KH1: the OpenHands Cloud driver passes the kit through the key helper #2379 #2558 #2819 ready-for-agent
    #2444 0.1.2 KH2: the Warp Oz driver passes the kit through the key helper #2379 #2558 #2819 ready-for-agent
    #2456 0.1.2 KH1L: live check: the OpenHands Cloud driver passes 5 of 5 #2429 ready-for-human
    #2460 0.1.2 KH2L: live check: the Warp Oz driver passes 5 of 5 #2444 ready-for-human

    Fingerprint: b16b116a64da0c4afb456a81d28c64f9b3041fea599b491fb8f97b3c27ebad7c

    Revision text
    plan-graph revision v2
    spec #2425 body sha256 8410895f3ed16deef85910b6c3c454c25c320c170f5f2af2c29705413f1b6bbe
    ticket #2429 blocked-by #2379 #2558 #2819 body sha256 eee855ca5b8c8f5ac5c68b25d91dd21d835a6033343f2751c4eebd2371e61de9 title 0.1.2 KH1: the OpenHands Cloud driver passes the kit through the key helper
    ticket #2444 blocked-by #2379 #2558 #2819 body sha256 7cd3abbc361aed82bbe314091e33b148f0a76182c8087d4e90769666c0f21687 title 0.1.2 KH2: the Warp Oz driver passes the kit through the key helper
    ticket #2456 blocked-by #2429 body sha256 10b1f69ff67ab24dea78129c1212a3337b6a8da0af256cf06634c66154f0a872 title 0.1.2 KH1L: live check: the OpenHands Cloud driver passes 5 of 5
    ticket #2460 blocked-by #2444 body sha256 fc637ba6f816dc1d55a6ad8ea2376a1ef0a32e2de9651023b31bfc6dda48db7b title 0.1.2 KH2L: live check: the Warp Oz driver passes 5 of 5
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions