Repository navigation
Description
Parent
Ticket HW5 of spec #2424 (0.1.2), the Kiro CLI (local runs) harness row. Size: S.
What to build
kiro as a harness row on the local driver, in the shape the harness-row contract (HR1) fixes, built in its own folder and stacked as a draft on HR1's branch until it merges.
- Start:
kiro-cli chat --v3 --no-interactive --output-format stream-json "<p>". - Wake (same run):
--resume-id <id> "<msg>". - Stop: end the process tree (local runs only; never
--delete-session). - Login:
KIRO_API_KEY, set by the user in their own environment (paid tiers), or the browser sign-in if headless runs accept it. The row never reads, sets or stores a key. - Effort: settle from primary sources which flag, setting or environment value sets the CLI's reasoning effort, and map each effort value to it in the row (an
{effort}placeholder or a fixed environment setting), or declare effort none with its reason and source, in the row, its README and the driver's version answer, as the contract requires. The effort start field is driver v1's change, 0.1.2 spec: Effort everywhere: every driver passes the user's effort, or says plainly it can't #2471. - Permission mode: map the owner's approved mode to the CLI's own option, as the contract says, or refuse with a clear
nextif the CLI has no safe equivalent.
Settle this fact first, from primary sources (the Kiro CLI headless docs; read only, no sign-up, no paid call): Can a headless run use the browser sign-in, or only KIRO_API_KEY? The row never reads, sets or stores the key; it names it in its login line and its not-signed-in error. Record the answer with its sources in the row's README. If it comes back against the row (no same-run wake, or a stop that cannot leave nothing running), stop and report with the evidence instead of building.
Owned paths
adapters/local/harnesses/kiro/(new: the row file, its fake CLI, its README with the login line and the fact's resolution, an optional row test, and its evidence folder)
Relies on: nothing
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, its row folder shape and the kit check this row is built and tested against
Acceptance criteria
- The row's fact is settled from cited primary sources in its README.
- HR1's harness check discovers the row and it passes the contract checks and the driver kit's five checks with its fake CLI, red first.
- Effort: a claimed effort reaches the fake CLI's arguments or environment in HR1's runner; or the row declares none with its reason and source, and a start carrying an effort refuses with a D3 error and starts nothing, never falling back to a default.
- Not installed and not signed in each give a JSON error whose
nextsays what to do; a stop leaves no process of the run, including any background service the CLI started.
Proof
P1 and P2: HR1's harness check on this row, red first, and the cited fact.
Activity
jparker2006 commentedon Nov 22, 2026
launch-fleet: started (the 0.1.2 lead's direct start; Opus 5.5 Medium builder), stacked as a draft on wave 1's HR1 (#2431, branch room/2431-harness-rows) for the 30-agent push. Hand checks: open, only ready-for-agent, no claim, builder or pull request yet; #2431 open, so this stays a draft until it merges; owns only its own harness folder, which no open pull request touches.
jparker2006 commentedon Nov 22, 2026
Plan change coming (hold-first): wave 1's harness-row contract (#2431) now requires every row to take effort, as a mapping or as an explicit none with its source, with the effort start field from #2471. This ticket's body gains that acceptance line; it is held until the new approval. Its builder has been told and keeps working.
jparker2006 commentedon Nov 22, 2026
agent: builder
state: done
harness: Claude Code
model: Opus 5.5 Medium
skills: build-ticket@0.2.2
step: Draft PR #2631 is up, stacked on HR1; waiting on CI.
time: 2026-11-22T23:50:11Z
pr: #2631
#2440: red: a signed-out kiro-cli's start names kiro-cli login, from …
#2440: green: kiro's signed_out reads its runError auth record, and l…
#2440: red: the comment check refuses the comments in test_row.py
#2440: green: test_row.py carries no comments; its check names say wh…
#2440: changelog line (standing supporting edit)