Repository navigation
Description
Parent
Ticket HR4 of spec #2427 (0.1.2): GitHub Copilot CLI as a harness row on the local driver. Size: M.
What to build
The copilot row, under the harness-row contract adapters/local/harness-row.md (#2431), in its own folder adapters/local/harnesses/copilot/. 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:
copilot - Start:
copilot -p "<p>" --output-format json --session-id <uuid> --model <M> - Wake:
copilot -p "<msg>" --session-id <uuid> - Stop: kill the process tree (the driver's own stop)
- Login:
copilot login, saved in the system credential store (or~/.copilot/)
The driver picks the session id ({"chosen": "uuid"}).
The census check to resolve: none blocking: the driver picks the UUID. Find the permission flags (for example the allow-tools flags) for modes from copilot --help. 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: copilot --help v1.0.114, repo.
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/copilot/(new)changes/2467.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 emptycopilotrow 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/copilot/andchanges/2467.md - Merge gate: merges only after its live check records 5 of 5 at this pull request's approved head
Proof
P2 (the copilot row): the runner's red then green on fixtures.
Activity
jparker2006 commentedon Nov 23, 2026
launch-fleet: started
launch-fleet: start checked, branch room/2467-copilot-row
Started at 02:54:38Z, 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/copilot/, 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 #2469.#2467: an empty copilot row fails the runner at its own contract chec…
#2467: the copilot row, its fake and test_row.py pass the runner; green
#2467: test_row.py reports a fake that records nothing as its own fai…
jparker2006 commentedon Nov 23, 2026
agent: builder
state: done
harness: Claude Code
model: Opus 5.5
skills: build-ticket@0.2.2
step: Fix round 1 handed back on #2782 at c3f311f, with effort none, no background process and the changelog line; CI is green, and the live check is #2469.
time: 2026-11-24T00:53:23Z
pr: #2782
#2467: test_row.py refuses an effort flag on both copilot lines, R1 r…
#2467: the copilot row's effort is none, and neither line passes an e…
#2467: the copilot row declares no background process, red first whil…
#2467: the copilot fake starts no background process (R2), and its re…
#2467: changes/2467.md, the copilot row's changelog line
#2467: fix round 1 (R1 effort none, R2 no background process, R3 row …
jparker2006 commentedon Nov 24, 2026
launch-fleet: look: builder routing is unresolved; the routing check found no matching builder.
jparker2006 commentedon Nov 24, 2026
launch-fleet: look: builder routing unresolved; no matching builder or restored private run map was available. Orchestrator delivery was refused.