Measurements: what the model can be trusted with
Every delegated task wisp offers is measured against a small eval set on a real model, and the result ships with the tool catalogue so a calling harness knows which delegations are reliable before it spends a call (ADR 0026). A measurement is one eval run on one Mac on one day; it is evidence, not a certification.
Where to see them
wisp tools --markdownand the MCP resourcewisp://tools.md: aMeasured:line under each tool that has one, with the task,passed/total, the model, the date, and what a pass was.wisp tools --jsonandwisp://tools: the same asmeasurementson each tool.wisp://measurements: every measurement, including tasks that are not one model tool (triage, the risk classifier, schema-shaped replies).
What is measured
| Task | Eval | A pass is |
|---|---|---|
classifier.system-model | ClassifierEvalTests, the labelled commands of training/risk/dev.tsv (392 on 2026-10-04) (RiskEvalSet), a dev set: choices have been made on it | the command rated at exactly its level by the on-device model alone; separately, no dangerous command below moderate is a hard requirement. Recorded with p50 and p95 latency per verdict |
classifier.system-model+rules | the same set | the default classifier as the gate runs it, the rules beside the model, the higher level winning. Both are measured on another model in the on-device model’s place with WISP_EVAL_MODELS (below) |
classifier.trained, classifier.trained+rules | the same set | a classifier trained on device from the bundled examples, which never include an eval case, alone and beside the rules (ADR 0038). On 2026-09-26, over 123: 103 and 100 at 0.04 and 0.06 ms, against the model’s 110 and 108 at 1.3 to 2.3 s, and only the pairs with the rules held the hard requirement |
triage | TriageEvalTests, abridged swift build, swift test, cargo test, and pytest output | an expected failure found, by test name or file:line |
summarise_diff | DiffSummaryEvalTests, five small diffs | the expected flag (secret, deleted or disabled test) on the expected file, or no flag for an ordinary change, from the rules and the model together; every file must also get a summary line. The model alone scored 2 of 5 on 2026-09-21, which is why the rules exist |
redact.thorough | RedactionEvalTests, a ticket, a service log, a meeting note, build output, a stack trace | every expected value (names, an account number, a user id, an address, a private hostname) replaced by the rules and the model together, and every phrase that must survive unchanged; the judge runs under wisp’s own system prompt, as callers’ passes do |
draft_change.commit | DraftEvalTests, three size bands of drafts.json (below): 30 small diffs written for the eval (up to 2 KB), and real commits of this repository, 8 medium (4 to 16 KB) and 6 large (24 to 56 KB), each drafted once | a commit subject that names the gist of the change and says nothing it does not do, by the case’s rubric: one of its must terms and none of its mustNot terms, each beginning a word (terms chosen so a vague subject fails); each band is recorded with its maxInputBytes for routing (ADR 0037). On 2026-09-24, with five small diffs twice each and two of each larger band, the system model scored 7/10, 2/2, 1/2 and qwen3.8:27b 10/10, 2/2, 2/2 |
system_info.topic | SystemInfoEvalTests, the 54 questions of system_info.json, every topic in several phrasings, five of them ambiguous, each asked once, with run_command and memory also offered | a system_info call in the turn matching a call the question accepts: its topic, and its port, process, or folder where the question names one; an ambiguous question accepts each topic a careful operator would, and says why. With the first eight questions twice each, three runs on 2026-09-24, with the process name required, scored 15, 16, and 16 of 16 |
chat.unclear | ChatEvalTests, seven conversations whose last message asks for nothing (test, hello, hmm, ok, and the same after test) and one clear question, three times each, with every built-in tool offered and wisp’s own prompt | a short reply with no tool call, no “output”, and not the message said back; the clear question must still call current_date. The prompt’s sentence about such messages took it from 7/24 to 24/24 on 2026-09-26, with system_info.topic at 16, 16, and 14 of 16 against 15, 14, and 14 without it |
context.dropping, context.dropping.window-8192, context.dropping.window-32768, context.dropping.window-sized | ContextEvalTests, the layered-context proposal’s eval: one scripted conversation of 14 turns (a task and four facts planted, 13 file reads including a ten-file digression, one fact changed midway) then six questions, through today’s dropping; on the on-device model, and on ollama:granite4.1:8b at a configured 8,192-token window, at 32,768 (nothing dropped, the ceiling), and at the window wisp sizes for it | a reply containing the expected phrase (the codename, the ticket number, the reviewer’s preference, the CI state’s current value, the first file read, the task). A baseline: the floor is only that every question was asked and scored. The notes carry the run’s condensations, median tokens after a turn, and load average; p50Milliseconds and p95Milliseconds are time per turn |
context.dropping.recalling[…], context.memory-target.recalling[…], context.memory.recalling[…].budget-50, context.summary-target.recalling[…].budget-50, context.assessing[-task|-all]-target.recalling[…].budget-50.all-tools | ContextEvalTests, the layered-context design’s checkpoint (ADR 0045): the recalling scenario (15 turns, then seven questions) at a window of 8,192, through dropping, the whole design (memory-target), phase 2’s fixed four turns (memory), the design without memory (summary-target), and the assessment per request in its three tool sets; […] is .window-8192 for granite, .budget-50 for half the window, and .all-tools for every built-in tool offered | a reply containing the expected phrase, as above, plus a detail of the first file read that no fact or summary carries. The notes carry the condensations, the fill after condensing and the turns between condensations, the distillations’ times, the memory calls, the median tokens, and the load average |
context.<strategy>.checkpoint.<cell> | ContextCheckpointTests, context checkpoint 2 (below): the sustained scenario (29 turns, then ten questions) and the recalling one, through the cells of each part; recorded only with record | as the context eval’s, above; the notes add the model switches |
edit_file.replace | ToolEvalTests, the 86 replace cases of edit_file.json, each once: files in 35 languages and formats, from 2 lines to 81, one line named by its text, two neighbouring lines, a line emptied or a fragment cut, an empty line filled, near-duplicate lines, non-ASCII text, CRLF files edited by line number and by find, and stale line numbers reconciled by find | the file ends up exactly as the case’s after; every case is checked in the gate to be solved by exactly the calls its prompt asks for |
edit_file.whitespace | ToolEvalTests, the 24 whitespace cases of edit_file.json, each once: indent a line, dedent one, tabs to spaces and back, trailing spaces or a tab stripped | as edit_file.replace; measured apart, since these are the edits where keeping a line’s indentation must not apply |
respond.schema | ToolEvalTests, six code snippets | the schema-shaped reply parses and names the language |
verification.readers, verification.model, verification.model+readers | VerificationEvalTests, the 17 turns of the three granite4.1:8b runs of 2026-10-04 (Fixtures/verification.json: 9 replies that fabricate results, 8 honest ones, read from the operator’s audit log with paths redacted and outputs bounded) and 14 hand-written cases, a fabricated and an honest reply for each reader’s form | a reply judged fabricated or honest as labelled, by the exact readers alone (deterministic, the same on every run), by the model step alone, and by the pair as verification.mode: model runs it; the notes say, for each, how many fabricated turns it flagged and which honest replies. Floors on the configured model, on what ships by default: the readers flag no honest reply (the hard requirement) and at least half the fabricated turns of 2026-10-04; the pair’s figures become the floors only while verification.mode defaults to model (ADR 0060, “Measured, 2026-10-12”). On system on 2026-10-12 (below): the readers 30/31, the model alone 19/31, the pair 25/31 with 6 of 14 honest replies flagged |
Classifier measurements also carry p50Milliseconds and p95Milliseconds, the latency per verdict,
since a classifier runs on every command and speed is half of what makes one fit
(ADR 0038); wisp classifier measure reports the same
for any classifier over any labelled file.
Most sets are small on purpose: they prove the pipeline and catch regressions. edit_file, system_info, and
draft_change were widened in 0.23.0, because their floors stopped or passed a release on chance (below);
widen a set when the model gets a case wrong in practice, keeping cases that do not resemble the prompt’s own examples.
How to run and record
scripts/check eval record
runs the evaluations (the ModelEvalTests target of the harness/Evals package) on the configured model with WISP_EVAL_RECORD pointing at
harness/Sources/WispCore/Resources/measurements.json; each test merges its Measurement into
that file, replacing the previous one for the same task, model, and input size. The suites run one after another
since 0.26.4, but tests within a suite and other processes can still merge at once, so the merge holds a lock for the process and an advisory flock on the file’s directory for other processes, and replaces
the file atomically: every suite’s measurement lands, which a plain eval record could not promise before 0.21.1
(two merges could interleave and one be lost). A file that exists but does not decode is refused and left as it is,
with a not recorded line in the output, rather than replaced by the one new measurement.
Every run ends with its summary table and then exits non-zero when swift test failed: a floor missed, a strict
case that threw, a build that failed. Before 0.21.1 the run’s status was grep’s, which matches the failure lines,
so a failing eval, and the release’s floors with it, passed. compare goes on past a model whose run fails and
names the failed models after its summary, without failing.
A case that fails because Apple’s model service refused it never reached the model, so it is counted apart, not as a
failure of the model (EvalModels.serviceFaults, ModelServiceFault): its line says ERROR rather than FAIL, the
summary table’s note counts the faults, and on a model that met one no floor is asserted. On the configured model
the run then fails as not measured, naming the fault and the fix. The service is the Mac’s, so one fault puts every
suite measured after it on that model in doubt. On 2026-10-13 modelmanagerd, 26 days up, ran out of open files part
of the way through a run: system_info scored 17 of 54 with 34 cases refused, then 0 of 54, and both looked like
scores. Restarting the service (sudo killall modelmanagerd) cleared it, and wisp doctor now asks the model for a
reply, which catches the fault.
The evaluations are a Swift package of their own, harness/Evals, which depends on the harness package by
path; the gate and the coverage runs never build it. Its tests @testable import WispCore, which works
because SwiftPM builds a path dependency in debug with testing enabled (verified on 2026-09-30 with
swift build --build-tests --package-path harness/Evals). The scripted model and the context evaluation’s
fixtures are shared through the harness’s WispTestSupport library product. Building it without running a
model: swift build --build-tests --package-path harness/Evals; listing the tests: swift test --package-path harness/Evals list.
A task that routes by input size (ADR 0037) records one
measurement per size band, each with maxInputBytes, the largest input among its cases: the result is
evidence for inputs up to that size and no further. WISP_EVAL_MODELS (comma-separated model spellings,
such as system,ollama:qwen3.8:27b) measures each named model in turn in the suites that decide delegation
(below), so a ladder’s rungs all have numbers; without it the eval measures the configured model only. A plain scripts/check eval, which
is what a release runs, covers every suite but the context eval (scripts/check eval context runs that
one, on purpose, for a design decision), asserts the floors, and records nothing: the sets are small, a rerun re-rolls
the numbers (on 2026-09-22 two consecutive runs gave 5 and 6 of 6 for the same task), and the file
should change only when someone means it to. The file is embedded at build time
by the EmbedSystemPrompt plugin, so the numbers a binary reports are the numbers committed with it.
Commit the file with the change that moved the numbers, and say so in the message. The release
preflight runs the eval, so a release never ships with stale numbers.
The eval asserts only floors (half or three quarters recall, the classifier’s hard requirement, and for edit_file,
system_info, and draft_change floors set from each suite’s history, below); everything else is
reported and recorded. Run WISP_MODEL_TESTS=1 swift test --filter ToolEvalTests
in harness/Evals for one suite.
Every run ends with a summary table, a row per model and a column per suite, each cell the cases passed of
those run and the median time per case (per verdict for the classifier, per turn for the context scenario).
scripts/check eval prints it and saves it beside the run’s whole output under harness/Evals/.build/evals
(eval-<date>-<time>.log and .summary.txt). A cell with * has a note under the table (an unavailable
model, a classifier’s fallbacks, a dangerous command rated safe); n/a is a suite the model could not run;
- is a suite with no result, one that did not finish.
The case sets
edit_file, system_info, and draft_change have case sets large enough that a floor stops a release on a real
regression rather than on chance (0.23.0). Before, ten files three times, eight questions twice, and five small diffs
twice re-rolled from run to run (edit_file 16 to 25 of 30 over six runs), and a floor of half let a release pass or
stop on luck. The sets are data files under harness/Evals/Tests/ModelEvalTests/Fixtures, read through
EvalSets in WispTestSupport:
| File | Cases | What they are |
|---|---|---|
edit_file.json | 86 replace, 24 whitespace | A file, the edit_file calls a right answer makes, and the file as it must end up. replace: single lines in 35 languages and formats (28, the first ten files among them, word for word), medium files of 25 to 53 lines (10) and large ones of 50 to 81 lines, up to 2 KB (7), near-duplicate lines (8), two neighbouring lines in two calls (6), a line emptied or a fragment cut by find (6), an empty line filled (4), non-ASCII text (7), CRLF files edited by line number (2) and by find (2), and a stale line number the model passes with find, without reading the file (6). whitespace (the first four among them): indent (7), dedent (5), tabs to spaces (4) and back (2), trailing spaces or a tab (6) |
system_info.json | 54 | The first eight questions kept, then each of the nine topics in several phrasings (5 to 8 a topic); five ambiguous questions accept each topic a careful operator would (a slow Mac: processes or memory; installed RAM: memory or system; what eats the disk: freeSpace or folderSizes; postgres’s ports: process or ports; whether Ollama is up: process or ports on 11434), each with a note saying why. Folder questions also require the folder named |
drafts.json and its diffs | 30 small, 8 medium, 6 large | Small: the first five diffs kept (their hunk headers corrected), then 25 written for the eval across Swift, Python, Go, Rust, JavaScript, TypeScript, Java, SQL, shell, CSS, HTML, YAML, TOML, JSON, Dockerfile, Makefile, and Markdown (a rename, a removal, a dependency bump, a test, a nil guard, a migration, a CI cache, a flag turned on, …). Medium and large: real commits of this repository, git show --format= of each, the first four kept. Each diff has its gist in a sentence and its rubric |
Claude wrote the new cases and labelled them on 2026-10-12, as the operator agreed for training and eval sets; none
holds a real secret or personal data. The gate checks every set without a model (EvalSetsTests): each loads, its
ids are unique, its counts match the counts it declares and the sizes above, every edit_file case is solved by
exactly the calls its prompt asks for (applied with the real FileWriter, a named line being that line and the only
one with its text, a stale number being wrong and find on exactly one other line), every whitespace case changes
only one line’s whitespace, every file fits one read_file page at the smallest budget, every system_info topic and
target is one the tool takes, every diff’s hunks match their headers and its size its band, no rubric term is
contradicted by another, and the secret scanner finds nothing.
The draft rubric is explicit and checked in code, not by a model: a subject passes when one of the case’s must
terms and none of its mustNot terms begins a word of it, ignoring case (fix is found in “Fix paging” and
“hot-fix”, not in “prefix”). must names the gist, so a vague subject (“Update the uploader”) fails; mustNot names
what would misdescribe the change, such as “reduce” for a timeout that went up or “drop” for an index added.
The floors
A floor is set from statistics: with n cases each passed at the configured model’s historical rate p, it is the
largest k for which a run at that rate scores below k with a chance of at most 1% (the binomial distribution’s
lower tail, EvalFloor.minimum), so a release stops on chance alone at most one time in a hundred. p is the
configured model’s pooled score over the six eval runs saved from 2026-10-04 to 2026-10-12 and the full-set run of
2026-10-12 (the summaries under harness/Evals/.build/evals; the full run is the last figure of each row):
| Suite | Runs | p | Whole set: n, floor, chance of stopping | Release’s subset: n, floor, chance of stopping |
|---|---|---|---|---|
edit_file (replace) | 16, 19, 25, 18, 16, 21 of 30, then 61 of 86: 176/266 | 0.662 | 86, 47, 1.0% | 36, 17, 0.60% |
edit_file.whitespace | 11, 10, 12, 11, 12 of 12, then 20 of 24: 76/84 | 0.905 | 24, 18, 0.57% | 8, 5, 0.42% |
system_info | 43, 36, 39 of 54, and 17, 19, 16, 15 of 24, the new set only (below): 185/258 | 0.717 | 54, 31, 0.82% | 24, 12, 0.68% |
draft (small) | 9, 10, 8, 6, 7, 8 of 10, then 21 of 30: 69/90 | 0.767 | 30, 17, 0.43% | 12, 6, 0.96% |
draft.medium | 1, 1, 2, 1, 1, 1 of 2, then 4 of 8: 11/20 | 0.550 | 8, 1, 0.17% | 4, 0, none |
draft.large | 1 of 2 each time, then 3 of 6: 9/18 | 0.500 | 6, 0, none | 2, 0, none |
For example, edit_file on the whole set: at p = 0.662 a run of 86 scores 46 or fewer with a chance of 0.998% and
47 or fewer with more than 1%, so the floor is 47. The old floor of half of 30 stopped a run at that rate with a chance
of 2.2% (more in practice, since three attempts at one file are not independent). A floor of 0 asserts nothing: the
medium and large bands hold too few diffs at too low a rate for any floor to be safe, and stay evidence for routing.
system_info‘s p was re-set on 2026-10-13 from the runs on its 54-case set alone. The 16-case set it replaced was
easier (84 of 96 over six runs), and pooling those runs in gave 0.847 (127/150), well above the 0.72 every run on the
new set scored; 0.24.1’s release eval stopped at 15 of 24 against that floor of 16 with no case erroring
(below). The subset’s runs repeat cases of the full set, so the pool slightly
overstates its independence. The other suites’ rates still pool their old and new sets.
What a floor buys is shown by a fall of 20 points in the true rate: the whole sets would stop it with a chance of 93%
(edit_file), 59% (whitespace), 85% (system_info), and 42% (small drafts); the release’s subsets 49%, 19%, 49%, and
22%. The rates and floors are in EvalFloor.Historical, and a gate test holds every figure in this table to the code.
The new cases first ran on a model on 2026-10-12 (the whole sets, recorded); that run is pooled in, and the floors
moved with it (edit_file 44 to 47 of 86 and 16 to 17 of 36, whitespace 19 to 18, system_info 41 to 39 and 17 to
16, small drafts 19 to 17). A later whole run pools in the same way: EvalFloor.Historical and this table move with it.
Run time, and the release’s subsets
At the configured model’s median times per case in the 2026-10-12 run (edit_file 32.4 s, whitespace 44.8 s,
system_info 32.2 s, drafts 23.7 s small, 56.6 s medium, 156.7 s large), the three suites, one after another, would take:
| Suite | 0.22.0’s cases | Minutes | Whole set | Minutes | Release’s subset | Minutes |
|---|---|---|---|---|---|---|
edit_file | 30 | 16.2 | 86 | 46.4 | 36 | 19.4 |
edit_file.whitespace | 12 | 9.0 | 24 | 17.9 | 8 | 6.0 |
system_info | 16 | 8.6 | 54 | 29.0 | 24 | 12.9 |
draft | 10 | 4.0 | 30 | 11.9 | 12 | 4.7 |
draft.medium | 2 | 1.9 | 8 | 7.5 | 4 | 3.8 |
draft.large | 2 | 5.2 | 6 | 15.7 | 2 | 5.2 |
| Total | 72 | 44.9 | 208 | 128.4 | 86 | 52.0 |
The whole sets would add about 84 minutes to the release’s eval if the suites ran one after another, so the release runs a subset: a fixed number of each
set (release in each file), chosen by EvalSample with a fixed seed and spread over the edit shapes and the
system_info topics, so every release runs the same cases, about 7 minutes more than 0.22.0’s (distinct cases once
each where it ran ten files three times). WISP_EVAL_FULL=1 runs the whole sets, with each floor computed for the cases
run:
WISP_EVAL_FULL=1 scripts/check eval record
scripts/check eval without it, which the release preflight runs, and scripts/check eval compare run the subsets.
Run the whole sets to record measurements, after a change to edit_file, system_info, draft_change, or the
system prompt, and when a subset’s result is close to its floor.
The 128-minute figure assumed the suites ran one after another. Until 0.26.4 they ran in parallel, and the first full
run, WISP_EVAL_FULL=1 scripts/check eval record on the on-device model on 2026-10-12 (11:02 to 11:43, at commit
7c93dcc), took 41 minutes for everything, the classifier and chat suites included. Since 0.26.4 scripts/check eval
runs them one after another (--no-parallel): the on-device model answers one request at a time, so the serial
release run took 29 minutes against about 28 in parallel, and parallel load had been lowering the scores
(below).
system_info on its floor, 2026-10-13
0.24.0’s release eval passed system_info at exactly its floor, 16 of 24, so the whole set was run on the on-device
model to tell chance from a decline, on the same code: 43 of 54 on 2026-10-12, then 36 and 39 of 54 on 2026-10-13
(the runs between those two met the service fault above and measured nothing). The whole set’s floor was then 39,
from a rate of 0.85, at which a run of 54 averages about 46 with a spread of about 2.6, so 36 looked well outside
chance. Nothing the eval exercises changed in the code between them (the system prompt and the tool are as they were
at 0.23.0). 0.24.1’s release eval then scored 15 of 24 against the subset’s floor of 16, with no case erroring.
Lined up, every run on the 54-case set, full or subset, scored about 0.72 (185/258), and only the runs of the old
16-case set scored higher: the rate was set too high by pooling the two sets, not lowered by a change in the model.
The rate was re-set from the new set alone (The floors): floors of 31 of 54 and 12 of 24. No
measurement was recorded from these runs.
system_info under parallel load, 2026-10-16
0.26.3’s release eval passed system_info at its floor again, 12 of 24. The release runs since the floors were re-set
had fallen run by run: 20, 20, 18, 14, 13, and 12 of 24 (13 to 16 October), and from 15 October between 2 and 6 cases
of a run called memory, where the earlier runs had none. Four runs
on the same Mac, each by itself, told load from a change in the code or the model:
| Run | system_info | Cases calling memory |
|---|---|---|
| The whole set, 54 cases, at 0.26.3’s code | 38/54 | 0 |
| The whole set, 54 cases, at 0.24.2 | 38/54 | 0 |
The release’s subset, system_info alone, three times | 17, 18, 18 of 24 | 0 |
| The release’s eval, every suite one after another | 17/24 | 0 |
The two versions scored the same, so the code did not cause it, and every run made alone scored at the rate, about
17 of 24 (0.72). In the serial run the other suites scored at their rates too: edit_file 25 of 36 (22 in the
parallel run of the same day), whitespace 7 of 8 (5), small drafts 11 of 12 (10). The serial run took 29 minutes,
about what the parallel one took, since the on-device model answers one request at a time; the suites’ requests were
queued on it, and under that load it scored lower. scripts/check eval runs the suites one after another from
0.26.4. Its one failure was summarise_diff’s exact case, five of six files summarised, which had passed in every
earlier logged run. No measurement was recorded from these runs.
The full run of 2026-10-12
On the on-device system model: edit_file.replace 61/86, edit_file.whitespace 20/24, system_info.topic 43/54,
draft_change.commit 21/30 small, 4/8 medium, and 3/6 large; also triage 7/7, summarise_diff 5/5,
respond.schema 6/6, redact.thorough 5/5, chat.unclear 24/24; and on the 392 labelled commands the default
classifier with the rules on Core ML 357/392, the system model with the rules 318/392 (p50 5.3 s), and the system
model alone 283/392 (2 dangerous commands rated safe). All are in measurements.json; the six edit_file,
system_info, and draft figures are pooled into the floors above.
The verification suite ran afterwards on the same model at a874e36, not recorded, over 31 replies (17 turns of
2026-10-04, 9 of them fabricated; 14 hand-written, 7 fabricated):
| Task | Right | Fabricated turns of 2026-10-04 flagged | Honest replies flagged | Time per verdict |
|---|---|---|---|---|
verification.readers | 30/31 | 8 of 9 | 0 of 14 | none (no model) |
verification.model | 19/31 | not counted alone; it caught ce87576a-9, the one the readers miss | 6 of 14: eefc5b0e-1, -4; ce87576a-2, -6, -7; hand-outcome-honest | p50 1.9 s, p95 4.1 s |
verification.model+readers | 25/31 | 9 of 9 | 6 of 14 | as the model’s |
Two of the model’s answers failed on the verdict’s then-required claim (now optional). The pair missed the floor
it then had, which is why the floors moved to the readers, the default, and the model step stays off.
Comparing models
WISP_EVAL_MODELS=ollama:granite4.1:8b,ollama:llama3.2:3b scripts/check eval compare
runs the suites that decide delegation on each named model: tool calls (edit_file.replace) and schema
replies (respond.schema) in ToolEvalTests, system_info.topic, triage, summarise_diff,
draft_change.commit in its three bands, the classifier’s model fallback (classifier.system-model, the model
alone, and classifier.system-model+rules, beside the rules as the gate runs it, with the named model in the
on-device model’s place), and one context scenario. Add record to merge the measurements into
measurements.json.
-
One model at a time.
comparerunsswift testonce per model, in the order named, with that model alone inWISP_EVAL_MODELSand its suites one after another (--no-parallel), so Ollama holds one model, evicts it once when the next starts, and a case’s time is that model’s alone. SettingWISP_EVAL_MODELSon a plainscripts/check evalalso measures every named model, but each suite loops over the models, so a local runtime switches between them and loads each model once a suite: use it for two or three quick models,comparefor a comparison. -
The context scenario (
ContextEvalTests/comparisonOnEachModel, which runs only whenWISP_EVAL_MODELSis set): the baseline, the shortest scenario (14 turns, then six questions), through the whole stack (memory, on here though off by default since ADR 0057, facts, the summary, references, condensing to the target), at a window of 8,192 tokens, the on-device model’s, so every model condenses the same conversation; recorded ascontext.memory-target.window-8192. -
Floors are the release’s: they apply to the configured model only,
ModelSelection.default(system), which is what a release’s eval has always measured, whatevermodelinconfig.jsonsays. A compared model below a floor, or rating a dangerous command safe, is reported in its cell and fails nothing. -
Failures stay in their cell. A model that is missing or that the runtime refuses fails its suites with the reason as the cell’s note. A case that throws (a model without tool calling, a reply that does not parse) or that runs past five minutes (
EvalModels.caseLimit, each classifier verdict too) counts as failed, and the run goes on (on the configured model an error in a suite that always failed on one still fails it); a context turn is bounded byollama.timeoutSecondsand the scenario by an hour. A model resolves with~/.wisp/config.json(its runtime’s address and timeout), which the eval only reads; the context scenario uses the defaults apart from its window. Since 0.21.1RedactionEvalTestsandChatEvalTestsgo throughEvalModelstoo: each case is bounded by the case limit, one that throws is a failed case rather than the end of the suite, each named model is measured, and each prints theeval resultline the summary table reads (redaction,chat); they are not amongcompare’s suites. -
MLX models. When
WISP_EVAL_MODELSnames anmlx:model, the eval package is built with its ownMLXtrait, which turns on the harness’s, in a scratch path of its own (harness/Evals/.build/mlx), MLX’s Metal library is copied beside each test bundle’s binary asscripts/check mlx-livecopies it (and removed before the build and when the run ends), and the eval tests register the MLX backend as wisp’smaindoes; a model then resolves from the MLX models directory with the capabilities~/.wisp/config.jsondeclares for it, so enable it (wisp models enable mlx:<name>) first, and an undeclared one fails its tool suites. The context scenario also holds an MLX model’s window at 8,192 tokens and keeps the operator’s MLX declarations. This needs the Metal toolchain, and the first build compiles MLX (minutes); a run naming nomlx:model builds and runs exactly as before. Proved on 2026-10-05 withmlx:Qwen3-1.7B-4bitalone onsystem_info(a copy of the script limited to that suite): 14/16, 1.2 s a case, the two missestopic: processwithprocess: "all"for the busiest-CPU question. The Falcon comparison:WISP_EVAL_MODELS=mlx:Falcon-H1R-7B-4bit,mlx:Falcon-H1-7B-Instruct-4bit scripts/check eval compare
The local-model comparison, 2026-10-04
Seven Ollama models, scripts/check eval compare (not recorded into measurements.json), on this Mac with
about 10 to 19 GB free, so every gemma4 and qwen window sat at the 8,192 floor. qwen3.8:27b was sampled on
system_info and edit_file only, at 40 to 70 s a request; its draft scores are from 2026-09-24. Triage,
summarise_diff, schema replies (5/6 or 6/6), and the context scenario (6/6, llama3.2:3b 5/6) did not tell
the models apart and are left out.
| Model | Size | edit_file | system_info | Drafts, small / medium / large | Classifier with rules | Request time |
|---|---|---|---|---|---|---|
qwen3.8:27b | 17.7 GB | 30/30 | 16/16 | 10/10, 2/2, 2/2 | not run | 38 to 69 s |
gemma4:12b | 8.0 GB | 30/30 | 16/16 | 10/10, 2/2, 0/2 | 361/392 (92%), p50 16 s | 12 to 18 s |
gemma4:26b | 18.7 GB | 26/30 | 16/16 | 8/10, 2/2, 1/2 | 362/392 (92%), p50 8.9 s | about 9 s |
granite4.1:8b | 5.4 GB | 28/30 | 14/16 | 9/10, 1/2, 1/2 | 330/392 (84%), p50 2.1 s | about 2 s |
ministral-3:8b | 6.0 GB | 27/30 | 14/16 | 2/10, 2/2, 2/2 | 304/392 (78%), p50 2.6 s | about 2.6 s |
ministral-3:14b | 9.1 GB | 0/30 | 2/16 | 8/10, 2/2, 2/2 | 327/392 (83%), p50 3.8 s | about 3.8 s |
llama3.2:3b | 2.0 GB | 4/30 | 9/16 | 3/10, 1/2, 0/2 | 259/392 (66%), p50 0.4 s | under 1 s |
Decided with the operator the same day: granite4.1:8b stays the delegation default; gemma4:12b takes
complex work, with qwen3.8:27b for large diffs (AGENTS.md); llama3.2:3b and ministral-3:14b are not for
tool work. ministral-3:14b is a parsing gap rather than the model: it writes read_file[ARGS]{…}, Mistral’s
own call format, which its Ollama template leaves as text. Its 0/30 and 2/16 predate the fix of 2026-10-06, which
reads those calls from the reply’s text (backends.md, “Ollama”); it has not been measured since. The gemma4 models’ 92% as a classifier, at seconds a
verdict, makes them candidates for labelling training sets rather than for the gate. qwen3.8:27b ran 4 to 6
times slower than in September, likely because less memory was free.
granite4.1 against granite4.2, with and without thinking, 2026-10-09 and 2026-10-10
granite4.2:8b (IBM, September 2026; 8.8B, Q4_K_M, 5.35 GB, the same size as 4.1) against granite4.1:8b, with
scripts/check eval compare on 2026-10-09 (17:02 to 23:17, the delegation suites and the model classifier). 4.2 can
think and does by default; 4.1 cannot. On 2026-10-10 4.2 ran the delegation suites again, without the classifier, with
ollama.think false in a scratch WISP_HOME (15:57 to 16:09). Cases passed, median time per case:
| Suite | granite4.1:8b | granite4.2:8b, thinking | granite4.2:8b, not thinking |
|---|---|---|---|
edit_file line replace | 30/30, 9.0 s | 30/30, 34.7 s | 30/30, 9.4 s |
edit_file whitespace | 12/12, 9.4 s | 12/12, 36.4 s | 12/12, 8.3 s |
system_info | 16/16, 3.3 s | 16/16, 16.2 s | 14/16, 5.0 s |
| schema replies | 5/6, 0.3 s | 5/6, 5.3 s | 5/6, 0.7 s |
| triage | 7/7 | 7/7 | 7/7 |
summarise_diff | 5/5, 3.1 s | 5/5, 13.3 s | 5/5, 1.9 s |
| drafts, small | 8/10, 4.3 s | 9/10, 61.1 s | 10/10, 3.3 s |
| drafts, medium | 1/2, 27.1 s | 2/2, 248.2 s | 2/2, 21.5 s |
| drafts, large | 2/2, 61.8 s | 0/2, 304.9 s | 2/2, 43.8 s |
| context scenario (8,192 window) | 6/6, 7.4 s | 6/6, 16.2 s | not run |
| classifier with rules | 339/392, 3.0 s | 357/392, 14.4 s | not run |
| classifier, model alone | 334/392, 3.4 s | 341/392, 16.7 s, 2 dangerous rated safe | not run |
Thinking made 4.2 4 to 15 times slower and bought nothing in the delegation suites: not thinking, it matched 4.1 on the
tools at the same speed (a median of 3.2 s a request, p90 9.0 s, over 300 requests) and was the only run with every
draft right, at the cost of two system_info cases. Its classifier was the most accurate of the three with the rules
(91%), at 14 s a verdict, too slow for approvals, which the Core ML classifier decides. granite4.1:8b stays the
delegation default for now: ollama.think applies to every Ollama model, and turning it off would take thinking from
gemma4:12b and qwen3.8:27b too. Choosing thinking per model or per call was planned for 0.22.0
and shipped in it: ollama.models.<name>.think, respond’s think,
and no thinking for wisp’s own calls (ADR 0053, amended 2026-10-11).
With that in place, on 2026-10-27 the operator made granite4.2:8b, not thinking, the delegation default, after
granite4.1:8b rewrote a git command’s quotes.
qwen3.8:27b re-measured, 2026-10-09
system_info and edit_file on ollama:qwen3.8:27b with every other Ollama model unloaded (22.3 GB free)
and the hybrid-layer sizing of ADR 0043’s 2026-10-05 refinement in place: 16/16 and 30/30, 144 requests at
a median of 13.7 s (p90 25.1 s), the two suites taking 11 and 22 minutes against 8 and 25 on 2026-10-05.
The 40 to 70 s a request recorded on 2026-10-04 came from the classifier suite, where qwen3.8 thinks
before each verdict, not from its tool work; there was no slowdown. Its window stays at the 8,192 floor
here: its 17.7 GB of weights take most of the memory budget, and it rises above the floor only with about
41 GB free (ollama.models.qwen3.8:27b.contextLength can hold it to a size).
The Falcon comparison, 2026-10-05
The two Falcon-H1 candidates through wisp’s own MLX executor (scripts/check eval compare, not recorded),
after wisp models enable checked them: Falcon-H1R-7B passed the tool check, Falcon-H1-7B-Instruct did not
(it names tools it was not offered), so it ran as text only. H1R took about 4 h 15 min, Instruct about 6 h 50 min,
most of it the classifier’s 784 verdicts.
| Model | edit_file | system_info | Schema | Drafts, small / medium / large | Classifier with rules | Context |
|---|---|---|---|---|---|---|
mlx:Falcon-H1R-7B-4bit | 22/30, 102 s a case | 14/16 | 4/6 | 6/10, 2/2, 0/2 | 287/392 (73%), p50 10.4 s | 6/6, 26.8 s a turn |
mlx:Falcon-H1-7B-Instruct-4bit | 0/30 | 0/16 | 5/6 | 1/10, 1/2, 0/2 | 341/392 (87%), p50 16.2 s, p95 300 s | 0/6 (tools off) |
Neither earns a place: H1R trails granite4.1:8b on every suite at 4 to 15 times the time, and Instruct calls
no tools, writes poor commit subjects, and stalls up to five minutes on some classifier verdicts. Both were
disabled on 2026-10-06 (models.disabled), with llama3.2:3b, ministral-3:14b, nomic-embed-text, and
deepseek-coder-v2; Falcon-H1-Tiny-Tool-Calling-90M is kept for the tool-choice experiment. The run showed
hybrid models working end to end through wisp’s MLX executor, tool calls included.
MLX against Ollama, the same weights, 2026-10-06
mlx:Qwen3-1.7B-4bit through wisp’s MLX executor against ollama:qwen3:1.7b (Q4_K_M), on the suites that showed a
gap, run with a copy of the script whose EVAL_COMPARE_SUITES named only edit_file, the schema replies, and the
drafts (not recorded). Before is the full comparison of the morning; after is the fix that leaves thinking to the
chat template and lets a schema reply think first (ADR 0052, refined
2026-10-06, which has the probes behind it).
| Run | edit_file | Drafts, small / medium / large | Schema |
|---|---|---|---|
| MLX, before (thinking off) | 2/30, 1.3 s a case | 4/10, 0/2, 0/2 | 4/6 |
| MLX, after (the template’s default: thinks) | 13/30, 14.3 s | 7/10 14.0 s, 1/2 30.4 s, 1/2 113.8 s | 5/6, 6.4 s |
| Ollama, morning (thinks by default) | 20/30, 12.0 s | 9/10, 1/2, 2/2 | 6/6 |
| Ollama, after-run (the same code) | 15/30, 12.6 s | 9/10 2.3 s, 1/2 11.6 s, 2/2 37.9 s | 5/6, 2.5 s |
Ollama, ollama.think: false | 19/30, 1.5 s | 8/10, 2/2, 2/2 | 5/6 |
| MLX on the bridge (thinking off unless declared) | 6/30, 2.2 s; 24 made no edit_file call | not run | not run |
Ollama’s two runs on the same code differ by five edit_file cases, so MLX after is within that spread; its drafts
are close on content and two to three times slower. Without thinking the MLX conversion of the 1.7B weights fails
the tool loop where Ollama’s quantisation does not, on the very same prompt; the 4B model does not have that
weakness on MLX.
edit_file’s line rules, 2026-10-06
The two line-edit rules of ADR 0024 (refined 2026-10-06: a line that lost its
indentation keeps it, and a stale number with find moves to the one line holding it) and the edited line shown in
the result, measured before and after with a copy of the script whose EVAL_COMPARE_SUITES named only the two
edit_file measurements (not recorded). Before is the code without the rules; llama3.2:3b ran with a scratch
WISP_HOME whose config did not disable it; granite4.1:8b was run after only, to check a strong model is not
harmed (28/30 on edit_file.replace on 2026-10-04).
| Model | edit_file.replace before | after | edit_file.whitespace before | after |
|---|---|---|---|---|
ollama:qwen3:1.7b | 16/30, 7.3 s a case | 19/30, 11.9 s | 9/12 | 11/12 |
mlx:Qwen3-1.7B-4bit | 11/30, 15.1 s | 27/30, 13.4 s | 9/12 | 11/12 |
ollama:llama3.2:3b | 3/30 | 1/30 | 5/12 | 3/12 |
ollama:granite4.1:8b | not run | 27/30, 8.9 s | not run | 11/12 |
What failed, from each failing case’s last call (edit_file.replace, then edit_file.whitespace):
| Model | Before | After |
|---|---|---|
ollama:qwen3:1.7b | indentation dropped 7 / 1; wrong line, off by one 1 / 1, further 6 / 0; the turn ended in an error 0 / 1 | wrong line, off by one 3, further 7, all without find; an error 1 / a find-only call 1 |
mlx:Qwen3-1.7B-4bit | indentation dropped 10, two of them after several calls; wrong line with find 4; wrong content 1; “Session ended without producing a response” 4 / wrong whitespace sent 3 | that error 3 / 1 |
ollama:llama3.2:3b | no call, the turn ending in an error 9 / 2 (the run’s 11 errors all line sent as text, refused before the tool ran: “GeneratedContent does not contain Double”); neither line nor find 8 / 2; other 10 / 3 | no call, an error 20 / 5 (the run’s 23 errors: 22 line as text, one Ollama timeout); neither 3 / 3; other 6 / 1 |
ollama:granite4.1:8b | find sent empty with a right line 3 / 1: an empty find is on no line, so nothing changed |
The rules removed every failure they were for: no dropped indentation and no stale number with find remain, and no
whitespace case was spoiled by the indentation rule. What is left is a wrong number without find (the Ollama
1.7B), which nothing can safely repair, and failures before the tool runs (llama3.2:3b’s text line, MLX’s empty
sessions). Runs on the same code differ by up to five cases (“MLX against Ollama”, above), so the Ollama 1.7B’s
gain and llama3.2:3b’s loss are within that spread; MLX’s 11 to 27 is not. granite’s four failures predate the
rules: an empty find beside a right line has always changed nothing.
The first run, on 2026-10-04 with llama3.2:3b alone, took ten minutes, half of it the classifier’s 392
verdicts twice; a larger model takes longer per case, so allow an hour or more for each 26B or 27B model. The
test output is buffered, so a model’s lines reach the log when its swift test ends.
Bonsai on llama.cpp against granite4.1, 2026-10-17
llamacpp:Ternary-Bonsai-2-9B-Q2_0 (Prism ML; 9.0B, ternary weights in the Q2_0 GGUF, 2.56 GB) on llama-server
0.7.0 (build b11669) against ollama:granite4.1:8b, with scripts/check eval compare on the release’s subsets (62
minutes, not recorded). Bonsai’s template thinks; it ran with llamacpp.models.<name>.think low in a scratch
WISP_HOME, so turns think within 1,024 tokens and wisp’s own calls not at all
(ADR 0053, amended 2026-10-17). No turn came near the budget (434
tokens generated at most). Cases passed, median time per case where measured:
| Suite | Bonsai, think low | granite4.1:8b |
|---|---|---|
| classifier, model alone | 328/392, 1.6 s, 1 dangerous rated safe | 334/392, 3.5 s |
| classifier with rules | 345/392, 1.6 s | 333/392, 3.0 s |
| context scenario | 6/6, 6.4 s | 6/6, 9.6 s |
summarise_diff | 5/5, 2.0 s | 5/5, 8.9 s |
system_info | 22/24, 6.3 s | 22/24, 3.1 s |
edit_file line replace | 35/36 | 33/36 |
edit_file whitespace | 7/8 | 6/8 |
| schema replies | 5/6 | 6/6 |
| triage | 7/7 | 7/7 |
| drafts, small | 9/12 | 11/12 |
| drafts, medium | 1/4 | 4/4 |
| drafts, large | 1/2 | 1/2 |
At under half granite’s size, Bonsai was as accurate or more so on the tools, triage, and the classifier with its
rules, and two to four times faster at the classifier and summarise_diff; it was slower at system_info and
clearly worse at drafts. Neither runtime is the reason for the speed: granite’s own weights (the same Ollama blob,
loaded by llama-server) generate at 72.0 tokens a second on llama.cpp and 72.1 on Ollama, and read the prompt at 657
and 721, on this M4 Max on 2026-10-17.
Bonsai 2 9B through wisp’s router against granite4.2, 2026-10-30
To see whether Bonsai could be the daily delegation model: llamacpp:Ternary-Bonsai-2-9B-Q2_0 served by wisp’s own
llama.cpp router (ADR 0082; its LaunchAgent, llama-server 0.7.0,
a 65,536-token context, 1 slot), with think low, against ollama:granite4.2:8b not thinking, the default since
2026-10-27, with scripts/check eval compare on the release’s subsets in the operator’s own configuration (2 h 17 min,
not recorded). Cases passed, median time per case where measured:
| Suite | Bonsai 2 9B, think low | granite4.2:8b, not thinking |
|---|---|---|
| classifier, model alone | 321/392, 2.0 s, 3 dangerous rated safe | 296/392, 4.5 s, 7 dangerous rated safe |
| classifier with rules | 348/392, 1.9 s | 347/392, 4.0 s, 1 dangerous rated safe |
| context scenario | not run (below) | 5/6, 22.5 s |
summarise_diff | 5/5, 2.2 s, 1 file unsummarised | 5/5, 3.3 s |
system_info | 23/24, 7.2 s | 22/24, 5.8 s |
edit_file line replace | 36/36, 14.5 s | 36/36, 12.5 s |
edit_file whitespace | 6/8, 12.4 s | 8/8, 12.8 s |
| schema replies | 5/6 | 5/6 |
| triage | 7/7 | 7/7 |
| drafts, small | 8/12, 3.7 s | 11/12, 5.1 s |
| drafts, medium | 3/4, 19.0 s | 4/4, 23.0 s |
| drafts, large | 1/2, 52.4 s | 0/2, 66.1 s |
On the tools the two were level: both perfect on edit_file’s line replacements and triage, Bonsai a case ahead on
system_info and two behind on whitespace. Bonsai was the better and twice as fast classifier, rating fewer dangerous
commands safe, and faster at summarise_diff; granite was faster at system_info and line replacements, and better at small drafts
(11/12 to 8/12), the commit messages delegation writes most. Bonsai’s medium drafts rose from 1/4 on 2026-10-17 to
3/4; with four cases, that is not yet a trend. The context scenario did not run for Bonsai: the eval resolves it from
a configuration of its own with the defaults, where llamacpp.server is off and the base URL port 8080, so it found
no server; a gap in the eval, not the model, closed the same day: the comparison now resolves with the operator’s llama.cpp, LM Studio, and per-model Ollama thinking settings, and holds each model at the scenario’s window (ResolvedModel.held(window:)), since a server’s window cannot be asked for per request. Rerun that evening with scripts/check eval context compare,
the scenario alone (14 turns, then six questions, the window held at 8,192 tokens):
| Model | Answers right | Median a turn | 95th percentile |
|---|---|---|---|
Bonsai 2 9B, think low, through wisp’s router | 6/6 | 5.8 s | 6.8 s |
| granite4.2:8b, not thinking | 5/6 | 22.9 s | 73.5 s |
granite’s figures are the morning’s again (5/6, 22.5 s), now with its configured thinking, so its slower turns are not thinking’s; Bonsai answered every question at a quarter of the time.
Bonsai 2 at 2B, 4B, and 9B in chat, 2026-10-19
Prism ML released Bonsai 2 at 2B, 4B, and 9B on 2026-10-15 (built on Qwen3.5, ternary weights). The three Q2_0
GGUFs, 0.55, 1.21, and 2.56 GB, ran on llama-server 0.7.0 (build b11669) with think low in a scratch
WISP_HOME, as above, on the suites that bear on chat: the chat suite, edit_file and schema replies,
system_info, and one context scenario (swift test --filter 'ChatEvalTests|ToolEvalTests|SystemInfoEvalTests|ContextEvalTests/comparisonOnEachModel' in harness/Evals,
WISP_EVAL_MODELS naming one model per run; the release’s subsets, not recorded). Cases passed:
| Suite | 2B | 4B | 9B |
|---|---|---|---|
| chat (8 conversations, 3 times each) | 22/24 | 22/24 | 24/24 |
| context scenario, 8,192-token window | 5/6, p50 1.4 s | 6/6, p50 4.3 s | 6/6, p50 6.8 s |
system_info | 20/24 | 22/24 | 22/24 |
edit_file line replace | 25/36 | 36/36 | 35/36 |
edit_file whitespace | 5/8 | 5/8 | 6/8 |
| schema replies | 3/6 | 4/6 | 5/6 |
| the run | 6.4 min | 10.5 min | 16 min |
The 2B’s chat failure was an ask call for “testing 123”; the 4B’s two were “test” said back.
Then one live chat each, in wisp 0.27.0’s wisp chat --plain --yes, in a scratch directory holding notes.txt
and main.py: “hi”, “What files are in this directory?”, “Read notes.txt and summarise it in one sentence.”, “In
notes.txt, change Tuesday to Wednesday.”, “What was the first thing I said to you?”, “What is the date today?”.
| Model | What it did | Turn times |
|---|---|---|
| 2B | Copied the working directory’s path into its calls with a character added, then looped: 19 calls in 22 s, 10 failing; said it could not read or edit the file, and edited nothing. Greeting, recall, and date right | 0.5 to 1 s, the loop 22 s |
| 4B | Listed with ls, summarised, edited and read the file back to check; the date right. Answered the recall with the header of the facts block wisp sends (“Facts from earlier in this conversation. …”), which its thinking took for the person’s first message | 1 to 6 s |
| 9B | Summary, edit, recall (“hi”), and date right; asked which directory rather than running ls | 1.3 to 6 s |
For chat the 9B is the one: the only perfect chat suite, and every live turn but the listing right. The 4B, at under half its size, matched it on the tools and context scenario but answered one chat message with the message and misread the context in the live chat; the 2B is not fit for tool work.
The live chat showed two faults of wisp’s, not of the models: the verification pass flagged the 9B’s correct
recall, unsupported: "The first thing you said to me was "hi"." (no ask call was answered by the person), so
a reply quoting the conversation is read as quoting an ask answer; and the facts block reaches the model in a
form a small model can take for something the person said. Both are fixed: a claim of what the person said is now
supported when it quotes their own messages (verification.md), and both facts headers now open “Added by
wisp, not said by the person:”. On the header, the 4B asked “hi”, to read and summarise notes.txt, to edit it,
and “What was the first thing I said to you?”, six times on each build:
| Header | Recall right | What the rest answered |
|---|---|---|
| “Facts from earlier in this conversation. …” (0.27.0) | 2/6 | the header, three times; once “sharing facts about the work directory path”, which the verification pass flagged |
| “Added by wisp, not said by the person: facts from earlier …” | 6/6 | (one of the six looked at inspect status and inspect calls first) |
With the new header the context scenario and the chat suite held: the 4B 6/6 and 22/24 again, and
ollama:granite4.1:8b 6/6 and 24/24.
A llama.cpp router for wisp’s models, 2026-10-29
A probe for ADR 0082 on this Mac (48 GB): the Homebrew
llama-server 0.7.0 (build 11669) in router mode, --models-dir over a folder of links to the three Ternary Bonsai 2
GGUF files, --models-max 1, 127.0.0.1, and --api-key-file; then the same 9B under -m for comparison.
| Measure | Result |
|---|---|
| Models listed | Each linked file under its own name, unloaded until asked for; a request without the key: 401 |
| First request to the 9B, loading it from disk | 8.5 s |
| A request to the loaded model (40 tokens at most) | 0.2 to 0.5 s |
| Switching models, one loaded at a time | 1.4 s (2B), 2.0 s (9B again), 2.35 s (4B) |
wisp’s five tool prompts (run_command, current_date, system_info, read_file, a count), think low | 5/5 through the router, 1.6 to 6.3 s; 5/5 through -m, 1.5 to 5.0 s; the same answers |
| The 9B’s process at llama.cpp’s defaults (262,144 tokens, 4 slots) | 11.4 GB resident |
The same at --ctx-size 32768 --parallel 1, given to the router | 3.8 GB |
After 20 s idle under --sleep-idle-seconds 20 | 217 MB; the next request 0.74 s, the one after 0.07 s |
| Stopping the router | Its model’s process stopped with it |
The router passes its own context and slot settings on to each model it starts. Not measured that day: the 9B at a 65,536-token context, the default the operator chose; measured with the build the next day, below.
Added 2026-10-30: wisp’s own server, as built. wisp llamacpp serve from a debug build, in the foreground from a
scratch WISP_HOME (so no LaunchAgent was registered), with the Homebrew llama-server 0.7.0 approved, the 9B linked
with wisp models add, port 8935, and llamacpp.think low; the prompt Use run_command to run: uname -m with
--model llamacpp:Ternary-Bonsai-2-9B-Q2_0 --yes. Memory is ps’s resident size of the model’s process.
| Measure | Result |
|---|---|
| The router alone, nothing loaded | 126 to 130 MB resident (126,416 to 133,568 KiB) |
| The 9B at the defaults (65,536 tokens, 1 slot), loaded | 5.3 to 5.4 GB resident (5,160,352 to 5,275,392 KiB), four readings over two starts; 3.8 GB at 32,768 the day before |
| The prompt, the 9B loaded from disk at its first request | 8.2 s the first time, 5.2 s from the page cache after a restart; the right answer (arm64), one run_command call |
| The prompt with the 9B loaded | 1.5 and 1.7 s |
After 30 s idle under llamacpp.serverIdleSeconds 20 | 387 MB resident (377,776 KiB) |
| The prompt waking it | 5.0 s, back to 5.4 GB |
| A model linked while the router ran | Not listed by /v1/models until the router started again |
/v1/models status | {"value": "loaded"} or "unloaded", with the model’s own arguments, which carry the router’s --ctx-size, --parallel, and --sleep-idle-seconds |
--no-ui given to the router (the 2B, a scratch folder) | / answers 404 rather than 415; the API answers with the key as before; each model’s process is started with --no-webui and logs “The UI is disabled” |
| SIGTERM to the router | The router and its model gone within 1 s, once wisp unblocked signals before execve; before that fix, both ignored SIGTERM and SIGINT and needed SIGKILL |
Waking the 9B took 5.0 s here, against 0.74 s at 32,768 tokens the day before: a sleeping model gives back its
context’s memory and takes it again on waking, so a larger context wakes more slowly. After the measurement no
llama-server from the scratch home was left (ps), and the folder was removed.
Planning a task tree and its grant, 2026-10-23
The probe for ADR 0078. Four local models were each given four problems
as text-only threads (respond with tools: []) and the same instructions and JSON schema: a tree of tasks with
dependsOn, and a grant of command templates with typed arguments, each argument’s source, placement (sandbox or
outside), and whether each run needs the person’s yes. Each problem was run once per model, without retries. Each plan was read
by hand for whether a person could approve it as written: the steps and dependencies right; every template needed,
defined, and nothing more; every argument bound to an earlier command’s output; nothing outside the sandbox that need
not be.
| Problem | gemma4:12b | gemma4:26b | qwen3.8:27b | granite4.2:8b, not thinking |
|---|---|---|---|---|
| Homebrew: daily, ask per formula, upgrade the agreed | no: the upgrade’s argument taken from the question’s answer | no: the same; a notification and a question put in the grant as commands | nearly: the upgrade bound to list-outdated.formulae[].name with a per-run yes, but the listing task names no template, and an unneeded brew info | no: the upgrade placed in the sandbox, its argument from nothing; the listing names no template; a dependency on a task that does not exist |
| Disk: the ten largest folders in two caches, delete those picked | no: rm -rf <selection> outside, its argument from the answer; a duplicated template | no: rm -rf <path> outside, its argument from the problem, not the listing | no: the roots fixed and the deletion bound to the listing with a per-run yes, but du lists the roots themselves, so a root could be picked | no: find -printf, which macOS’s find lacks, and sizes of entries, not folders; the deletion’s template never defined |
| Git: fetch, list merged branches, ask before deleting each | no: a grep -v repeated until the 7,680-token reply was cut, 102 s; templates named but not defined | nearly: git branch -d bound to the listing with a per-run yes, but nothing in the grant keeps main or the current branch out | no: the branch taken from the answer; git branch -D granted beside -d; asks whether to delete main instead of refusing | no: no plan; a question asking for the repository’s path |
cargo audit when Cargo.lock changes, notify, change nothing | no: redirects the report into a file, and a per-run yes | no: an invented command line | nearly: read-only, sandboxed, no yes, the trigger and dependencies right, but --manifest-path is not cargo audit’s flag, and its source is empty | no: writes a state file into the project to detect changes the trigger already detects; the notification an outside shell command |
| Approvable as written | 0/4 | 0/4 | 0/4 (3 nearly) | 0/4 |
| Seconds, slowest to fastest | 102, 11, 10, 6 | 12, 7, 5, 5 | 62, 50, 40, 19 | 38, 9, 7, 5 |
granite4.2:8b thinking, its default, was worse and slower: the Homebrew plan (16 s) had no upgrade template and
templates naming files nothing made; the git plan (180 s) was one interactive shell script and a command writing and
loading its own LaunchAgent; the disk plan was stopped after more than nine minutes and the cargo audit plan was
abandoned when Ollama sent nothing for 120 s, both run beside other requests to the same model.
Two facts the plans depend on were probed: brew outdated --json=v2 run in wisp’s sandbox (Homebrew 7.0.10) exits 0
and lists from Homebrew’s cached data, after errors that /opt/homebrew/Cellar is not writable and that the API
download’s lock under /opt/homebrew/var was refused, so fresh data needs a run outside; and cargo audit’s advisory
database is ~/.cargo/advisory-db, outside the default writable paths.
What it shows: no model wrote a grant a person should approve unedited. The failures are of kinds a checker can find
mechanically (a task naming an undefined template, an argument sourced from an answer or from nothing, a type outside
the vocabulary, a destructive template outside the sandbox whose argument is not bound to a listing); the subtler ones (a listing
that includes its own root, main not excluded) are not. qwen3.8:27b came closest, at 19 to 62 s a plan; the 8B models did not come near.
Planning a task tree through the plan tool, 2026-10-27
The probe of 2026-10-23 above, run again through the plan tool of ADR 0081: the
same four problems and models, each a respond thread with tools: ["plan"] and no schema, told to record the plan
one add a task, each command’s goal its exact command line and each question its wording, and to run nothing. There
is no grant: the tool records tasks and dependencies only. Each problem was run once per model, one thread at a time,
and each plan read back from the record for whether its steps and dependencies are right, its goals name the commands,
and anything that changes the Mac waits on a question to the person.
| Problem | granite4.2:8b, not thinking | gemma4:12b | gemma4:26b | qwen3.8:27b |
|---|---|---|---|---|
| Homebrew | no: steps nested, nothing waits on anything, every task marked running | no: a Python script to write, no listing, question, or upgrade | no: one task added eight times | nearly: list, report, ask each, upgrade the agreed, summary, chained, with exact brew commands; asks the person to run the read-only listing too |
| Disk | no: nothing waits, so the deletion is ready at once; tasks marked done | partly: find, ask, delete chained, but no commands and no schedule | no: nothing waits, no commands | nearly, run again after the failure below: du -sk <root>/* | sort -rn | head -10 for each root, combined, asked, confirmed again before rm -rf outside the sandbox, chained |
| Git | no: duplicated steps, no deletion task, marked running | no: no deletion task, one task marked done | no: two tasks, a script to write | nearly, run again after the fix below: fetch, git branch --merged main, drop main and the current branch, ask each, git branch -d only after a yes (never -D or a remote), chained |
cargo audit | no: a placeholder parent, nothing waits | nearly: audit then notify, chained, but run now, not on a change to Cargo.lock | no: the parent three times, a script to write | nearly, run again after the fix: cargo audit, read its output, notify naming each crate, chained; but the audit waits on the parent task, not the watch beneath it, after its own ids collided with the tool’s and it wrote dependencies as "[t1.2]" (six failed calls) |
| Seconds | 43, 284, 183, 104 | 46, 41, 33, 27 | 82, 38, 53, 70 | 338, 465, 198, 929 (the last three run again) |
What the tool showed about the models:
granite4.2:8bandgemma4:26bgave the first task the tree’s own name (id: "t1"), gott1.1, and then namedt1as a parent, a dependency, and a task to mark, which failed or put tasks in the wrong place;gemma4:26blooped, adding the same task again each time.gemma4:12bbegan three of four withtree t1before the tree existed.granite4.2:8bnested every step under another and never useddependsOn, so a question and the action it guards were ready together.granite4.2:8b(four of four) andgemma4:12b(three) marked tasks running or done in a turn that only planned.qwen3.8:27bchained every step and wrote the closest to approvable plans of either probe, four nearly: the disk plan lists the folders inside each root, which the 2026-10-23 plan did not, and the git plan keepsmainand the current branch out, which no 2026-10-23 plan did. Each would still need a person’s edit, and each took 3 to 15 minutes.- Three models treated the tree’s first task as the whole job and made steps depend on it, so a step waits on a task that holds it and is never itself done.
What it showed about wisp, each fixed the same day (ADR 0081, decision 13; backends.md): three of
qwen3.8:27b’s five turns ended in Apple’s framework, before the tool saw the call, when it wrote dependsOn as
"" or "t1.1" rather than a list; a repeated add was flagged as a repeat but still added; and a tree’s name where a
task was needed was answered as unknown. Run again with the list fix, the failed turns finished. Each request now
names the ids the turn’s tasks take, and a tree’s name used as a task is refused as a tree.
Run again with that on 2026-10-28, the same instructions and problems, on the two models still installed:
granite4.2:8b, not thinking | qwen3.8:27b | |
|---|---|---|
First task given the tree’s name (id: "t1") | 2 of 4 (Homebrew, cargo audit) | 1 of 4 (cargo audit) |
| Failed calls | 6, 0, 4, 1 | 2, 3, 1, 0 (six on cargo audit before) |
| Plans | none approvable: no question before a change in three, and tasks marked done although nothing ran in all four | Homebrew, disk, and git chained with exact commands and a question before each change; cargo audit’s notification waits on the trigger task, not the audit |
| Seconds | 529, 174, 163, 68 | 477, 428, 137, 270 |
The line does not end the naming, but no run then used t1 where a task was needed, so the refusal was never met.
Both models still asked for ids a level deeper (t1.1.1, with no parent or with one), which the tool numbers
t1.2 and so on, and a later call naming t1.1.1 is refused as unknown; qwen3.8:27b still made steps wait on their
own parent task.
Run a third time the same day, with a model’s own id kept or refused naming the id to give (ADR 0081, decision 14):
granite4.2:8b, not thinking | qwen3.8:27b | |
|---|---|---|
| First task given the tree’s name | 2 of 4, each refused and given as t1.1 on the next call | 3 of 4, the same |
| Failed calls | 1, 8, 6, 2 | 3, 6, 3, 1, all but three a goal over 200 characters or an update with a note and no status |
| Plans | Homebrew and cargo audit chained, though marked done with nothing run; disk and git broke on ids of its own naming (t1.find, t1.1a), not ids, so numbered without a word, and every later call naming them failed | all four approvable: exact commands, chained, a question before each change; no step waits on its own parent |
| Seconds | 55, 445, 233, 268 | 223, 455, 155, 74 |
Both models took the id offered after a tree’s name on the next call, every time; granite4.2:8b, refused t2.1 as of
another tree, repeated it once, then turned to ids of its own naming. What still fails without a word is an id that is
not one, such as t1.find, which is numbered without saying so.
Keeping the plan while working, 2026-10-26
The plan probe for ADR 0081, scripts/check eval plan (PlanEvalTests), after a
chat on 2026-10-25 in which granite4.1:8b added its tasks but never marked one. Three problems (read three files and
say what each is about; check the Mac’s version, free space, and memory; count the lines of three files, then say which
is longest, a task depending on the three), each driven with “go on” for up to six turns while a task was open, twice
under each of four variants: the shipped line a tree in later turns (baseline), a line naming the tree’s next task
and how to mark it (next), a one-line reminder after every other tool’s result while a task is running or ready and
none was marked this turn (nudge), and both. A conversation finished when it planned at least three tasks and every
task was settled; scored from the plan and the audit, not the replies. 24 conversations a model, 28 minutes in all.
| Variant | granite4.1:8b finished | its updates, stalled turns | gemma4:12b finished | its updates, stalled turns |
|---|---|---|---|---|
baseline | 0/6 | 0, 9 | 5/6 | 27, 5 |
next | 1/6 | 4, 3 | 6/6 | 26, 0 |
nudge | 5/6 | 19, 0 | 6/6 | 20, 0 |
both | 5/6 | 16, 0 | 6/6 | 23, 0 |
Under baseline, granite4.1:8b never called update in six conversations, though it did the work (2 to 8 calls a
conversation), as in the chat; next alone barely changed that. With the reminder it marked each task as it went and
finished most problems in the first turn. Its two misses under nudge and both were the dependent problem, where it
planned four to six tasks and settled one to three. gemma4:12b kept its plan without help but for one conversation
under baseline that stalled for five turns. Two runs a cell; a direction, not a rate. The reminder costs about 30
tokens a tool result while a task is open. That the work done matched the task marked was not checked: a conversation
marking a task done without doing it would score as finished.
granite4.2:8b ran the same probe on 2026-10-26, with ollama.think false (38 minutes) and then low (33 minutes),
each in a scratch WISP_HOME holding only that setting:
| Variant | granite4.2:8b, not thinking | granite4.2:8b, thinking low |
|---|---|---|
baseline | 5/6 | 0/6 |
next | 5/6 | 1/6 |
nudge | 4/6 | 2/6 |
both | 4/6 | 3/6 |
| Misses that added no task at all | 5 of 6 | 14 of 18 |
Not thinking, it marked its tasks without help, unlike granite4.1:8b, and the reminder made no difference within two
runs a cell. Its failure is another one: in five of its six misses it did the work in the first turn without adding a
task, so the plan stayed empty and the reminder, which needs an open task, never appeared. Thinking low did that in
most conversations. Those conversations count five stalled turns each, since “go on” was sent while the plan stayed
empty and nothing was left to do; the stalls measure the probe there, not the model. A conversation took about 80 s
not thinking against about 30 s for granite4.1:8b.
A nudge to plan, 2026-11-02
The plan probe again, for ADR 0079, decision 25, with
a fifth variant, planning: the shipped reminder, and, from a turn’s second result of another tool while the plan had
no open task and the turn had rooted no tree, a line ending the result ([plan: this work has several steps and the plan has none for it; add them with plan add, then mark each as you go]). A one-step control problem (“Which version
of macOS is this Mac running?”) joined every variant, counting whether a model planned what needed no plan. Two runs a
cell, 74 minutes in all; each model as configured (granite4.2:8b not thinking, Bonsai 2 9B on wisp’s own llama.cpp
router thinking low, gemma4:12b thinking).
| Variant | granite4.2:8b | llamacpp:Ternary-Bonsai-2-9B-Q2_0 | gemma4:12b |
|---|---|---|---|
none | 4/6 | 5/6 | 5/6 |
next | 4/6 | 5/6 | 6/6 |
reminder (shipped) | 3/6 | 3/6 | 6/6 |
both | 4/6 | 4/6 | 6/6 |
planning | 3/6 | 6/6 | 5/6 |
| Control planned | 0/10 | 0/10 | 0/10 |
The nudge changed nothing measured. granite4.2:8b missed the problem of reading three files in all ten of its
conversations, the two nudged ones included: it read the files without adding a task, and the line did not turn it to
the plan; it planned the other two problems under every variant. Bonsai planned before working in every conversation
that ran, so the line had nothing to do; its misses under next, reminder, and both were six conversations ended by
the framework’s “Session ended without producing a response”, an empty response after tool calls that its earlier
evals show too (2026-10-17, 2026-10-30), and none came under planning by chance. gemma4:12b’s miss under
planning was the conversation its miss under none was: three of four tasks settled, then five stalled turns. No
model planned the control under any variant. The operator chose not to ship it.
An empty response asked once more, 2026-11-02
Bonsai 2 9B through wisp’s router, after ADR 0083: the plan
probe (scripts/check eval plan) and eval compare, run twice the same afternoon. In the first run the evals’ agents
had no tool-event trail, so an empty response ended the turn with wisp’s line, unasked; in the second they carry one,
as a face’s thread does, so the turn is rebuilt from its record and the note sent, and each case prints how it ended
(empty response: … replied).
| Suite | Before ADR 0083 (morning) | No trail | With the trail |
|---|---|---|---|
| Plan probe, all variants | 23/30 | 29/30 | 30/30 |
edit_file replace | 35/36 (2026-10-17) | 35/36 | 36/36 |
edit_file whitespace | 7/8 | 7/8 | |
system_info topics | 22/24 (2026-10-17) | 23/24 | 22/24 |
| Empty responses | 6, each ending its conversation | not counted | 10, every one replied after the note |
The ten came six in the plan probe (four under reminder, one under both, one under planning), three in
edit_file replace, and one in edit_file whitespace; none came empty again, and no turn failed. The first run’s one
miss was a system_info call with the topic "0", which the framework refused. The other suites moved within a run’s
noise and met no empty response: triage 7/7 both times, summarise_diff 5/5, the context scenario 6/6, schema
replies 5/6 then 4/6, small drafts 9/12 then 10/12, large 0/2 then 1/2.
The plan tool’s description, 2026-11-02
The plan probe’s sixth variant, described (ADR 0079,
decision 26): the shipped reminder, with the plan tool’s description worded so that the person’s asking for a plan is
a reason to use the tool, and the tasks are added before any of the work. Run on the three models the same evening,
every variant again beside it (1 h 57 min):
| Variant | granite4.2:8b (not thinking) | Bonsai 2 9B | gemma4:12b |
|---|---|---|---|
none | 3/6 | 6/6 | 6/6 |
next | 3/6 | 6/6 | 6/6 |
reminder (shipped) | 3/6 | 5/6 | 6/6 |
both | 5/6 | 6/6 | 6/6 |
planning | 3/6 | 5/6 | 6/6 |
described | 4/6 | 5/6 | 6/6 |
| Control planned | 0/12 | 0/12 | 1/12 |
The wording changed nothing measured. granite4.2:8b did the reading problem without a task in both described
conversations, as before; it planned that problem twice in twelve this run, once under next and once under both,
so the variant’s 4/6 against reminder’s 3/6 is within a run’s noise. Bonsai matched its reminder score, and
gemma4:12b finished everything; its one plan for the control, a two-task plan under planning, is the first any model
made. Bonsai’s responses came back empty nine times, every one replied after the note (ADR 0083). The operator chose
not to adopt it: it stays a probe variant, and the shipped description is unchanged.
Context checkpoint 2
WISP_EVAL_MODELS=system,ollama:granite4.1:8b scripts/check eval checkpoint
runs the second checkpoint of the layered-context design, whose plan, questions, and decision rules are
proposals/2026-10-06-context-checkpoint-2.md. It is a measurement
for design decisions, like eval context: the release’s eval, eval context, and eval compare never run it
(ContextCheckpointTests runs only when WISP_CHECKPOINT names a part, which eval checkpoint sets). The cells,
the scenario, and the table’s row are ContextCheckpoint and ContextEval.sustained() in WispTestSupport, tested in
the gate without a model.
| Variable | Default | What it sets |
|---|---|---|
WISP_CHECKPOINT | all | The parts, comma-separated: grid (target and headroom on the sustained scenario at the default budget), half (the 50% variants on recalling, under the guard), memory (sustained with and without memory), assessment (off, as built, and restated, every built-in tool offered), switch (a model switch mid-conversation) |
WISP_EVAL_MODELS | system | The models every part but switch runs on, one after another |
WISP_CHECKPOINT_TARGETS | 0.4,0.5,0.6 | The grid’s targets |
WISP_CHECKPOINT_HEADROOMS | 0,1,8 | The grid’s headrooms, in turns; the grid is every target with every headroom |
WISP_CHECKPOINT_WINDOW | 8192 | The window of Ollama and MLX models (the on-device model’s is its own) |
WISP_CHECKPOINT_RUNS | 1 | Runs of each cell |
WISP_CHECKPOINT_SWITCHES | system>ollama:granite4.1:8b>system;ollama:granite4.1:8b@32768>system | Switch plans, ; between plans, > between two or three models, @N for a model’s window; the second model takes over at the return to the task (turn 16), the third at the first question (turn 30) |
The parts run as one test each, one at a time. Each cell prints its turns and report as the context eval does, then
a checkpoint row; the run ends with a table, a row per model and cell, saved as eval-<date>-<time>.summary.txt,
and every row’s fields (the answers, the switches, the load) as .checkpoint.tsv beside the log. A cell the grid and
the memory part share (the default target and headroom, t60-h8 since ADR 0057; t50-h8 when the checkpoint ran)
runs once. The memory part’s cell with memory turns it on explicitly, though it is off by default. Add record to
merge each run’s measurement into measurements.json. The main pass took 3 hours 40 minutes on the two models with
the switches (2026-10-06), and gemma4:12b’s two memory cells 40 minutes more.
Results, 2026-10-06 to 2026-10-08
Run on this Mac without record, so nothing was merged into measurements.json; the logs and tables were kept
outside the repository. The decisions they led to are ADR 0057.
Answers are of 10 (sustained) or 7 (recalling); the main pass is one run a cell, the confirmation three, each
listed, then the mean.
The main pass (2026-10-06 21:54 to 2026-10-07 02:13, load average 1 to 3), grid, answers of 10:
| Model | t40-h0 | t40-h1 | t40-h8 | t50-h0 | t50-h1 | t50-h8 | t60-h0 | t60-h1 | t60-h8 |
|---|---|---|---|---|---|---|---|---|---|
system | 5 | 2 | 4 | 3 | 6 | 5 | 3 | 6 | 6 |
granite4.1:8b | 6 | 6 | 7 | 7 | 8 | 7 | 8 | 7 | 6 |
The rest of the main pass, one run each:
| Part | Cell | system | granite4.1:8b | gemma4:12b |
|---|---|---|---|---|
half | stack (gaps between condensations) | 3/7 (3, 3) | 4/7 (2, 3) | |
half | without memory (summary only) | 5/7 | 6/7 | |
half | phase 2’s fixed four turns | 3/7 | 6/7 | |
half | dropping (gaps) | 0/7 (all 1) | 1/7 (all 1 but one) | |
memory | with (t50-h8) | 5/10 | 7/10 | 7/10 |
memory | memory-off | 4/10 | 4/10 | 10/10 |
assessment | off | 4/10 | 6/10 | |
assessment | any | 2/10 | 8/10 | |
assessment | restated | 6/10 | 9/10 | |
switch | system>ollama:granite4.1:8b>system | 6/10 | ||
switch | ollama:granite4.1:8b@32768>system | 5/10 |
The confirmation, three runs (2026-10-08: assessment 09:09, memory on granite and gemma4 11:45, grid 14:24 to
18:09, memory on the on-device model 21:53 to 22:47; load average 1 to 5):
| Part | Cell | system | granite4.1:8b | gemma4:12b |
|---|---|---|---|---|
memory | with (t50-h8) | 4, 5, 4 (4.3) | 6, 9, 7 (7.3) | 8, 8, 8 (8.0) |
memory | memory-off | 4, 5, 7 (5.3) | 8, 8, 8 (8.0) | 10, 8, 10 (9.3) |
grid | t50-h8 | 3, 7, 2 (4.0) | 7, 6, 8 (7.0) | |
grid | t50-h1 | 2, 6, 3 (3.7) | 8, 7, 5 (6.7) | |
grid | t60-h8 | 4, 4, 8 (5.3) | 9, 7, 7 (7.7) | |
grid | t60-h1 | 5, 5, 4 (4.7) | 7, 6, 8 (7.0) | |
assessment | off | 4, 2, 1 (2.3) | 8, 7, 7 (7.3) | |
assessment | any | 3, 2, 5 (3.3) | 7, 7, 5 (6.3) | |
assessment | restated | 4, 3, 2 (3.0) | 6, 8, 9 (7.7) |
Beside the scores: the detail questions with memory 0, 1, and 4 of 6 (on-device, granite, gemma4) and without it 1,
1, and 6; gemma4’s 95th-percentile turn 188 to 358 s with memory and 27 to 190 s without; under any the task
answer wrong in 2 of 3 on-device runs and 3 of 3 on granite, with 8 to 23 task changes, and under restated right in
all six with 1 or 2; every default cell condensed at least once. Single on-device runs range from 1 to 8 of 10 on the
same cell, so read differences of an answer as noise unless three runs agree. ADR 0057 has the per-cell
condensations, floors, and times.
Homebrew’s move from the formula to the cask, 2026-11-04
A probe of ADR 0084’s move on the operator’s Mac, Homebrew
7.0.12, before 0.35.0. A scratch tap, wisptest/tap, tapped from a local git repository, held 0.34.1’s formula as
released; brew install wisptest/tap/wisp installed it, which trusted that formula only. A commit then added the
cask scripts/release writes, for 0.34.1’s disk image, deleted the formula, and added tap_migrations.json
({"wisp": "wisptest/tap/wisp"}), and brew update pulled it, with HOMEBREW_CASK_OPTS=--appdir= a scratch folder
so /Applications was not touched. Everything was uninstalled, untrusted, and untapped afterwards.
| Case | What Homebrew did | After it |
|---|---|---|
Formula trusted, cask not (as every brew install pidster/tap/wisp leaves it) | Warned “Not automatically installing … because the migration target is not trusted”, naming brew trust --cask and brew install --cask; installed nothing | The formula’s 0.34.1, still linked |
| Those two commands, run as given, the formula still linked | “successfully installed” the cask, but skipped both binary links (“already a Binary at ‘/opt/homebrew/bin/wisp’ from formula wisp”) and all three completions (“Will not overwrite”) | PATH still runs the formula’s wisp; uninstalling the formula afterwards leaves no wisp link at all |
| Cask trusted before the update | “has been migrated from a formula to a cask”: unlinked the formula (2 links), installed the cask, linked wisp and wisp-tui to the app, generated the completions, and said to run brew uninstall --formula --force wisp | The cask’s wisp on PATH; the formula’s keg kept, unlinked, with its opt link, until that uninstall, which worked with the formula gone from the tap |
So the move is automatic only for a person who trusted the cask or the tap beforehand; anyone else moves by hand,
and in this order: trust the cask (brew trust --cask pidster/tap/wisp, as probed, or the tap, brew trust pidster/tap, which wisp names: Homebrew’s trust.rb accepts any item of a trusted tap), brew uninstall --formula wisp, then
brew install --cask pidster/tap/wisp. Homebrew’s own two commands, run while the formula is linked, leave a cask
that is installed but not on PATH.
Homebrew’s move from the published tap, 2026-11-05
The same probe after 0.35.0 shipped, Homebrew 7.0.12, on the operator’s Mac: a scratch tap, wisptest/tap, cloned
from pidster/homebrew-tap at the 0.34.2 commit (the formula, deprecated, and the cask) and then moved to the 0.35.0
commit (the cask and tap_migrations.json, the formula deleted), with the migration’s target renamed to the scratch
tap. Each round installed 0.34.2’s formula by name from the published tarball. HOMEBREW_CASK_OPTS=--appdir= a scratch
folder kept /Applications untouched, wisp doctor ran with a scratch WISP_HOME, and no --zap was run.
| Case | What happened |
|---|---|
| 0.34.2’s formula, installed | Its caveats name brew trust pidster/tap, brew uninstall --formula wisp, brew install --cask pidster/tap/wisp; wisp doctor’s install fails naming the same line; wisp update --check sees 0.35.0; wisp update refuses, naming the move |
| The tap trusted before the update | The move ran whole: brew unlink wisp (5 links), the cask installed and linked, the three completions generated; wisp doctor’s install passes, naming the cask and brew uninstall --formula --force wisp for the kept keg |
| Only the formula trusted | Warned that the migration target is not trusted, naming Homebrew’s two commands; installed nothing |
| Then the three commands wisp names, in order | The keg uninstalled, the cask installed with both links and the three completions; install passes |
brew install wisptest/tap/wisp, no --cask, the formula gone | Installs the cask, with the tap trusted and with it untrusted (Homebrew trusts the cask the full name names) |
A first run of the trusted-tap case left the formula linked and the cask without its links: pidster/tap was tapped
too and now has a wisp cask, so the move’s bare brew unlink wisp refused (“Cask wisp exists in multiple taps”)
and the install went ahead. Untapping pidster/tap for the probe, as a person moving from it has only that tap, gave
the result above. Neither homebrew/core nor homebrew/cask has a wisp (formulae.brew.sh, 2026-11-05), so a person
meets this only with a second tap holding one; wisp doctor’s install names the repair then.
The git thread’s slow turns and its approvals, 2026-11-05
Read from the audit log on the operator’s Mac (48 GB, 14.2 of 15 GB of swap in use that afternoon), for the git
threads git6 (116 turns in all) and git7 (opened that day), both ollama:granite4.2:8b not thinking,
whose window wisp sized at 32,768 of 131,072 tokens (“10.5 GiB of a 10.6 GiB budget”).
respond’s usage.input is the sum over the turn’s requests, at least two for a git command (one to call
run_command, one to report), so git6’s 48,704 was about 24,000 tokens a request, inside the window. Per turn:
| Thread | Prompt to the first tool call | After the command, to the reply | Input, the turn’s requests together |
|---|---|---|---|
git6, 16 turns | 57 to 119 s (9 s twice) | 1 to 2 s after a 2 s push; 56 to 120 s after a commit, whose hook builds and tests for 40 to 96 s | about 48,000 |
git7, 10 turns | 3 to 11 s, growing with the thread | 1 to 9 s | 3,400 to 10,400 |
Ollama’s prompt_eval_count is the whole prompt whether or not the server reused a cached prefix, so wisp’s
condensing ahead of the window counts right: the same 8,418-token prompt, sent twice, reported 8,418 both times,
evaluated in 14.45 s and then 0.02 s, and 8,422 for it with a few words more, in 0.06 s. The slow turns are the
first case, about 580 tokens a second: the prompt evaluated whole at a turn’s start, which a change near its front
causes, and after a commit, whose build presses the model’s memory. The audit does not record the evaluation time,
so which requests missed the cache is inferred, not read.
Approvals over MCP, every one in the log (82, from 0.19.0 to 0.34.1, all from Claude Code): each was filed for
wisp approvals alongside the client’s elicitation, and each was answered through the elicitation; none by
wisp approvals, wisp-tui, or /approvals. The banner was posted for 55, skipped for 21 answered inside the
10-second delay, and not recorded for 6 from before it existed. Answers took 0 to 47,488 s, the median 20 s; the
five under a second were refusals from 0.19.0, the client declining without the person, which fails safe, and the
fastest approvals took 1.1 to 1.3 s. The 212 s for git reset -q docs/release.md that morning was the person’s,
answered through the dialog, “This session”.
Remembered approvals, from the same log: eight project grants since 0.16.0 (seven live in approvals.json, none
always, which no one chose). Each covered every later run of its pattern in the directory it was given in (the
decisions cached-project, 263 of them); each time one was asked again within its 30 days, 21 times, the command ran
in another directory: a worktree of the same repository under .claude/worktrees/, or the repository after a grant
made in a worktree. project then matched one exact directory, so this was the approvals “not sticking” the operator
saw; ADR 0085 binds them to the repository instead.
A retried request continuing its turn, 2026-11-06
A probe of ADR 0086 on a real model, which until then had
run only against ScriptedModel. The release build of 0.35.2-dev+32d8669, on the on-device model (system, a window
of 8,192 tokens, the default .target policy), in a scratch WISP_HOME, with run_command alone and --yes, given
one prompt: run seq 1 3000, seq 3001 6000, seq 6001 9000, seq 9001 12000, and seq 12001 15000, one a call,
in order, then report the last line of each. Ollama cannot be probed this way: it truncates a prompt longer than its
window and reports no overflow, so only the on-device model, llama.cpp, LM Studio, and MLX reach the retry.
Each command printed 3,002 lines (13,916 to 17,024 bytes), kept whole in the output store, and the model was given 3,567 bytes of each, within the tool-output budget. What the audit log recorded, in order:
| Step | Recorded |
|---|---|
seq 1 3000 ran | one command.outcome |
| The next request overflowed | context.condensation: reason overflow, 8,193 tokens of 8,192, continued 1 |
| The turn continued | the next call was seq 3001 6000; seq 1 3000 was not run again |
| The model went on | it ran seq 9001 12000, leaving out seq 6001 9000, a slip of its own |
| The next request overflowed again | an error, the turn ended: “the instructions, the last turn, and the request still need about 11064 of 8192 tokens” |
Three commands ran, once each, in 2 minutes 42 seconds. So the rebuild works on a real model: the first overflow was continued from the call already made, not by sending the prompt again. The second ended the turn, as decision 4 of the ADR says it must when the rebuilt turn does not fit; nothing ran again. A result of 3,567 bytes in this window leaves room for little more than one or two in a turn; how many tokens each took was not measured.
A Secure Enclave key behind the person’s presence, 2026-11-09
Probe 1 of ADR 0087: can a command-line tool
signed as wisp is released use a Secure Enclave key whose every use needs the person’s presence? Not wisp itself but
a small Swift program built for the probe and signed the same way: Developer ID, the hardened runtime, a timestamp,
and no entitlements. It made a P-256 signing key with CryptoKit’s SecureEnclave.P256.Signing.PrivateKey, under
access control privateKeyUsage and userPresence, accessible only when the Mac is unlocked and only on this device,
and wrote the key’s data representation and its public key to files; a later process loaded the key from the file with
an LAContext giving the reason, signed a short text, and checked the signature against the saved public key. macOS
27.0 on Apple silicon with Touch ID, Swift 6.4.
| Case | Result |
|---|---|
| What LocalAuthentication reports | the Secure Enclave available; device-owner authentication possible; Touch ID |
| Make the key | no entitlement needed and no prompt, in 0.02 s; the data representation is 427 bytes, usable only by this Mac’s Secure Enclave |
Sign in a later process with no terminal, as wisp mcp runs under its client | prompted; approved with Touch ID; signed in 6.12 s, counting the person; the signature checked |
The same with standard input and output piped, as wisp chat --json runs under wisp-tui; cancelled | no signature: LocalAuthentication’s error -2, “Canceled by user.”, which the program can tell from a failure |
| What the prompt shows | the program’s own name, the reason text given, and Touch ID with the option to use the password |
So point 1 of the ADR stands as written: the Secure Enclave needs no entitlement a Developer ID tool cannot have, and the keychain fallback is not needed. A refusal at the prompt is told apart from an error, so it can be audited as the person’s refusal.
Not covered: the program ran from Claude Code’s shell, so the no-terminal and piped cases stood in for a real wisp mcp
and wisp-tui rather than being them; the case from a terminal was not run; the key was kept in files, not in the
keychain item point 1 describes, which is probe 2; how much of a long command the prompt shows is probe 3; and SSH is
probe 4.
Nemotron 3.5 Bolt E4B on Ollama and on wisp’s llama.cpp router, 2026-11-16
NVIDIA’s Nemotron 3.5 Bolt E4B (7.5B parameters; both servers read its architecture as gemma4), through
scripts/check eval compare on two servers: Ollama 0.40.16 with nemotron-3.5-bolt:e4b-q4_K_M (7.91 GB), which
Ollama serves with a DFlash draft model for speculative decoding, and wisp’s own llama.cpp router (ADR 0082) on
llama.cpp 1.0.0 (build 12359) with unsloth’s NVIDIA-Nemotron-3.5-Bolt-E4B-UD-Q4_K_XL.gguf (5.06 GB), without a
draft. On Ollama thinking was left to Ollama’s default for the model; on llama.cpp it was off
(llamacpp.models.<name>.think false), with the fix below. The operator’s real config otherwise, as every eval uses.
| Suite | Ollama | llama.cpp | Bonsai 2 9B, router, 2026-10-30 | granite4.2:8b not thinking, 2026-10-30 |
|---|---|---|---|---|
| classifier, the model alone | 334/392, 1.9 s, 1 dangerous rated safe | 326/392, 3.3 s, 16 fallbacks | 321, 2.0 s, 3 dangerous rated safe | 296, 4.5 s, 7 |
| classifier with the rules | 343/392, 1.5 s | 356/392, 2.4 s, 14 fallbacks | 348, 1.9 s | 347, 4.0 s |
| context scenario | 6/6, 5.8 s | 6/6, 3.0 s | 6/6, 5.8 s | 5/6, 22.9 s |
summarise_diff | 5/5, 1.7 s | 5/5, 2.9 s | 5/5, 2.2 s | 5/5, 3.3 s |
| drafts, small | 11/12, 2.4 s | 10/12, 3.4 s | 8/12, 3.7 s | 11/12, 5.1 s |
| drafts, medium | 4/4, 11.6 s | 4/4, 15.7 s | 3/4, 19.0 s | 4/4, 23.0 s |
| drafts, large | 1/2, 37.7 s | 0/2, 66.9 s | 1/2, 52.4 s | 0/2, 66.1 s |
system_info | 22/24, 7.3 s | 22/24, 1.3 s | 23/24, 7.2 s | 22/24, 5.8 s |
edit_file | 36/36, 12.4 s | 36/36, 5.6 s | 36/36, 14.5 s | 36/36, 12.5 s |
edit_file, whitespace | 8/8, 12.1 s | 8/8, 6.2 s | 6/8, 12.4 s | 8/8, 12.8 s |
| schema replies | 5/6, 700 ms | 5/6, 712 ms | 5/6 | 5/6 |
| triage | 7/7 | 7/7 | 7/7 | 7/7 |
Times are medians per case. On Ollama, Nemotron is level with or ahead of Bonsai on every suite but system_info
(one case) and the classifier with the rules (five cases), and at Bonsai’s speed or better; on drafts it matches
granite4.2 at about half granite’s time. It is the best classifier on its own of the three, with one dangerous command
rated safe.
On llama.cpp, Nemotron is as accurate on the tools and faster at them (system_info at 1.3 s, edit_file at under half
Ollama’s time), the better classifier with the rules (356; neither classifier suite rated a dangerous command safe), and
slower and weaker on drafts. The run took 3 hours 40 minutes all the same, and its classifier medians hide why: most
verdicts took about a second, but some ran to thousands of tokens (one passed 9,500, at 42 tokens a second), because a
verdict is greedy and wisp sets no output limit on it, so a reply that does not end runs on until the 65,536-token
window fills. What those replies say was not captured.
Two llama.cpp runs came first. The first, with thinking left to the template, finished one suite in three hours: the
classifier on its own, 348/392 at a median of 10.3 s a verdict. A SIGTERM of unknown origin then stopped
scripts/check at 13:50, but not the test process under it, which carried on, orphaned, sending requests to the
router until it was found and stopped about half an hour later. The second, with thinking off, was as slow, and was
stopped. The cause was the verdict’s schema: asked with enable_thinking: false and reasoning_effort: "none", a
classifier-shaped request to the router came back with a plan the server returned as thinking before the JSON, 449
tokens, where the same request without the schema thought none; adding thinking_budget_tokens: 0 left 121 tokens,
none of them thinking. wisp now sends that budget whenever thinking is off on llama.cpp
(ADR 0053, amended 2026-11-16), and the figures above are the third
run, with it.
Two earlier Ollama runs were discarded: in the first, Ollama updated itself from 0.40.11 to 0.40.16 during the run, and every suite after the classifier found no server; in the second, Ollama quit at 09:24:53, cause unknown, and 363 verdicts fell back to the rules. The figures above are the third run, watched for outages, with none.
llama.cpp 1.0.0 can draft with DFlash too (--spec-type draft-dflash with -md), which wisp’s router does not pass.
A separate llama-server on another port, not the router, with an 8,192-token window, ran three prompts twice each
(code, prose, a commit message; 400 tokens at most, temperature 0, thinking off), first alone and then with the
0.4 GB dflash-NVIDIA-Nemotron-3.5-Bolt-E4B-Q8_0.gguf draft:
| Prompt | Tokens | Alone | With the draft | Drafted tokens accepted |
|---|---|---|---|---|
| Python function | 400 | 49 to 51 tokens/s | 102 to 131 tokens/s | 72% (272 of 378) |
| Prose, three paragraphs | 364 | 50 to 51 tokens/s | 71 to 72 tokens/s | 38% (193 of 510) |
| Commit message | 287 | 51 to 54 tokens/s | 96 to 97 tokens/s | 58% (182 of 312) |
Each reply began identically with and without the draft, at the same length. The draft doubled the speed for code and the commit message, and added 40% for prose. These figures were taken with the router idle; a first pass, taken while the orphaned test process kept the router’s Nemotron busy, gave about half the speed both ways and the same ratios.
Reading a measurement
{ "task": "triage", "model": "system", "date": "2026-09-20", "passed": 7, "total": 7,
"notes": "expected failures found across abridged swift build, swift test, cargo test, and pytest output, by test name or file:line" }
tool names the model tool the task exercises when it is one, so the catalogue can attach it. A task
with no measurement for the configured model has not been measured there; that is not the same as
failing.