Commit Graph
160 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 4c031634ad v1.51: the Liquid AI LFM3 lane (lfm3), on vLLM's own nightly image, in every lane list
Liquid AI's LFM3 1.7B in its official NVFP4 (LiquidAI/LFM3-1.7B-NVFP4 at cfe4b5ea), served by
vllm/vllm-openai's nightly of commit 60bd6dd by digest, pulled as published: LFM3 came to vLLM on
2026-11-06 and is in no release. A text lane of its own on the text lanes' port, behind the proxy and
its key: the key by --config (redacted in vLLM's own log line), the vLLM lanes' middleware for every
route but /health and /metrics, its served name lfm3-1.7b, the model's whole window (262,144), the
qwen3 reasoning parser and the qwen3_coder tool-call parser its template's form asks for, the prompt
tokens details, its own vLLM, FlashInfer and Triton caches. --gpu-memory-utilization is LFM3_GMU, 0.75:
this nightly extends its KV cache into every byte left free after its warmup, and the reference box
kept 1,087 MiB available at its lowest with none set. The prefix cache at vLLM's default for this
hybrid model, measured 99 to 100 % of an agent's next turn.

One engine at a time: Conflicts= and After= with every engine unit, both ways. install-lfm3.sh on
vllm-lane.sh like the other vLLM lanes (--units-only, --prepare, --stage, --uninstall, the proof with a
tool call), refused on a 64 GB box (fits_64 False: no 64 GB share was measured); install.sh puts its
unit in on demand (--no-lfm3, --with-lfm3, --all-weights, 41 GB), switch-model.sh lfm3 fetches its
checkpoint in its own image and points opencode at it, uninstall.sh takes it all, check-pins.sh
checks its revision and its image, the cockpit's sudoers its unit.

Its clients: the opencode provider lfm3 (oc-lfm3.py, its window by oc-limits.sh), pi and omp. Its
template reads enable_thinking, true by default, and no level: opencode offers the high and none
variants, pi off and high alone (HELD_LEVELS maps every other level to null), the two states it holds.

Found on the way: the vLLM lanes' cache-report test now lists it, and its family tests, the lists'
counts and the --all-weights total (1235 GB) follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 15:38:53 +01:00
Hasan BasbunarandClaude Opus 5.5 1763c84b6e v1.51: the Liquid AI LFM2.5 24B-A2B lane (lfm25), on the 27B lane's SGLang image, in every lane list
install-lfm25.sh serves Liquid AI's official FP8 of LFM2.5 24B-A2B and its official DSpark draft with the
27B lane's own image (lmsysorg/sglang v0.5.22, the same digest), on the text port behind the proxy, with
the command the reference box measured on 2026-11-14: a window of 131,072 tokens, a static share of 0.7,
48 requests, the draft by blocks of 9 with 10 tokens to verify, the lfm2 tool-call parser and the
deepseek-r1 reasoning parser (one installer line), the key by --config as on the 27B lane. What it shares
with the vLLM lanes' installers (the engine's cache and port, the uninstall of its unit and of the
clients' entries, the preflight, the room, the fetch, the proof) is vllm-lane.sh's, sourced through
sglang-lane.sh, which holds what is the SGLang lanes' own: the key's yaml and an uninstall that keeps
the 27B lane's image, its key and the vLLM lanes' middleware. The proof gives the first reply room for
the reasoning the template always opens (VLANE_REPLY_TOKENS).

The lane in every list: the registry, boxmem (refused on a 64 GB box), every engine unit's Conflicts=
and After=, the proxy's hold units, install.sh (--with-lfm25, --no-lfm25, on demand by default, its
boot kept by an update, its proof, its summary line), switch-model.sh (target lfm25: its checkpoint and
its draft fetched in the lane's image, its unit from its installer's --stage, the boot moved to it,
opencode pointed at it), prepare-lane.sh, uninstall.sh, check-pins.sh, the cockpit's sudoers lines,
the CI's lists and gates, and lane-templates-check.py (its template as published, rendered for every
client shape as SGLang hands them).

Its clients: opencode's provider lfm25 (oc-lfm25.py, no effort variant: its template reads none), a
pair of 74,000 and 32,000 for its window by both oc-limits.sh's and oc-fit-limits.py's rules, its name
in the picker, pi and omp through the same config.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 15:38:53 +01:00
Hasan BasbunarandClaude Opus 5.5 f7c53d4731 v1.51: the NVIDIA Nemotron Transcribe lane in every lane list: its unit, its switch, install.sh's flags and its pins
NVIDIA's Nemotron-3.5-Transcribe-30B-A4B in mradermacher's GGUF Q8_0 with its F16 projector, served by llama.cpp's own
server (the Unsloth GGUF lane's image, by the same digest) on a port of its own, 30036: /v1/audio/transcriptions and
/v1/realtime, no chat (decisions 1387 and 1388). lane_registry.py knows it under a kind of its own, "transcribe": an
engine lane that takes the GPU in turn, no text lane, no served name, no opencode provider.

- every engine unit in Conflicts= and After= with it, and its own with every other (the speech lane, on the CPU, the
  only one it leaves beside it); every installer's and switch's list of the other engine units names it
- switch-model.sh transcribe: its files fetched and its unit staged by its installer (--fetch, --stage, as the
  Unsloth GGUF lane's), the one unit enabled at boot, nothing started; the text switch takes it off the boot; the
  cockpit's sudoers allows its start, stop, restart, enable, disable and the install of its staged unit
- install.sh: --with-transcribe and --no-transcribe, its units on demand, its first Load building it, the update of a
  box that boots it, its proof, its line in the summary; prepare-lane.sh and uninstall.sh know it
- install-transcribe.sh --uninstall gives the boot back to the text lane it took it from (vlane_uninstall_unit), as a
  switch to it now makes it the boot lane; its 64 GB refusal says so in the words every side lane's says
- boxmem.py: no 64 GB box holds it (never run on one); check-pins.sh asks the Hub for its two files' LFS pointers
- CI: its target, its unit in the sudoers gate, its repository in the uninstall inventory, its port in the offline
  suite's guard; lane-templates-check.py leaves it out of the text targets, and reads an installer's call of
  vlane_put_unit, not a comment that names it (install-transcribe.sh puts its unit with unit_put)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 15:38:53 +01:00
Hasan Basbunar 7aa7a95508 no-download updates: the Kolibri and Nemotron switches apply their waiting unit whole, image line included
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 08:04:44 +01:00
Hasan Basbunar 41f027ab5b no-download updates: the video and image-h3 lanes' Load applies its waiting unit
Their switch verified the checkpoint and made the lane the boot one,
but never posed the unit an update had left waiting, nor cleared the
wait: the cockpit's Load left the lane on the old release while its
card kept saying an update waited, and every Load repeated it. The
switch now fetches what the waiting unit reads (its model, its variant,
its text encoder), then stages it at the fixed path its exact sudoers
line allows, puts it in place and clears the wait; a wait rendered
against a unit that changed since is dropped, one that still lacks
stays waiting. Their --prepare builds the runtime only, so the switch
is the one place their Load can apply an update.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 06:41:16 +01:00
Hasan BasbunarandClaude Opus 5.5 4eda8de142 WIP v1.49: the MiniMax-H3-Image lane: its installer, its unit, its switch, install.sh's flags and every lane list
A lane of its own beside Qwen-Image 2.1 (decisions 1288 and 1374): install-image-h3.sh (venv, the
sglang[diffusion] 0.5.23 wheel, SGLang main at 49f1a44 over it, flash-attn-4 4.0.0b38 and FlashInfer
0.7.2's cubins and jit-cache package by sha256, as SGLang's DGX Spark recipe), qwen38-image-h3.service on
:30026, loopback only, with --sleep-on-idle and --http-graceful-shutdown-timeout 5 (the runtime's own
flags at this commit, where the image and video lanes need patches), its text encoder MiniMax-H3's at
the video lane's pin. On demand like every lane (--with-image-h3, --no-image-h3), the switch, prepare
and uninstall, every unit's Conflicts= and After=, the proxy (v6.57: the box serves images while either
image lane serves), the CI's lists, and the tests that hold each list to lane_registry.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 19:43:15 +01:00
Hasan BasbunarandClaude Code 48a52e61c0 v1.49.0: what the independent review of the lane's default found, fixed before the push
- the clients' entry is written for the target the unit serves and follows it once the lane's
  installer rendered another (unsloth_clients_follow, called on both success paths): --recommended
  and a moved box end with opencode naming what the engine serves, and a failed installer leaves the
  clients as they were rather than naming weights that never loaded (findings 1 and 2)
- cockpit.py reads the Unsloth unit's -m in its lines, its comments left out (its header comment says
  "-m naming"), so an engine that does not answer /props still says which target serves (finding 3)
