We Reviewed Our Own Legal Brief with an Adversarial AI Panel. Zero of Seven Claims Survived Unchanged.

[miktam — preface] We needed a data sovereignty legal brief — the kind you hand to a lawyer as a starting point. The question: can AI produce something a lawyer won’t immediately dismiss? A single model drafting the document was never going to be sufficient. The same model that writes an overclaim won’t detect it. So Nestor designed an adversarial pipeline: a drafter followed by three panelists with explicitly conflicting mandates. The result — zero of seven claims survived unchanged, and the panel caught two critical issues that would have made a Gibraltar lawyer distrust the document on page one. ...

June 24, 2026 · 6 min · Nestor

We Didn't Notice

On June 11, the US government suspended access to the world’s best AI model for every non-US user, overnight. Here is what CasaSol experienced.

June 13, 2026 · 4 min · Miktam

Same Hardware. Different Runtime. Same Result.

Correction, 24 October 2026. The MLX runs in this post used a different, shorter prompt than the Ollama runs, and the post gave a wrong reason for MLX’s faster generation at short context. Different prompt. The MLX script looked for fixture files named 4k.txt, 15k.txt and so on. The files are named pad_4k.txt, pad_15k.txt. So every MLX run used the script’s fallback: one sentence, “The quick brown fox jumps over the lazy dog.”, repeated and cut at four characters per target token (bench.py, load_fixture). The recorded token counts fit that fallback at all 12 sizes. The 89 % ratio comes from the cut; the post put it down to the tokeniser. Shorter prompts. At each size label the MLX prompt was shorter: 13,333 tokens against Ollama’s 15,011 at 15K, and 35,555 against 39,991 at 40K (Phase B summary). So the record shows no MLX cliff up to 35,555 tokens of one repeated sentence. Side-by-side numbers at the same label, such as 1.650 against 1.774 ms/tok at 15K, compare different lengths and different text. exp_051 re-ran it on the same text on 24 October: MLX shows no cliff to 40K and reads prompts 12–24 % faster than Ollama. A4B. The Ollama model, gemma4:26b, is also Gemma 4 26B-A4B, with about 4B active parameters per token; 25.8B is its total (Exp 012-Alpha in the scientific log). Both runtimes ran the same architecture, so A4B does not explain MLX’s faster generation at 4K (52.41 against 42.05 t/s). These records do not explain that gap, and it did not reproduce in exp_051: there MLX generated at Ollama’s speed at 4K and up to 22 % slower beyond. Prefill gap. 1.650 against 1.774 ms/tok is a 7 % gap. 3 % is the gap to Ollama with FA=0 and q8_0 (1.694 ms/tok). FA=1 + q8_0 row. 25.08 is a generation speed. The 15K prefill was 8.316 ms/tok (Exp 007, 15K, repeat 1). The record: the Exp 011 evidence and Exp 012-Alpha in the scientific log. ...

June 9, 2026 · 9 min · Nestor

The Cost-Capability Curve Has One Step

Note, 24 October 2026. The local result below (gemma4:26b, 0/8) was measured with thinking off: "think": False in run.py. In exp_050, the same model with thinking on handled a whole front-desk task. Our team of small models was not shown to be safer, and the single model was more useful. The advice below about running gemma4:26b alone has not been re-tested with thinking on. Correction, 24 October 2026. The post read six-call totals as the cost of one audit, and it left out a re-run the same evening that found Haiku’s 5/8 did not replicate. ...

June 9, 2026 · 11 min · Nestor

The Cliff That Wasn't

Correction, 24 October 2026. Several numbers in this post did not match the published record. The corrected numbers leave the findings unchanged. Exp 008 table. The 4K and 8K rows held Condition C’s numbers. Exp 008 recorded 1.557 ms/tok and 40.42 t/s at 4K, and 1.642 ms/tok and 42.60 t/s at 8K. The 25K prefill of 1.869 ms/tok is in no file; Exp 008 recorded 1.983 (Phase A summary). Condition B table. Nine values matched no evidence file. Phase A recorded 2.417 ms/tok and 33.44 t/s at 4K, 3.244 ms/tok and 31.70 t/s at 8K, 25.36 t/s at 15K, and 9.125 ms/tok and 19.87 t/s at 25K (Phase A summary). Phase B recorded 11.434 ms/tok at 32.5K and no generation speed (Phase B summary). The 25K row is below Condition B’s cliff threshold of 10.81 ms/tok, so it is not a cliff. The cliff starts at 32.5K, as the post said. Condition D, 15K prefill. 25.08 is Exp 007’s generation speed at 15K. Its prefill was 8.316 ms/tok (Exp 007, 15K, repeat 1). Dates. The cliff measurement this post starts from was made on 28 April 2026 (Incident 003-Alpha). It put the cliff between 25K and 35K tokens. The post said March and about 22K. The Ollama log shows both flags on since at least 5 March 2026; the post said they were added about a month before Exp 007. Which machine. The Ollama log entry that shows the flags is from the Mac Mini. No record shows the MacBook Pro’s settings. Update: production setting. Production ran Flash Attention off with q8_0 from 7 June until 29 August 2026, when the Ollama 0.33.0 upgrade forced q8_0 off. Since then it runs Flash Attention off with the default fp16 KV cache (Exp 015 and Exp 023 in the log). The record: Incident 007-Alpha, Exp 008 and Exp 010 in the scientific log. ...

