Repository navigation
Description
Parent
Ticket HR2 of spec #2427 (0.1.2): Pi as a harness row on the local driver. Size: M.
What to build
The pi row, under the harness-row contract adapters/local/harness-row.md (#2431), in its own folder adapters/local/harnesses/pi/. 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:
pi - Start:
pi -p --mode json --session-id <id> "<p>" - Wake:
pi --session-id <id> -p "<msg>" - Stop: kill the process tree (the driver's own stop)
- Login:
pi auth login, saved in~/.pi/agent/auth.json, or a provider variable the user set
The driver picks the session id ({"chosen": "uuid"}).
The census check to resolve: none blocking: the driver picks the session id itself and there is no daemon. Confirm both from the CLI docs. 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: cli.md, providers.md.
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/pi/(new)changes/2449.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 emptypirow 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/pi/andchanges/2449.md - Merge gate: merges only after its live check records 5 of 5 at this pull request's approved head
Proof
P2 (the pi row): the runner's red then green on fixtures.
Activity
jparker2006 commentedon Nov 23, 2026
launch-fleet: started
launch-fleet: start checked, branch room/2449-pi-row
Started by the wave 1 lead on machine plan approval revision 5 of #2427. Hand checks read just before the start:
adapters/local/harnesses/pi/, which no other open PR or builder holds.Its one blocker, HR1 #2431, is approved at
3f486e07(PR #2608, in the merge queue). This row stacks on that head as a draft and merges only after #2608, and after its live check #2458.#2449: the pi row, its fake and README; the runner passes it
#2449: test_row.py: the pi fake refuses command lines pi 1.6.0 does n…
#2449: the pi harness row: runner, test_row.py and probes; 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: Fix round 1 at 43475bb, CI green: R1, R3 and R4 fixed red first, R2 disputed (blocked on MG1 #2904), changelog line added; waiting for the re-check.
time: 2026-11-24T01:15:37Z
pr: #2774
#2449 R1 red: the fake takes only pi's census wake line, which restor…
#2449 R1 fix: wake passes no --model, so pi restores the session's re…
#2449 R3 red: the signed-out check must accept pi's diagnostics quote…
#2449 R3 fix: signed_out matches pi's three stderr diagnostic lines w…
#2449 R4 red: the fake must refuse an empty or blank --model
#2449 R4 fix: the fake refuses an empty or blank --model
#2449: changes/2449.md, the Pi row's changelog line
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.
#2449 fix round 1: R1, R3 and R4 fixed, changelog line added; green
jparker2006 commentedon Nov 24, 2026
launch-fleet: look: builder routing could not be resolved; private routing needs reconciliation. Orchestrator delivery was refused by the thread scope guard.
jparker2006 commentedon Nov 24, 2026
launch-fleet: look: builder routing unresolved for #2449; private assignment needs restoration. Orchestrator delivery unavailable from this wake.
jparker2006 commentedon Nov 24, 2026
launch-fleet: look: no thread matches builder:2449