- switch-model.sh sizes the lane as its default wears it: about 90 GB, 83 more for UD-Q4_K_XL's
  files (finding 5)
- the lane's default target is read at one place, lanes.sh flash_unsloth_default (finding 7)
- the CHANGELOG says what a moved box downloads (about 55 GB) and that UD-Q4_K_XL's files stay in
  the cache, a switch back needing no download (finding 4)
- README counts eight targets where its lists say eight; ci.yml reads oc-point-default.py's LABEL as
  Python, not by a "Qwen" prefix (Arete's label); a lane's Load button wraps at phone width (the
  Unsloth target names of 449 px overflowed the Lanes view at 390 px, the click storm)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-15 07:21:19 +01:00
Hasan BasbunarandClaude Opus 5.5 c3437a68cd v1.49.0: the Unsloth GGUF lane's second target, UD-IQ3_XXS, four requests of 262,144 tokens each
flash-unsloth-iq3 serves Unsloth's UD-IQ3_XXS of the same repository at the same revision, under
the same served name, as the Kolibri lane serves two checkpoints (decisions 1359, 1366 and 1374).
Its four parts are pinned by their sha256 and size, read from the box's cache, which gguf-fetch.py
had checked as they came (the fourth is UD-Q4_K_XL's own file); its first Load fetches them, and
its chat template comes from its own first part. Its native form is four windows of 262,144 tokens
in q8_0 (-c 1048576 -np 4: eight let the box's guard stop the engine under GSM8K's eight requests,
2026-11-14), its 1M mode the lane's one request; FLASH_UNSLOTH_IQ3_SLOTS and FLASH_UNSLOTH_IQ3_KV
hold the form, which a measure under load may still move.

The lane's default target is one line of install-flash-unsloth.sh, FLASH_UNSLOTH_DEFAULT, still
flash-unsloth: a new install serves it, an update keeps the target its unit serves, and
--recommended brings the default back. The switch hands the installer its target
(FLASH_UNSLOTH_TARGET) for its fetch and its stage; opencode's entry, from the switch and from
install.sh, names the target the unit serves (lanes.sh, flash_unsloth_target); the cockpit reads
it from the unit, the engine panel from the GGUF the engine loaded (/props model_path), and the
Library counts each target's own parts, where the shared snapshot read either whole. check-pins.sh
asks the Hub for the four pointers too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 02:55:56 +01:00
Hasan BasbunarandClaude Opus 5.5 885846a318 Arete 27B as a fifth target of the 27B lane (arete)
atakans/Arete-27B-NVFP4 @ 50235ef, Nous Research's fine-tune of Qwen3.8-27B (Apache-2.0) in
NVIDIA's NVFP4 recipe for the 27B, measured on the reference box on 2026-11-14 under the lane's
unit (KLD 0.030 to the BF16, GSM8K 0.992, MMLU 0.880, HumanEval 0.963, 69 to 72 tok/s alone, the
needle at 120K and 300K). Pinned where uncensored is: install.sh, switch-model.sh, run.sh,
prepare-lane.sh, check-pins.sh, mirror-pins.sh (MIRROR.md, not yet checked), uninstall.sh,
lane_registry.py, boxmem.py (a 64 GB box takes it: 21.1 GB, lighter than RadixArk's), the CI's
pin contracts and limits. Served by stock's unit with no --kv-cache-dtype: its switch and
install.sh's apply_context_configs run patch-kv.py after the window's configs, run.sh refuses
it undeclared. Its limits are the 27B's (oc-limits.sh), opencode names it "Arete-27B NVFP4 +
DFlash2", the cockpit offers it as a fifth version (Arete 27B NVFP4 · atakans) with its recipe,
pin and switch. stock stays the default. Tests that fail on the code before: test_arete_target
(new, 11), the target lists of test_lane_registry, test_boxmem, test_spark_64, test_target_names,
test_recipes, test_page_behaviour, test_cockpit_box, test_install_oc_artifact (Arete's name under
a flash install), test_check_pins and test_mirror_pins (one checkpoint more).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 14:10:55 +01:00
Hasan BasbunarandClaude Opus 5.5 e58e21fe99 patch-kv.py: the 27B lane's fp8 KV declaration, written into a checkpoint that declares none
atakans/Arete-27B-NVFP4 declares no KV cache: served as published, SGLang gives it a bf16 one and
about half the pool. The A/B of 2026-11-14 served it with the declaration of the lane's NVFP4
(RadixArk @ 52d1adc) written into copies of its config.json and hf_quant_config.json: target cache
float8_e4m3fn, draft cache bfloat16, pool 905,941 tokens. This writes that declaration into the
cached snapshot, as patch-yarn.py writes YaRN there: atomically, the link replaced and the blob
kept, idempotent, another scheme or a quantization that is not ModelOpt's refused, --check to ask.
Run after patch-yarn.py on copies of Arete's two cached files, it writes the bench's two files key
for key. --kv-cache-dtype fp8_e4m3, the FP8 targets' way, would have put the draft's cache in fp8
too. Its test runs main() in process for the coverage gate, which gives it patch-yarn.py's floor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 14:10:55 +01:00
Hasan BasbunarandClaude Fable 5.2 39e0314cba v1.48.0: two requests with 262,144 tokens each, a 1M mode for one request, and no shared window
The lane serves two requests at once, each with a window of its own of
262,144 tokens and the KV cache in f16, in which its GSM8K and HumanEval
ran (-c 524288 -np 2). FLASH_UNSLOTH_CONTEXT=1m gives one request at a
time a window of 1,048,576 instead (YaRN at four times, the KV cache in
q8_0), chosen at install and kept for the Loads after, as
FLASH_LOCAL_CONTEXT=1m is the FP4-Local lane's: three codes of three
found in 985,296 tokens, 16.1 GiB left to the box at ready and 12.9 at
the lowest. A Load gives opencode, pi and claude-local the pair of the
window the unit runs: 205,000 and 32,000, or 830,000 and 32,000 at 1M.

A window shared by several requests (-kvu) is refused by the installer,
which says why: llama-server stopped itself under load four times of
four on 2026-11-12, with b12291 built on the box and with the pinned
image b12316 ("failed to remove sequence N", an abort in seq_rm from
post_decode). It is llama.cpp's open issue 31656, and its pull request
31669 reworks the rollback.

install.sh says that it does not read FLASH_UNSLOTH_CONTEXT and sets the
user's opencode entry to the pair of the lane's window. docs/clients.md
names the lane. Two tests of the cockpit read the switch targets by
name, not by position.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 16:54:35 +01:00
Hasan BasbunarandClaude Fable 5.2 0c46b67464 v1.48.0: the Qwen3.8 Flash-Next Unsloth GGUF lane, served by llama.cpp
A tenth lane, and the first on llama.cpp: Unsloth's GGUF of
Qwen3.8-Flash-Next (UD-Q4_K_XL, four parts pinned by sha256 and size),
served by llama.cpp's own server from the image its project publishes for
arm64 with CUDA 13 (b12316, pinned by digest), drafted by ggml-org's
DFlash2 head behind llama.cpp's n-gram lookup. The model's n-gram table
(26.8 GiB) stays on the disk (--lazy-mode on).

The lane is a text lane like the others: its unit (one engine at a time),
its installer (install, update, --units-only, --prepare, --fetch,
--stage, --uninstall), switch-model.sh, uninstall.sh, check-pins.sh, the
proxy (v6.55: llama.cpp ends a request whose connection closes, as vLLM
does), the cockpit (engine panel, load from /metrics, Unsloth's logo),
opencode and pi. Unsloth's chat template raises on a system message
after the first: the lane loads the template with the fixes the other
Qwen lanes' templates have. The image has no Python: the GGUF files are
fetched by gguf-fetch.py, on the host, each checked by its sha256.

Measured on the reference box on 2026-11-11 and 12 (docs/flash-unsloth-lane.md
has every number with its conditions): at the model card's sampling, one
request, on the pinned image, 51.8 tok/s in code, 56.7 in reasoning, 29.2
in prose and 132.4 in a rewrite of code, against 27 to 28 without a
draft. Two requests at once, each with the model's whole window of
262,144 tokens (-c 524288 -np 2): 54.2 tok/s alone, 63.2 in all at two.
Quality with the draft: GSM8K 0.984 on 250 problems, HumanEval 0.994 on
164, 20 tool calls right of 20.

Tests: tests/test_flash_unsloth_lane.py and
dashboard/tests/test_flash_unsloth_cockpit.py are new, and the lists and
counts of the other lanes' tests follow.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 12:10:09 +01:00
Hasan BasbunarandClaude Fable 5.2 9f7e55ac57 v1.47.0: what the final review found: what the next start sets, a job's exit code, the cap lit after a failure
A second review, of the whole release, found three defects.

A cap set or lifted whose file could not be written or removed said what
the next start sets from the change asked, not from the file left: a full
disk said nothing would set again a cap its file still named, and a lift
whose file was a folder said the next start would set one. The message
reads the file now, and a cap its file already names is not written
again, so a start on a full disk no longer fails the cap it has just set.

A cap set whose file was not kept read "failed (exit code 0)" in the dock
and the Logs view: the job ends 1, and the call's 0 stays in its log.

A kept cap whose try failed at the cockpit's start stayed lit while the
GPU ran at its own clocks: None is lit then.

Also: the lag of the clock nvidia-smi reads is said as it was measured
(still the old one after 2 s, the cap within a minute), the CI's check of
the sudoers allowlist refuses a regular expression (^) as it refuses a
wildcard, and two states of the panel that no test held are held.

Tests: 4 new, 5 changed. The 88 broken versions of the code that the
three new test files guard were run again on this code: each fails its
test.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 07:15:56 +01:00
Hasan BasbunarandClaude Fable 5.2 c72361f177 v1.47.0: the CI's Chrome step can no longer hang a run
On 2026-11-11 the step that installs Chrome on GitHub's arm64 runner hung
four times in apt-get (run 43048758839), on a name the runner could not
resolve (ports.ubuntu.com), until each attempt was cancelled by hand. The
fifth passed in 29 s. The step now ends by itself after 10 minutes, and
the download of Google's key has a deadline of 60 s and three tries.
apt's own tries and timeouts (3, and 30 s) are the runner's already and
bound no name that does not resolve: none is set.

tests/test_chrome_step.py reads the step as ci.yml writes it and holds
the two guards: without the step's deadline, or with no deadline or no
try on the curl line, the new test fails, and only it.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 07:15:56 +01:00
Hasan BasbunarandClaude Fable 5.2 ce9da7be99 v1.47.0: what its review found: a call that does not answer, the uninstall line, the words of the view
An independent review of the two commits before, each point read again
against the code and the box:
- a call that does not answer within its 20 s is now its own state
  (timeout): the view says the cap may still apply instead of "failed",
  and the event feed gives the call's exit code, or none when it did not
  run to an end, where it said "exit code 1" of a code that was not
  nvidia-smi's;
- a refused sudo names ./dashboard/install-dashboard.sh, the script that
  writes the four sudoers lines at every run (./install.sh does not when
  it leaves the cockpit as it was);
- the "Remove with" line looks for the kept cap when it is run, not when
  it is printed, so it lifts a cap set after the install;
- on a machine without nvidia-smi, None forgets the cap the cockpit kept,
  which each start tried again in vain, and the panel no longer says two
  things at once;
- a cap lifted while its file could not be removed says that the next
  start sets it again (found while reading the fix above again);
- the hottest zone is the box's, not the GPU's, the prefill with no cap
  is 2,078 tok/s (2,077 was a typo), and the docs carry the limits of the
  measurement.

The four sudoers lines were proven in a container with sudo 1.9.15p5:
the four calls of the cockpit pass, thirteen others are refused. Each
test of the three files fails without the code it guards, checked with
76 broken versions, one behavior at a time.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 02:18:55 +01:00
Hasan BasbunarandClaude Fable 5.2 03f17529c9 ci: a skip is read whatever quotes its reason is written in, and one process says once how many tests it ran
Two checks of the pass that runs the modules of tests/ together, found in
an independent review of this branch.

A test may be skipped for a listed reason only. unittest writes a reason as
its repr, between double quotes when it holds an apostrophe, and the check
read `... skipped '` alone, in the step of ci.yml as in tests/run_single.py
after it: it never saw 85 of the 95 reasons tests/ gives, 83 of them a case
that only the in-process twin of its class runs ("... in this test's
process"). Both forms are read. That reason is allowed in the class whose
proxy is a process of its own, and refused in a twin (a class named
...InProcess), where nothing else would run the case.

One process says once how many tests it ran. The step of ci.yml failed on a
second "Ran" line, comparing both counts to the declared one, and
run_single.py kept the last: a test that runs the tests again (a fork whose
child goes on) passed. A group that says it twice, or never, fails the run.

Three tests, each red on the run_single.py of the commit before; of seven
mutations of the new lines, six are caught and the seventh changes nothing
(the first count is the last when there is one).

Said as they are, from the same review: OWN is the pair's four files, not
"the longest modules" (tests.test_proxy_hold, 166 s, is longer than two of
them), and the 892 s of the pair's tests were measured in the one-process
pass, not under coverage.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 20:57:46 +01:00
Hasan BasbunarandClaude Fable 5.2 612c8131fc ci: the cockpit's coverage floors are a job of their own, and the suite starts its longest files first
The coverage job ran the root modules' floors, then the cockpit's: 338 s
after 1,283 s on 2026-11-10. The two measure different trees and share
nothing: the cockpit's floors are the job `coverage-cockpit`, beside the
other one, and `checks` needs it.

tests/run_suite.py names the files that start first, the longest ones. The
pair's file was not among them and started when its turn came by name, 892 s
before the end of the step: its four files, and the three next longest, are
named.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 20:48:46 +01:00
Hasan BasbunarandClaude Fable 5.2 c7e8e0a8da ci: the modules of tests/ run in groups side by side, and in one process every night
The `single` job ran every unittest module of tests/ in ONE process, so that
what a module leaves behind (a variable of the environment, the directory,
sys.path, a thread, a signal handler) shows in the modules after it. It was
the longest job of a run: 1,808 s of its 30 minutes on 2026-11-10.

tests/run_single.py runs the same modules in groups, each group one process,
four at a time: each of the pair's four files alone, the others dealt in turn
into two groups. Every module is in one group and one only. It keeps what the
step checked: a group that fails fails the run and is shown, the tests that
ran are as many as the files declare, and a skip passes only for a listed
reason.

What a module does to a module of ANOTHER group is not seen by a run in
groups. `run_single.py --one-process` is the pass as it was, and
.github/workflows/nightly.yml runs it every night. ci-local.sh runs another
workflow file than ci.yml when CI_LOCAL_WORKFLOW names it, so that a release
runs that same pass on the box before it is pushed.

tests/test_run_single.py proves each fact on a planted tree, the limit
included: two modules of two groups, one leaving a variable the other
refuses, pass in groups and fail in one process. Ten mutations of
run_single.py are each caught by it. tests/test_ci_local.py's new case fails
on the ci-local.sh of before.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 20:48:46 +01:00
Hasan BasbunarandClaude Fable 5.2 3640b441ac tests: the pair's tests are four files, and CI measures their coverage four files at a time
tests/test_proxy_pair.py held 498 tests in 8,054 lines and took 892 s of every
pass that ran it, in one piece: half of the pass that runs every module of
tests/ (1,808 s on 2026-11-10), most of the coverage step that runs its files
one after the other (1,283 s), and the tail of the offline suite.

It is cut by class, each class copied line for line:
- tests/test_proxy_pair.py keeps the two boxes that serve two models, the
  pair's pieces and the lane names (185 tests);
- tests/test_proxy_pair_inprocess.py has the same cases with the entry in the
  test's process (58, and the check that this twin declares every case);
- tests/test_proxy_pair_one_model.py has the two boxes that serve one model (127);
- tests/test_proxy_pair_one_model_inprocess.py has its in-process cases (127,
  and the same check for this twin);
- tests/pairbox.py is what they share and holds no test: the identities, the
  fake engines, peers and cockpits, PairFixture.

A twin names its base class by its module: unittest runs every TestCase a
module names, so the class itself, imported, would run its cases a second
time. The check that each twin declares every case of its class is one test
in each twin's file where it was one test for both: 499 tests where there
were 498, every other one with the body it had (compared by the syntax tree,
method by method, before and after).

The coverage step of the root modules names the four files and runs its
files four at a time, the longest first.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 20:48:46 +01:00
Hasan BasbunarandClaude Fable 5.2 8e3ba86807 The offline suite's guard watches the video and speech lanes' ports
The guard that fails the suite when a test connects to a port the box
serves on listed seven ports, and neither the video lane's (30022) nor the
speech lane's two (30024, 30025). One test did connect to the video
lane's: the cockpit's collectors test closed the engine, the proxy and the
image lane, not the video lane, and its systemctl fixture says every unit
is active, so the collector asked the box's own video lane for /health.

Found on 2026-11-10 under a probe that refuses every serving port before
the call. The test closes that port too, the same probe sees no contact,
and the guard lists the three ports.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 12:27:56 +01:00
Hasan BasbunarandClaude Opus 5.5 24dd67a5c3 clients: the FP4-Local lane's 1M pair, read from its unit
oc-limits.sh gave the FP4-Local lane its 262K pair whatever the window,
and switch-model.sh and install.sh named a window of 262,144. With
FLASH_LOCAL_CONTEXT=1m, opencode, pi and claude-local therefore stayed at
185K before compaction under a "(local, 262K)" label, while the cockpit
said 1M (code review of v1.45.2).

oc-limits.sh flash-local now takes a mode (native | 1m), or reads it with
--from from the unit's --max-model-len, the way the 27B's mode is read.
At 1M the pool decides: 840,000 + 32,000 fits the cockpit's check with a
pool 10 % smaller than the 1,061,819 measured, and the window holds the
prompt at compaction, one agent step and the answer. The switch reads the
unit it has just staged, the installer reads the installed unit, and both
take the label from that unit's window. The CI gate pins both pairs, the
derivation from a unit, and the two writers' wiring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:01:33 +01:00
Hasan BasbunarandClaude Opus 5.5 f50c7e411d pair: the two boxes talk over TLS both ways, paired in one command over SSH
Decisions 970-976 (02/11), after reading NVIDIA PAIR, its playbook and spec, NVIDIA's
connect-two-sparks playbook, SGLang's model gateway and sparkDash: keep this routing, which serves
the SGLang and vLLM lanes PAIR does not, and secure it as PAIR's nodes are secured.

keepalive-proxy.py (role 10, still v6.50, unreleased):
- each box has a certificate of its own (pair/identity, EC P-256, made once by pair.py) and pins
  the other's in pair.json by its SHA-256; a peer is https://host:port with cert_file and sha256;
- PairServer: the pair port (PAIR_PORT, 30002), TLS 1.3, a client certificate demanded, the chain
  ending at a pinned certificate and the certificate itself pinned; a request there is a hop from
  the box of its certificate, whatever its headers say; opened by PairPort within 2 s of pair.json
  naming a peer, closed once it names none (no restart);
- the entry sends to a peer's pair port only, with its own certificate, the peer's checked against
  its pin (chain, then fingerprint), never through a proxy of the environment; _pair_why says why
  a peer does not answer in words that say what to do;
- a pair.json that names no peer is a box alone (pair.py name alone made a lane name a 404);
- under TLS the socket under TLS is peeked at (_client_left, _watch_client): before, no peek was
  made through TLS, so a peer's engine generated to the end for an entry's client that was gone;
- the watcher shuts the TCP side of a TLS connection (SSLSocket.shutdown unwrapped it under the
  reading thread, whose read could fail with a ValueError).

pair.py, rewritten: `add HOST` pairs both boxes in one command over SSH (BatchMode, the destination
after --), sending itself and the request on standard input (no key on any command line), each box
writing new files and then pair.json at once (one commit point, checked by its own installed proxy),
then checks both ways and keeps nothing on either box when one fails; `remove` unpairs both; `status`,
`name` (before pairing), `identity`. An SSH that does not reach, an unknown host key, two boxes of one
name and an older proxy are said with what to do.

docs/pair.md and SECURITY.md say how; ci.yml counts 30002 among the serving ports a test must not
reach. Tests written, not run yet (a measurement campaign runs on the box tonight): CI in the morning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 23:25:44 +01:00
Hasan BasbunarandClaude Opus 5.5 a0a2a2b19d proxy v6.50: what the second review of role 10 found, and the coverage gate back above its floor
- A pair box whose own key file cannot be read refused even its own lane (its engine's names need
  the key): the key is now checked only when a peer would get the request.
- After a hold, a request the lane that came back does not serve gets a 503 with Retry-After (a 404
  is final for the SDKs); a request sent on is refused even when that lane does not name itself yet.
- A lane name in no list reads again only the peers not read during this request (a frozen peer no
  longer doubles the wait), and after a peer's 409 every list is read from that moment on.
- GET /v1/models never waits for a peer: a stale list is read in the background and the union is made
  of what is kept (a frozen peer held it 5 s, the time needle.sh and bench-matrix.sh allow).
- pair.json: two peers of one name, or a peer named like this box, leave the box alone.
- An empty X-Alzeo-Pair-Hop is no hop anywhere (pair_hop), and a box without pair.json never puts
  its host name in a refusal.
- tests/test_proxy_pair.py runs its entry in-process too (as test_proxy_hold.py does) and tests the
  pair's functions one by one; it joins the coverage gate's list, which read role 10 as untested
  (keepalive-proxy.py 80%, under its 85% floor) and now passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 18:56:43 +01:00
Hasan BasbunarandClaude Opus 5.5 97f02303a9 ci.yml: the cockpit job's comment names the suite job's offline step, no longer "the offline step below"
Found in review of this PR (2026-10-29). The jobs this PR made moved that step into the suite job,
which comes before the cockpit job, so "below" pointed at nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:51:55 +01:00
Hasan BasbunarandClaude Opus 5.5 a649558f21 ci.yml: the Chrome step installs a browser only where the headless checks would find none
Found in review of this PR (2026-10-29). The checks take CHROME, or the first of google-chrome,
chromium and chromium-browser. The step looked for google-chrome alone, and ci-local.sh runs it on a
contributor's machine too: one with only Chromium went to Google's repository and sudo apt. The step
now takes the same browsers, says the version of the one it found, and installs Chrome only where
there is none. tests/test_chrome_step.py runs the step as ci.yml writes it, with stubs that record
sudo, curl, gpg and apt-get: two of its three tests failed on the previous commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:51:55 +01:00
Hasan BasbunarandClaude Opus 5.5 5297a25234 CI: the coverage job installs hypothesis, and checks fails when a job it needs failed
Found in code review on 2026-10-28:
- the per-module coverage step runs the property checks under coverage,
  and they need hypothesis, which the proxy fuzz had installed before it
  when the steps were one job. In the coverage job alone they said
  SKIPPED, exit 0, to /dev/null: replayed without hypothesis, the step
  failed on "recipes.py: 99% is under its 100% floor". The step installs
  hypothesis now, and stops on a SKIPPED, naming it;
- checks was skipped when a job it needs failed, and a skipped job reads
  as passed to a rule that requires it: it runs always and fails unless
  each of the six succeeded. ci-local.sh runs it only once they passed.
TESTING.md and CONTRIBUTING.md say a fragment runs in the checkout as it
is, what checks does where, both runs measured (741 and 744 s), and that
on one machine the jobs share its ports, which they do not on GitHub.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:51:55 +01:00
Hasan BasbunarandClaude Opus 5.5 37aa1ea3dd CI: Node 24, the reference box's, in every job that runs node
The move to ubuntu-24.04-arm changed the Node the suite runs on without a
word: the arm64 image ships Node 20.20.0, the x86 image the suite ran on
before has 22.23.3 (their inventories, actions/partner-runner-images and
actions/runner-images, read on 2026-10-28), and the reference box runs
24.22.1, where ci-local.sh runs it. node runs in static (the plugin's
syntax), suite and single (tests/test_auto_continue.py), coverage and
cockpit (dashboard/tests/pagejs.py, the headless browser checks), so each
of them sets up Node 24 with actions/setup-node@v7. fuzz runs none.
ci-local.sh runs only run steps, so a local run is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:51:55 +01:00
Hasan BasbunarandClaude Opus 5.5 f415f3bf73 CI: every job on ubuntu-24.04-arm, the boxes' own architecture, with Chrome from Google's arm64 repository
The suite ran on x86_64 for boxes that are aarch64. GitHub's arm64 image
ships no Chrome, which the headless browser steps need: the cockpit job
installs it first from Google's own arm64 repository, the one the
reference box has it from, once the key Google publishes is the one the
box trusts (primary key EB4C1BFD4F042F6DDDCCEC917721F63BD38B4796, checked
against the box's keyring). A machine with a Chrome keeps it, so
ci-local.sh only prints its version. Kept apart from the job split, so it
can be taken back alone if a runner says otherwise.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:51:55 +01:00
Hasan BasbunarandClaude Opus 5.5 f19e0c4392 CI: six jobs side by side instead of one, and ci-local.sh runs them the same way
The run took the sum of its steps: 4,312 s for v1.40.3, as one job. The
steps now run in six jobs, each on a runner of its own: static (the tree,
lint, templates, fixtures, pins), suite (each test file once, under the
offline guard), single (every unittest module in one process), coverage,
cockpit (its unit tests and the headless browser) and fuzz (fuzz, mutation,
properties). checks, last, needs them all and keeps the name a reader
looks for. Every step's script is the one it was, byte for byte.
ci-local.sh runs the jobs side by side too, each in a detached worktree of
HEAD, so the tree has to be clean; CI_LOCAL_SERIAL=1 runs this checkout as
before. Its output is no longer held back by a pipe: each line comes as its
step ends, with the time of each job.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:51:55 +01:00
Hasan BasbunarandClaude Opus 5.5 d8766bb228 CI: each test file runs once for the offline step and the environment check (tests/run_suite.py)
A CI run ran the suite about four times (counted on 2026-10-24): the offline step ran every file
on its own, tests/test_suite_isolation.py then ran every unittest module again in a process of
its own to see whether it left an environment variable changed, and that file ran twice, in the
offline step and in the single-process pass. tests/run_suite.py runs each file once, as a human
runs it, up to four at a time, the longest first, and the files that take a port number out of a
socket they close one at a time at the end, as the step's script did; a sitecustomize.py loaded
into every python it starts compares the test process's environment at its start and at its
exit (no test file touches the environment in its __main__ block, checked on the 246 files), and
records a connect() to a serving port with the test line, as the step's own hook did.
test_suite_isolation.py keeps its two quick probes (HOME at import, the proxy fixtures' key).

tests/test_run_suite.py plants each defect in a throwaway repository and sees it caught: a failing
test named with its output, a file that runs none of its declared tests, a variable left changed
(and one set then removed not named), a contact with a serving port recorded with its line, a
file that takes a port run alone, a longest file that is gone stopping the run before anything
runs. tests/test_offline_step.py now drives run_suite.py over its fake tree: at most four files
at a time and at least two, nothing beside a file that frees a port, the longest first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 11:51:55 +01:00
Hasan BasbunarandClaude Opus 5.5 d38d18dd3a CI and the agent bench test the rules as install.sh hands them
The step "opencode generator produces a valid config (all three install
shapes)" ran the generator without OC_DENY, so it generated no
"permission" and asserted nothing about it: each shape now checks the
rules install.sh hands it. The unit templates were rendered, and the
cockpit's Agent bench started opencode, with AGENT_AUTO's value before
this release, {"*":"allow"}: both take it from oc-merge-limits.py
--agent-auto-permission now, as install-agent.sh does, and the render
checks the shell rules are in the line. v1.40.3's generator, given
OC_DENY, writes no "permission" (found by a verification before the push).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 00:59:06 +01:00
Hasan BasbunarandClaude Opus 5.5 3d64a411d5 opencode: the generator gets the shell rules from install.sh, and the coverage step runs the role 8 tests
Found by the local CI (47 ok, 4 failed). The config generator loaded
oc-merge-limits.py itself, through OC_REPO_DIR and an import placed above
the line the CI step starts its copy at: the step died on importlib and
two test files on a KeyError, as they hand the generator an environment of
their own. install.sh now hands it the block (oc-merge-limits.py
--deny-permission, in OC_DENY), and an OC_DENY that is set but empty stops
the install as before. The fixed-point test gets it too, as install.sh
gives it. The root coverage step names its proxy tests one by one, and
test_proxy_tool_targets.py was not among them: keepalive-proxy.py fell to
83% under its 85% floor, it is back over it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:19:03 +01:00
Hasan BasbunarandClaude Opus 5.5 9228f4ffec patch-template: the tool-reference fix is left out only where no content item raises
The fix was skipped as not needed wherever the word render_content was missing, the one guard of the five that looked at a macro's name rather than at what it fixes (code review, 2026-10-26): a next checkpoint that raises "Unexpected item type in content." in a renamed macro or inline would install with every turn after a ToolSearch a 500 again. It is left out now only for a template without that raise, and one that has it where the fix cannot reach stops the install, as an upstream change does for every other fix. The CI step that runs the fixture installs the jinja2 it renders with, which the runner's python3 is not known to carry before the step that installs it for the others. The new fixture fails on the previous patcher.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 23:14:43 +01:00
Hasan BasbunarandClaude Opus 5.5 50b0b549c5 ci: the floor_stop suite joins the coverage list, keepalive-proxy reads 86 with its own tests
The suite landed with 1f9d990 but the coverage step names its suites one by one, and this one was
not named: measured without it the module read 82 under its 85 floor on the reference box on
2026-10-26, with it 86 (486 to 378 missed statements). The same shape as 2026-10-17, when the nine
suites of v6.41 joined the list because without them its new code read as untested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 23:14:43 +01:00
Hasan BasbunarandClaude Opus 5.5 d7a6737751 CI: the template check hands each template what its engine hands it, and reads the installers closely
The check rendered a tool's answer as a list of parts, which neither engine hands a template (vLLM's
_parse_chat_message_content and SGLang's normalize_tool_content make it one string), and an empty
assistant content as a string where vLLM hands a template that takes OpenAI's content format a list.
Its port of vLLM's reading of a template followed messages put into a namespace, which no vLLM the
lanes pin does, so such a template read as taking lists where vLLM hands it strings (a false green
the second review showed on a toy template). It now renders what a client sends, strings and lists of
parts, as each engine hands it on, both engines' code read in their sources at the versions the lanes
pin: vLLM 8244d1c4 and 77154ca6, and v0.29.0 for Kolibri, whose reading follows no macro; SGLang
v0.5.22 and the flash lane's nightly 53295c6, whose code for it is the same. Where vLLM's own
assertions fail, its reading gives its default, strings, as vLLM's does. transformers' {% generation %}
tag renders, and the named templates of a repo's additional_chat_templates/ join its default, as
transformers reads them (none of the 13 targets has one), where a patched lane serves its patched
file alone, as --chat-template hands it to the engine for every request. And it stops on an installer
that names patch-template.py anywhere but in its preflight's list of files, however the call is
written, one whose calls of vlane_template leave its fixes out, and a fix it cannot pass on: each
read as serving the template as published. So does a call of patch-template.py with fixes of its own
in install.sh or switch-model.sh, whose 27B and flash targets it renders with the four. The canary
goes through each engine's conversion too, which a fault of the check no longer reads as a refusal,
and a tool call sent as parts carries null content, as the OpenAI API returns it (the second review).
It renders no request's own parameters yet (a reasoning effort, thinking on or off), nor a vision
lane's processor template, which is the tokenizer's own on the Nemotron lanes today.

On the reference box: 13 targets, 364 renders, 0 refusals, each identical to transformers 5.12.1's
own, and the Ornith checkpoint's published template refuses 16 of its 28. The port gives the reading
vLLM's own code gives, run from its sources at each pinned version, on the 13 templates and on 8
written to tell them apart. tests/test_lane_templates_check.py fails on the old check (25 of 35).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 18:41:56 +02:00
Hasan BasbunarandClaude Opus 5.5 1298f44407 CI: opencode's second request among the shapes the templates render
opencode 1.19.4's second request in a session sends two user messages in a row after its two
system messages ([system, system, user, user]), which the fixture of 2026-10-24 missed: captured
the same day through a relay that keeps the roles only, a template that wants roles to alternate
would refuse it and the check would not see it. On the reference box: on the 13 text targets, 0
refusals with this shape, and the check's 280 renders identical to transformers 5.12.1's own (the
Ornith checkpoint's published template refuses it too, as it refuses the first).
tests/test_lane_templates_check.py fails on the old fixture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 18:41:32 +02:00
Hasan BasbunarandClaude Opus 5.5 482c3aa424 patch-template's fixes are chosen on its command line, and the CI check renders as the engines do
The selection of fixes v1.40.2 gave patch-template.py was TEMPLATE_PATCHES, read from the environment
by every caller: one exported in a shell made ./install.sh write the 27B's template without its three
effort fixes, the 27B restarted on it, and it refused Claude Code's "max" and pi's "lean" (found by the
code review on 2026-10-24). It is now --patches=NAMES, which the Ornith lane's installer alone passes;
TEMPLATE_PATCHES reaches nothing. tests/test_patch_template.py exports it and still gets the four.

tests/lane-templates-check.py rendered otherwise than the engines and the installers in three ways,
also found by the review, and each is now theirs:
- a lane's installer patches chat_template.jinja only, so a patched lane without one fails here, as
  its install would have;
- vLLM turns a message's content into a list of parts for a template that loops over it (its own
  reading of the template, vllm/renderers/hf.py) and SGLang leaves strings as they are
  (sglang/srt/parser/jinja_template_utils.py): both readings are ported, and each lane is rendered in
  the content form its engine gives the template, an SGLang lane with lists too where its template
  takes them (what each engine does to a tool's answer and to an empty content came later in this
  release). Rendering lists everywhere would have refused Kolibri's templates, which no engine hands a
  list;
- named templates give tool_use when tools are sent, as transformers picks.
And Hugging Face's 429 and brief 5xx are waited out on a runner's shared addresses, five tries, with
its Retry-After, a body cut short included. On the reference box: 13 targets, 240 renders, 0 refusals,
each identical to transformers 5.12.1's own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 18:41:32 +02:00
Hasan BasbunarandClaude Opus 5.5 48324f57b4 CI: the template check reads every text target of the switch, Kolibri's FP8 at its own pin
tests/lane-templates-check.py read the Kolibri lane's NVFP4 pin only, under the lane's name, while
the lane's default checkpoint is the FP8 (Aleph-Alpha/Kolibri-1): that one's template was never
fetched at its pin. The two are byte for byte the same today (6,236 bytes), so no refusal was
missed, but a change to the FP8's would have gone unseen (found in review, 2026-10-24). The table
is now one entry per switch target, kolibri and kolibri-nvfp4 each with its pin, and the check
stops on a text target of switch-model.sh it does not know, or one it knows the switch does not
serve. On the reference box: 13 targets, 156 renders, 0 refusals, each identical to transformers
5.12.1's own. tests/test_lane_templates_check.py: 3 of its 7 tests fail on the check before this.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 14:08:04 +02:00
Hasan BasbunarandClaude Opus 5.5 5e32950b75 CI: every text lane's chat template takes what the real clients send, at its pin
opencode 1.19.4 sends two system messages before the user's, and the Ornith lane's published
template refused the second: every opencode request on that lane got a 400 from v1.38.6 to
v1.40.1, and nothing saw it, as each release proved the clients on the lane that served
(Hasan, 2026-10-24: a template x client matrix in CI, the first of four guards).

tests/lane-templates-check.py fetches each text lane's template at its pinned revision on
Hugging Face (the seven targets of install.sh and the five vLLM lanes), patches it as its
installer does, and renders the message shapes the real clients send, captured on the
reference box through a relay that kept the roles and dropped the content
(tests/fixtures/client-shapes.json), with tools and without. A template that raises fails the
step, and so do a text lane it does not know and an installer that patches its template
otherwise than its table says. It renders as transformers does: on the reference box its 144
renders were identical to transformers 5.12.1's own, refusals included, and a canary template
that refuses a second system message must be refused first, or the step fails.

On this branch, 0 refusals in 144. Rendered the same way, Ornith's published template refuses
both of opencode's shapes with the error the box gave. tests/test_lane_templates_check.py, with
no network and no jinja2, holds the table to the installers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 12:58:51 +02:00
Hasan BasbunarandClaude Opus 5.5 ea30085aaf CI: the 64 GB unit's drift check leaves comments aside
The check that the 64 GB unit is the native one with memory settings of its own compared their
comments too: it failed on the line that marks the values as not measured yet, and would fail
on the comment that says where each measured value comes from, as every unit of this repo has
(found in review, 2026-10-23). Comment lines are left out of both sides now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 21:53:13 +02:00
Hasan BasbunarandClaude Opus 5.5 9adafb62e6 install.sh: a 64 GB DGX Spark gets the 27B in a unit sized for it and Bolt, and is told what it cannot hold
Step 1 refused any box under 110 GiB of MemTotal ("This config needs a ~121 GB unified-memory
machine", a number in GiB called GB), so a 64 GB DGX Spark could install nothing. The class is
read at the top now and handed to what the run calls. On a 64 GB box: the 27B serves its native
window from qwen38-sglang-64.service.template, the native unit with memory settings of its own;
the flash lane, CONTEXT_MODE=1m and the FP8 targets are refused before anything moves; the lanes
it cannot hold are left out and named once; --with-<lane> for one of them is refused. conformity.py
recommends the native window there. Below 48 GiB step 1 refuses, saying the box's GiB. The 64 GB
template's values are not measured yet and carry a mark that keeps them off main (tests/test_spark_64.py).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 19:54:00 +02:00
Hasan BasbunarandClaude Opus 5.5 387f58f849 tests: the Agent bench always ends, and says what it saw
Found in review of the bench (2026-10-23):
- nothing bounded a run: a browser that died mid-call left its calls
  waiting for ever, and a CI job could hang for the six hours a runner
  allows. Each browser call now fails when the browser exits or after 90 s
  without an answer, the whole run stops at AGENT_BENCH_TIMEOUT_S (600 s)
  with its report, and the CI step has a 15-minute limit;
- an exception in the browser part (an element missing, a call refused)
  ended the run with a stack trace and no report: it is now a failed check
  and the report is printed;
- a hangup (a terminal closed under a run by hand) left opencode and the
  cockpit running on loopback: SIGHUP now ends the run like SIGTERM;
- the cockpit's two ports were asked one after the other and could be the
  same port: both are now taken at once;
- the URLs written into page scripts are JSON string literals:
  encodeURIComponent keeps a quote, which a TMPDIR could hold;
- a candidate's pre-release version keeps its suffix.

A browser counts 127.0.0.2 as a secure context and an http:// tailnet
address not, and sends Sec-Fetch headers only to the first: the page is
now also asked from node the way a browser asks on a box's tailnet
address, Accept only. The doc says what the bench cannot see (an API a
browser keeps to secure contexts), and docs/opencode.md that a new pin
needs the x64 digest too.

On the second GX10: 34/34; a 25 s limit stops the run at 25 s with its
report and nothing left behind; a hangup 20 s in leaves no process and
no file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 01:49:54 +02:00
Hasan BasbunarandClaude Opus 5.5 e5115c7114 tests: the Agent tab against a real opencode, in CI
dashboard/tests/agent-bench.mjs owns what it drives, so it runs in CI as
on any box. It fetches the opencode release install.sh pins (this
machine's asset: install.sh's sha256 for linux-arm64, the bench's for
linux-x64), starts it on loopback with a HOME, a config and a password of
its own, renders the unit install-agent.sh would write for it, starts a
dry-run cockpit whose relay answers on 127.0.0.2, and drives both with a
headless browser: the relay's gate, the Agent tab and its line, the page
opencode sends with the phone layer linked into it, a terminal opened
through the relay with a command run in it, and a phone.

The Agent checks drove the live cockpit of a box, by hand, and two
opencode releases broke the tab between two runs: 1.19 sent its page
chunked and the relay dropped the phone layer (found 2026-10-22), and it
checks the Origin of every terminal connection (2026-10-11). 127.0.0.2 is
loopback, and not an origin opencode trusts, so the relay's Origin
rewrite is exercised as on a tailnet address.

Measured on the second GX10 (Chrome 156, opencode 1.19.4): 32/32, nothing
left in TMPDIR. With the relay of v1.38.5: 4 failures (the phone layer and
its no-cache). With a relay that forwards the browser's Origin: 2 failures
(no terminal WebSocket, no command run).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 00:56:17 +02:00
Hasan BasbunarandClaude Opus 5.5 1aab73f326 Ornith 1.5 122B as a ninth lane, on vLLM with its MTP head and a window of a million
Ornith AI's Ornith 1.5 122B (MIT), a mixture of experts of the Qwen3.5
family with vision, in its authors' NVFP4 build pinned at its revision
of 2026-10-21, served by vLLM with b12x in the Flash FP4-Local lane's
image: its MTP head drafting 2 tokens, 8 requests at a time, prefix
caching with the Mamba states aligned, the checkpoint's chat template
and sampling as published, served as ornith-1.5-122b. Its window is
1,048,576 tokens: YaRN at factor 4, written whole into
text_config.rope_parameters, the one form this vLLM reads (the model
card's rope_scaling changed no probability on the reference box), and
a KV cache fixed at 17 GiB, 1,301,680 tokens.

Installed on demand like the other lanes: install-ornith-122b.sh with
its pins (--units-only, --prepare, --stage, --uninstall), the
--no-ornith-122b and --with-ornith-122b flags, a switch-model.sh and
prepare-lane.sh target, its sudoers lines, every other unit's
Conflicts= and After=, the keepalive's hold, the uninstall's lists. The
image is shared: each lane's uninstall leaves the io_uring filter and
the image to the other while it is installed, and pin_untag says which
tag still keeps it. The cockpit shows it in the b12x family, opencode
and pi get a provider whose variants are its template's (enable_thinking
on, or none), and the proxy (v6.45) turns a request's reasoning effort
into enable_thinking for it: none and minimal off, the rest on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 01:30:46 +02:00
Hasan BasbunarandClaude Opus 5.5 807789fa2b CI: the target lists and the sudoers gate know the Flash FP4-Local lane
Two gates failed on this branch, run step by step before the whole CI (found in review,
2026-10-20). "One list of targets" did not count flash-local among the targets a flag installs, so
the page's selector, the cockpit's enum and switch-model.sh's guard, which all carry it, read as
three lists out of step. "Every privileged call of switch-model.sh is in the cockpit allowlist" had
no value for the lane's unit, its unit's name and its staging path, and refused the four calls that
name them. Both now know the lane, and the second checks those calls against the allowlist, line for
line, as it does every other lane's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 09:28:08 +02:00
Hasan BasbunarandClaude Opus 5.5 75a8fe0a01 proxy: a caller's x-override-* headers stay at the door, but the rid
The SGLang lanes start their engine with
SGLANG_ENABLE_REQUEST_HEADER_OVERRIDES=1 so that it takes the request id
this proxy names (v6.14). That switch makes the engine apply every
override header it knows, from whoever sends it. Read in SGLang
v0.5.21 (python/sglang/srt/entrypoints/request_headers.py, fetched at
the v0.5.21 tag): x-override-rid, -bootstrap-host, -bootstrap-port,
-bootstrap-room, -conversation-id, -routed-dp-rank,
-disagg-prefill-dp-rank and -priority. _hdrs relayed every header but
the hop-by-hop ones, so any client of the port could set the
scheduler's priority, data-parallel rank and disaggregation fields of
its own request. None of them is a client's to set.

The caller's x-override-* headers are now dropped by their prefix, so
a field a later release adds is dropped too. The rid keeps the
behaviour it had: the proxy's own, or the caller's when it names one.

Found in a cloud review of v1.36.1 (pull request #52). On the reference
box none of these fields gives a client anything: its engines run
without priority scheduling (a priority is ignored, or aborts that
request alone), with one data-parallel rank and no disaggregation, and
conversation_id is only stored (read in the scheduler of the flash
lane's pinned image). Nothing in this repository sends an x-override-*
header but the rid. The new test fails on the old code (all eight
headers reach the fake engine) and passes on this one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:38:00 +02:00
Hasan BasbunarandClaude Opus 5.5 8ad9078571 ci: the offline step runs four test files at a time, the ones that free a port alone
One after the other, the files of dashboard/tests and tests/ took about 20
minutes of the offline step on the reference box (1332 s on GitHub for
v1.36.2). They now run up to four at a time, the longest first, each still on
its own as a human runs it, under the same witness HOME, audit hook and reaper,
with its count of declared against run tests. The files that take a port
number out of a socket they close (getsockname()[1]), to start a server on that
port later or to have one where nothing listens, run one at a time once the
others are over: a file running beside them can be handed that port
meanwhile. Eleven do on this commit; they are found by that call, not listed.
A red run now names every file that failed with the end of its output, not the
first one only, and a file whose run stopped before its verdict fails too.

Measured on the reference box, the step alone through the workflow's own
script, Bolt serving: ten runs, all green, a median of 511 s (509 to 593),
against 1273 s for the step of v1.36.2 on the same tree; at the peak, 25.6 GiB
of memory left and the SoC under 60 C. tests/test_offline_step.py runs the
step's script as ci.yml writes it over a tree of fake files: three of its four
tests fail on the old step, and six of seven mutants of the new one fail it
(the seventh, a run that stops before its verdict, was checked by hand).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 17:37:01 +02:00
Hasan BasbunarandClaude Opus 5.5 dda2f954eb ci: each test file runs twice, not three times
Every file of dashboard/tests and tests/ ran three times: all together, then
each on its own, in the cockpit step and in "No test file in tests/ is left
unrun", and each on its own again in the offline step (measured on 2026-10-18:
the three steps take 62 of the 78 minutes of a local run, 64 of 81 on GitHub).
A file now runs together with the others once (those two steps, unchanged) and
on its own once, in the offline step, under its witness HOME, which now also
checks that a unittest file ran the tests it declares. Nothing it checked is
lost: a file without a __main__ block, a failing test and a failing script
still fail the step (checked on a fixture tree), and the declared-against-ran
count, the allowed skip reasons and the unnamed-script check are where they
were.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 12:53:30 +02:00
Hasan BasbunarandClaude Opus 5.5 4d4a68d2aa ci: the proxy's coverage counts the suites of its v6.41 guards
The coverage step ran a fixed list of the proxy's suites, and the nine
that came with v6.41 were not in it: the code they test read as
untested, 81% under the 85% floor. With them, 87%. Run under coverage,
which slows it down, the body budget's test of two bodies at once failed
one run in two: it sent the first body's bytes before the proxy had
admitted the second, which then found the room taken and was refused at
its admission. It waits for both to be admitted now (5 of 5 under
coverage), and its waits for a state allow a slow runner 30 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 03:42:45 +02:00
Hasan BasbunarandClaude Opus 5.5 6de66c92a0 Remove dead cockpit files
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>
2026-10-17 02:11:24 +02:00