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>
docs/nemotron-lane.md with every number measured on the reference box, and the
README, ARCHITECTURE.md, the clients', the cockpit's and pi's pages, and the CI's
lists of targets and privileged calls.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The full local CI of the branch (2026-10-15 01:28) failed four steps, each on something this
branch changed and the targeted runs did not cover:
- The other text lane's run, installed on demand, ended "...; its first Load prepares it":
that run's last line names its target and tells nothing to do (the serving run's summary that
follows says what), so it says "not prepared yet" now; the summary's line for a lane in units
says its first Load builds it, as it did.
- The check that every downloaded checkpoint is one something serves counted the dl_fetch
calls at the start of a line; the on-demand guard indents them. It counts them indented too,
and still finds exactly MODEL_REPO and DRAFT2_REPO.
- The image and video lanes' tests read their installers' calls as "--no-smoke"; a run gives
them what side_mode says (--no-smoke for a lane prepared, --units-only for one installed on
demand, never the smoke test): the tests read that, with the same intents (a routine rerun
runs no smoke test, the boot-lane path respects a lane left out).
- The help no longer said what the whole box costs: --all-weights says about 540 GB of disk,
and the plain run about 43 GB of downloads, which the help's test now asks for both.
- A test file kept an import it no longer used (ruff F401).
The tests/ folder passes whole (1,482 tests here, the skips those of the environment).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
install.sh and switch-model.sh fetch the text lanes in their serving image, install-kolibri.sh
and switch-model.sh fetch Kolibri in its image, install-image.sh, install-video.sh and
switch-model.sh fetch the image and video lanes in their venv: all through ckpt-fetch.py now,
each with the options its own copy had (the image and video switches and Kolibri's two callers
ask the cache first; the image switch and Kolibri's check the room; the image and video
installers and the image switch pin refs/main, the text lanes and the video switch fill it).
What changes for a user: a cockpit Load of the image or video lane resumes after a network error
instead of failing, and the video one no longer takes a partition it does not serve for missing;
the text, image and video installers show the byte count; a Kolibri fetch that stopped is
charged what it lacks in bytes; a text lane's refs/main that holds no commit is repaired.
kolibri-fetch.py went into it.
The docker callers check that the script is there before mounting it (docker -v of a missing
file makes a root-owned directory in its place), as they did for hf-progress.py. The CI step
that holds install.sh to downloading the model and the served drafter reads its two dl_fetch
calls, and the test harnesses that copy a script into a fake repository copy ckpt-fetch.py
beside it. The tests that ran each copy now run the script with the arguments each caller passes
(the image pin, the Xet retry), the image switch's fixture holds weights in its cached snapshots
as a real one does, and tests/test_one_fetch.py holds who runs it with which options, the Xet
ban beside each call, and that no script keeps a fetch of its own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The end-of-run harness gives the Kolibri unit a path of its own, now that install.sh
names it in a variable, as it does the text units: the block read the machine's own
/etc before. The proxy's vLLM suite joins the ones its coverage floor is measured
with (84 % without it, the floor 85 %). The README gives the fresh install its
measured time, and v1.29.0 its tests and the reference box's runs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A fifth lane card (Kolibri-1, FP8 or NVFP4, Aleph Alpha's mark from Lobe Icons) with its
boot read from vLLM's own log lines (the shard being read, the compile, the KV cache, the
API), its health from vLLM's /health (which generates nothing) and its load from /metrics.
None of the SGLang belts apply to it: the canary's model name is a 404 there, and the
pool guard, the autoheal and the zombie guard read routes and log lines vLLM does not
have; the flush and abort-all actions say so instead of failing. The Logs tab, the
diagnostics bundle, the container stats, the switch targets and the sudoers allowlist
(start, stop, enable, the unit staged by a switch) know it, and the CI gates with them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
opencode's pruning swaps old tool output for a placeholder past the most recent 40,000 tokens
of it. Each swap changes the history the engine cached, so the next turn recomputes everything
after the first cleared output (2026-10-13: 232 of 527 tool parts cleared in a 410K-token
session). Compaction still makes the room. The tests now start from prune on, the update every
existing box goes through: on v1.28.1 the merge script and two config-edit tests fail.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The gate greps every tracked file, binary included, and three compressed
bytes of the 2026-10-11 cockpit capture happened to spell an en dash at
offset 97923 of cockpit-lanes.png: a PNG cannot hold house typography,
but grep saw the bytes and both the v1.27.1 local run and the docs CI of
5a37ed2 failed. The grep now skips what grep itself calls binary (-I);
every text file is still read, and the self-check on a real em dash stays.
Co-Authored-By: Qwen3.8-Flash-Next <noreply@dgx-spark.qwen38.local>
The lane runs the v0.5.21 release's commit and wheel instead of the main commit ddebc52
and the 0.5.20 wheel: the base's images are byte-identical on both (twelve requests),
4.7 % faster at 1024x1024. sgl-project/sglang#43391 (merged 2026-10-10, in no release) is
backported as three one-file patches so the Turbo samples on its eight-step sigma grid;
image-sglang/turbo-grid-check.py checks the three parts on the runtime, and the installer
and the switch refuse the Turbo where one is missing.
./switch-model.sh image-turbo rewrites the unit's --model-path from a fixed staging path
(one new sudoers line), reads the revision the box serves (refs/main) and the pin only
when there is none, checks for room less what the cache holds, and keeps a checkpoint of
the unit's own across a round trip through the Turbo. An existing venv takes a new wheel
(sglang-wheel note, removed by both uninstallers); the runtime check asks the registry,
whose source text v0.5.21 no longer matches; no check rests on an assert. A first
install's checkout no longer trips on a patch merged upstream, in both diffusion
installers.
The cockpit asks the image engine what it serves (/model_info, once per life of the unit)
and the page, Load and the banner follow it; the Image view fixes the steps at 8 under the
Turbo, leaves num_inference_steps out and estimates with a formula fitted to both
checkpoints on the new runtime. Docs, README, MIRROR.md, ROADMAP and the CHANGELOG say what
changed, measured on the reference box.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v0.5.21 refuses --cuda-graph-max-bs as ambiguous. The canonical name
resolves to the same 488 settings on v0.5.19 (prepare_server_args run
inside both images on this unit's command line), so this commit is
neutral on the image it ships with. v0.5.19 already printed a
deprecation warning for the old name; booted with the new one on the
reference box, it printed none and passed the 18 production checks
through the proxy. The CI regex that compares the templates' values
follows the new name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pool, the window and the names the proxy reads from the engine were kept 600 s and
dropped only by a request that found the engine gone. After a switch made while no request
came, a lane that boots in less than 600 s served its first minutes under the stopped lane's
facts: the 27B (about 7 min to boot on the reference box) refused every prompt past the
flash lane's 250,000 ceiling for up to 2.5 min, and /v1/systemone answered as the flash
(2026-10-08). The units PROXY_HOLD_UNITS names are now asked for their invocation id when
those facts are read, at most every 2 s, and a new one, which systemd gives every start,
drops them. A proxy that names no unit, or a systemd that does not answer, keeps them their
600 s. The hold tests' systemctl answers that question with ids that never change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Without the identity wall, the engine's key is the port's one gate (README), and a
request without it still had its body read whole and, when large, counted by the
engine on the proxy's own key before the engine's 401. The proxy now applies the
engine's own rule first (measured on the live engine: bearer in any case, one space,
the key exactly) and answers the engine's own 401, before the body and before an
Expect: 100-continue invitation; /health and /metrics stay open. The test harnesses
decide which key their proxy holds, whatever HOME holds: those that give it one
present it, as every real client does, and those whose clients send none give it
none (the CI's offline step gives HOME a key). The cockpit knows the new outcome.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SGLang Diffusion's scheduler polls its request socket without ever
waiting, so a video lane with nothing to do held one CPU core at 100%.
On the reference box (2026-10-06) the box's CPU sat near 6 % through an
evening with the lane loaded and idle, against near 1.3 % on quiet hours
the day before, and its hottest zone near 61 C at rest against 43 C with
no lane loaded: enough to keep the fans loud. py-spy put the core in
recv_reqs() under event_loop(), every other thread idle.
The image lane has carried scheduler-idle-poll.patch since it was
measured there; this lane was left on the cookbook's code by choice
(2026-09-25), reversed now that the cost is measured. Applied by hand to
the box's video source first, 3 min after ready: 1.05 cores -> 0.05, the
hottest zone 67 C -> 54 C; a 4 s 480P request picked up in the second it
arrived, done in 691 s (592 to 760 s before), MP4 h264 864x480 with aac
audio; the scheduler idle again after it; a stop at rest 0.24 s.
install-video.sh now applies the patch as install-image.sh does (one
file in image-sglang/ for both lanes, at the same SGLang commit):
applied, already applied, or a note when a new pin no longer fits it,
taken off before a new pin's checkout; its at-rest measurement notes a
lane past half a core. The CI step that checks the patches against the
real upstream file now covers both lanes, each at its own pin. The test
that held "no local patch on this lane" now holds this patch and no
other; TheIdlePatch runs the installer's own lines against a throwaway
tree. Four hand-made mutants (never applied, the HTTP patch too, no
take-off before a new pin, no note) each fail the suite.
An update does not restart a serving video lane: the patch takes effect
at its next start, so that no video being made is ended.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tests/test_check_pins.py runs pin-watch's "pins" step as written, and
that step wrote /tmp/pins.txt: every run of the suite left it there
(the CI's /tmp audit, 2026-10-03). The step and the issue step after it
now keep pins.txt and pin-body.md under "${TMPDIR:-/tmp}", /tmp on a
runner, which sets no TMPDIR, so the two steps still meet there.
The step that refuses a fixed path in /tmp read ci.yml only; it now reads
every workflow (checked: it passes on this tree and names
pin-watch.yml's line with one path put back).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The step compared every listener of the machine before and after the
suite, and failed twice on the reference box on 2026-10-03 for ports
opened or closed while the suite ran: VS Code's own log named one of the
first two, and a per-second log of every listener and its owner named
VS Code for both of the second, a run in which the suite left nothing.
The suite now runs under tests/suite_reaper.py, a child subreaper
(prctl PR_SET_CHILD_SUBREAPER): every process it starts stays its
descendant whatever session or environment it gives itself, so what is
still running once the suite is over (after a 5 s grace) is the suite's
own: named with its listening sockets, stopped, and fatal to the step,
a process left running without a socket included. Other programs'
listeners are shown with their owner, and fail the step on a GitHub
runner only, where nothing else runs.
tests/test_suite_reaper.py: 8 tests, an orphaned listener, one under
setsid with an empty environment, a process without a socket, one on
its way out, another program's listener; they fail with the subreaper
bit or the grace taken out. The step passed on the reference box with
VS Code connected.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Twelve fixed names in /tmp were written by the steps themselves (the
two coverage reports, the rendered units and flash launchers, the pin
blocks, an error capture, the opencode test config): every local run
left them there, and two runs side by side wrote over each other's.
They now go under "${TMPDIR:-/tmp}", the step's own directory under
ci-local.sh and /tmp on a runner, which sets no TMPDIR. A new step fails
the workflow on any fixed path in /tmp; it passed on this tree and
failed, naming the line, with one path put back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The offline-suite step ran each tests/test_*.py with its output thrown
away, so the first run of v1.22.5 on GitHub said only
"tests/test_proxy_hold.py failed" and left nothing to read. The same
file then passed 82 times: 48 on the reference box (16 of them squeezed
on two cores), 32 on two GitHub runners (16 runs each, 4 at a time), the
run again and the first CI of this change. What failed is not known. A
file that fails now prints the last 60 lines of its output; one that
passes prints nothing, as before. CHANGELOG v1.22.5 says so.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SGLang sends a stream's status and headers with its first chunk, after
the queue and the prefill (_handle_streaming_request, in the images of
both lanes). The proxy relayed them when they came, wrote nothing
before, and did not watch the caller of a stream meanwhile. With eight
agents whose contexts outgrew the KV pool (2026-10-03), requests waited
past opencode's 300 s for headers; opencode gave up and sent them again,
and every request it gave up on stayed queued in the engine until its
turn, had its prompt computed for nobody and was aborted at the proxy's
first write: 704 in a night, 163 requests in the queue at the end.
Until the engine answers, the caller of a stream is now watched as the
caller of a non-streamed answer was (that watch's ending is shared, as
_end_upstream): its leaving aborts the request by rid where the engine
allows it and closes the upstream, which SGLang sees within 4 s. Past
KEEPALIVE_S from the request going out, the stream is opened (200 and
its headers, as a hold opens it) and role 1's keepalives go into it;
past MAX_SILENCE_S without the engine's first byte the request is
dropped, as a silent stream is. A quick answer stays the relay's,
headers and status included.
tests/test_proxy_engine_withholds_headers.py: 10 tests against a fake
engine that holds its headers back as SGLang does; 7 fail on v6.30.
Measured with the real opencode 1.18.32 and on the flash lane: see the
CHANGELOG entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub's notices on the run of 2026-10-02: ubuntu-latest moves to
Ubuntu 26 from 2026-10-19, and actions/checkout@v4 targets Node 20,
which the runners deprecate (they force it onto Node 24 already). Both
workflows now name ubuntu-24.04, the image ubuntu-latest gives today
(the run's "Runner Image" says so), so a new image is moved to on
purpose, in a commit of its own; and checkout@v5, whose only change
from v4 is the Node 24 runtime (its 5.1.0 tightens pull_request_target,
which neither workflow uses).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
update-banner-check.mjs drove a live cockpit by functions the redesign
of 2026-09-30 renamed (banners(), rUpdate(), #upd) and failed 7 of its
9 checks on every cockpit since; monkey-check.mjs documented a run on
port 30091, a box's agent relay. Neither ran anywhere, so nobody saw.
Both now own a dry-run cockpit, like the resilience and touch checks: a
key of their own, the engine, proxy and image lane on a closed port, a
PATH whose box commands answer nothing, a browser over a pipe that
resolves no name. The update banner check puts each state into the page
and reads it back in one evaluation (11 checks); the monkey check is the
one that found the fields fixed in the commit before, 61 of 61 now on a
cockpit of its own and 58 of 58 on a dry-run cockpit reading the
reference box. Both run in CI.
The four checks that own a cockpit left it running when they ended
early (the cockpit never healthy, the login refused, no browser):
process.exit() skips every finally, and the cockpit is spawned detached.
Their exit handler now signals what is still alive, the browser with
SIGKILL so it writes no profile back into the directory it removes
(checked by forcing the early exit: the old touch check left its child
behind, the new ones do not).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both tries of the scheduled run of 2026-10-02, ten minutes apart, got
HTTP 403 from the GitHub API with the rate limit spent, and filed issue
#34: an anonymous caller gets 60 requests an hour per address, and a
runner's address is shared with other jobs. The pins step now gets
GITHUB_TOKEN (the workflow's own token), and check-pins.sh sends it to
the GitHub API on stdin, as it sends HF_TOKEN, never on a command line.
Without the variable nothing changes. The two new tests fail on v1.22.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The proxy's fuzz suite failed about one run in ten on its relay
simulation, on v1.20.5 already (2 of 15 runs; 1 of 15 on v1.21.0), and
it failed the check of pull request #30. A caller that closed before the
last byte of its body left the proxy a short read, and the proxy sent
the engine what had come: of 300 requests closed with a reset at once
after sending, 11 were read short and sent on all the same. No engine
can serve that, so nothing was generated from one, but no request
should go out so: the proxy now ends it "CLIENT GONE before its body"
and asks the engine nothing.
The suite's own engine also fell over a body cut short, which is what
an engine sees when the proxy closes its side as a request goes out,
its caller gone, by design: it now counts that as the request it never
had, and still requires that a caller who left never gets a whole
answer. Over 30 runs each the simulation no longer fails, on either
proxy. tests/test_proxy_short_body.py pins the short read; two of its
three tests fail on v1.21.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The scheduled run of 2026-10-01 13:08 got 504s from the GitHub API on
its three GitHub requests and filed issue #33; the opencode release
line read "no such release or asset, or no answer", and every pin
resolved when checked again. check-pins.sh now tells an answer that
says gone (a 404, a digest that changed) from no answer, a 5xx,
GitHub's rate limit or no registry token ("..., so not checked"), and
ends with "N of M pins could not be asked about ... run it again" when
that is all it saw; both still exit 1. The pin watch asks again ten
minutes later before it files an issue. The tests for both fail on
v1.20.5.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Issue #26 reported a 27B engine dying about once a day with "CUDA error:
operation not permitted", systemd starting it again 17 s later, and the
fear that the restart lands in the window sglang#40948 blames for a DGX
Spark frozen 9.5 h. Measured on the reference box: a crashed engine's
memory is back 2 to 5 s after it dies, about 15 s before the restart.
engine-preflight.sh runs before every engine (27B, flash, image, video)
and refuses a start while what is left of an engine holds GPU memory,
while the driver holds more than 16 GiB that no process accounts for,
or while nvidia-smi does not answer; systemd tries again every 15 s.
The proxy (v6.28) holds a request while its engine comes back, through
a restart's stop half too, up to 1200 s: a streamed one gets its 200
and the keepalives at once. On a 503, opencode gave up after 151 s and
Claude Code after 325 s; both wait on a held stream (900 s measured).
An engine's mid-stream cut is passed on as a cut: the error event sent
in its place made Claude Code retry without a stream, give up on it
after about 330 s, and end with no answer.
The cockpit restarts an SGLang server left without its scheduler, once
it has been so for 2 min (COCKPIT_ZOMBIE_RESTART), tells one crash of a
serving lane from a boot that keeps dying, and says why a start waits
or was refused.
Tested end to end on the reference box: the flash lane's server sent
SIGQUIT under the real opencode and Claude Code, twice. The runs found
four faults the unit tests could not (a zombie probe docker refused, a
watched boot read as a boot again, a restart that ended the waits, the
cut's error event), each fixed with a test that fails without the fix.
After 632 to 1,068 s held, both clients got their whole answers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The concurrency tier gave opencode 100,000/16,000 so that eight sessions
at their largest would fit the KV pool together. Measured live on the
reference box, eight opencode subagents held 60 to 68 % of the 474,816
pool at that window and nothing waited, while a documentation agent
compacted at 88,520 tokens. The tier now gives the context tier's pair,
205,000/32,000: one request fits exactly as there, and eight that outgrow
the pool together queue in the engine rather than fail. The operator's
call. The installer's compaction line now uses opencode's own rule
(limit.input minus min(20,000, limit.output)); it said 80,000 where
opencode compacted at 84,000.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A flash install wrote the 27B entry a generic "Qwen3.8-27B NVFP4+DFlash2" whatever
its unit served, and the next switch back to the 27B renamed it after its target: so
the first update after every switch rewrote opencode.json and restarted opencode-web
for a name, cutting whatever the Agent view was doing (seen on the reference box on
2026-09-30, an update that changed nothing else, on a box whose 27B serves the
abliterated build). The entry of the lane that is not being installed is now named
from the checkpoint its unit serves, through the same table oc-point-default.py
applies to the served one, for the 27B and the flash entries alike.
Held by two installer-block tests (abliterated 1M, FP8 native), both failing on the
previous installer, and a case in the CI step that runs the generator.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On a phone no rail item could be tapped (found on the reference box's phone,
2026-09-30). .shell carried z-index:1, which made it a stacking context: the
drawer inside it (z-index 60) stacked as a whole at 1, under the veil its own
opening draws (body::after, 55). Every tap landed on the veil, whose click closes
the drawer, so the view never changed. The same trap held the Agent's fullscreen
frame under the head, over its own exit button, on every device; the view's entry
animation, left filling in both directions, kept a second stacking context after
it ended. Neither z-index nor fill mode is there now, the drawer sits over its
veil and both over the dock, and fullscreen drops the entry animation that would
trap the frame for half a second.
The drawer was also as tall as its items: the desktop rule's align-self:start
made the fixed drawer size to its content instead of stretching between top and
bottom, so on a short screen (a phone on its side) it never scrolled and its last
four items sat below the screen. It stretches and scrolls now.
The page asks for the whole screen (viewport-fit=cover) and kept none of what an
iPhone reserves: the head, the rail, the page, the dock, the toasts, the sheets
and the fullscreen frame now keep clear of the notch in landscape and of the home
indicator, with opencode inside the frame held to the safe area.
Smaller, found on the way with the live box on four phone sizes: the inline Agent
frame was sized on a guess of 150 px above it and left opencode's composer below
the fold on a phone, a tablet and a laptop (it now fills what is left, or takes a
screen and scrolls under the head when too little is); the request log put each
request's outcome three columns past the edge of a phone (one card per request
now), and the Library's wide tables stack into labelled cards; long facts were
cut with no way to read them on a finger (they wrap); every dense table's first
cell sat 12 px right of its header (a padding shorthand of equal specificity);
the proxy's state pill stretched across its row; empty tags drew empty pills; the
lane rack and the Lanes view called the last recorded boot's pool "this boot"
beside a live 491,136 (400,384); the drawer had no Escape and a closed dialog left
the focus on the body.
Held by: touch-check.mjs, new and in CI, drives a cockpit of its own with real
touch events on five touch screens and a laptop: 244/244, and 114/242 on the
previous revision (every rail item covered on every touch device, fullscreen on
all six). mobile-check.mjs now taps instead of calling click() from script and
checks both Agent modes: 236/236 against the live box. Page tests for the
stacking rules, the focus, the cell labels and the live pool, each failing on the
previous revision.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The monolithic app.js and the tab <select> become a rail of views:
index.html plus css/cockpit.css and nine scripts sharing one scope
(base, now, lanes, ops, agent, decide, image, video, boot). Every
regression the swap left behind is fixed here, not papered over.
The one-click lane change (the point of the redesign): the page walks
switch, stop, start as one journey, one job per step, stopping at the
first gate that refuses. In dry run the state never moves, so the wait
for the engine to go down was a 90 s stall against a wall; dry run now
skips that wait and the sheet says up front that a later gate can
refuse because the box still reads as it was.
Tests that read app.js read the page the browser loads instead:
pagejs concatenates the nine scripts in the order index.html asks for
them, and the CI target step reads LANE_TARGETS from base.js, the one
list the UI actually keeps. No assertion was weakened or deleted to
get here; the app.js readers were moved to the new markup, and the
video journal gained an end-to-end class over the real 12-minute
journal captured 2026-09-29.
House style reached the new files before they were tracked: five en
dashes in ops.js became the ellipsis the rest of the page already
uses for no-data cells.
Held by: ci-local 40 ok 0 fail (5 skip = missing packages on this
runner), ruff F/E9 clean, page tests 4/4, mobile-check 184/184 on four
iPhone viewports against this front, monkey 58/58, lifecycle mutation
93.4% over the 91% floor.
./install.sh --with-video adds text-to-video with joint video-and-audio
(MiniMaxAI/MiniMax-H3, pinned rev), driven like the other three lanes:
switcher, stop, start. The unit serves the cookbook's MiniMax-H3 recipe
exactly as upstream wrote it (fl2va variant, no placement flags, loopback
behind the cockpit's Video tab, which holds the async call to completed
and refuses outside the cookbook's bands). Measured on the reference box:
boot 11 min, 4 s 480P in 592 s with download proven (h264 + aac stereo,
inspected), fl2va conditioning proven from a keyframe.
Each addition comes with the tests that hold it; the whole offline suite
and ci-local.sh are green with and without it.
6a69dea made a bad FLASH_REPLAYSSM_SPEC exit instead of returning, so that the ERR
trap's "Install failed at line 278 (command: return 1)" no longer follows the refusal,
and the gate's helper, which printed the status after the call, printed nothing for it:
"a bad knob value must be refused" failed. It runs the function in a subshell now, which
reads an exit and a return alike, and a test pins the refusal: by name, rc 1, and no
trap line after it (a return makes it fail).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
--api-key "$(cat .../api-key)" put the key in the argv of the docker client and of the
server, readable by any local user in /proc. The units, the flash launcher and run.sh pass
--config /out/engine-secrets.yaml instead (the parse checked in both serving images),
written from the api-key file by engine-secrets.sh before every start (ExecStartPre, the
launcher, run.sh) and only when its content changes, so a hand-changed key still reaches
the next start and an unchanged one restarts nothing. install.sh installs the helper at
step 6; the CI flash gate, SECURITY.md and the uninstall listing follow. Also: a test's
fake subprocess.run leaked into every later test of the process; it is put back.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- ruff F,E9 ran over a hand-kept list that left out engine-inputs.py and oc-merge-limits.py,
both run by install.sh: the list comes from the tracked .py files now (the vendored
flash-sglang/ overlay excepted), with a floor. An undefined name in either passed before.
- The isolation test ran one file and compared HOME alone, while four files left UPSTREAM,
KEEPALIVE_S, CLIENT_IO_S, MAX_SILENCE_S, PROMPT_CEILING_TOKENS or SGLANG_API_KEY set for
every module after them. Every unittest file now runs in a process of its own (four at
a time, about 20 s here) and must hand back the whole environment, and the four restore
what they set when their class is done. A class that moved HOME, or set UPSTREAM, and
never put it back passed before.
- TheRender in test_lean_level.py needs jinja2, which no step installed: it ran only
because the runner's python ships it, and without it the lean step reported OK with
the render skipped. The discovery step installs it, and the TypeSafe SDK.
- 17 steps only re-ran a unittest module the discovery step already runs (combined, then
each file directly) and the offline step runs again: four runs of each, no assertion
added. They are gone, with the two installs they carried moved into the discovery step
(one of them had a name YAML cut at its " #").
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- In a locale that is not UTF-8, grep -P refuses the \x{2014} escapes with exit 2, and the
`if` took that for "no dash": the grep runs in C.UTF-8, after proving on a real em dash
that it sees one. A planted dash passed under LC_ALL=C before and fails now.
- `[ -n "$UNC_REV" ] && [ -n "$STOCK_REV" ] && [ ... ]` could fail the step on its last
test only under bash -e: two empty revisions got through that line (the pin blocks above
it still caught them). One test per line, each naming what is wrong.
- pin-watch filed its issue with --label pin-watch, which fails the whole call when the
label does not exist, and nothing created it: the first dead pin would have ended in a
red run and no issue. The label is created (--force: a no-op when it exists) first.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
It copied the box's API key into a temporary directory it never removed (run with a
decoy key, the copy was still there after 16/16), and its dry-run cockpit read the box
it ran on. It now writes a random key, gives its cockpit loopback, closed engine
endpoints and a PATH whose box commands answer nothing, removes everything it made on
exit, drives the browser over --remote-debugging-pipe (no WebSocket client, so any Node
18+ will do) with no name resolution, and takes the browser from CHROME. Traced: no
program of the box, no connection outside itself, nothing left in /tmp. The dashboard
browser checks ran nowhere; this one is a CI step now, and all six are parsed there.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- The declared-against-ran counts took a skipped test for a run one: a skip decorator on
a whole class stayed green, and so did the TypeSafe SDK round trip whenever its install
failed. The unittest runs are verbose now and a skip passes only for a reason the step
lists as what the runner cannot have (the reference box, its cache, its units,
opencode; the SDK's absence only off the runner). No cockpit test may skip.
- The relay simulation accepted an empty read as a whole stream, never checked that an
abort reached the engine, compared aborted ids against a set that contained them, and
ran under a floor of 15 of its 16 checks. A staying client must see [DONE], a stream
closed under the engine without an abort first is a failure (after the last step too),
aborts are checked against every rid a request ran under, and all 16 must run. Proved
with an abort that never reaches the engine and a relay that drops streamed answers:
green before, red now.
- "The offline suite touches nothing" compared listening sockets only, blind to a
connection to a port that was already listening, the engine's on the box running
ci-local.sh. Every python the suite starts now carries an audit hook recording a
connect() to a serving port, with the test line that made it. It finds 47 today, all
from dashboard/tests/test_cockpit_collectors.py (to :30000 and :30020), so this step
stays red until that file stops reaching the box.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The documented flash rollback rebuilt the v1.5 to v1.7 overlay image and served it with
the launcher of v1.8, which does not fit it: the overlay's model code keeps the 47.7 GiB
PLE table in pinned host RAM unless SGLANG_QWEN4_PLE_MMAP_DIR is set, and the launcher
sets no such thing and passes --ple-offload-backend file (sglang#37068, newer than the
overlay's base) with none of the backends and sizes the overlay was validated with.
Nothing had booted the pair since v1.8 and the CI checked only the pins. The switch is
refused with the rollback that holds together (v1.7.2, which shipped the overlay with
its own launcher and pins), the build, the base image pin and the rollback notes go, the
overlay tag is offered for reclaiming like the others, and flash-sglang/ stays as the
record of what upstream replaced. Found in review, 2026-09-24 (T9).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The per-file loop ran each dashboard test file directly with || true and compared the
'Ran N' count only, so a file that failed alone, and passed in the full run after the
modules that set its environment, went through. Its exit status is checked now (a
mutant test that only passes after the modules before it: green before, red now).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
`__[A-Z_]*__` cannot match `__DRAFT2_REPO__`, a shape the templates already use, so a
placeholder such as `__PROXY2_PORT__` that nothing renders passed every gate and would have
landed in /etc verbatim. The three CI render steps, the image lane's test and the three
installers' own last checks use `__[A-Z][A-Z0-9_]*__`, as recipes.py already did.
Proved with four such placeholders (keepalive and cockpit units, flash launcher, image
unit): green before, red now, green without them.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Hugging Face answers an anonymous request with 401 for a gated repo and for one that
does not exist, and only x-error-code: GatedRepo tells them apart: every 401 or 403 was
filed under "gated" and never counted, so a deleted pinned repo kept pin watch green.
The code and that header are read together now, HF_TOKEN is sent (on stdin, not argv)
as the advice promised, and an image whose registry token could not be fetched fails
instead of counting in "all resolve". Found in review, 2026-09-24 (T2).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- L4: the proxy applies FLASH_PROMPT_CEILING_TOKENS while the served model
is the flash lane's (an unknown lane gets it too); PROMPT_CEILING_TOKENS
stays a ceiling on any lane. The unit carries both whatever lane was
installed; the cockpit and oc-fit-limits.py read the same rule
(ceiling_from_env with the served model). switch-model.sh moved the
ceiling at switch time with a proxy restart while the old lane still
served: a 27B serving 1M refused every prompt past 250,000 until the next
boot. It now leaves a proxy of the new unit alone (old units keep the old
way until ./install.sh rewrites them)
- L5: a switch restarts opencode-web only when the limits it reads change;
the switch's header, the README, ARCHITECTURE.md and the image lane doc say
what it restarts and rewrites
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- cockpit: a non-digit Content-Length is a 400 before any read (-1 read an
unlimited body before login)
- proxy v6.24: the identity wall covers every route and method but /health;
a path still escaped after one decode is refused; relayed /server_info loses
the engine key fields; an unreadable keys file says so
- docs/clients.md: the keys file is installed owned by the user, the engine
key goes in an EnvironmentFile
- image unit: After= on the text units, so a switch stops before it starts
- lifecycle: a down unit with a live container is an orphan, busy for the gate
- cockpit: its own /health probe no longer counts as activity (the canary
never ran)
- install.sh: sudo asked at step 1 and renewed at step 8 with a prompt;
CONTEXT_MODE=1m refused on a flash box after the convergence; the flash
engine bind is read from the launcher
- switch-model.sh: downloads into the cache the installed unit mounts
- uninstall.sh, install-image.sh: remove only venv/ and sglang/ of the lane
- opencode limits hold the engine window (205000/32000 flash,
173000/64000 native), fit() and the cockpit's verdict and autofit use the
same rule, the 27B entry of a flash install comes from the table;
collect_opencode has its @guard back
- Setup's Fit button has a click handler
- bench-agent: the TTFT slope is in the unit it prints
- CI: negated grep, generated script lists, exact sudoers argv, flash flags
read from install.sh
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>
- oc and the Agent tab load the box's generated opencode config through
OPENCODE_CONFIG: on a box emptied and installed with the published
one-liner, both answered with opencode's hosted free model (big-pickle),
not the model the box serves.
- uninstall.sh --yes takes the providers that read the API key out of
opencode's config before deleting the key (opencode refused to start at
all: "bad file reference"); a file with nothing else of the user's goes to
a backup (oc-merge-limits.py --remove-providers).
- The uninstall inventory knows the image lane's checkpoint (31 GB), and the
CI gate on inventory pins reads install-image.sh too.
- The docker room check asks only for the container's room when the image is
already here (an update with 36 GB free was refused for want of 40).
- A commented-out opencode PATH line no longer counts as one.
- uninstall.sh says when there was nothing to remove.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- A box with no ~/.config/opencode/opencode.json gets this repo's (it was a
printed cp: a first install left opencode answering "Provider not found:
qwen38"). A config that exists is never overwritten.
- A config with one of this repo's providers gains the provider of a lane
installed since (oc-merge-limits.py --add-providers: targeted edit, backup,
read back and compared, restored if anything else moved). The 27B first and
the flash lane later left opencode sending the 27B's limits to the flash lane.
- A missing opencode is said plainly where a first-time user meets it: the
installer's step 7 and last lines, the oc launcher, the cockpit's Agent tab.
- The last lines name a command the user's shell can run, and the config
opencode actually reads.
- CI: the unittest step prints what failed instead of dying silently.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Until now the repo installed no opencode: it took whatever was on PATH, and
opencode installs its own patch releases unless "autoupdate" says otherwise
(read out of its binary: only false, "notify" or a minor/major release stop
it), so two boxes installed a week apart ran two versions. The reference box
sat on 1.18.27 while 1.18.32 was out. Four things the repo does were read out
of one opencode binary and checked against its behaviour: the compaction
threshold oc-fit-limits.py sizes for, the hidden 32,000-token output cap the
oc launcher lifts, the overflow phrases the proxy answers with so a refusal
makes opencode compact, and --yolo / OPENCODE_PERMISSION for the Agent tab.
OPENCODE_VERSION=1.18.32 with OPENCODE_SHA256, GitHub's digest of
opencode-linux-arm64.tar.gz. Checked against 1.18.27 before pinning: the 21
overflow phrases and 3 exclusions verbatim in both binaries; max_tokens
182,000 with the launcher's variable and 32,000 without, on both, recorded
on a fake OpenAI endpoint with isolated config, data and cache; the code
around compaction and OPENCODE_PERMISSION identical once the bundler's chunk
names are set aside; serve --hostname and the hidden --yolo on both.
install.sh, step 7: none found, the release asset is downloaded, checked
against its sha256 and installed where opencode's own installer puts it,
with its PATH line in ~/.bashrc; an older one there is replaced the same
way; an older one from npm, brew or bun goes through `opencode upgrade`,
which knows its method; a newer one is kept and said so, because going back
a version can leave sessions a newer opencode wrote unreadable. A download
that does not match is not installed, a version without its checksum is
refused, and nothing about opencode fails the rest of the install.
OPENCODE_PIN=0 keeps whatever you have. The generated config and the user's
get "autoupdate": "notify" (oc-merge-limits.py --autoupdate, a targeted edit
that keeps comments; a stricter false is kept).
The Agent tab says when the opencode it serves is not the pinned one, read
from install.sh so the two cannot disagree. uninstall.sh lists an opencode
this repo installed and leaves it. CI downloads the pinned asset and checks
its sha256 on every run (and fails with a wrong one, checked).
docs/opencode.md said the 1M starting pair sits under the worst measured
pool; it does not (832,993 to 922,094 over sixteen boots), which is why it
is fitted after each boot.
Tests: eleven on the installer's own lines in a throwaway HOME with a fake
curl and fake opencode binaries (absent, pinned, older in place, older from
npm, newer, bad checksum, pin off, version without checksum), the merge, and
the cockpit's read of the pin. The checksum, no-downgrade and opt-out guards
were each undone once and their tests failed. CI 61/61.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>