← blog

Heal · · November 23, 2026 · Part 1 of 2

Harness and benchmark engineering to close the gap between Mistral and Anthropic

The model is what you rent. The harness is what you engineer. The benchmark is what you own — and it is how the gap closed.

Heal’s agent looks for defects in a running copy of a product, on Claude through Claude Code. In November 2026 we put two questions to ourselves at heal.dev, about its harness, everything around the model:

  • Our harness adds two things: the heuristics that say which bugs to look for and how, and the tailor-made sandbox that proves them. Is it great because of Anthropic’s models, or because of the harness?
  • We want to cut the price of our agent with cheaper models and no loss of quality. Does the harness let us?
  • To answer both, the key turned out to be the benchmark we have been building since August.

Both experiments ran on one product, Sisyf, a coaching product for endurance athletes, on two of its features, the race-plan editor, where an athlete loads the GPX trace of a race to prepare it, and the stats page, where they follow their training, every reported defect judged against its own test by a separate model.

TL;DR

  • The harness, not the model, finds the bugs that need the product running. With Claude or Mistral, most of the bugs the Heal agent finds appear only when the product is running, 22 of its 33 with Claude; every other setup finds 1 to 4 of them.
  • A cheaper model, as many bugs, catching up on Anthropic’s. Once the harness is tuned for it, the Heal agent with Mistral finds as many bugs as the Heal agent with Anthropic, half of them the same ones.
  • The benchmark is the moat. It is wide enough to tune the harness to a new model provider until it catches up with Anthropic, as it did for Mistral, and to bring in the next one.

Experiment 1 · does the Heal harness make a coding agent find more bugs, and the ones that show only when the product runs?

The Heal harness is everything around the model: the sandbox on one side and, on the other, the tasks — the agent's own code and the guidelines it enforces (the verification harness article says why it matters):

  • the sandbox the Heal agent builds — the product running on seeded data, a stand-in for every third-party service the product calls (payments, mail, maps…), a browser, a mail catcher;
  • the deterministic code of the agent, which we call the orchestration — the fixed sequence of steps a run follows to find defects, several at a time, every test reported re-run before it counts, duplicate findings merged;
  • the guidelines and heuristics its sessions read: how to find a defect, prove it and report it.
NO PART OF HEALPART 1 · THE HEAL SANDBOXPART 2 · THE HEAL TASKSClaude Code · Mistral Vibealonethe source codethe product's repositories, readthe modelClaude Opus 5.5Mistral Large 4the coding agentClaude Code · Mistral Vibethe promptFind the defects of this feature:behaviours a maintainer wouldfix, the ones that cost the userfirst…Claude Code · Mistral Vibewith the Heal sandboxthe source codethe product's repositories, readthe modelClaude Opus 5.5Mistral Large 4the coding agentClaude Code · Mistral Vibethe Heal sandboxthe product running on seededdata, stand-ins for third-partyservices, a browser, a mailcatcherthe prompt+ the app runs at localhost;test helpers in e2e/support/to make a request fail, countwhat it does, or send tworequests at once.Claude Code · Mistral Vibewith Heal’s documentsthe source codethe product's repositories, readthe modelClaude Opus 5.5Mistral Large 4the coding agentClaude Code · Mistral Vibethe Heal sandboxthe product running on seededdata, stand-ins for third-partyservices, a browser, a mailcatcherthe guidelineshanded over as documents; theagent decides what to readthe prompt+ Heal's documents: the flowsrecorded on the feature, thefeature map, sandbox notes,and the guidelines its agentfollows; nothing enforces it:use what helps.the Heal agent, runningClaude Code · Mistral Vibethe source codethe product's repositories, readthe Heal sandboxbuilt by the Heal agent; theproduct on seeded data, stand-ins for third-party services,a browser, a mail catcherthe Heal agentthe modelClaude Opus 5.5Mistral Large 4the coding agentClaude Code · Vibe, per taskthe guidelinesin the prompt, enforced bythe orchestrationthe Heal orchestrationthe fixed steps that finddefects: use the product,read its code, break it onpurpose, re-run every testreported, merge duplicates4 runs a setup, on 2 features of Sisyf,the race-plan editor and the activity stats2 models, measured separately: Claude Opus 5.5through Claude Code, Mistral Large 4 through Vibea bug: a failing test the Heal judge accepted;needs the product running: a bug that showsonly when the product runs; no other setupfound: none of the model’s 3 other setupswhat the harness gives the modelthe model, its coding agent, the sourcethe Heal agent, and what it runs
Figure 1. The four setups, each box what the agent gets. The sandbox's effect is read between the first box and the second, the tasks' effect between the second and the fourth.

Results

The Heal sandbox lets a coding agent find new bugs and verify them for real; the Heal agent finds a new kind of bug.

Bugs found, and how many need the product runningneed the product runningthe other bugs found

Claude Code and Mistral Vibe alone

