Commit Graph
990 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 a9fd5e4c3d 27B lane: SGLang says what the prefix cache served (#49)
Discussion #49 asked for --enable-cache-report. With it, each answer says
how much of its prompt the prefix cache served:
usage.prompt_tokens_details.cached_tokens on the OpenAI routes (8,192
then 9,472 of a 9,539-token prompt that repeats its system message),
cache_read_input_tokens beside input_tokens on /v1/messages (31 and
9,600 where it said 9,631 before), and the proxy's
x-systemone-cached-tokens (0, then 2,176). Without it the cache serves
the same and says nothing.

Measured on the 27B lane behind the proxy on 2026-10-24, with the flag
and without: the SDKs, fetch under Node and Bun, LiteLLM, Claude Code,
opencode, Hermes and pi each did their task; opencode 1.19.4 recorded
33,536 of a turn's 33,650 prompt tokens as read from the cache, its
total unchanged, so it compacts where it did; bench.sh gave 64.9 against
64.0 tok/s (three runs each, their spreads overlapping).

The three 27B units and run.sh pass it, and the recipes' drift check
knows the switch. The flash lane, on another build, is not measured and
does not pass it. tests/test_engine_cache_report.py fails on the old
files and passes on the new ones; the 28 test modules that read these
files pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 10:20:12 +02:00
Hasan BasbunarandClaude Opus 5.5 ee1980e709 test_proxy_memory_ceiling: the ceiling holds the budget whatever the body's shape
The test measured the proxy's cost on one body shape, an image as base64.
It now measures three, each 24 MiB, sent as UTF-8 as clients send them,
each on a proxy of its own (its peak only grows): base64, Chinese text
and emoji, and holds the unit to the costliest. On the reference box
(2026-10-24, three runs each), v6.45 cost 3.98, 5.65 and 7.98 times the
body, so 384 MiB of emoji needed 3,101 MiB against nine tenths of the 2G
the unit holds, and the test fails on it; v6.46 costs 3.99, 3.98 and
3.99, and passes. MemoryMax and the body budget stay as they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 10:20:12 +02:00
Hasan BasbunarandClaude Opus 5.5 9ec2c83ae2 proxy v6.46: a body the proxy writes again for the engine stays UTF-8
Seven guards parse a body and write it again for the engine (the
reasoning effort routes, the Qwen, Nemotron and Ornith effort
translations, the tool schema patterns, the model name on vLLM), and the
prompt counter writes the text it sends the engine's tokenizer. They
wrote it with json.dumps' default, which escapes every character outside
ASCII: a Chinese character took 6 bytes instead of 3 and an emoji 12
instead of 4, so the engine got a body two to three times the one sent,
the proxy held it at 5.65 and 7.98 times its size while its guards worked
on it, against 3.98 for an image as base64, and the counter measured a
prompt against COUNT_BODY_MAX_BYTES at that inflated size (reference box,
2026-10-24, taux.py in qa-tools, three runs each). They write it through
rewritten(), in UTF-8; a lone surrogate, which a JSON escape allows and
UTF-8 cannot carry, keeps its escape. Redone on v6.45 from the branch of
2026-10-19, which predates the Ornith translation and missed the counter.

tests/test_proxy_body_utf8.py: nine of its ten tests fail on v6.45, the
lone surrogate's passes on both. The 505 tests of tests/test_proxy_*.py
pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 10:20:12 +02:00
Hasan BasbunarandClaude Opus 5.5 abf7e66315 tests: the opencode artifact test gives its block the box's class
Since e65a364 the block of install.sh that writes opencode's config
reads MEM_CLASS, which install.sh sets at its start. The test runs that
block alone under set -u and set no class, so 24 of its 30 tests
stopped on an unbound variable: the full local CI caught it, where the
targeted runs of e65a364 had not run this file (2026-10-24). It sets
MEM_CLASS=128, as test_install_native_limits does since e65a364; the
64 GB path of the block is tested in test_install_restarts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
v1.40.0
2026-10-24 04:02:13 +02:00
Hasan BasbunarandClaude Opus 5.5 9b59fce384 cockpit: on a 64 GB box, System One's reason names the 27B alone
The Decide view's note, where System One is not served, takes its words
from the server: "answered by the 27B or the flash lane, so load one of
them", on a 64 GB box too, which holds no flash lane, over the button
d62285c made load the 27B. Bolt serves such a box by default, so that is
the note it shows (found in review, 2026-10-24, on the branch's cockpit
captured as a 64 GB box). The reasons name the 27B alone there; on a
128 GB box they are word for word what they were, all five compared.

Test: test_a_64_gb_box_names_the_27b_alone fails on the old cockpit for a
64 GB box and passes for both classes on the new one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 02:57:13 +02:00
Hasan BasbunarandClaude Opus 5.5 cda2b94e18 docs: the 64 GB sizes in GiB where they are GiB
The 27B's container cap on a 64 GB box, docker's --memory 32g, is 32 GiB
(docker reads g as 2^30 bytes, and docs/gb10-memory.md says GiB for the
100g cap), and the CHANGELOG said 32 GB. The Mamba cache sizes, 7.5 for
24 slots and 4.4 for 12, are SGLang's log lines, which print GB but
divide by 1024^3 (memory_pool.py, GB = 1024 * 1024 * 1024, read in the
pinned v0.5.22 image): they are GiB, and the CHANGELOG and the unit's
comment now say so (found in review, 2026-10-24).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 02:50:00 +02:00
Hasan BasbunarandClaude Opus 5.5 d76dc4f033 docs: on a 64 GB box the 27B's pool holds an agent's turns, not its largest step
oc-fit-limits.py keeps opencode's worst measured step (43,863 tokens)
inside the window and under a lane's ceiling, and inside the pool only
the margin for the next boot. Computed with fit() itself, that holds
the step on every pool above 86,800 tokens, and the 27B's pools of a
64 GB box measured tonight are 46,700 and 59,625: there one step that
large can bring a prompt past what the proxy takes (68,863 against
54,855), and the proxy refuses it as too long. opencode and Claude Code
compact on that refusal and carry on. The README and the CHANGELOG say
so (found in review, 2026-10-24). The fit itself is unchanged: bounding
the pool by that step would leave the 27B there at most 17,000 tokens of
context, less than Claude Code's first request alone (about 18,600).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 02:47:55 +02:00
Hasan BasbunarandClaude Opus 5.5 80103d3fd2 cockpit: a choice made before the box's class was known follows it
Two places took the box's class once and kept it. A version picked on
the 27B card while the class was unknown (the first second after the
cockpit started) stayed the card's choice once the machine panel said a
64 GB box cannot hold it: disabled, still lit, its Load named FP8 and
ended on the switch's refusal. It now gives way to the version served,
or to the first the box holds. The Decide view chose its note's Load at
the probe, so a probe made before the class was known offered the flash
lane on a 64 GB box until the view was opened again. It probes again
when the class changes (found in review, 2026-10-24).

Tests: test_a_version_picked_before_the_machine_panel_gives_way_to_one_
the_box_holds and test_decide_follows_a_machine_panel_that_comes_after_
its_probe fail on the old scripts and pass on the new ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 02:44:25 +02:00
Hasan BasbunarandClaude Opus 5.5 08d5845e0e tests: run.sh's bind test runs on the reference box's memory
run.sh refuses a 64 GB box since 6f6ef5e, and test_run_engine_bind ran it
with an environment of PATH and HOME only, so boxmem.py read the memory of
the machine the suite ran on: on a 64 GB DGX Spark its three tests failed
on that refusal (found in review, 2026-10-24). The test now writes the
reference box's MemTotal and passes it as QWEN38_MEMINFO, as the walled
install tests do.

Measured by a mutant: the test's own meminfo at 64 GB fails all three
tests on the refusal, and the unchanged copy beside it passes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 02:41:04 +02:00
Hasan BasbunarandClaude Opus 5.5 da57cd7e54 docs: what claude-local keeps, and a by-hand pair that fits the window
docs/clients.md said a variable you set is kept as it is: the endpoint and the
key are always the box's, and an extra body without max_tokens gets the lane's.
It now says which settings are kept, that the launcher reaches the box directly
and never through an HTTP proxy, and that the 27B's pool on a 64 GB box is
smaller than the 205,000 and 32,000 a lane without opencode limits gets. The
by-hand block set the context to the whole 262,144 window with no answer
budget: it is now 228,000 with max_tokens 32,000 (found in review, 2026-10-24).

The claim that the proxy's refusal makes Claude Code compact is now measured:
Claude Code 2.1.304, refused once with that 400 word for word, compacted
through its reactive path and carried on (2026-10-24).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 02:39:58 +02:00
Hasan BasbunarandClaude Opus 5.5 f0b31e6818 uninstall: list the claude-local copy an install moved aside, and keep it
An install that finds the launcher #59's reply gave keeps it beside ours as
claude-local.from-59. The uninstaller listed and removed only ours, so that copy
stayed behind unnamed. It is now listed as kept, the user's to delete, and never
removed (found in review, 2026-10-24).

Test: TheInstallerWritesIt.test_the_uninstaller_lists_the_copy_it_does_not_remove
fails on the old uninstall.sh and passes on the new one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 02:39:58 +02:00
Hasan BasbunarandClaude Opus 5.5 491dccada2 claude-local: the probe never leaves the box, and what it is given it says right
What the review found (2026-10-24), each with a test that fails on the
old code:
- the probe of /v1/models went through urllib's proxy handling, which
  follows http_proxy: behind a company proxy, with no_proxy naming
  localhost only, the box's key went out in clear to it. The probe goes
  direct, and Claude Code gets NO_PROXY for the box's address too
  (it reads HTTPS_PROXY), what was there kept.
- with no opencode config (--no-opencode), the proxy was taken on its
  default port: the launcher carries the box's own (QWEN38_PROXY_URL).
- a CONFIG_DIR another tool exports was taken for the box's config
  folder: it is QWEN38_CONFIG_DIR, which the launcher sets.
- an HTTP answer read as "no lane answers": a 401 says the key was
  refused, another code says a lane may be starting; a body that is
  not the list it should be, or a CLAUDE_CODE_MAX_OUTPUT_TOKENS that is
  not a number, is said instead of a traceback.
- an extra body of yours without max_tokens dropped the lane's answer
  budget: it gets the lane's; and an ANTHROPIC_MODEL of yours naming a
  Claude model, for which Claude Code sizes its own context, is said.

install.sh: writing the launcher can no longer fail the install (set -e
stopped a whole run before its units on a ~/.local/bin it could not
write): a note says how to launch it instead, as opencode's step does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 02:34:04 +02:00
Hasan BasbunarandClaude Opus 5.5 a74b5be6dd install.sh: a new 64 GB box's install really loads Bolt, or stays on the 27B
bef405e ran prepare-lane.sh and switch-model.sh and said "Nemotron 3.5
Bolt serves now": switch-model.sh never starts or stops an engine, it
points the boot and opencode at the lane, so the 27B went on serving
until the next reboot, under opencode limits sized for Bolt (found in
review, 2026-10-24; its test stubbed the switch and could not see it).
The epilogue loads Bolt as the cockpit's Load does: prepare-lane.sh,
switch-model.sh, the 27B stopped, Bolt started, its engine answering
within 30 minutes, then opencode's limits fitted to it. A prepare that
fails changes nothing; a switch that fails is switched back; a Bolt
that does not answer is stopped, the boot and opencode go back to the
27B, and the 27B starts again, said in a note.

A new box was one with no 27B unit at the start of the run, so a
first install that died after step 8, or stopped at --no-start, never
ended on Bolt (found in review, 2026-10-24). New is now: no run ever
ended whole on the box (installed.json), or --recommended, what a new
box gets.

The tests run install.sh's own lines with prepare-lane.sh,
switch-model.sh, sudo, systemctl, curl and oc-fit-limits.py stubbed:
the load in its order, the way back when Bolt fails or does not
answer, a prepare or switch that fails stopping nothing, what counts
as new, and nothing moved otherwise. They fail on bef405e.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 02:31:04 +02:00
Hasan BasbunarandClaude Opus 5.5 f623d0dd47 CHANGELOG v1.40.0: what the probes and the clients did on a 64 GB budget
The 27B on the settings kept: checks_27b.py but one check (a 300 kB
prompt its pool cannot hold, refused by the proxy as too long), 44.8
and 55.3 tok/s at one and four streams on SGLang's benchmark, its
prefix cache 99 to 100% of an agent's turns, and the SDK, fetch under
Node and Bun, LiteLLM and the four agents each did their task. Bolt:
the SDK, fetch, LiteLLM and opencode under its own name; Claude Code,
Hermes and pi, run by the harness with other lanes' names, were refused
by vLLM, since the proxy that gives a vLLM lane its own name follows
the engines' systemd units, and the test engines were none. Bolt's
pool on a second boot (721,883) beside the first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 02:03:37 +02:00
Hasan BasbunarandClaude Opus 5.5 1827802da3 v1.40.0: the 64 GB values, measured on a 64 GB budget, and #59 in the CHANGELOG
Every PROVISIONAL mark is gone (NothingUnmeasured passes): the values
are measured on the reference box at the memory a 64 GB box gives each
engine (2026-10-24). Holding 64 GiB aside, the way first tried, upset
the GPU driver (nvidia-smi saw no GPU while it was locked, then the
27B's CUDA context failed to allocate with 52 GiB available), so the
engines ran at the absolute budget a 64 GB box gives them: SGLang's
fraction scaled to the free memory it reads before its weights load,
vLLM's share to the total it reads.

- the 27B's unit: fraction 0.65 and 12 Mamba slots, the highest that
  leaves 6 GiB at the peak under four requests filling the pool (0.70
  left 3.7 GiB with 12 slots); SGLang runs two requests at a time with
  them; 59,625 tokens of KV, a 67.2 tok/s greedy median (3 runs), the
  prefix cache serving 99 to 100% of an agent's turns
- Bolt's share 0.60 (0.284 of this box's total): 667,874 tokens of
  KV, 2.55 windows, 110.8 tok/s, 7.1 GiB left at the peak; its prefix
  cache as on a 128 GB box
- the CHANGELOG's table of every setting tried, the README's 64 GB
  rows, and a new 64 GB box ending on Bolt; claude-local's paragraph
  (#59), its fallback checked against the 64 GB pools; what an update
  does, read from the restart logic (no unit of a 128 GB box changes,
  the proxy and the engines keep running, the cockpit restarts)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 01:43:28 +02:00
Hasan BasbunarandClaude Opus 5.5 bef405e567 install.sh: a new 64 GB box ends its install on Nemotron 3.5 Bolt
On a 64 GB DGX Spark the 27B gets two requests and a small pool: its
mamba cache, sized per running request, takes much of what the budget
leaves after the weights (measured on a 64 GB budget, 2026-10-24), and
SGLang caps the requests at six of its slots each. Bolt, which NVIDIA
names first for that box, runs a 262,144-token window there. So a new
64 GB box ends its install on Bolt (Hasan, 2026-10-24): once its 27B
has proved itself, Bolt is prepared and loaded as the cockpit's Load
does it (prepare-lane.sh, then switch-model.sh, which makes it the boot
lane), and the 27B stays a Load away. A Bolt that does not come up
leaves the 27B serving, with a note. A box that already boots a lane
keeps it, and a run that names a 27B target or leaves Bolt out keeps
the 27B. --recommended, what a new box gets, keeps Bolt on such a box.

The tests run install.sh's own lines with prepare-lane.sh,
switch-model.sh and systemctl stubbed: a new 64 GB box ends on Bolt
and a failure keeps the 27B (both fail on the old code), nothing moves
otherwise, and --recommended keeps Bolt on 64 GB only (fails on the
old code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 00:52:06 +02:00
Hasan BasbunarandClaude Opus 5.5 d62285c6ea cockpit: a 64 GB box's Decide offers the 27B, and its versions follow the box
The Decide view offered Load flash 176B whenever System One did not
answer, on a 64 GB box too, where it ended on the toast that the flash
lane needs a 128 GB DGX Spark (found in review, 2026-10-23). There it
offers the 27B, and says the 27B answers System One.

The 27B card's versions were disabled once, when the card was built:
a card built before the machine panel said the box's class (the first
second after the cockpit started, or a machine collector in error)
kept its FP8 versions to be picked until a reload, and the arrow keys
stopped on a disabled one, which took neither the click nor the focus.
Each render says which versions fit, and the arrows pass over the
others.

The page's tests run both on a 64 GB box, the machine panel coming
after the card, and fail on the old scripts; a mutant with the old
arrow handler is caught.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 00:13:30 +02:00
Hasan BasbunarandClaude Opus 5.5 9e50f901e0 README and help: --no-service and ./run.sh are refused on a 64 GB box
6aabb40 refused --no-service on a 64 GB DGX Spark, and the README's
64 GB section said so, but install.sh's help, the README's table of
choices, its line on the path without a service and its list of forms
offered it with no word of that (found in review, 2026-10-23). Each
says a 64 GB box refuses it, as ./run.sh, which it prepares, runs a
128 GB box's memory settings; the context mode's row too.

The test reads the help and those README lines, and fails on the old
ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 00:10:18 +02:00
Hasan BasbunarandClaude Opus 5.5 046d65e197 lane installers: their help says a --no-<lane> counts for its run only
5927159 put the new rule in the README and the lane pages, but the
seven lane installers' headers, which -h and --help print, still said
./install.sh --no-<lane> leaves the lane out "for good (a marker file
remembers it)", and an install.sh comment that a run remembers it
(found in review, 2026-10-23). Each says the lane is left out of the
run that passes it.

TheDocsSayIt reads the installers' help and install.sh's comments too,
and knows the old rule's other wordings ("leaves the lane out", "a
marker file remembers it"): on the old headers it fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 00:08:53 +02:00
Hasan BasbunarandClaude Opus 5.5 f2bf77d02a tests: a walled run's own meminfo is passed as QWEN38_MEMINFO
Since fenced_env sets QWEN38_MEMINFO to the wall's 128 GB file (b784057),
three helpers that rewrote /proc/meminfo in their copy of install.sh
rewrote only its fallback, which that variable passes over: their own
file was never read, and they passed because it was a 128 GB box's too
(found in review, 2026-10-23). They pass their file as QWEN38_MEMINFO.

Measured by a mutant: a 64 GB meminfo in the units-only helper now
changes four of its results, where the old helper still passed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 00:07:40 +02:00
Hasan BasbunarandClaude Opus 5.5 a7a98da12b tests: conformity's tests hold a 128 GB box's state on any machine
conformity.py recommends by the box's class, and four modules called
it in their own process (two at import), where it read the machine's
/proc/meminfo or an exported QWEN38_MEMORY_CLASS: on a 64 GB DGX Spark,
or with the class exported to measure a 64 GB budget, they failed by
26 and 2 errors for no fault of the code (found in review, 2026-10-23;
b784057 fenced the installer's runs only). They pin the class to 128,
as test_conformity_recommended does, around the import-time
recommendation and for their tests, and an exported class is back
after them.

Measured: the old modules fail 26 times with the class exported; the
new ones pass with no class, with 64 exported and with a 57.6 GiB
meminfo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 00:05:23 +02:00
Hasan BasbunarandClaude Opus 5.5 e65a36409e install.sh: a 64 GB box's opencode pair is written once, and its 1M limits go
710550c fits opencode's limits to the pool at the end of a run on a
64 GB DGX Spark, as on 1m, but step 7 still wrote the native table's
pair over the fitted one: the compaction preserved from the fit, the
generator's fitted() and the merge's --keep-lower were 1m's only. Each
update then wrote both files twice, with two backups and two restarts
of opencode-web, the Agent tab's turn cut by the first, which is what
--keep-lower put right for 1m on 2026-09-25 (found in review,
2026-10-23). On a 64 GB box the table's pair is a bound there too.

And on a box of that class whose unit served the 1m window, the
convergence takes it back to the native one with no CONTEXT_MODE
given, so the guard that never shrinks a 1m user's limits kept the 1M
pair, 700,000 of a 262,144 window, and advised the CONTEXT_MODE=1m
this box refuses. The guard is not for a 64 GB box.

The generator, the compaction and step 7's merge run from install.sh's
own lines with a merge that writes down what it is asked: the three
64 GB cases fail on the old code, and a 128 GB box is as before. The
native-limits test gives its lines the MEM_CLASS install.sh sets.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 00:03:55 +02:00
Hasan BasbunarandClaude Opus 5.5 6f6ef5e356 run.sh: a 64 GB box is refused, as the --no-service that prepares it is
6aabb40 refused ./install.sh --no-service on a 64 GB DGX Spark because
./run.sh runs the 27B with a 128 GB box's memory settings, but run.sh
itself still ran there: after an install, stopping the service and
running ./run.sh, the A/B path its header gives, started the 128 GB
settings (100g, a fraction of 0.50, 96 mamba slots, 8 requests) on a
box with half the memory, and took MODEL_CHOICE=fp8 too (found in
review, 2026-10-23). It asks boxmem.py for the class first and refuses
a 64 GB box, naming the service that runs the 27B sized for it.

The test runs the real run.sh with a throwaway HOME and docker fenced:
a 64 GB box is refused with stock and with fp8 (both fail on the old
code), and a 128 GB one is not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 00:01:32 +02:00
Hasan BasbunarandClaude Opus 5.5 252720b493 prepare-lane.sh: the 27B's target is checked on a 64 GB box once it is known
The 64 GB refusal asked boxmem.py about the target as it was typed:
a typo, or a target given by its repo as prepare_27b takes it (stock's
own included), made argparse exit 2, read as "needs a 128 GB DGX
Spark", and with no target the one the unit serves was not checked, so
an FP8 unit pulled its image and its draft before the switch refused
(found in review, 2026-10-23). The check sits in prepare_27b, past its
own reading of the target (by its name, its repo or the unit's), and
before the first pull. The lane is still refused before the docker
group is asked for.

The test runs a copy walled before the 27B's first pull, with a 27B
unit of its own and docker fenced: a target by its name, by its repo
and the unit's own are refused, a typo is a typo, stock by its repo
and uncensored go on. Four of its cases fail on the old code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 00:01:05 +02:00
Hasan BasbunarandClaude Opus 5.5 b130ced79d prepare-lane.sh: a side lane a 64 GB box cannot hold says it needs 128 GB
On a 64 GB DGX Spark, ./prepare-lane.sh image (or video, kolibri,
nemotron-super, flash-local, ornith-122b) answered that the lane was not
installed and that ./install.sh installs its units: install.sh leaves
that lane out there and always will, so the owner went round in a circle
(found in review, 2026-10-23). The side lanes' branch sources lanes.sh,
as the text lanes' does, and refuses such a lane by its reason before it
looks for the unit. A lane that fits, Bolt, goes on to its installer.

The test runs a copy walled before the lane's installer, with docker
fenced, and fails on the old code. The dispatcher's tests copy the
library and the memory reader beside the script, with a 128 GB box's
memory, so neither the machine they run on nor a class exported in
their shell decides what they see.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 23:43:21 +02:00
Hasan BasbunarandClaude Opus 5.5 b8270ad751 tests: prepare-lane.sh's 64 GB refusal is tested on a walled copy
The test ran the real prepare-lane.sh with the real PATH: had its 64 GB
refusal slipped, it would have gone on to this box's 27B unit, docker,
the draft's fetch with the box's HuggingFace cache mounted writable,
patch-yarn.py on that cache and switch-model.sh --fetch (found in
review, 2026-10-23). It runs a copy walled before the script asks for
the docker group, its units elsewhere and docker, sudo and systemctl
fenced, as the installers' tests do.

So it can run on the old code too: before f89a3ed it stops at the wall
(97), and nothing is called.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 23:31:02 +02:00
Hasan BasbunarandClaude Opus 5.5 6ed374841a claude-local: the launcher #59's reply gave to copy is kept beside and replaced
The reply to discussion #59 of 2026-10-22 gave a launcher to copy to
~/.local/bin/claude-local, which does not name this repo, so the
installer took it for someone else's and left it there, with its fixed
pairs and its CLAUDE_CODE_ATTRIBUTION_HEADER=0: whoever copied it, as
the one who asked said they would, kept it after the update.

It is known by its first comment and its last line (exec claude "$@"),
kept beside as claude-local.from-59 in case it was edited, and replaced,
and the run says so. Any other file of that name is left alone, as
before (Hasan, 2026-10-23).

Two tests fail on the old code: the published script byte for byte,
and one edited elsewhere. A third holds that one of its two lines is
not enough, and catches a mutant that asks for either.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 23:29:56 +02:00
Hasan BasbunarandClaude Opus 5.5 23072c2283 claude-local: Claude Code on the lane the box serves, with that lane's context and answer budget
Discussion #59 asked for Claude Code with the box's models the way `ollama launch claude` does,
and the reply of 2026-10-22 gave a launcher to copy, with a pair of limits for the 27B and one
for the rest. claude-local is that launcher in the repo: install.sh puts it in ~/.local/bin
beside oc (never over a claude-local that is not ours) and uninstall.sh lists and removes it.

For the one process it starts, it sets the proxy as Anthropic's endpoint, the box's key (read
from its file at each launch, in the environment only, never on a command line), the model the
proxy serves, the timeouts docs/clients.md gives, and the context and answer budget of the lane
that serves, then runs claude with your arguments. ~/.claude is left alone, and a variable you set
is kept. The pair follows the lane's opencode limits, which the installer and the cockpit fit to
its pool, its window and the proxy's ceiling: Claude Code's longest prompt is
CLAUDE_CODE_MAX_CONTEXT_TOKENS - 23,000, so that variable is opencode's context plus 23,000, and
max_tokens is opencode's answer budget (228,000 and 32,000 on Flash FP4-Local, 578,000 and
185,000 on the 27B in 1M). The worst step opencode may take past its context is what is left
for what Claude Code adds to a prompt and only estimates: adding that step to the context left
144 tokens of the FP4-Local window, so it is not added. A lane without opencode limits gets
205,000 and 32,000, which fit every lane. CLAUDE_CODE_ATTRIBUTION_HEADER is not set: on the
Ornith lane Claude Code reused 36 to 38% of its prompts from the cache with it and without it.

Measured against Claude Code 2.1.304 and a fake Anthropic server (2026-10-23): its effective
window is the context minus min(its output setting, 20,000), it compacts 13,000 below that and
blocks 3,000 below it, as on 2.1.239. For a model whose name is not a Claude one it now reaches
the first through its reactive path (it sends the turn, and compacts if the server says the
prompt is too long, which the proxy says) and compacts before sending at the second. Through the
proxy on Flash FP4-Local, Claude Code read a file with its tool and answered in 9.8 s, its
effective window 208,000, and no log held the key. tests/test_claude_local.py (12) runs it
against a fake proxy and a fake claude, and the installer's and uninstaller's own lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 23:29:56 +02:00
Hasan BasbunarandClaude Opus 5.5 6a5f86bb6f tests: three tests follow the texts the 64 GB work changed
The full suite (3,479 tests) found three tests still quoting what the
64 GB commits reworded: the image page's absent state now asks whether
the lane fits the box, an old marker's message names the lane by its
title (flash 176B), and prepare-lane.sh refuses what a 64 GB box cannot
hold between loading the library and asking for the docker group.

The prepare-lane test keeps its point (nothing runs docker before the
group is asked for): a docker line put between the two fails it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 22:47:41 +02:00
Hasan BasbunarandClaude Opus 5.5 710550cb76 install.sh: a 64 GB box's opencode limits are fitted to the pool its 27B boots to
install.sh fitted opencode's limits to the live pool on the 1M window only. On a 64 GB box the
27B serves its native window, whose static pair (173,000 + 64,000) was sized on a 128 GB box's
pool: its worst case would run past a 64 GB box's, and a long session be refused mid-way, the
case oc-fit-limits.py exists for (found in review, 2026-10-23; the pool itself is measured in the
64 GB phase 2). Both places it runs, after the engine's boot and after the proxy's restart, run it
on a 64 GB box too. The cockpit already fitted them after a Load in any mode, and claude-local
reads them. The new test fails on the old code. The CHANGELOG and the README say so, with the
other refusals the review added.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 22:09:09 +02:00
Hasan BasbunarandClaude Opus 5.5 f89a3ed3e3 cockpit: a 64 GB box is offered nothing it cannot hold, and prepare-lane.sh refuses it before a pull
On a 64 GB box the 27B card still offered its FP8 versions, Library its Download of their
checkpoints, and the Image and Video views the ./install.sh --with- command that box refuses. A
Load of an FP8 version went as far as the switch, which refused it, and on a box whose 27B was not
prepared, prepare-lane.sh had pulled the SGLang image and the DFlash2 draft first (found in review,
2026-10-23), against the README's word that each refusal comes before a byte is pulled.

The machine panel carries the switch's targets that fit the box (boxmem.py), the FP8 versions are
shown and not to be picked, Library says such a checkpoint needs a 128 GB DGX Spark instead of
offering it, the Image and Video views say so too, and prepare-lane.sh refuses the flash lane and
an FP8 target on a 64 GB box before it pulls anything. The page's test fails on the old scripts,
and prepare-lane.sh's is run on the new one only (the old one goes on to docker).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 22:08:08 +02:00
Hasan BasbunarandClaude Opus 5.5 6aabb40bb4 install.sh: a 64 GB box refuses --no-service, whose run.sh serves a 128 GB box's settings
--no-service prepares ./run.sh, which runs the 27B with the native unit's memory settings, the
very ones the 64 GB unit exists to change (found in review, 2026-10-23): on a 64 GB box it would
have failed to start, or started with a pool too small to use. The run refuses it there before
anything moves and says the service's unit is the one sized for the box. The new test fails on
the old code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 22:04:38 +02:00
Hasan BasbunarandClaude Opus 5.5 3c8995c1a1 install.sh: what a run says of a 64 GB box is true, a custom 27B updates there, and a forced class is a class
Found in review, 2026-10-23, each with a test that fails on the old code:
- The old default's convergence moved a 64 GB box's native unit to the 1m window and said so on
  every update, then the 64 GB default said native. A 64 GB box now skips it, and a unit on 1m
  there (the 64 GB proofs on a 128 GB box) goes back to the native window, said, where it was
  kept and then refused as a CONTEXT_MODE nobody had passed. An explicit 1m is still refused.
- The end of a run said every lane a 64 GB box cannot hold was "left out by --no-<lane> on this
  run", the side-boot path too for the other text lane. They say they need a 128 GB DGX Spark.
- A 27B unit serving a model of its own (MODEL_CHOICE=custom) made boxmem.py fail on an unknown
  target, and the run refused it as an FP8 one: the box could not be updated. It is kept, as on
  any box.
- An older release's --no-<lane> marker of a lane the box cannot hold stayed for good, and
  uninstall.sh --list called the lane left out. It goes, but by --plan.
- A QWEN38_MEMORY_CLASS that is no class read as none in install.sh, which then stopped at step 1,
  and as 128 in the lane installers and the switch. lanes.sh refuses it by its name, for every
  script that sources it.
- The line on the lanes a 64 GB box holds lists them from boxmem.py (its new `fitting`), not
  from a second list here, and the line on an old marker names its lane as the rest of the run
  does ("the image (Qwen-Image 2.1) lane").

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 22:03:23 +02:00
Hasan BasbunarandClaude Opus 5.5 50c5cc3362 lane installers: a 64 GB box refuses to install a lane it cannot hold, not to uninstall it
The refusal came before each installer looked at its action, so --uninstall, the way out the help
of install.sh gives, was refused too, on a box classed 64 GB that an older release had put the
lane on (its installers did not check the memory) or under QWEN38_MEMORY_CLASS=64 (found in
review, 2026-10-23). The six installers refuse an install there and let --uninstall through. The
new case of test_spark_64 fails on the old code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 21:59:11 +02:00
Hasan BasbunarandClaude Opus 5.5 b784057251 tests: a walled run reads a 128 GB box's memory, and no test loses or takes an exported class
install.sh reads the box's class and its GiB from QWEN38_MEMINFO (/proc/meminfo by default), and
the walled copies read the machine running the tests: on a 64 GB one, 10 of the context mode's 19
tests failed. fenced_env now gives every walled run the reference box's MemTotal unless the test
gives its own, as the fresh machine's 31 and 57.6 GiB cases now do. The in-process tests read
os.environ: with QWEN38_MEMORY_CLASS=64 exported, the proof campaign's own tool, test_boxmem lost
a test and test_conformity_recommended two (both fail so on the old code), and test_boxmem's
cleanup popped the variable for the tests after it, which hid the second. They now set the
class they test and put the environment back as it was (found in review, 2026-10-23).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 21:58:27 +02:00
Hasan BasbunarandClaude Opus 5.5 5927159f64 docs: no page promises a --no-<lane> that later runs remember
Option B made a --no-<lane> count for the run that passes it, and its CHANGELOG says the docs
say so, but six passages still promised the old rule: the README ("say so once, and later runs
remember it", and the table's "bring it back"), the Flash FP4-Local and Ornith pages ("leaves it
out for good"), the two Nemotron pages ("brings it back after a --no-"), and install.sh's
comment at the end of --plan (found in review, 2026-10-23). Each says the rule now. A new test
reads every page whole, so a phrase cut over two lines counts, and finds all six on the old docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 21:55:01 +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 4d85993f55 speech: alloy, the name sent when nobody chose a voice, keeps the default voice
The table of issue #53 gave alloy af_alloy, and alloy is what a client sends when nobody chose a
voice: Open WebUI's AUDIO_TTS_VOICE defaults to it, and OpenAI's examples use it. Every such
client would have moved from the lane's default voice, af_heart, graded A in Kokoro's
VOICES.md, to af_alloy, graded C (found in review, 2026-10-23). alloy keeps the default voice
now, and the ten other names keep their own. The new test fails on the old code (af_alloy).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 21:52:58 +02:00
Hasan BasbunarandClaude Opus 5.5 85de8da1ea tests: the lane lists know the 64 GB template is the 27B's unit, as they knew the 1M one
test_lane_lists_whole reads the lanes from the unit templates, and took
qwen38-sglang-64.service.template for a lane of its own, which every lane would have to conflict
with and every list to name (14 failures). It writes the 27B's unit, qwen38-sglang.service, as
the 1M template does, and the test now maps both to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 21:21:30 +02:00
Hasan BasbunarandClaude Opus 5.5 1fe51ea113 CHANGELOG v1.40.0 and the README's 64 GB section, marked until the 64 GB values are measured
Both carry the PROVISIONAL 64 GB VALUES mark, which tests/test_spark_64.py keeps off main, with the
measured numbers left in brackets: the 27B's unit and pool, Bolt's share, the speeds, and how they
were measured.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 20:47:22 +02:00
Hasan BasbunarandClaude Opus 5.5 143e90e6dd tests: the image lane's help line, as option B words it
Option B rewrote each lane's help line to say a --no-<lane> leaves it out of the run that passes
it ("leave the Qwen-Image 2.1 lane out of this run (46 GB)."), and test_image_lane still looked
for the old words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 20:47:22 +02:00
Hasan BasbunarandClaude Opus 5.5 ce2020fd41 cockpit: boxmem.py is its code too, so an update that changes it restarts the cockpit
The cockpit loads boxmem.py once, for the box's class, its name and the lanes that fit it, but
neither the stale-code banner nor install-dashboard.sh's restart watched it: an update that
changed it alone would have left the cockpit on the old one, and nothing would have said so (the
review of 2026-10-17 found the same for conformity.py). Both lists name it now.
test_cockpit_conformity, which holds every module the cockpit loads to both lists, failed on it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 20:47:22 +02:00
Hasan BasbunarandClaude Opus 5.5 0500045816 tests: the option B tests run lane_wanted with the box's class, as install.sh's top sets it
The 64 GB branch made lane_wanted read MEM_CLASS (a lane a 64 GB box cannot hold is left out of
it), which install.sh sets at its top. The option B tests run the function alone under set -u,
without that top, and stopped on an unbound variable once both were on one branch (5 of them).
They now give it the class of a 128 GB box, the case they test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 20:45:01 +02:00
Hasan BasbunarandClaude Opus 5.5 190c4d95a9 cockpit: the box it is, and a lane a 64 GB one cannot hold says it needs 128 GB
The machine panel carries the box's class, its maker's name and the lanes' units that fit it
(boxmem.py, read once). The Now view names the box over its pool ("ASUS Ascent GX10, 128 GB"), the
Machine view gives it a row, and where a lane left out named the command that installs it, one a
64 GB box cannot hold says it needs a 128 GB DGX Spark (its bay, its card, the toast). The recipes
compare a 64 GB box with the unit sized for it, not the native one, whose memory settings would
have read as drift on every such box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 20:11:12 +02:00
Hasan BasbunarandClaude Opus 5.5 d4ceccbbc2 lane installers and the switch: a 64 GB box refuses what it cannot hold before a byte, and Bolt takes a share of its own
Each installer of a lane a 64 GB DGX Spark cannot hold refuses there as soon as it has its
library, before it fetches, pulls or writes anything; switch-model.sh refuses such a target the
same way, the cockpit's Load included. Bolt on a 64 GB box takes a memory share of its own, in its
installer and in a switch, which reads it with the other pins (not measured yet, marked).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 20:11:12 +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 9a66fc9a5b boxmem.py: a box's memory class, the lanes that fit it, and the name its maker sells it under
The 64 GB DGX Spark ships from NVIDIA's partners from 2026-10-23: the same GB10 on the same
256-bit bus at 273 GB/s (NVIDIA's product page), with half the memory, and NVIDIA names Bolt
24GB and Qwen3.8 27B among what it runs (its blog of 2026-10-21). boxmem.py reads MemTotal, in
GiB as the kernel counts it: a 128 GB box from 110 GiB (the threshold install.sh has asked since
the first release; 121.6 GiB on the reference box, 112.3 on a 128 GB box on the 7.0 kernel
without kho=off), a 64 GB one from 48 GiB. It says which lanes and targets fit each class (the
27B in NVFP4, Bolt and the speech lane on 64 GB), and names the box from its DMI: ASUS gives both
sizes the same product name, so DMI names the box and never decides its class. lanes.sh wraps it
for the shell (box_mem_class, lane_fits, target_fits). QWEN38_MEMORY_CLASS forces the class, for
the tests and for measuring the 64 GB settings on a 128 GB box with memory held aside.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 19:53:07 +02:00
Hasan BasbunarandClaude Opus 5.5 8a2be6a669 docs: a lane left out is left out of that run, and --with-<lane> installs it whole now
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 19:53:02 +02:00
Hasan BasbunarandClaude Opus 5.5 595030441e install.sh: a --no-<lane> counts for the run that passes it, and a text lane not prepared beside a side lane fetches nothing
A --no-<lane> wrote a marker that left the lane out of every update after it, said in one line of
the log and nowhere else, so a box fell behind on that lane in silence (Hasan, 2026-10-22: "Personne
ne doit rester silencieusement derrière"). It leaves the lane out of the run that passes it now, and
writes nothing; a marker an older release wrote is said once ("Your earlier --no-image is no longer
remembered") and removed, but by --plan. The cockpit's and opencode's choices are kept, as before,
since an update must not turn a network service or an agent that runs commands back on: the end of
every run says each, with the day it was asked.

Issue #57's downloads stay off without the marker: on a box that boots a side lane, the text lane it
served last gets its units only while it is left out by its flag or not prepared (its image or its
checkpoint not on the box), unless it is named or --all-weights is passed. The run says which. The
help and the end of a run say the new rule; the tests that held the marker to its old meaning hold
it to this one, and the new ones fail on the old code (a lane not prepared, and no flag at all, was
fetched whole).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 19:53:02 +02:00
Hasan BasbunarandClaude Opus 5.5 775017edce speech: OpenAI's voice names are eleven voices of their own on an English box (issue #53)
OpenAI's eleven voice names, which clients such as Open WebUI send, all answered with the lane's
default voice, so a picker of those names changed nothing anyone could hear (issue #53, found by
Quadrant6630, whose table this is). Each is now an English voice of its own, all eleven checked
against the 41 the lane serves (2026-10-20), two of them British. The lane takes a voice's language
from its name, so on a box whose default voice speaks another language that voice keeps answering
all eleven: an English voice would read a French text wrong, and French has one voice to give. A
name whose voice the lane lacks gets the default voice, not a 400. The test of the English box fails
on the old code.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 19:53:02 +02:00