Every install makes ~/.local/share/qwen38-video/outputs, a lane
installed on demand and never loaded included, and uninstall.sh kept
the directory for that empty folder, with a line that called it files
the video lane did not put there (found by the install matrix: a plain
install, then ./uninstall.sh --yes, left both). The empty folder goes;
videos in it stay, as they always did, and the line says so. The new
test fails on the old code (4 of 4) and passes on the new.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ceilings on connections from other machines, the deadline for a
request's headers, the budget of the bodies in flight and the refusal of
a compressed body are said where clients read about the proxy's
refusals, with the variable of each and how to raise one for a gateway.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Their comments gave the venv and the checkout 7 GiB: with the wheel they
take 8.6 to 8.8 GiB on the reference box (2026-10-17). RUNTIME_GB stays
11, the rest for the build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vlane_room took the checkpoints' download in GB of 10^9 bytes, added the
image's room in GiB and held the sum against df -BG, which counts GiB: a
Kolibri-1 install asked for 111 GiB free where 106 hold it, the Nemotron
lanes for five GiB too many as well. The checkpoints' share is now in
GiB, rounded up, as in every other room check of the repo; the line that
says it fits still gives the download in GB. The new test fails on the
old code (106 GiB free refused) and passes on the new.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The flash's abliterated checkpoint is 136 GB like the stock one (205 of
its 206 shards are the same size), the Flash-Next install's download is
the checkpoint and its 16 GB image, and an image pruned by mistake is
re-pulled in 15 to 16 GB, not 30.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every lane size the docs, the installers' messages and the cockpit give now comes
from the reference box (the pinned snapshots, docker image inspect), rounded up to
the GB, a total being the sum of its parts: 27B 58, flash 223, image 46, video 174,
Kolibri 102, Nemotron 51, Super VL 77 (102 alone); the whole box 731 GB of disk and
573 GB of downloads. Some were GiB written as GB (video 160 and 165, flash 206, image
40, the PLE file 48). The room checks are unchanged and still count GiB (df -BG): the
README gives their thresholds in GB, and tests/test_docs_facts.py converts them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
wheel-stub 0.5.0 (download_manual) reads pypi.nvidia.com/<project>/ and
resolves the wheel's link against that page, which the check mirrors;
the lanes' venv is Ubuntu 24.04's python3, 3.12.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An image config has a "config" key too, the container's, and the first
real run read it as a manifest: the three single-image pins failed with
"config none". A manifest is now told by its layers. The fake registry
answered configs without that key; it now answers like Docker Hub (a
single image by default, its config with a container "config"), and an
index naming arm64 is tested to pass. On the real registry, the amd64
child of v0.5.21 (2dbe4c7f) is refused, the four pins pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sglang==0.5.21 requires cuda-tile==1.6.0rc5, which PyPI holds only as
a "wheel-stub" sdist: building it downloads the real wheel from
pypi.nvidia.com. An rc NVIDIA removes there breaks a fresh image or
video lane, and nothing watched it (audit of 2026-10-16). The version
is read from the pinned sglang's requirements, so the check follows the
pin; PyPI's stub must be there, and pypi.nvidia.com must list and serve
(HEAD 200) the cp312 aarch64 wheel. check_wheel's PyPI question becomes
wheel_why, which both use.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
install-kolibri.sh and install-nemotron.sh download one file by URL and
check its sha256, and the watch asked PyPI for the release alone (audit
of 2026-10-16): the pinned file deleted while the sdist stayed went
unseen. PyPI's JSON for the version must list that URL with that sha256.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The box is aarch64, and check_image counted any HTTP 200 as resolved
(audit of 2026-10-16): an amd64 child pinned by mistake, or an index
without arm64, stayed green. An index must name linux/arm64; a single
image is read from its config blob (33 to 45 KB for the three pinned
today). An answer that is not JSON, or a config that cannot be fetched,
is "not checked", as elsewhere.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Nothing checked what install-speech.sh downloads (audit of 2026-10-16):
llama.cpp's commit, each recognizer's two GGUF at its revision and
Kokoro's two release files. The GGUF's LFS pointer, which /raw/ answers
at the pinned revision, must name the sha256 the install checks. Kokoro's
assets carry no GitHub digest (uploaded before GitHub kept them): they must
exist, and a digest, once there, must be the pinned sum. opencode's
release still fails without one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
install-speech.sh prints its --help by the header's shape like the other
lane installers. Its header ends on why the one command leaves it out, not
on the one-engine rule of the GPU lanes, so the last-paragraph check takes
that marker for it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The three French sections of 2026-08-29 (the step 4 recipe plan, its
evening progress note, and the two visual directions "to discuss") were
working notes: they pointed at a home directory, at a mockup now removed,
and at a render-template.sh that was never written. The rest stays.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dashboard/mockups/design-directions.html is the static mockup of two visual
directions the redesign did not take. dashboard/tests/headless-check.mjs
reads ids the page no longer has (#rcptable, #lanestate, #connlabel and the
like) and nothing runs it; the CI step that parses dashboard/tests/*.mjs
now counts two manual checks. fmtClock in base.js has no caller. The copy
of the dashboard tree in test_cockpit_code.py stops skipping mockups/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cockpit.css and now.js counted four and five bays: the rack seats one bay
per lane, in three columns. lifecycle.blocked_reasons gets the states of
every engine unit, not two. prepare-lane.sh named tests/test_cockpit_http.py,
which lives in dashboard/tests/. bench-agent.py and BENCHMARKS.md cited
notes/ files that are jschmied's, in github.com/jschmied/qwen38-flash-next-gb10,
and now say so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No script in this repo creates it, and the reference box no longer has it.
It leaves the Conflicts= and After= lines of every lane template, the
cockpit's sudoers allowlist, switch-model.sh (its disable guard and the
serving-lane probes), the image, video and vLLM lane proofs, and the tests
that pinned it. Only those unit lines change, so lanes.sh's unit_put keeps
each unit's date and engine-inputs.py its fingerprint: no lane restarts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every guard reads the body as it comes, and a body sent with a
Content-Encoding (gzip, deflate, br) reads as no JSON to each of them, so
each let it pass: an engine or a front that decodes it would take what no
guard had seen. A body in any coding but identity is now refused with a
415 and Accept-Encoding: identity, before it is read; no client of this
port compresses its body. The cockpit's outcome list knows the new line.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test flipped the fake engine to the new lane 1.5 s after it went
down. On a loaded machine the request could reach the proxy after that,
find an engine that answers, go to the new lane unheld and pass, and the
test failed for want of a hold (reproduced with the request 2 s late).
The new lane now comes up once the proxy, holding the request, has asked
the engine whether it answers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SGLang's video processor (qwen_vl.py, v0.5.21) takes its
VIDEO_TOTAL_PIXELS from the environment variable VIDEO_MAX_PIXELS; the
guard read VIDEO_TOTAL_PIXELS, a name the engine never reads, so the two
could not be set alike. The guard now reads VIDEO_MAX_PIXELS, with the
engine's default.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The wall's allow list refused Ollama's /api/tags and /api/show,
SageMaker's /ping and the root as operator routes, though SGLang v0.5.21
only reads there (a model list, a model card, an empty 200, "is
running"). They are client routes now. /encode and /classify stay out:
they run the model outside the size guard, and /v1/embeddings and
/v1/classify, which it guards, are a client's way there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Where a wedge is possible, a body the engine's count cannot take is
judged at one byte a token, and /v1/responses' input and /generate's
image_data, video_data and audio_data carry their media as base64: one
photo was a token per byte and refused as too long. Those media are now
priced by _media_tokens, as everywhere else in the guard (an image by its
header, a video by its ceiling), and only the rest of the body is judged
by its size.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SGLang v0.5.21 serves the counting handlers at /v1/tokenize and
/v1/detokenize too, which the ceiling of the bare routes missed. And the
size guard, to decide on a nominated prompt, handed its text whole to the
engine's /tokenize, up to MAX_BODY_BYTES, the very load that ceiling keeps
from the engine. A prompt whose text alone is past COUNT_BODY_MAX_BYTES,
over four times the largest window a lane serves, is now refused as too
long without a count, on the relay path and System One's alike.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Only a chat or /generate stream proved that the engine takes the rid the
proxy imposes, and the proof was dropped at every engine restart: a box
served by Claude Code alone never had it, and each abandoned /v1/messages
answer was drained for up to DRAIN_MAX_S. Until an answer says otherwise,
the active unit named in PROXY_HOLD_UNITS starting its engine with
SGLANG_ENABLE_REQUEST_HEADER_OVERRIDES=1, on its command line or in the
launcher it runs, is now the proof. vLLM's lanes do not set it and keep
the drain.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The budget was taken whole on the Content-Length before a byte was read
and kept to the end: a key holder announcing large bodies and sending
nothing held all of it, and every other body, loopback's included, got a
503. A body at or under BODY_SMALL_BYTES (1 MiB) is now always read and
holds none of it; a larger one takes its bytes as they arrive, a step at
a time, and is refused when no room is left, except the oldest one being
read, which waits up to BODY_WAIT_S for the room the others give back, so
two bodies read at once never both lose.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
No key is asked before a request's line and headers are in, and
CLIENT_IO_S (900 s) bounded each read, not the whole: four addresses at
their ceiling of silent or trickling connections shut the port to every
other peer on the network, with no key. A connection from the network now
has CLIENT_HEADER_S (30 s, settable) in all until its headers are in, a
byte at a time or not, then CLIENT_IO_S again. Loopback is unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The serving key is also in the engine-secrets.yaml the text lanes write in
~/.config/qwen38 at every start, and the identity wall's client keys live
in /etc/qwen38, readable by the box's user. A mask on each file misses a
file made after the lane started, and a rename over it on the host, which
is how engine-secrets.sh writes the key, detaches it in the lane's mount
namespace (measured). The image and video units now see ~/.config/qwen38
as an empty read-only tmpfs with engine-preflight.sh bound into it, and
/etc/qwen38 not at all ("-": most boxes have none).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sampling guard judged a body once, before the hold that waits for a
restarting engine, against the vocabulary of the engine that was there,
and the request then went as it was to the engine that came back, which
can be another lane: an id the old lane held and the new one does not
took it down. After a hold, the body is judged again, against a
vocabulary learned since the hold began; an answer in a stream the hold
opened is an error event of that stream.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
These keyless lanes take media sources from whoever reaches them, local
paths included, with the rights of the box's user, who owns the serving
key in ~/.config/qwen38/api-key. Both units now make that file
inaccessible to the lane; neither the lane nor engine-preflight.sh reads
it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
These lanes have no key (the diffusion runtime has no --api-key), take
dump and output paths from whoever reaches them, and run as the box's
user, who owns ~/.config/qwen38, where the serving key and the
engine-preflight.sh every lane runs before it starts both live: a lane
bound past loopback could overwrite either. Both units now mount that
directory read-only for the lane; the preflight writes nothing there.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The engine's counting routes generate nothing, so the oversize guard
never measured them and only MAX_BODY_BYTES (256 MiB) bounded what they
handed the engine's tokenizer. Past COUNT_BODY_MAX_BYTES (16 MiB, over
four million tokens of prose) they now get a 413 before the body is
read. /v1/messages/count_tokens, which Anthropic clients send their
whole conversation to, keeps MAX_BODY_BYTES.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sampling guard stood down when the served vocabulary could not be
learned (a busy, paused or restarting engine, or one that answers the
probe), refusing only negative ids, so an id past the vocabulary, which
takes the scheduler down for every client, was relayed on trust. An id
under the smallest vocabulary of the lanes the proxy fronts (Kolibri's
128,000) still goes; one at or past it gets a 503 with Retry-After until
the vocabulary is known.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Scoring asks the engine for token_ids_logprob itself, from
label_token_ids, so a score request batched with any other is the mixed
batch that kills the scheduler (sglang#34719), the reason the field is
refused on /generate. /v1/score was relayed with nothing read; a non
empty label_token_ids is now refused with a message naming the route.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The proxy believed the engine's Anthropic route ignores x-override-rid,
so an abandoned Claude Code answer was drained, decoding for nobody for
up to DRAIN_MAX_S (900 s). In v0.5.19, v0.5.21 and the flash nightly that
route builds its request through the chat route's
_convert_to_internal_request, which applies the header. The proxy now
imposes its rid on /v1/messages and aborts with it once a chat stream has
proven that the engine honours it; an Anthropic stream, whose msg_ id is
no rid, never decides that proof.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MAX_BODY_BYTES capped one body and nothing capped them together: each is
read whole and parsed again by the guards, so a few legitimate bodies
near the cap reached the unit's MemoryMax=1G at once, where the kernel
killed the proxy and every stream in flight. Past BODY_BUDGET_BYTES
(384 MiB) a body is not read and gets a 503 with Retry-After; a body
arriving when none is in flight is always read.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A body the engine's count routes could not take (native /generate
fields, /v1/responses' input) was judged by the 2.5 bytes a token
average, so a body of digits, one token each, went past the limit
uncounted, into the zone the engine queues and never admits. The native
/generate shape is now counted (ids count themselves, text is a prompt)
and what still cannot be counted is judged by the one byte a token bound
where a wedge is possible; elsewhere the average decides as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The oversize guard charged a video a flat 4,096 tokens, where SGLang's
own video sizing (768 frames, VIDEO_TOTAL_PIXELS) lets one cost about
88,000, and a body of a dozen video URLs is a few kilobytes that the
byte estimate never nominated for a count. Where a wedge is possible,
each video part now adds its ceiling to the nomination and to the count,
so such a body is counted and refused as too long; lanes whose engine
refuses past its own window keep the flat budget and see no change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
/v1/score takes token ids in query (List[int]) and items
(List[List[int]]), which index the embedding as input_ids do, but the
route was not in SAMPLE_GUARD_ROUTES, so a negative id or one past the
vocabulary went to the engine unread and could take the scheduler down
for every client. The route is now guarded like the others; text items
are left alone whatever their characters.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
urllib's default handler followed an engine redirect on a GET, resending
the engine's key, and the answer went out under the path the caller had
asked for, the one that decides the /server_info masking: /server_info/
came back 307 to /server_info, was followed, and was relayed unmasked.
Engine redirects are now relayed with a Location that points back at the
proxy, and the masking ignores trailing slashes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every connection held a thread and a descriptor for up to CLIENT_IO_S
(900 s) before its request line was read, with nothing counting them, so
any peer reaching the port without a key could exhaust the descriptors
and lock every client out. Connections from other machines now count
against a ceiling per address (PROXY_MAX_CONN_PER_ADDRESS, 64) and one
for the network (PROXY_MAX_REMOTE_CONN, 256), and past either the new
connection is closed before a thread starts, as the cockpit's relay does.
Loopback is not counted, so clients on the box keep the port.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Behind the identity wall the proxy signs every relayed request with the
engine's own key, so any listed client key could reload or update the
weights, start the profiler, pause or slow the engine, flush its cache or
abort every request, as the operator. A listed key now reaches an allow
list (everything under /v1/, the native generation routes, counting,
server info, health and metrics) and gets a 403 elsewhere. The cockpit
calls the engine's operator routes on 127.0.0.1:30000 directly.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Words inserted in review left lines cut in mid-sentence ("its unit
holds", "12 of / 12", "the native / MTP head"), which a release's notes
show as they are. The same words, wrapped at 100 columns.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The 25.3 GiB seen during a 252,000-token prefill was measured before
--block-size 64, --prefix-match-unit 64 and the shared Mamba checkpoint;
the 26 GiB at rest holds with them (25.7 to 26.4 GiB after two boots of
the box's lane, 2026-10-16 and 17).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found by the reviews of this release, each case reproduced on the page:
- a switch written and not restarted rewrote the same files an update
does, so the cockpit said an update was owed, and the restart it
offered switched the lane back; nothing is said while a switch waits
for its restart (the "next start loads" banner covers it, in degraded
too, and its Load applies both);
- the update tier's answer was up to 30 s old after a restart, and the
card offered the restart again over the boot it had started: nothing
is said while the engine boots, and a finished restart or switch reads
what is owed again at once;
- the restart that applies an update went through the Load journey,
which points the boot at the lane: it is the restart alone now (the
runtime's preparation first if it is missing), and the card names it
only when its Load is that restart;
- a switch to what a 27B unit or the flash launch script already loads
rewrote it with a new date, which read as an update owed: it rewrites
nothing now, as Kolibri, Nemotron and the image lane already did;
- engine-inputs.py, oc-fit-limits.py and oc-merge-limits.py, which the
cockpit loads once, were not all among the files whose change says the
cockpit is stale and restarts it.
The tests' boxes no longer stay in /tmp after a run.
The new tests fail on the previous code.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With any value but false, opencode 1.19 checks for a release every 10
minutes and, once on the newest 1.x, shows "/update to upgrade to
OpenCode 2.0" on its TUI's home screen (cli/upgrade.ts, home.tsx), and
1.18.35 announces 2.x as soon as GitHub's latest release is one.
OpenCode 2's server is not the 1.x `opencode serve` the Agent tab's
relay is written for. Only false or OPENCODE_DISABLE_AUTOUPDATE turn the
check off. oc-merge-limits.py now writes the JSON boolean, and refuses a
value opencode's schema does not take: the old code wrote the string
"false", which that schema refuses.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The README, ARCHITECTURE.md, ROADMAP.md and the pages in docs/ said of
every text lane what holds for the two Qwen lanes alone (the Anthropic
dialect on :30000, System One from any lane, two opencode providers,
seven targets for switch-model.sh), and gave numbers without their
condition. They now name the five text lanes and list each lane's page,
give the flash lane's 47.9 tok/s its context tier and the 27B's 71.4 its
SGLang v0.5.19, an engine restart the README's minutes, and the roadmap
v1.35. Each statement was checked against the code before it changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bolt's KV cache before the prefix cache's settings was 4.7 million tokens,
as the lane's page gives it (4,712,014), not 4.8. The comment on
draft_in_cache had stayed above the two helpers this release put before it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>