Skip to content

0.1.1 DW4: the Cursor cloud agents driver passes the kit #1994

Open

Description

@jparker2006

Parent

Ticket DW4 of spec #1987 (0.1.1). Size: S.

What to build

A driver for Cursor cloud agents at adapters/cursor/, copied from adapters/template/ and built on the driver contract (kernel/driver.v1.md): version, schema, start, wake and stop, with a fake Cursor cloud agents under fixtures/bin/ so the kit runs in CI. Drive Cursor's cloud agents API: start POST /v1/agents, wake a new run on that agent, stop cancels the run then archives the agent (never the permanent delete). Cursor runs its own harness, so harness maps only to Cursor's agent; the README says so. The exact commands are in the drivers-wave research (private/research/drivers-wave/2026-11-20.md in jparker2006/ClosedWiz; your parent passes the section). If one of start, wake or stop turns out not to be scriptable, stop and ask on this ticket. The driver never reads, prints or passes on a credential (contract section 2). Its README opens with one login line in the spec's form: Login: held by Cursor. Shared lines, one row each: the test line in .github/workflows/ci.yml, the entry in tools/open-import/paths.json, and the name in DRIVERS in tools/release/build_products.py.

Owned paths

  • adapters/cursor/ in openwizdev/OpenWiz (new)
  • .github/workflows/ci.yml in openwizdev/OpenWiz (shared: this driver's one test line)
  • tools/open-import/paths.json in openwizdev/OpenWiz (shared: this driver's one entry)
  • tools/release/build_products.py in openwizdev/OpenWiz (shared: this driver's name in DRIVERS)

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

Links

none

Acceptance criteria

  • The kit fails against the copied template first (red log in evidence/), then passes all five checks on fixtures, in CI
  • No input, argument, output or copied environment carries a login, token, key or password
  • The README's login line says where the user's login 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), and after the 0.1.0 cut

Proof

P1 (this driver): test_driver.py and the kit on fixtures, red first. P3: the code review.

Activity

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

    @jparker2006
    MemberAuthor

    launch-fleet: start checked, branch room/1994-cursor-driver

    Started by hand under the J87 planner's fleet.sh-outage ruling (OpenWiz #1958): fleet.sh claim failed only with "conflicting PR check snapshots". Start conditions read at 20:07Z: open; labelled ready-for-agent only, not held; no open blocker; no other live claim, builder or pull request; plan approval 7049330143 (revision 2) current, as fleet.sh spec 1987 printed start #1994 at 20:01Z.

  4. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: done
    harness: Claude Code
    model: claude-opus-5-5
    skills: build-ticket@0.2.0
    step: Handed back at e7ec810: docs and merge only since the approved b375cdc (main merged for KN25, platforms line added).
    time: 2026-11-20T21:55:09Z
    pr: #2021

  5. added 2 commits that reference this issue on Nov 20, 2026
  6. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Question for the orchestrator (the cloud-key question), from the #1994 builder.

    Planner ruling received: build on the host's signed-in official CLI if it can start, wake and stop; otherwise stop and ask.

    What I found. Cursor's official CLI (agent) cannot start, wake or stop a cloud agent. Its commands are local chats (-p, --resume, create-chat, ls), login/status, models, mcp, sandbox and worker (a self-hosted worker that a cloud agent can claim). Its reference (cursor.com/docs/cli/reference/parameters) lists no cloud-agent command. Cloud agents are only reachable through the Cloud Agents API (POST /v1/agents, POST /v1/agents/{id}/runs, POST .../runs/{runId}/cancel, POST /v1/agents/{id}/archive), which needs a Cursor API key.

    What is on #2021 now (built before this ruling arrived; I've stopped work on it): the driver calls that API only through the user's own curl --netrc. curl reads the key from the user's ~/.netrc, so the driver never reads, passes or prints it, and the kit's token check passes. It is still an API key outside an official CLI, though, so it does not meet the ruling as written.

    Options

    1. Accept curl --netrc as the host's signed-in tool for this driver: #1994: 0.1.1 DW4: the Cursor cloud agents driver passes the kit #2021 as it stands.
    2. Drop Cursor cloud agents from wave 1 (as was done for hosts without a stop), and close #1994: 0.1.1 DW4: the Cursor cloud agents driver passes the kit #2021 unmerged.
    3. Wait until Cursor ships a CLI command for cloud agents.

    My pick: 1. The driver code never touches the key, the user keeps it in a standard owner-only file that curl reads, and the README's login line says Login: held by Cursor. If 1 is wrong for the contract, then 2.

    I'm doing nothing more on #2021 until this is answered.

  7. added
    needs-info
    on Nov 20, 2026
  8. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    Planner answer for DW4 #1994 (Cursor): switch PR #2021 to the environment-variable form under the cloud-driver ruling on #1987 (comment 7049703459), the same pattern DW3 Conductor uses. curl reads CURSOR_API_KEY from the user's own inherited environment through --variable, and the driver never holds the value. One pattern for every cloud driver is easier to review and document, and the README names one variable instead of a netrc entry. Keep the ruling's three requirements: the key-never-held test, the minimum curl version error, and Login: held by Cursor naming the variable.

  9. removed
    needs-info
    on Nov 20, 2026
  10. added 2 commits that reference this issue on Nov 20, 2026
  11. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    agent: fleet
    state: done
    harness: claude-code
    model: claude-opus-5-5
    skills: launch-fleet@0.2.0
    step: settled needs-info
    time: 2026-11-20T20:24:10Z

  12. 12 remaining items

  13. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #2026

    kernel/driver.v1.md (the login-line section) changed in #2026; its builder was told at 21:17Z.

  14. added a commit that references this issue on Nov 20, 2026
  15. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #2028

    kernel/driver.v1.md (the Supported platforms line), kernel/driver-kit/ and adapters/template/ changed in #2028; its builder was told at 21:53Z.

  16. jparker2006 commented on Nov 20, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: noted #2028

    kernel/driver.v1.md (supported platforms) and kernel/driver-kit/ changed in #2028; its builder was told at 21:52Z.

  17. jparker2006 commented on Nov 23, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: granted supporting-edit: the N4 port (driver contract N4, #2395)

    F4 supporting edit granted (planner), for #1994: kernel/driver-kit/hosts.json. One row for Cursor cloud agents, its API address only.

  18. added 8 commits that reference this issue on Nov 23, 2026
  19. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    agent: reviewer
    state: done
    harness: Claude Code
    model: Claude Opus 5.5 Medium
    skills: review-ticket@0.4.0
    step: re-check posted at 346e201
    time: 2026-11-24T13:38:58Z
    pr: #2021

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