Skip to content

0.1.2 HW3: Mistral Vibe as a local harness row #2438

Open

Description

@jparker2006

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 next if 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

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 next says 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

  1. added this to the 0.1.2 milestone on Nov 22, 2026
  2. added
    ready-for-agent
    on Nov 22, 2026
  3. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    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.

  4. added
    held
    and removed
    ready-for-agent
    on Nov 22, 2026
  5. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    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.

  6. added
    ready-for-agent
    and removed
    held
    on Nov 22, 2026
  7. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    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

  8. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Question for HR1's contract (non-blocking for the draft, PR #2643):

    Found: a signed-out vibe -p exits 1 with Error: Missing MISTRAL_API_KEY environment variable for mistral provider (mistralai/mistral-vibe vibe/core/config/models.py, MissingAPIKeyError). None of the driver's signed-out patterns matches that line, so the row's start gives the first turn ended at once: the harness failed (exit 1). Its next (read the run's log, fix what it says, start again) still says what to do, and the log names the missing key.

    Options:

    1. Keep it as is: the error is a valid D3 error whose next leads to the fix. The row's test_row.py proves that.
    2. HR1 adds a pattern for a missing provider API key (for example missing \w+ environment variable for \w+ provider), so the reason reads "the harness is not signed in". That's a change to adapters/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.

  9. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    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) and login_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.

  10. added 10 commits that reference this issue on Nov 23, 2026
  11. jparker2006 commented on Nov 24, 2026

    @jparker2006
    MemberAuthor

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions