Skip to content

0.1.2 spec: harness wave 3 (Amp, Antigravity CLI, Warp, Sculptor) and the Fly Sprites driver #2520

Open
4 of 11 issues completed

Description

@jparker2006

Problem Statement

A follow-up check of the drivers census turned five more hosts into ones OpenWiz can drive with the user's own logins: four local coding CLIs (Amp, Antigravity CLI agy, Warp's local oz, and Imbue's Sculptor sculpt) and one cloud sandbox host, Fly Sprites. None of them has a driver today. Each one also has one behaviour that the five checks must pin down before it can be trusted: a stop that might leave something running, or a wake that depends on a setting.

Solution

The four CLIs become harness rows on the local driver, under the harness-row contract from harness wave 1 (#2431, spec #2427). Each row lives in its own folder, so they build in parallel, stacked on HR1's approved head as harness wave 1's rows are. Sculptor's agent runs inside its own local backend rather than under the driver's process, so it needs one small addition to the row contract: an optional stop command the driver runs before it ends the process tree. Fly Sprites gets its own cloud driver, like the Codespaces driver (#2421). The driver runs Claude Code or Codex in a Sprite through the user's signed-in sprite CLI. The harness's key stays in a Fly Connector, and the Sprites gateway attaches it on each request, so the Sprite never holds it. Every row and the Sprites driver gets a live check, run by a person.

Changelog headline

More harnesses and one more cloud: Amp, Antigravity CLI, Warp and Sculptor run on your own computer, and Claude Code or Codex can run in Fly Sprites with the key kept in a Fly Connector.

User Stories

  1. As an Amp, Antigravity CLI, Warp or Sculptor user, I name my CLI as the harness, and the local driver starts, wakes and stops it on my tickets with my CLI's own saved login.
  2. As a user, a stop leaves nothing running: no Amp background subagent, no agy language server, and no Sculptor agent in its backend.
  3. As a Warp user, the README tells me that a wake needs the "Store AI conversations in the cloud" setting turned on.
  4. As a Fly Sprites user, each ticket gets its own Sprite, and my Anthropic or OpenAI key stays in a Fly Connector the Sprite never sees.
  5. As a Sprites user, the README tells me plainly that Claude Code through a connector bills my Anthropic API key, not a Claude subscription.
  6. As a reviewer, the kit's checks pass on fixtures, and a person's live 5 of 5 shows each harness really runs, including Claude Code or Codex through the Sprites gateway.

Implementation Decisions

  • The rows, each only in adapters/local/harnesses/<harness>/, under adapters/local/harness-row.md (0.1.2 HR1: the harness-row contract, the local driver's row loader and the kit check for rows #2431). The commands below come from the drivers census and must be confirmed against each CLI's own docs or --help at a named version:
    • amp: start amp -x {prompt} --stream-json; the session is the T-… thread id reported in the stream; wake amp threads continue {session} -x {prompt} --stream-json; login: the saved amp login account, or AMP_API_KEY the user set. Check: does ending the process tree also end Amp's background subagents? If not, the row's stop runs amp threads archive {session}, or the row stops and asks.
    • agy: start agy -p {prompt} --output-format json; the session is conversation_id; wake agy -p {prompt} --conversation {session} --output-format json; env sets AGY_CLI_DISABLE_AUTO_UPDATE=true; daemon names the language-server child; login: the OS keyring from an interactive agy sign-in, or GEMINI_API_KEY the user set. Check: the process-group kill also ends the language server.
    • oz: start oz agent run --prompt {prompt} --output-format json; wake oz agent run --prompt {prompt} --conversation {session}; login: oz login, an existing Warp sign-in, or WARP_API_KEY the user set, never --api-key. Checks: the JSON output prints the conversation id; the README states that wake needs "Store AI conversations in the cloud" turned on.
    • sculpt: start sculpt agent create --prompt {prompt} --json; wake sculpt agent send {session} {prompt} --follow; stop runs sculpt agent interrupt {session}, then sculpt agent delete {session} -y; login: the harness's own login, and sculpt fetches its backend's session token itself; the Sculptor backend must already be running on localhost:5050. Check: agent delete ends everything the agent started.
  • The row stop command (contract addition): an optional stop field in row.json, a list of argument lists with only the {session} placeholder. The driver runs each one, with a time limit, before it ends the process tree. Their output goes only to the run's log. A failure is noted in the stop's answer and never skips the tree kill. Rows without stop behave exactly as HR1 sets. The runner (adapters/local/test_harnesses.py) also checks that the fake's backend session has ended after stop. It is built as part of the row-commands follow-up (0.1.2 row commands: declarative precheck and stop fields for local harness rows (after HR1) #2538), after HR1, which owns the same driver, contract and runner files.
  • The Sprites driver, adapters/sprites/driver: one Python file, standard library only, built on driver v1 (kernel/driver.v1.md) from adapters/template/, with adapters/boat/ and adapters/codespaces/ (0.1.2 CS1: the GitHub Codespaces driver passes the kit on fixtures #2423) as prior art. can adds many-at-once and own-sandbox.
    • Start: sprite create openwiz-<run>, with a label the connectors' access policy can match. The pinned WizSkills install runs over sprite exec. Then the turn is a local sprite exec -s <name> -- <harness command> under the driver's own supervisor, which keeps the Sprite active while the turn runs. Claude: claude -p --session-id <uuid>, with ANTHROPIC_BASE_URL set to the gateway URL https://api.sprites.dev/v1/gateway/anthropic/<connection id>. Codex: codex exec --json, with OPENAI_BASE_URL set to the OpenAI connector's gateway URL. The connection id is not a credential; the user names it in $OPENWIZ_SPRITES_ANTHROPIC or $OPENWIZ_SPRITES_OPENAI. If a harness needs a key variable to be set at all, the driver sets a fixed placeholder word that fails the kit's credential check, never a real key.
    • GitHub: the agent reaches GitHub through the user's GitHub Connector. A Sprite has no GitHub login of its own, and the driver never copies one in (N2). How the agent pushes its branch through the gateway is the build ticket's first question: if there is no documented path, the builder stops and asks.
    • Wake: refused after a driver stop or for an unknown run (D5). Nothing while a turn runs. Otherwise a new sprite exec turn with claude -p --resume <uuid> or codex exec resume <id>; the disk survives a pause.
    • Stop: ends every local process the turns started, then sprite destroy --force <name>. Stopping a stopped run answers again (D6).
    • Shared lines, one row each: the test line in .github/workflows/ci.yml, adapters/sprites/** in tools/open-import/paths.json, and sprites in DRIVERS in tools/release/build_products.py.
    • README, adapters/sprites/README.md: it opens with Login: held by Fly.io. It states the billing limit plainly: Claude Code through the Anthropic connector bills the user's Anthropic API key, and a Claude subscription can't be used. Codex goes through an OpenAI API-key connector, or the Codex connector with a ChatGPT plan where Fly offers it.

Testing Decisions

  • Seam 1: each row passes adapters/local/test_harnesses.py with its own fake, red first against an empty row. Amp's fake starts a background subagent, and agy's a language-server child; each must be gone after stop. Sculptor's fake stands in for the backend and records the interrupt and the delete.
  • Seam 2: the row stop command: planted rows under adapters/local/fixtures/rows/ for a stop that fails (the tree is still killed), a stop with a placeholder other than {session}, and a good one.
  • Seam 3: the Sprites driver on a fake sprite CLI under its fixtures/, with the kit in CI, red first. The tests prove that the gateway URL is the only connector value passed, that no real key or GitHub token is passed, and that stop runs sprite destroy.
  • Seam 4: the live checks, one person's ticket per row and one for Sprites.
  • Prior art: adapters/local/test_driver.py, the HR1 runner and planted rows, adapters/boat/, and the Codespaces driver.

Proof

  • P1 (rows): each row's runner red then green on fixtures, and its review.
  • P2 (row stop): the runner on the planted stop rows, red first, and test_driver.py green.
  • P3 (Sprites): test_driver.py and the kit on fixtures, red first, and the review.
  • P4 (live): 5 of 5 for each row and for Sprites at each pull request's approved head, by a person. The Sprites run also records that the harness's model call went through the gateway, and how the branch was pushed.

Checkpoints

  • One-way door: yes
  • User-visible: yes

Live check

On the person's own computer, with their own logins: the kit against the local driver once per row (--harness amp, agy, oz, sculpt), and against the Sprites driver with their own Fly organization and connectors. Each checks its row's named condition: no Amp subagent is left running, no agy language server is left running, an oz wake works with cloud conversations on, nothing of the Sculptor agent is left after delete, and Claude Code or Codex really answers through the Sprites gateway. No key is handed to an agent.

Out of Scope

  • Changing HR1's existing row fields, or the claude and codex built-ins.
  • Any key helper (spec 0.1.2 spec: drivers for hosts that need an API key #2378): every harness here uses its own login or a host-held connector.
  • Starting the Sculptor backend for the user.
  • Sprites services, checkpoints and the Tasks API.

Further Notes

Planned 2026-11-22 from the drivers census follow-up and the owner's go for the census fan-out. It stacks on harness wave 1's contract ticket (#2431).

Sub-issues

Sub-issues

4 of 11 Issues completed
Loading 11 sub-issues

Activity

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

    @jparker2006
    MemberAuthor

    Plan graph, read back from GitHub (2026-11-22). Three outside blockers: HR1 (#2431) for the three plain rows, the row-commands ticket (#2538, which carries the Sculptor row's stop field) for Sculptor, and EF1 (#2558, effort) for the Sprites driver. Rows and SP1 stack on their blocker's approved head as drafts, as harness wave 1's rows do. The relies check ran against HR1's branch (room/2431-harness-rows), where the contract files the rows rely on already exist; main doesn't have them yet. Link check: pass spec #2520: tickets 11, links 11, real 11, file 0, unlabelled 0, refusals 0.

    flowchart LR
      T0["#35;2431 · L · 0.1.2 HR1: harness-row contract #40;spec #35;2427#41;"]:::waiting
      T1["#35;2538 · M · 0.1.2 row commands: precheck and stop fields"]:::waiting
      T2["#35;2558 · M · 0.1.2 EF1: driver v1 effort field #40;spec #35;2471#41;"]:::waiting
      T3["#35;2529 · M · Amp row #40;amp#41;"]:::waiting
      T4["#35;2532 · M · Antigravity CLI row #40;agy#41;"]:::waiting
      T5["#35;2536 · M · Warp local row #40;oz#41;"]:::waiting
      T6["#35;2540 · M · Sculptor row #40;sculpt#41;"]:::waiting
      T7["#35;2543 · L · SP1: Fly Sprites driver on fixtures"]:::waiting
      T8["#35;2545 · S · SP2: Sprites README, billing limit"]:::waiting
      T9(["#35;2550 · S · live: Amp 5 of 5"]):::jake
      T10(["#35;2552 · S · live: agy 5 of 5"]):::jake
      T11(["#35;2560 · S · live: oz 5 of 5"]):::jake
      T12(["#35;2563 · S · live: sculpt 5 of 5"]):::jake
      T13(["#35;2642 · S · SP3: live, Sprites through the gateway"]):::jake
      B0["#93;"]:::bracket
      T0 --> B0
      B0 ---|real: The row contract it extends| T1
      B0 ---|real: Row contract, loader and runner| T3
      B0 ---|real: Row contract, loader and runner| T4
      B0 ---|real: Row contract, loader and runner| T5
      T1 -->|real: Row stop field and backend-session check| T6
      T2 -->|real: Effort field and schema the driver copies| T7
      T3 -->|real: The amp row to run live| T9
      T4 -->|real: The agy row to run live| T10
      T5 -->|real: The oz row to run live| T11
      T6 -->|real: The sculpt row to run live| T12
      T7 -->|real: The driver to run live| T13
      T8 -->|real: The connector setup the person follows| T13
      classDef merged fill:#dcfce7,stroke:#15803d,color:#111827
      classDef building fill:#dbeafe,stroke:#1d4ed8,color:#111827
      classDef waiting fill:#f3f4f6,stroke:#6b7280,color:#111827
      classDef jake fill:#f3e8ff,stroke:#7e22ce,color:#111827
      classDef bracket fill:transparent,stroke:transparent,font-weight:bold
      linkStyle 0,1,5,10 stroke-width:4px
    
    Loading

    Longest chain: 3 links (#2431 → #2538 → #2540 → #2563).
    Can start at approval: 1 of 11.

  3. jparker2006 commented on Nov 23, 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: 11 tickets; links 11; relies 6; sizes S 6, M 4, L 1; width: chain 3, widest 5; owned paths 6.

    Ticket Title Blocked by Label
    #2529 0.1.2 W3: the Amp harness row on the local driver (amp) #2431 ready-for-agent
    #2532 0.1.2 W3: the Antigravity CLI harness row on the local driver (agy) #2431 ready-for-agent
    #2536 0.1.2 W3: the Warp local agent harness row on the local driver (oz) #2431 ready-for-agent
    #2540 0.1.2 W3: the Sculptor harness row on the local driver (sculpt) #2538 ready-for-agent
    #2543 0.1.2 W3-SP1: the Fly Sprites driver passes the kit on fixtures #2558 ready-for-agent
    #2545 0.1.2 W3-SP2: the Fly Sprites driver's README, its login line and the API-key billing limit none ready-for-agent
    #2550 0.1.2 W3 live: live check: the Amp row passes 5 of 5 (amp) #2529 ready-for-human
    #2552 0.1.2 W3 live: live check: the Antigravity CLI row passes 5 of 5 (agy) #2532 ready-for-human
    #2560 0.1.2 W3 live: live check: the Warp local agent row passes 5 of 5 (oz) #2536 ready-for-human
    #2563 0.1.2 W3 live: live check: the Sculptor row passes 5 of 5 (sculpt) #2540 ready-for-human
    #2642 0.1.2 W3-SP3: live check: the Fly Sprites driver passes 5 of 5 through the gateway (a person) #2543 #2545 ready-for-human

    Fingerprint: 5394a54e2d78ea9ab5b3851ac4f7fe0d56bbf70936c148901a2356f571673ca7

    Revision text
    plan-graph revision v2
    spec #2520 body sha256 1e0cce19e558b2e55bd8e2e3527d14ffc8941153146af6a2b17aa18ed30c45cc
    ticket #2529 blocked-by #2431 body sha256 13dd5e92977f21bccab307c6573767bfbfb6af07849fb6c8a1935cd5b07008a9 title 0.1.2 W3: the Amp harness row on the local driver (amp)
    ticket #2532 blocked-by #2431 body sha256 e927ccc3e46db884b769137fba7652a28a8993bb9f6215e35cc8a18dfc986043 title 0.1.2 W3: the Antigravity CLI harness row on the local driver (agy)
    ticket #2536 blocked-by #2431 body sha256 df623ff111a2cb54cec968dd4677c7f019530ac93ba0a0e0628a3e17cd32b4da title 0.1.2 W3: the Warp local agent harness row on the local driver (oz)
    ticket #2540 blocked-by #2538 body sha256 913357821ed40462fcc85aa565f9046401eb1d4d3cf9a6ab47bb4d36d1a31ff6 title 0.1.2 W3: the Sculptor harness row on the local driver (sculpt)
    ticket #2543 blocked-by #2558 body sha256 9a1d11541f54412aca8f4d413cdd335e6316bd51db47d7a1e56ef07e4b88cabe title 0.1.2 W3-SP1: the Fly Sprites driver passes the kit on fixtures
    ticket #2545 blocked-by none body sha256 c60550d946a9b05a712e665025e15889ea888ad88207f7b272c933b0c368ea7b title 0.1.2 W3-SP2: the Fly Sprites driver's README, its login line and the API-key billing limit
    ticket #2550 blocked-by #2529 body sha256 f0a357e7262f6b084ccbcf0aa2809120b0b89e8bc850b99dbb24a1a01a8d33df title 0.1.2 W3 live: live check: the Amp row passes 5 of 5 (amp)
    ticket #2552 blocked-by #2532 body sha256 6fe5e0d485516793d600b12e7197c6b880eafd3ef3c3f83774851978c77ab1d5 title 0.1.2 W3 live: live check: the Antigravity CLI row passes 5 of 5 (agy)
    ticket #2560 blocked-by #2536 body sha256 63305da09cb1c84ca33a31cd0bd6f14140a2ee80cf312b4c7b04a92db4005198 title 0.1.2 W3 live: live check: the Warp local agent row passes 5 of 5 (oz)
    ticket #2563 blocked-by #2540 body sha256 1831097fbd2421adf7c7b84456ac2b1f38c066bcded11cd046eaac0d167c6e02 title 0.1.2 W3 live: live check: the Sculptor row passes 5 of 5 (sculpt)
    ticket #2642 blocked-by #2543 #2545 body sha256 4f0bbb5797bee6b4e0247fbe6afae07856c58c046641f7638268ce03053a1dd4 title 0.1.2 W3-SP3: live check: the Fly Sprites driver passes 5 of 5 through the gateway (a person)
    
  4. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    Plan changed, revision 2. Changed row: #2540 (Sculptor). The row-commands ticket #2538 allows one stop argument list with only {session}, so Sculptor's stop is the single sculpt agent delete {session} -y, and the proof that the backend session ended moves into the row's own test_row.py. No arrows change; #2540 still waits on #2538. #2540 was held first. Link check: pass spec #2520: tickets 11, links 11, real 11, file 0, unlabelled 0, refusals 0.

  5. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    Machine plan approval, 2026-11-23, revision 2: links, relies, sizes, width and owned paths passed.
    Grill confirmed: https://github.com/jparker2006/ClosedWiz/issues/3065#issuecomment-7087025217

    Checks: 11 tickets; links 11; relies 6; sizes S 6, M 4, L 1; width: chain 3, widest 5; owned paths 6.

    Changed since revision 1: #2540 (Sculptor row): stop is the single 'sculpt agent delete {session} -y' that #2538 allows, and the backend-session proof moves to the row's own test_row.py.

    Ticket Title Blocked by Label
    #2529 0.1.2 W3: the Amp harness row on the local driver (amp) #2431 ready-for-agent
    #2532 0.1.2 W3: the Antigravity CLI harness row on the local driver (agy) #2431 ready-for-agent
    #2536 0.1.2 W3: the Warp local agent harness row on the local driver (oz) #2431 ready-for-agent
    #2540 0.1.2 W3: the Sculptor harness row on the local driver (sculpt) #2538 ready-for-agent
    #2543 0.1.2 W3-SP1: the Fly Sprites driver passes the kit on fixtures #2558 ready-for-agent
    #2545 0.1.2 W3-SP2: the Fly Sprites driver's README, its login line and the API-key billing limit none ready-for-agent
    #2550 0.1.2 W3 live: live check: the Amp row passes 5 of 5 (amp) #2529 ready-for-human
    #2552 0.1.2 W3 live: live check: the Antigravity CLI row passes 5 of 5 (agy) #2532 ready-for-human
    #2560 0.1.2 W3 live: live check: the Warp local agent row passes 5 of 5 (oz) #2536 ready-for-human
    #2563 0.1.2 W3 live: live check: the Sculptor row passes 5 of 5 (sculpt) #2540 ready-for-human
    #2642 0.1.2 W3-SP3: live check: the Fly Sprites driver passes 5 of 5 through the gateway (a person) #2543 #2545 ready-for-human

    Fingerprint: 43e420226f81844666f2a567d10fae3468dcce418820d2b386c9e6cd699af09d

    Revision text
    plan-graph revision v2
    spec #2520 body sha256 1e0cce19e558b2e55bd8e2e3527d14ffc8941153146af6a2b17aa18ed30c45cc
    ticket #2529 blocked-by #2431 body sha256 13dd5e92977f21bccab307c6573767bfbfb6af07849fb6c8a1935cd5b07008a9 title 0.1.2 W3: the Amp harness row on the local driver (amp)
    ticket #2532 blocked-by #2431 body sha256 e927ccc3e46db884b769137fba7652a28a8993bb9f6215e35cc8a18dfc986043 title 0.1.2 W3: the Antigravity CLI harness row on the local driver (agy)
    ticket #2536 blocked-by #2431 body sha256 df623ff111a2cb54cec968dd4677c7f019530ac93ba0a0e0628a3e17cd32b4da title 0.1.2 W3: the Warp local agent harness row on the local driver (oz)
    ticket #2540 blocked-by #2538 body sha256 392207a91e7a42dad35503eb9377737964e8a23d42ef4794135cf482fca7d274 title 0.1.2 W3: the Sculptor harness row on the local driver (sculpt)
    ticket #2543 blocked-by #2558 body sha256 9a1d11541f54412aca8f4d413cdd335e6316bd51db47d7a1e56ef07e4b88cabe title 0.1.2 W3-SP1: the Fly Sprites driver passes the kit on fixtures
    ticket #2545 blocked-by none body sha256 c60550d946a9b05a712e665025e15889ea888ad88207f7b272c933b0c368ea7b title 0.1.2 W3-SP2: the Fly Sprites driver's README, its login line and the API-key billing limit
    ticket #2550 blocked-by #2529 body sha256 f0a357e7262f6b084ccbcf0aa2809120b0b89e8bc850b99dbb24a1a01a8d33df title 0.1.2 W3 live: live check: the Amp row passes 5 of 5 (amp)
    ticket #2552 blocked-by #2532 body sha256 6fe5e0d485516793d600b12e7197c6b880eafd3ef3c3f83774851978c77ab1d5 title 0.1.2 W3 live: live check: the Antigravity CLI row passes 5 of 5 (agy)
    ticket #2560 blocked-by #2536 body sha256 63305da09cb1c84ca33a31cd0bd6f14140a2ee80cf312b4c7b04a92db4005198 title 0.1.2 W3 live: live check: the Warp local agent row passes 5 of 5 (oz)
    ticket #2563 blocked-by #2540 body sha256 1831097fbd2421adf7c7b84456ac2b1f38c066bcded11cd046eaac0d167c6e02 title 0.1.2 W3 live: live check: the Sculptor row passes 5 of 5 (sculpt)
    ticket #2642 blocked-by #2543 #2545 body sha256 4f0bbb5797bee6b4e0247fbe6afae07856c58c046641f7638268ce03053a1dd4 title 0.1.2 W3-SP3: live check: the Fly Sprites driver passes 5 of 5 through the gateway (a person)
    
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