Repository navigation
Description
Parent
Ticket HR8 of spec #2427 (0.1.2): Kimi Code as a harness row on the local driver. Size: M.
What to build
The kimi row, under the harness-row contract adapters/local/harness-row.md (#2431), in its own folder adapters/local/harnesses/kimi/. 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:
kimi - Start:
kimi -p "<p>" --output-format stream-json(printssession_id) - Wake:
kimi -S <id> -p "<msg>" - Stop: kill the process tree (the driver's own stop)
- Login:
kimi login, saved in~/.kimi-code/credentials/
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: none blocking, except that -p can't take --yolo. Find from the kimi command reference which permission options -p does accept, and map only those in modes. 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: kimi command.
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/kimi/(new)changes/2515.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 emptykimirow 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/kimi/andchanges/2515.md - Merge gate: merges only after its live check records 5 of 5 at this pull request's approved head
Proof
P2 (the kimi row): the runner's red then green on fixtures.
Activity
#2515: red: the runner fails the empty kimi row
#2515: WIP: kimi row.json and fake pass the runner
#2515: WIP: kimi test_row.py, README and evidence
#2515: green: the kimi row passes the runner, its test_row.py and the…
#2515: green: the kimi README names the hidden ensure-daemon command …
jparker2006 commentedon Nov 23, 2026
launch-fleet: started
launch-fleet: start checked, branch room/2515-kimi-row
Started at 02:55:34Z, 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/kimi/, 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 #2519.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 handed back at 1050993: R2 to R5 fixed red first, R1 disputed as blocked on MG1; CI is running.
time: 2026-11-24T00:52:32Z
pr: #2785
#2515: green: the kimi row passes the runner and test_row.py with #2608…
#2515: red: the kimi fake takes an empty or blank -m, which kimi refu…
#2515: the kimi fake refuses an empty or blank -m, as kimi does (R2)
#2515: red: the kimi row misses kimi's missing-login line (R3)
#2515: the kimi row reports kimi's missing managed login as not signe…
#2515: red: the kimi fake's background process is not shaped like a k…
#2515: the kimi fake leaves a kimi-shaped background Bash task, the r…
#2515: the kimi README qualifies the effort refusal until the effort …
#2515: green: fix round 1, the kimi row passes the full runner and te…
jparker2006 commentedon Nov 24, 2026
launch-fleet: look: builder routing needs reconciliation; no matching builder and no restored private run map.
jparker2006 commentedon Nov 24, 2026
launch-fleet: look: no thread matches builder:2515