Thesis · why the composition
A turn asked one of our own models for a correct command on our own stack. It scored zero. The platform did not fine-tune anything. It put 44 lines of rules in front of the model, and the score went to 0.93. Same weights, different composition. That decision — what to change, and in which of six places — is the whole architecture.
The first decision
Every non-trivial turn runs six moves. They are not six services and not six modules. They are six decisions made per turn, and each one can be the one that went wrong.
“One shell command that pauses a service on our fleet, durably.”
The model produced systemctl stop on the service. On our stack that is wrong: the fleet runs rootful podman quadlets, and a stopped container is revived by the self-healing reaper — a durable pause means removing the container and leaving the disabled sentinel behind. It had never been told either fact.
Retrieve the trap file into the prompt. No weight changed. The gap was knowledge, so the lever was context — not training.
The system under test is the composition — classification, lane bindings, escalation and memory — never a raw model. A model on its own is a baseline. If an eval arm does not run the orchestrator and its lanes, it is labeled a baseline and it never stands in for system performance. The interesting question is therefore not “how good is the model” but “which of the six decisions is this failure, and what does that decision cost to fix”.
Interactive · the lever switch
Three failures measured on the same two models. Choose one, then try the lever that does not belong to its gap. Everything shown is a recorded measurement.
No public corpus contains this stack, so a well-reasoned answer is still wrong. The model was never told the facts; it was not reasoning badly.
A rendered trap file: 44 rows, 6,777 characters, one line each — the situation that triggers it, the wrong form an agent reaches for, the right form. In production the whole block is appended to the system prompt whenever the turn is ops-shaped; there is no row-level retriever.
Bonsai 2 27B, 15 items. Paired delta +0.933, 95% CI [+0.80, +1.00], 14 better / 0 worse / 1 tied. Gemma 4 12B: 0.000 → 0.800, CI [+0.60, +1.00].
The stack-command items are open-book by design. They are derived from the same rules file the prompt block renders, so that measurement isolates the value of having the facts, not the quality of retrieval. In production the whole 44-row block is appended whenever the turn is ops-shaped — no row-level retriever exists yet — and choosing which rows a task needs is the harder problem this number does not score. The LoRA arm trained on the same material and still moved by nothing, which is the comparison that matters for the lever.
The frame
This is the cognitive architecture: six pillars every turn passes through. The pillars are habits, not modules. Each turn records one decision per pillar; a failed turn can be traced to the pillar that decided wrong. The maturity plan puts the kind of gap — knowledge, reasoning depth, perception, skill, or none — in Intent, and that classification is what selects the lever. Today the classifier does not exist yet: the gap kind below is read by the person looking at the failure, which is exactly the decision the plan automates.
What is asked, the kind of gap, and how much effort it deserves on a 1–10 scale. Everything downstream depends on this call.
effort 1–10 · gap kindWhich knowledge, lessons and memory layers to retrieve. Fixes a knowledge gap by putting the missing facts in front of the model.
knowledge → retrieveWhether to think, how deep, and with what budget. Fixes a depth gap by giving the same weights room to work.
depth → thinkWhich model, which lane, which tools are in reach, and when to escalate. Fixes a perception gap by routing the work to the model that can do it.
perception → routeWhat to produce, and in which shape. A model that knows and sees but cannot produce the format has the one gap training should own.
skill → trainDid each decision pay off? Write the lesson, keep the measured wins, retrain the deciders — and refuse the run that cannot beat its own base.
gate, not optimismThe cheap levers come first. Give the model the facts and re-run. Give it room to think and re-run. Send the turn to the other model. Train only what is left after those three. The ordering is not a preference: it is a cost ladder, and three of the four gaps measured here were closed at the bottom of it.
Under the pillars
The orchestrator is a reasoning classifier and planner, not a chat model. Every inbound turn and every completed agent step passes through it, and it returns strict JSON that is validated before anything is dispatched. Invalid JSON gets one retry with the schema re-injected, then a hard fail with telemetry — never a silent fall-through to “just send it to a chat model”.
| Decision | What it controls | What a baseline gets wrong |
|---|---|---|
| Classification | intent, effort, gap kind | A raw model is asked everything at the same depth |
| Lane bindings | which endpoint answers which kind of step | OCR images go to a projector that cannot read them and score zero |
| Escalation | when a stuck step changes tier, and back | A stuck loop repeats until the context runs out |
| Memory | what survives the turn | Everything is lost at the context boundary |
Two of those lines are measured in this demo: a knowledge gap closed by memory retrieved into context, and a perception gap closed by routing OCR images away from a projector that cannot read text. Both were fixed with the weights untouched.
How it is measured
A judge is a model, not an oracle. A benchmark whose verdict comes from a model cannot tell you the model is wrong — and on a one-GPU box the only model up is often the model under test. So every item here is scored by a rule.
Exact match — the answer is the string, or it is not. Set membership — the answer must name these items and no others. Ordering — the steps must appear in a dependency-correct order. Nothing else is accepted, and nothing is graded by a language model.
15 items per dimension, so one flipped answer moves a dimension by 0.067. Each comparison is paired on the items both runs judged, with a seeded paired-bootstrap 95% interval. A delta counts only when its interval excludes zero. An unjudged item is counted, never scored as zero.
The interesting claims on this page are small: +0.373, +0.167, +0.000. A judge's noise would drown every one of them. Deterministic scoring is what makes “the LoRA moved nothing” a fact rather than an opinion — and it is why the promotion gate can refuse a run on arithmetic alone.
The last lever
We have run four paired LoRA experiments so far, $57.82 of rented GPU time in total. The promotion gate needs an overall lower bound strictly above zero and no dimension lost. It rejected all four.
| Run | Corpus | Delta vs its own base | Dimensions lost | Promoted |
|---|---|---|---|---|
| Bonsai 2 r1 | generic | +0.009 | doctrine (significant) | no |
| Gemma 4 r1 | generic | −0.009 | six_pillars (significant) | no |
| Bonsai 2 v25 | targeted, anchored | +0.020, CI [+0.000, +0.044] | none significant | no |
| Gemma 4 v25 | targeted, anchored | +0.015, CI [−0.015, +0.044] | none significant | no |
Two things are worth reading out of that table. A corpus unteaches what it leaves out: each round-one run lost a dimension it was never trained on. Anchoring about 45% of rows to the model's own correct answers fixed that — no dimension dropped significantly — but no gain cleared its interval either. That is the gate doing its job. A run that cannot beat its own base by a measurable margin does not ship, however good its training loss looks.
It does not say training is useless. It says three of the four gaps measured on 2026-11-11 were the wrong shape for it, and that a full training loop with a gate is how you find out which one is left. The remaining target is the six-move reasoning format — the one gap where the model must learn to write something it has never seen.
Traceability
Sources are named artifacts, dated at the run; the readable write-up is public. No number on this page was typed from memory.