- L3: a native switch restores a target's config that still carries YaRN
(served while the box was 1m); the restore refuses before the unit when the
backup is gone
- L8: a switch checks for room before it downloads and names a full disk; the
cockpit's switch job gets 2 h (a flash download alone nearly took the 30 min)
- L9: patch-template.py keeps the installed template's default when
LEAN_DEFAULT is unset, and its refusal names the real default
- L10: run.sh's restore hint is a command install.sh accepts
- L6/L7/L12: install-image.sh reads its cache from the unit (then the text
lane's mount), measures room where the checkpoint and the runtime land and
counts the cache by bytes, and --uninstall of the boot lane re-enables the
text lane it replaced
- L11/N2: uninstall.sh inventories every cache and PLE folder the lanes use;
it asks sudo only for root's files, and when refused leaves the running
services whole (a no-sudo box died at its first sudo call, found in a
sandbox run); it no longer exits 1 after a clean run on a box without a
PLE folder
- tests follow the renamed lines (image lane room check, inventory paths,
lane removal and image reclaim extractions)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every ./install.sh restarted the engine, a full boot per update (7 to 8 min
on the 27B, 12 on flash) even when the update touched only the cockpit, the
proxy or opencode. engine-inputs.py finds what the engine reads at start from
its unit (unit, drop-ins, the flash launcher, config files named directly or
through /out, checkpoint configs, image IDs) and tells whether the running
engine already has it. Step 9 keeps the engine when it does, the run changed
none of it by content, and it answers /health; the real smoke test still
runs. RESTART_ENGINE=1 forces a restart, and every restart says why.
The unit, the flash launcher and the patched template are now written only
when their content changes: an identical rewrite dated them after the
engine's start and made every second run restart it.
Reference box: a plain ./install.sh on the serving 27B, 28 s twice in a row,
engine start time unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Qwen3.8-27B defaults to xhigh, the most expensive of its three levels, and the
levels are not modes: they are three sentences the chat template prepends to the
system message, measurable as 42, 30 and 0 tokens of prompt. That is the whole
mechanism, which is what makes it addressable with words.
Measured here over 7,008 runs, the shipped default is not only slower, it is
worse. On 364 public problems (HumanEval 164 with the dataset's tests executed,
GSM8K 200 on the exact final number), xhigh costs 3.19x the thinking tokens of
medium [2.73, 3.69] and scores 2.2 points lower on a paired McNemar test
(p=0.057). On HumanEval alone it is 4.3 points lower at p=0.039, and five of its
ten failures there are truncations: it spent the whole 16,000-token budget
thinking and returned nothing. low, the fix the community recommends, loses
significantly (p=0.021) for an 11% saving.
- lean: 74 words, added as a fourth level and made the default. On those same
364 problems it costs 0.71x the thinking tokens of medium [0.66, 0.77] with no
detectable quality change (-1.1 points, p=0.344). On 58 deliberately
underspecified requests, the shape that makes this model spiral, it costs
0.436x of medium [0.40, 0.47] and 0.047x of xhigh [0.04, 0.06] while producing
17.2 points more usable answers than xhigh [+10.9, +24.1], with zero empty
answers and zero truncations against 6.9% and 10.3%.
- Qwen's three levels come out byte-identical. Ask for medium and you get Qwen's
medium: a repo that quietly redefines a standard level makes every number
measured with it incomparable with everyone else's.
- LEAN_DEFAULT=0 installs the level without taking the default.
Proxy v6.18: SGLang validates reasoning_effort at the API boundary against an
enum compiled into its own request model, so a level the chat template
understands is refused before the template runs. The same value inside
chat_template_kwargs is not validated and reaches it, which is the door opencode
happens to use. The proxy moves a level SGLang refuses into that field and
touches nothing in SGLang's own enum.
The level also has to reach the config opencode actually reads. install.sh
writes a complete config into CONFIG_DIR but only merged limits into the
operator's own file, so a new level appeared everywhere except where it could be
selected. oc-merge-limits.py --add-variant closes that.
LEAN.md carries the method, the pre-registered falsification criteria, the
three-state functional scoring (the answer's code is run, with "not checkable"
kept separate from "broken"), the fairness replay that tripled the token cap to
show the truncations were not an artefact, and what did not work: an expert
persona (no gain, twice the tokens used alone), a decisiveness instruction
(nothing left to remove, lean already sits at 0.00 backtracking markers per
thousand), Chain of Draft (cheapest, loses quality), and four candidates from an
error analysis that all cost tokens and gained nothing. It also states what was
prepared and not run: a 557-problem held-out set with an identical-twin null
control.
Verified live before shipping: 20 end-to-end checks, and on one open request
990 thinking tokens in 19.0 s for lean against 9,084 in 190.9 s for xhigh.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The release the reference box actually runs: model choice (stock or the
huihui-abliterated NVFP4), CONTEXT_MODE=1m (YaRN 1,010,000 + keepalive proxy
+ mem-fraction 0.70), upgrades that read the installed unit and keep the
operator's choices, the pinned revision passed to the server itself so no
upstream push can change what is served, the opencode provider config and oc
launcher replacing the Claude Code integration, opt-in extras (auto-continue
plugin, CAKE ingress anti-bufferbloat), fixture tests and CI. Validated end
to end on the reference box before tagging; details in the CHANGELOG.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- patch-template.py takes the pinned revision (sha or ref) and reads that
exact snapshot; with several snapshots present it no longer picks by
alphabetical accident (fallback = newest by mtime, announced). install.sh
passes MODEL_REV through. Verified: pinned-sha path, 'main' ref path,
and byte-identity with the template currently in production.
- uninstall.sh disk footer now lists the locally built qwen38-dflash2
images and the z-lab draft.
- Adversarial sweep also tested and CLEARED: git stash without a
configured identity (modern git has a fallback committer).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- patch-template.py: map OpenAI's 'minimal' effort tier to 'low'
(render-verified: minimal==low and high==max==xhigh byte-identical,
medium distinct, invalid values still rejected)
- run.sh: catch interrupted downloads (blobs/*.incomplete + missing
safetensors) instead of just checking the snapshot dir
- README: link their standalone launcher, credit the minimal fix,
warn against HF_HUB_OFFLINE=1 (SGLang's LongCat probe hard-fails)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>