Repository navigation
Description
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
- 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.
- As a user, a stop leaves nothing running: no Amp background subagent, no
agylanguage server, and no Sculptor agent in its backend. - As a Warp user, the README tells me that a wake needs the "Store AI conversations in the cloud" setting turned on.
- 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.
- As a Sprites user, the README tells me plainly that Claude Code through a connector bills my Anthropic API key, not a Claude subscription.
- 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>/, underadapters/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--helpat a named version:amp: startamp -x {prompt} --stream-json; the session is theT-…thread id reported in the stream; wakeamp threads continue {session} -x {prompt} --stream-json; login: the savedamp loginaccount, orAMP_API_KEYthe user set. Check: does ending the process tree also end Amp's background subagents? If not, the row's stop runsamp threads archive {session}, or the row stops and asks.agy: startagy -p {prompt} --output-format json; the session isconversation_id; wakeagy -p {prompt} --conversation {session} --output-format json;envsetsAGY_CLI_DISABLE_AUTO_UPDATE=true;daemonnames the language-server child; login: the OS keyring from an interactiveagysign-in, orGEMINI_API_KEYthe user set. Check: the process-group kill also ends the language server.oz: startoz agent run --prompt {prompt} --output-format json; wakeoz agent run --prompt {prompt} --conversation {session}; login:oz login, an existing Warp sign-in, orWARP_API_KEYthe 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: startsculpt agent create --prompt {prompt} --json; wakesculpt agent send {session} {prompt} --follow; stop runssculpt agent interrupt {session}, thensculpt agent delete {session} -y; login: the harness's own login, andsculptfetches its backend's session token itself; the Sculptor backend must already be running onlocalhost:5050. Check:agent deleteends everything the agent started.
- The row stop command (contract addition): an optional
stopfield inrow.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 withoutstopbehave 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) fromadapters/template/, withadapters/boat/andadapters/codespaces/(0.1.2 CS1: the GitHub Codespaces driver passes the kit on fixtures #2423) as prior art.canaddsmany-at-onceandown-sandbox.- Start:
sprite create openwiz-<run>, with a label the connectors' access policy can match. The pinned WizSkills install runs oversprite exec. Then the turn is a localsprite 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>, withANTHROPIC_BASE_URLset to the gateway URLhttps://api.sprites.dev/v1/gateway/anthropic/<connection id>. Codex:codex exec --json, withOPENAI_BASE_URLset to the OpenAI connector's gateway URL. The connection id is not a credential; the user names it in$OPENWIZ_SPRITES_ANTHROPICor$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 execturn withclaude -p --resume <uuid>orcodex 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/**intools/open-import/paths.json, andspritesinDRIVERSintools/release/build_products.py. - README,
adapters/sprites/README.md: it opens withLogin: 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.
- Start:
Testing Decisions
- Seam 1: each row passes
adapters/local/test_harnesses.pywith its own fake, red first against an empty row. Amp's fake starts a background subagent, andagy'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
spriteCLI under itsfixtures/, 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 runssprite 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.pygreen. - P3 (Sprites):
test_driver.pyand 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).
Activity
jparker2006 commentedon Nov 23, 2026
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
stopfield) 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.Longest chain: 3 links (#2431 → #2538 → #2540 → #2563).
Can start at approval: 1 of 11.
jparker2006 commentedon Nov 23, 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: 11 tickets; links 11; relies 6; sizes S 6, M 4, L 1; width: chain 3, widest 5; owned paths 6.
Fingerprint:
5394a54e2d78ea9ab5b3851ac4f7fe0d56bbf70936c148901a2356f571673ca7Revision text
jparker2006 commentedon Nov 23, 2026
Plan changed, revision 2. Changed row: #2540 (Sculptor). The row-commands ticket #2538 allows one
stopargument list with only{session}, so Sculptor's stop is the singlesculpt agent delete {session} -y, and the proof that the backend session ended moves into the row's owntest_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.jparker2006 commentedon Nov 23, 2026
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.
Fingerprint:
43e420226f81844666f2a567d10fae3468dcce418820d2b386c9e6cd699af09dRevision text