Given the source code and nothing else, both find what the code shows: validation gaps, wrong computations, labels, a 500 on bad input — the kind our benchmark against AI code review measures in detail.

  • Even though the prompt asks Claude Code and Vibe to find “behaviours a maintainer would fix, the ones that cost the user first”, that guideline is not detailed enough to steer the models. Asking them to deliver a test that validates each finding, on the other hand, does make them do it.
bugs foundno other setup foundneed the product running$ per runmin per run
with Claude40924.310
with Mistral12410.913

Bug examples · the race-plan editor

A free-text start time like “7h30” is accepted, the API refuses it and every later autosave fails

howby reading the code

whoClaude in every setup; Mistral in none

A race plan save accepts and stores a start time with hours 24 to 29

howby reading the API’s validation rules

whoClaude and Mistral alone; not the Heal agent

Deleting a manual segment keeps its barrière (cut-off time), inherited by a new segment reusing the id

howby reading the code

whoonly Claude alone

Claude Code and Mistral Vibe with the Heal sandbox

With the sandbox running, both drive a browser to find new defects in what a user meets instead of what the code computes. Claude drives the product in the browser about five minutes a run; Mistral under a minute, then falls back to scripts against the API.

  • The extra minutes are the browser running, not the model thinking longer.
bugs foundno other setup foundneed the product running$ per runmin per run
with Claude30333.719
with Mistral15531.018

Bug examples · the race-plan editor

Removing a waypoint by double-click shifts names and types onto the next points

howby using the editor in the browser

whoonly Claude with the sandbox

Planifier les ravitos (plan the feed stations) on a new plan opens the feed-station tab on plan=new instead of the created plan

howby using the editor in the browser

whoClaude and Mistral with the sandbox; Claude with the documents too

A race plan save accepts feed-station picks on a segment id the plan does not have

howby calling the API

whoonly Mistral with the sandbox

Claude Code and Mistral Vibe with Heal’s documents

Both have Heal’s guidelines for finding bugs on disk and the prompt points them to it, but both ignore the guidelines and keep their habit: search the code base, then run the product, then test last. The Heal agent, the next setup, fixes that.

  • In its runs, Claude used Heal’s feature definition — the feature map and the recorded flows — to pick the product’s entry points, and that widened its search: 56 bugs over the two features, 20 that no other setup found. This is consistent with what the Heal agent reaches, but we ran no extra experiment to prove this specific point. Mistral read the same files, and its list did not move.
bugs foundno other setup foundneed the product running$ per runmin per run
with Claude562034.922
with Mistral12141.227

Bug examples · the race-plan editor

A negative stop time is accepted, shifts passage times earlier and makes saves fail

howby reading the form’s validation rules

whoonly Claude with the documents

A cumulative time of 119.5 minutes is displayed as 1:60

howby using the editor in the browser

whoonly Claude with the documents

Double-clicking Dupliquer (duplicate) in the library creates two copies

howby using the plan library in the browser

whoClaude with the documents; the Heal agent with Mistral too

The Heal agent, running Claude Code and Mistral Vibe

Turns a coding agent into a focused, opinionated finder of the bugs a user meets. The Heal harness makes it work one feature at a time, from a list of the behaviours that cost the user most, with rules that cut the slop and the noise.

  • Matt Pocock’s tracer bullets seem to corroborate this on the building side: force the agent to think small, one end-to-end slice at a time, and get feedback before widening.
  • Fewer code-visible bugs by design: each code-reading task is capped at a handful of suspected defects, so a run stays bounded on a large code base. What the price buys is the third column: 22 of its 33 bugs need the product running, against 1 to 4 for every other setup.
  • It removes its own noise first: every test is re-run before it is reported, duplicates are grouped, a suspected defect that does not reproduce is dropped. What the Heal judge still rejects is tests that fail for real, on a rule the product never promised.
  • The Mistral row is the harness as it was before Experiment 2 tuned it: seven runs, two of them cut short on the race-plan editor when the Mistral credit ran out, hence the low price.
bugs foundno other setup foundneed the product running$ per runmin per run
with Claude33232220.750
with Mistral, harness untuned118103.859

Bug examples · the race-plan editor

A whole-plan autosave from a stale tab overwrites changes saved in another tab

howby opening two tabs on one plan

whoonly the Heal agent, with Claude and Mistral, in every run

A refused delete or duplicate in the plan library shows no error

howby making the server refuse the request

whoonly the Heal agent, with Claude and Mistral, in every run

Every save returns the whole stored GPX trace

howby counting what a save sends back

whoonly the Heal agent, with Claude and Mistral

The Heal harness was built and tuned for Anthropic’s models, which explains the gap with Mistral; Experiment 2 closes it.

Experiment 2 · tuned for Mistral, does the Heal harness catch up with Heal on Anthropic?

Wiring the Heal agent to Mistral

The harness is built on ports and adapters: the run loop asks an interface for the model’s next turn, and the adapter behind that interface is injected when the run starts. Swapping Claude Code for Vibe is one new adapter, and nothing above it changes.

