Skip to content

0.1.2 KH2: the Warp Oz driver passes the kit through the key helper #2444

Open

Description

@jparker2006

Parent

Ticket KH2 of spec #2425 (0.1.2). Size: M.

What to build

A driver for Warp Oz at adapters/warp-oz/, copied from adapters/template/ and built on driver v1 (kernel/driver.v1.md): version, schema, start, wake and stop.

Through the key helper only (N4). Every Warp Oz API call goes through kernel/driver-kit/hostkey.py, with host warp-oz from kernel/driver-kit/hosts.json. The driver never names, reads or passes the key, and never builds a URL. It sends only a method and a path.

  • Start creates a cloud agent run: POST /agent/runs (under the API's base path from its OpenAPI document), with the ticket's prompt, the harness (Claude Code or Codex) and the name of the Warp secret that holds the harness login.
  • Wake posts a follow-up to the same run: POST /agent/runs/<id>/followups.
  • Stop cancels the run: POST /agent/runs/<id>/cancel.

The run id is Warp's run id.

Registry row. Add the warp-oz entry to kernel/driver-kit/hosts.json: the origin from the host's own OpenAPI document (its servers entry, an https:// origin with no path), variable WARP_API_KEY, keychain entry openwiz-warp-oz, header authorization-bearer. If the host's auth header is not a bearer token, stop and ask on this ticket: the registry has no other header form.

Open questions stop you. The API shapes above come from the drivers census (private), which your lead passes. They come from the host's published OpenAPI document; nothing has run live. If start, wake (the same run) or stop doesn't work as documented, stop and ask on this ticket: a host without wake or stop gets no driver.

Effort (J318, spec #2471). The driver either takes the user's effort or declares that it takes none. Never a silent default. Choose from the host's API, and record the choice and its source in the PR's Rulings:

  • Takes effort: effort is in version's can list, and start passes the value to the host. A fixture test shows the value reaching the fake host.
  • Declares none: effort is not in can, and the README has an Effort: line saying the host can't set it. A start that carries effort is refused with a D3 error whose next is exactly this host can't set effort: remove the effort for this harness in your Models table or Roster to run it at the host's default.

The field's shape is EF1's (#2558): the optional effort start input and the can entry, in kernel/driver.v1.md and kernel/driver-kit/schema.json. This driver's schema.json copy is EF1's new schema byte for byte.

Fixtures. A fake Warp Oz under fixtures/, reached through the helper's loopback test override, so the kit runs in CI.

README. It opens with Login: held by Warp Oz. Under that line it says where the key lives:

  • the user's WARP_API_KEY, or the keychain entry openwiz-warp-oz;
  • OpenWiz never stores it, and the user removes it to revoke;
  • the harness login (Claude Code or Codex) is a secret held by Warp Oz, named in the run, never passed by OpenWiz.

Shared lines, one row each:

  • the test line in .github/workflows/ci.yml;
  • the entry in tools/open-import/paths.json;
  • the name in DRIVERS in tools/release/build_products.py;
  • the warp-oz entry in kernel/driver-kit/hosts.json.

Owned paths

Relies on: kernel/driver.v1.md, kernel/driver-kit/schema.json, kernel/driver-kit/hostkey.py, kernel/driver-kit/hosts.json

Links

Acceptance criteria

  • The kit fails against the copied template first (red log in evidence/), then passes all five checks on fixtures in CI, its key check included
  • No file of the driver names the key's variable or calls the keychain, and no input, argument, output or copied environment carries the key
  • The driver takes the user's effort (in can, with a fixture test showing it reach the fake host) or declares none (no effort in can, an Effort: README line, and the exact D3 refusal for a start that carries it)
  • The README's login line and key lines say where the key 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)

Proof

P2 (Warp Oz): test_driver.py and the kit on fixtures, red first; P3: the kit's key check and the code review. The live 5-of-5 is its live-check ticket.

Activity

  1. added this to the 0.1.2 milestone on Nov 22, 2026
  2. added
    ready-for-agent
    on Nov 22, 2026
  3. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started (builder Opus 5.5 Medium, started by the spec #2425 lead, stacked on #2395 (KY1) under the planner's stacking decision; draft PR, merges only after #2379 merges, the 0.1.1 cut and its live check)

  4. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: Claude Code
    model: Opus 5.5
    skills: build-ticket@0.2.2
    step: KY1's 4a8dfe8 merged in; the driver's tests and the kit pass; the draft's description is current at ba6f275.
    time: 2026-11-23T01:05:24Z
    pr: #2555

  5. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Builder question (stacked on #2395 at 17cb430): this ticket's owned warp-oz row in kernel/driver-kit/hosts.json breaks a KY1 test I may not change.

    kernel/driver-kit/test_kit.py, test_the_registry_holds_devin_and_the_schema_and_helper_refuse_the_same_registries, asserts hostkey.registry() equals exactly the devin entry. With the warp-oz row (origin https://app.warp.dev, from the servers entry https://app.warp.dev/api/v1 of Warp's OpenAPI document; bearerAuth is an HTTP bearer scheme, so authorization-bearer fits), that test fails:

    AssertionError: {'devin': {...}, 'warp-oz': {'origin': 'https://app.warp.dev', ...}} != {'devin': {...}}
    

    Every other driver that adds a row (#2429's openhands) hits the same line.

    Options:

    1. KY1 (#2379: 0.1.2 KY1: the key helper, its address registry and the kit's key check (driver v1 N4) #2395) changes that one assertion to check that devin is present with its exact entry (a subset check), and I merge KY1's new head in. My pick: it keeps KY1's contract with its owner, and fixes it once for every driver.
    2. A grant for this ticket to change that one assertion in kernel/driver-kit/test_kit.py.
    3. Leave the row out until KY1 changes; the driver then can't reach Warp, so no.

    Everything else is done at 00b87969: the driver passes all five kit checks, key check included, on a synthetic Warp Oz (adapters/warp-oz/evidence/green.txt), red first against the copied template. The draft pull request follows.

  6. added
    needs-info
    on Nov 22, 2026
  7. added 2 commits that reference this issue on Nov 22, 2026
  8. added
    held
    and removed
    needs-info
    ready-for-agent
    on Nov 22, 2026
  9. 9 remaining items

  10. added 2 commits that reference this issue on Nov 23, 2026
  11. added
    held
    and removed
    ready-for-agent
    on Nov 23, 2026
  12. added
    ready-for-agent
    and removed
    held
    on Nov 23, 2026
  13. added 2 commits that reference this issue on Nov 23, 2026
  14. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    F4 supporting edit granted (planner), for #2444:
    tools/release/build_products.py

    Scope: beyond this ticket's DRIVERS name, only the warp-oz row in KEY_CHECK_FILES (its README.md and fixtures/kit-host.json), so the installed kit runs this driver's key check the way it already does Devin's. Shared with the other key-host drivers, one row each. Granted by the spec #2425 and #2575 lead.

  15. added a commit that references this issue on Nov 23, 2026
  16. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: look: builder routing unresolved; cannot deliver the kernel/driver.v1.md change in #2395 or verify the existing start on branch room/2444-warp-oz.

  17. added 3 commits that reference this issue on Nov 24, 2026
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

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions