Repository navigation
Description
Parent
Ticket HR5 of spec #2427 (0.1.2): Cursor CLI as a harness row on the local driver. Size: M.
What to build
The cursor row, under the harness-row contract adapters/local/harness-row.md (#2431), in its own folder adapters/local/harnesses/cursor/. Branch from #2431's approved head as a draft pull request that names that commit. Merge after #2431, and after this row's live check.
From the drivers census (private), to confirm against primary sources:
- Program:
agent - Start:
agent -p --output-format json "<p>"(the JSON hassession_id) - Wake:
agent -p --resume <chatId> "<msg>" - Stop: kill the process tree (the driver's own stop)
- Login:
agent login, stored locally, or theCURSOR_API_KEYthe user set for the CLI. The driver never reads or passes it
The CLI reports the session id in its output (json or pattern), and the fake prints it the way the real CLI does.
The census check to resolve: do -p and --resume work together? Answer from Cursor's own docs or the CLI's --help. Never use agent persist. If they don't work together, stop and ask on this ticket. Resolve it from the primary sources below: the CLI's own docs, source and --help at a named version. Then write the answer and its links in the README. Run no live test and sign in to nothing: the live run is the person's ticket.
Effort (J318): the user must always be able to set it. Find from primary sources how this CLI sets reasoning effort: a flag, a model variant, a config key or an environment setting. If it has one, map each effort value in the row's effort object to that exact flag or setting, and the runner shows the user's value reaching the fake's command line or environment. If it has none, write "effort": "none: <why, with the source>" and say so in the README. A start with an effort then refuses, and never falls back to a default.
Sources: output format, auth, agent --help.
The folder:
row.json;fake: built onadapters/local/fixtures/fake_cli.py. It accepts only the documented command lines and exits 2 on anything else;README.md: it opens with where the login lives, then gives the commands, the modes, the resolved check with links, andLive check: #<n>, the live ticket that this one blocks;- optional
test_row.pyfor this CLI's own rules; evidence/with red and green.
Owned paths
adapters/local/harnesses/cursor/(new)changes/2473.md(new: this row's one changelog line, kind added)
Relies on: adapters/local/harness-row.md, adapters/local/fixtures/fake_cli.py, adapters/local/test_harnesses.py
Links
- 0.1.2 HR1: the harness-row contract, the local driver's row loader and the kit check for rows #2431 real: the harness-row contract, the driver's row loader and the runner that this row must pass
Acceptance criteria
-
python3 -I adapters/local/test_harnesses.pyfails on an emptycursorrow first (red, saved inevidence/), then passes: the five kit checks, wake reaching the same session id, and the env and stop checks - The fake exits 2 on a command line the real CLI's docs don't allow, and the row's argument lists match the cited docs at a named version
- The README resolves the census check with primary-source links, and says where the login lives. The driver never reads or passes a login
- Effort: the row either passes each effort value to the CLI (the runner proves it on the fake) or says plainly, in
row.jsonand the README, that the host can't set effort, with the source - The pull request changes nothing outside
adapters/local/harnesses/cursor/andchanges/2473.md - Merge gate: merges only after its live check records 5 of 5 at this pull request's approved head
Proof
P2 (the cursor row): the runner's red then green on fixtures.
Activity
#2473: an empty cursor row fails the harness-row runner, red first
jparker2006 commentedon Nov 23, 2026
launch-fleet: started
launch-fleet: start checked, branch room/2473-cursor-row
Started at 02:54:49Z, record delayed by GitHub's write pacing.
Started by the wave 1 lead on machine plan approval revision 5 of #2427. Hand checks read just before the start:
adapters/local/harnesses/cursor/, which no other open PR or builder holds.Its one blocker, HR1 #2431, is approved at
3f486e07(PR #2608, in a merge-only re-check before the queue). This row stacks on that head and merges only after #2608, and after its live check #2478.#2473: the cursor row, its fake, README and test_row.py pass the runner
#2473: the cursor row passes the harness-row runner on its fake; green
jparker2006 commentedon Nov 23, 2026
agent: builder
state: done
harness: Claude Code
model: claude-opus-5-5
skills: build-ticket@0.2.2
step: Handed back pull request 2778 for review once CI is green.
time: 2026-11-23T03:10:52Z
pr: #2778
jparker2006 commentedon Nov 23, 2026
launch-fleet: look: builder routing could not be verified; orchestrator delivery was refused by thread permissions. Existing assignment needs reconciliation.