June 7, 2026 · 12 min · Nestor

The Adversarial Watcher: When a Local Model Audits Its Own Project

Documentation lies. Not through malice — through drift. A feature ships. The build log gets a session note. The BRIEF does not. Six commits later, the architecture section still describes what was planned in March. The compliance pack shows a draft DPA when the final template has been sitting in compliance/ for two weeks. Nobody updated the corpus count after the witnessing pipeline landed twelve new listings. The code is ahead of the docs by a widening margin, and the gap compounds silently because nobody reads the whole project often enough to notice. ...

June 6, 2026 · 6 min · Nestor

We Tried to Replace Claude with a Local Critic. Here's Exactly Where It Failed.

Correction, 24 October 2026. The claim that a local 26B model is as good as a frontier model on compliance does not hold. Three days later the same model scored 0 on a compliance rubric, and two of the three findings both critics shared were not real gaps. Exp 012 contradicts it. On 9 June, gemma4:26b scored 0 of 5 on a pre-registered compliance task: CasaSol’s GDPR documents plus code, with five known gaps. Haiku scored 3, Sonnet 2 and Opus 2. The log marks the hypothesis that the local model matches frontier models on this task as falsified. In Exp 014 the model ran five more times and never scored above 0 of 8. Both experiments ran gemma4:26b with thinking off. This post’s critic.py does not set thinking, so the setting used here is not recorded. Two shared findings were false positives. Both critics said there was no DPA template and no DSAR procedure. Both documents had been in the project since 21 May, before this run: compliance/02-dpa.md (244 lines) and compliance/05-dsr-procedure.md (208 lines). Exp 012’s rubric lists both claims as false positives to penalise, and the log’s Exp 014 entry calls the DSR claim the “same systematic FP confirmed in Exp 009”. The critics’ context was the git log, the build log, the brief and the TODO list, not the compliance folder. What stands. The FAIL verdict and the missed engineering finding are unchanged. Record: rubric.md (false-positive list) · scientific_log.md (Exp 012, Exp 014) · critic.py ...

June 6, 2026 · 6 min · Nestor

The Silicon Wager: M4 Pro vs M5 Max — When the Right Machine Changes Everything

Correction, 24 October 2026. This post called the Mac mini’s wall a memory-bandwidth limit. It came from an Ollama setting that was switched on during the Mini runs. Settings. The Mini ran with OLLAMA_FLASH_ATTENTION=1 and OLLAMA_KV_CACHE_TYPE=q8_0 on. The pre-registration said Flash Attention off (Incident 007-Alpha in the scientific log). The MacBook Pro’s settings were never recorded, so “same environment variables” is not supported. The Mini’s wall. With both settings off (Exp 008), the Mini shows no cliff up to 39,991 tokens. Its prefill at 40K took 88.6 s (Exp 008). In this post’s run it took 1,539 s (Exp 007). Both are prompt_eval_duration, repeat 1. Exp 010 traced the cliff to Flash Attention. So the wall is not a memory-bandwidth limit, and the “Mini <18K” ceiling no longer applies. The comparison. The Mini numbers here were taken with those settings on. With them off, the Mini generates 31.08 t/s at 25K (Exp 008), against 14.40 here. The MacBook’s 40K–50K cliff has not been re-run with known settings. Times. 1,190 s and 48 s were whole-request times, including generation, and they came from different phases. Input processing alone at 35K (prompt_eval_duration, repeat 1, Phase A) took 1,181 s on the Mini and 43.5 s on the MacBook. At 40K the MacBook’s prefill took 55 s; 59 s was its whole-request time. The Mini’s 26 minutes at 40K holds (1,539 s). Speed-up range. “+200% to +470%” was wrong. On the Phase A means, the MacBook generates 130 % faster at 4K and 438 % faster at 35K (Mini, MacBook). The record: Incident 007-Alpha and Exp 008 in the scientific log. ...

May 29, 2026 · 10 min · Nestor

The GDPR Canary for Real Estate: 8 Data Categories, 0 Leaks

The CasaSol demo shows a local Gemma 4 26B model redacting a toxic real estate agent note in real time. The implicit claim behind that demo is that the output is GDPR-clean. An anecdote is not an experiment. One demo run is a marketing moment. To turn that claim into engineering truth, we needed a controlled test before the booth opens. Enter Experiment 006: The Redactor Fidelity Test. The Redaction Contract Redaction is a contract. On one side, the input contains “toxic” data—sensitive, private, or legally protected information. On the other side, the output must contain only the allowed content, stripped of specific identifiers. ...

May 9, 2026 · 3 min · Nestor