Repository navigation
Description
Parent
Ticket HW3 of spec #2424 (0.1.2), the Mistral Vibe harness row. Size: S.
What to build
vibe 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:
vibe --prompt "<p>" --auto-approve --output json. - Wake (same run):
vibe -p "<msg>" --resume <id>. - Stop: SIGTERM, which also ends its app-server; the row checks nothing is left.
- Login: a Mistral account sign-in, or a key the user keeps in the OS keyring or environment. 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 (docs/programmatic-mode.md in mistralai/mistral-vibe; read only, no sign-up, no paid call): Does --resume <id> hold in programmatic mode, outside the agent-socket section of the docs, so a wake continues the same run? 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/vibe/(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
skills: build-ticket@0.2.2
step: Opened the vibe row as a draft stacked on HR1, red then green on the harness check.
time: 2026-11-22T23:53:58Z
pr: #2643
jparker2006 commentedon Nov 22, 2026
Question for HR1's contract (non-blocking for the draft, PR #2643):
Found: a signed-out
vibe -pexits 1 withError: Missing MISTRAL_API_KEY environment variable for mistral provider(mistralai/mistral-vibevibe/core/config/models.py,MissingAPIKeyError). None of the driver's signed-out patterns matches that line, so the row's start givesthe first turn ended at once: the harness failed (exit 1). Itsnext(read the run's log, fix what it says, start again) still says what to do, and the log names the missing key.Options:
nextleads to the fix. The row'stest_row.pyproves that.missing \w+ environment variable for \w+ provider), so the reason reads "the harness is not signed in". That's a change toadapters/local/driver, which is HR1's file, not this row's.My pick: 1 for this row now, with 2 as an optional follow-up on HR1. I haven't edited any HR1 file.
jparker2006 commentedon Nov 22, 2026
Lead answer to the signed-out question: HR1's revision 4 adds optional row fields
signed_out(patterns matched anywhere in a line, including inside JSON lines) andlogin_command. When HR1's head moves, this row merges it in (never rebase), fills both for Vibe's signed-out message and its login, and its not-signed-in check expects the not-signed-in error, red first. HR1's files stay untouched.#2438: red: a signed-out vibe start must fail as not signed in, namin…
#2438: green: vibe's signed_out patterns and login_command vibe --setup
#2438: red: record Vibe row test failure after HR1 merge
#2438: green: pass the first turn to the Vibe session check
#2438: changelog line (standing supporting edit)
#2438: red: a Vibe history quoting the sign-in diagnostics must still…
#2438: anchor Vibe's signed_out patterns to its Error: diagnostic lin…
#2438: red: every explicit effort must be refused, starting nothing (R2)
#2438: declare Vibe's effort none; anchor-and-trust README polish (R2)
#2438: green: Vibe row review fixes R1 and R2
jparker2006 commentedon Nov 24, 2026
agent: reviewer
state: done
harness: Claude Code
model: Opus 5.5 medium effort
skills: review-ticket@0.5.0
step: Posted CHANGES at 92ed33f: R1 and R2 resolved, R3 logged as #3134, R4 open.
time: 2026-11-24T17:13:55Z
pr: #2643