THE RUN LOOPPORT · AN INTERFACEADAPTERS · ONE FLAG PICKS ONEthe coding agenta session asks forits next turnport · the sessionquery(prompt) → a turnno vendor named hereAnthropic SDK · Opus 5.5 and Sonnet 5.5Mistral Vibe · Large 4replay for integration and E2E testsplays a recorded run of either model, no model call, $0single model callsgrouping duplicates, rankingsuspected bugs, the diagnosisport · one answerask(request) → answerno vendor named hereClaude API · Sonnet 5.5Mistral API · Large 4replay for integration and E2E tests · recorded answers played backproductionadded for Mistraltests
Figure 2. Ports and adapters on the two interfaces the Mistral adapters plug into: the coding agent’s turns and the single model calls. Above them nothing knows which model ran.

The Heal benchmark setup

The harness is not the moat; the benchmark it is tuned on is. At Heal we build that benchmark so the harness can be tuned to each model provider, and keep getting better at finding bugs: new bug types, new bug heuristics, each one measured before it is promoted.

1 · CHANGEHeal variant systemA variant overrides somefiles of the productionagentTHE METHOD · THE GUIDELINESwhat a session reads to do its task: how afeature is walked, the proof a defect mustpass, how a test is writtenMistral: 14 of the 36 task guides rewritten,the proof a defect must pass among themTHE ARCHITECTURE · THE MACHINE AROUND ITthe configuration the code reads and theframes every session starts with: which modelruns which task, the turn caps, the switchesMistral: every model pinned to Large 4, fourframes rewritten in the words Vibe understands2 · RUNHeal benchmark dataevery run of the Healagent, October toNovember 2026150+repositories600+runs1,500+hours of runs900k+data points18k+defects reportedprivate repositories of our SaaS customers and open-source repositories3 · MEASUREHeal grading systemvariant against base,on the same runs1 · BUILT TO BE BENCHMARKEDthe Heal harness measures and logsevery piece of data the benchmarkneeds; the Heal SaaS was built to bewired to the benchmark; local toolsand scripts run it in an agenticworkflow2 · A FIXED ANSWER KEYthe defects owners ruled on, 400+,300+ fixed with a commit, or hand-picked graded defects3 · THE REMOTE MODEeach run on an EC2 instance of itsown, reporting to the Heal backendas it goes, its archive to S3 atthe end4 · OUTCOMEpromote, drop or addwhat becomes of a variantPROMOTEa winner becomes the base:its flags the defaults, itsguidelines the base’s; itsname retiredDROPa loser is dropped; its runsand its readings stay onthe recordADDkept beside the base under itsname: Mistral, measured, is added — theadapters, the configuration, theguideline rewrite — base unchanged
Figure 3. The loop a harness change goes through. The Mistral work of this experiment is one such variant, added beside the base.

40+ variants so far, each one run on the benchmark and measured against the base.

Fine-tuning Heal for Mistral

The Mistral variant was built in three iterations on the race-plan editor, each read on two runs or more against Claude’s list of 18 defects, and optimized for one thing: catching up with Anthropic on the defects found, not on cost or time.

iterationwhat changedof Claude's 18found by Claude onlyfound by Mistral onlyrejected
beforewiring Vibe and Mistral’s direct calls11%16158%
1the configuration tuning: reasoning level, temperature, Large 4 everywhere, the tools in the prompt50%9432%
2the test and proof rules: a test checks the effect of each action, and a bug is what the test observes, not what the model assumes44%106*24%
3force Mistral to test concurrency through the screen rather than the API; one rule narrowing what counts as a bug61%7122%

* Mostly bugs found by acting at the API or on timing rather than by provoking a failure and watching the screen, four of the six high in severity, but not what the Heal guidelines ask for.

Three iterations were enough to show we can catch up. The scorecard reads the first one, the configuration tuning, on both features.

Heal with ClaudeMistral, before the tuningMistral, tunedverdict
real bugs found, two features331134level
same bugs as Heal with Claude338 · 24%18 · 55%catching up
tests the Heal judge rejected8% · 1 in 1252% · 1 in 226% · 1 in 4catching up
$ per real bug$5.0$2.4$3.0ahead
minutes per run5059148behind

Heal judge: Claude Opus 5.5, reading each reported test and flagging the ones that are not a bug but a product preference or a misread of the feature; the findings its two readings disputed were ruled by Sisyf’s product owner, the author of this page.

The 32 runs per model behind both experiments (4 runs × 4 setups × 2 features, the Heal agent’s Mistral runs in their tuned configuration) cost Anthropic $269 and Mistral $129.

Yes, it catches up: Heal with Mistral finds as many bugs as Heal with Claude, cheaper per bug. It still has more tests the Heal judge rejects, and is slower.

Data

The full data behind this pageevery run, every bug, every number
Next · part 2 of 2 · coming soonThe integration of OpenCode with GLM to catch up with Anthropic.

More from the blog