Commit Graph
232 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Fable 5.2 ae0a29d99d CHANGELOG: v1.46.0
The installer's last line, the cockpit's What's new row, their tests,
the pages that list what the Settings view shows, and the sentence of
SECURITY.md about what the cockpit says of releases.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 05:49:38 +01:00
Hasan BasbunarandClaude Fable 5.2 93585e7520 docs: what a review of the audits' corrections found still inexact
- the sleep-on-idle gate and rule are the SGLang text lanes': the image
  and video lanes, on SGLang's diffusion runtime, do not take the flag,
  and the gate reads four files, which the two pages now name
- CAPABILITIES: the switch is a step of a Load when the boot is not on
  that target yet or the lane lacks a file, not always its first
- context-1m: on a 64 GB box the 27B serves at its native window (a new
  box ends its first install on Bolt)
- the flash and FP4-Local pages said every plain install brings their
  lane: a 64 GB DGX Spark leaves both out (boxmem.py FITS_64)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 02:34:04 +01:00
Hasan BasbunarandClaude Opus 5.5 199d0270a0 docs: what an audit of the other usage pages found the code does otherwise
Each finding checked at its source:
- opencode: its defaults already run every tool unasked, so dropping
  --yolo gives no prompt; the way is "*": "ask" in the bash object (as
  agents-and-network.md says); the installer also merges the shell deny
  rules and a lean variant into the user's config; CI runs the Agent view
  on arm64 with install.sh's digest
- TESTING: a run whose every step was skipped exits 3; the proxy's
  coverage floor is 85%; four gates need pip packages; the 139 lifecycle
  tests are dated (285 now)
- CONTRIBUTING: ruff checks every tracked Python file; four gates; the
  sleep-on-idle gate is the SGLang lanes'
- ARCHITECTURE: the SGLang lanes carry --sleep-on-idle; oc-limits.sh has
  five callers; check-pins.sh also runs daily; the Ornith page listed
- MIRROR: check-pins.sh watches the lanes the mirror does not cover yet
- CAPABILITIES: a bay per lane; the switch is the Load's first step; the
  logs view filters and copies; the opencode panel is in Settings; two
  paired boxes are in since v1.42.0
- extras/gguf: the text lanes run on SGLang and vLLM, and the speech
  lane's recognizer is a GGUF on llama.cpp
- ROADMAP: v1.40 to v1.45 shipped; the coordination ports (v1.40.6) and
  the metrics panel (v1.22) leave the planned list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 23:53:48 +01:00
Hasan BasbunarandClaude Opus 5.5 286f5f788f docs: what an audit of the lane pages found the code does otherwise
Each finding checked at its source:
- a 64 GB DGX Spark: the 27B at its native window, CONTEXT_MODE=1m,
  --no-service and the flash lane refused, and only the 27B, Bolt and the
  speech lane installed (install.sh 64 GB block, boxmem.py FITS_64): the
  image, video, Kolibri, Super VL and Ornith pages and context-1m.md said
  every plain install brings their lane or the 1M window
- systemone: the flash lane reports cached tokens since v1.40.3
- image: six local patches, three of them not about images
- ornith: claude-local sets 1013000 and 32,000 there (opencode's 990,000
  plus 23,000)
- video: the cockpit refuses the listed requests with a 400, and drops
  undeclared keys
- nemotron: the Decide view offers the 27B on a 64 GB box; the key's
  middleware stays while any of the four other vLLM lanes uses it
- image: the button is "Make a sample reference"
- systemone: the installer writes the prompt ceiling into the unit and
  leaves a user's drop-in alone

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 23:53:48 +01:00
Hasan BasbunarandClaude Opus 5.5 077c0d710b docs: what the second review of v1.45.3 found
- clients: the launcher hint tested qwen38-flash.service alone, which is
  false on FP4-Local; claude-local already takes each lane's pair from its
  opencode limits, and a launcher can do the same
- README: no record says which problems the v1.2.1 GSM8K 200 asked, so
  the sentence no longer says they differ; it says what is known, 200
  problems on that release's engine against run_eval's 250

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:52:51 +01:00
Hasan BasbunarandClaude Opus 5.5 51f2e153fa docs: what the review of v1.45.3 found
Each finding checked at its source:
- engine-restarts: the leftover engine the start guard waits for can be
  vLLM's (VLLM::EngineCore, vllm serve), as engine-preflight.sh matches
- README: SGLang's own GSM8K asks the test set's 6th to 255th problems
  (run_eval keeps the first five as examples), not the first 250, and
  other problems than the v1.2.1 table's 200: said, so the two scores are
  not read as a before and after; the 27B's FP8 and abliterated versions
  boot in 7 to 8 minutes
- ARCHITECTURE: flush is not on the cockpit's sudo path
- clients: 228000 is Claude Code's setting, not opencode's limit; each
  lane's window named (1,010,000 for the 27B in 1M mode, 1,048,576 for
  Super VL, Ornith and FP4-Local with its 1M option)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:42:08 +01:00
Hasan BasbunarandClaude Opus 5.5 5839bd4a0c docs: twelve statements the code contradicted, found by an audit, corrected
A read-only audit of the eight most-read pages against the code, each
finding verified at its source:
- operations: keeping a box as it is takes a --no-<lane> for every lane
  the installer adds, the five vLLM lanes included; only the SGLang lanes
  pass --enable-metrics (vLLM serves /metrics by itself)
- engine-restarts: the proxy holds requests while any of the seven text
  lanes' units starts, and the vLLM units run the preflight too
- README: the Library view downloads checkpoints and deletes stray
  revisions; the 27B boots in 3.5 to 6.5 minutes; seven text units, not
  five; flush and abort are calls with the key, not sudo; the cockpit's
  backend is cockpit.py and six modules
- clients: Claude Code's setting on the flash lane is 228000 (opencode's
  205,000 plus 23,000), as the same page and claude-local give; the
  FP4-Local window has its 1M option, and the 250,000 ceiling holds on
  either flash lane at 262K
- flash-local-lane: --uninstall keeps the seccomp filter while the Ornith
  lane reads it
- cockpit: the same backend sentence
And the README's new GSM8K line names the run the repo records (99.2 %,
2026-11-05, BENCHMARKS.md) for the engine as it serves, in place of two
runs, one with torch.compile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:16:21 +01:00
Hasan BasbunarandClaude Opus 5.5 2a82b57c2f docs: the README's captures of today's cockpit, and the 27B's boots as counted
The README's two captures of the cockpit were of v1.37.0, under the old
name and the old lanes' names. They are now of v1.45.1 on the reference
box, the 27B ready, no banner and no JavaScript error. The Now view's alt
text no longer counts the lanes it does not show.

The README said the 27B's later boots took 7 to 8 minutes, a median of
7 min 26 s. The cockpit's history of the reference box says 3.5 to 6.5
minutes for the default NVFP4 · RadixArk over its last twelve boots
(median 3 min 43 s), and about 7 to 8 for its abliterated and FP8
versions. The README, the CHANGELOG and docs/engine-restarts.md say so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:31:45 +01:00
Hasan BasbunarandClaude Opus 5.5 12d6607721 docs: v1.45.2 in the CHANGELOG, and the GSM8K of the 1M window
GSM8K, 250 questions, 8 at a time, on the FP4-Local lane: 96.8 % at the
native window, 97.6 % with YaRN, the same within the noise, at the same
speed (107 and 111 tokens a second out). The docs' table says it, and
the option stays off by default because its makers ship 262,144 and the
1M window is measured on retrieval and on GSM8K only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:23:39 +01:00
Hasan BasbunarandClaude Opus 5.5 674e8d361d docs: the FP4-Local 1M option after the second review
The Load sets the clients' limits for the window. An update keeps the
window chosen, as ./install.sh does not read FLASH_LOCAL_CONTEXT. A kept
choice that a checkpoint refuses serves the native window. The line that
set the option through get.sh goes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:15:36 +01:00
Hasan BasbunarandClaude Opus 5.5 623ade15ef docs: the FP4-Local 1M option, what the proxy and the clients get
The limits bullet read "A 1M window by default", against the code and
the section below it (code review of v1.45.2). It now says the window is
not the default. The section adds what the review changed: a refused
choice is not kept, the native window holds until the checkpoint is
there, the proxy relays up to 92 % of the pool at 1M, and a Load gives
the clients 840,000 + 32,000.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:01:43 +01:00
Hasan BasbunarandClaude Opus 5.5 2bdd3b2bb8 docs: the FP4-Local lane's 1M window, measured, and how to turn it on and off
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:15:09 +01:00
Hasan BasbunarandClaude Opus 5.5 123c65e218 docs: the cockpit's Connect a client panel, in the cockpit's tour and at the head of the clients page
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 13:10:01 +01:00
Hasan BasbunarandClaude Opus 5.5 de8df38c66 docs: the FP4-Local lane by its official name, Qwen3.8 Flash-Next FP4-Local, as the cockpit and the installers say
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:48:19 +01:00
Hasan BasbunarandClaude Opus 5.5 32ccccc554 docs: each version by its official name and each engine with its version
The README's model and target tables, the model pages' index and each model page name the versions
as the cockpit does since v1.45.0 (Qwen3.8 27B NVFP4 · RadixArk, Qwen3.8 Flash-Next abliterated
NVFP4 · dealignai...), with the engine each lane runs and its version (SGLang 0.5.22, SGLang nightly
53295c6, vLLM b12x build 8244d1c, vLLM 0.29.0 + Aleph Alpha plugin 1.0.0, vLLM nightly 77154ca6 +
b12x 1.5.1, SGLang Diffusion 0.5.21), read from the cockpit's table. "27B stock" and "Flash-Next
176B" as names are gone; the ids that commands take (stock, uncensored, flash...) stay, and the
targets table says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 10:48:19 +01:00
Hasan BasbunarandClaude Opus 5.5 847229b296 docs/models: Flash FP4-Local reads images, as the cockpit says
The cockpit names the lane "Text and images", and nothing in the repository proved it. On
2026-11-06, a solid red and a solid blue image sent through the proxy to Flash FP4-Local came back
named "Red" and "Blue": its page says it now (decision 1128).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 15:54:11 +01:00
Hasan BasbunarandClaude Opus 5.5 d6f3a26be1 docs/models: one answer page per model, its command and its measured numbers
Nine pages under docs/models (the 27B, the flash, Flash FP4-Local, Bolt, Super VL, Kolibri, Ornith,
Qwen-Image, MiniMax-H3) plus their index, each giving the one command that loads the lane, the
numbers measured on the reference GX10 with a link to where their method lives, and what the model
is good at. Every figure was checked against the lane's own page, BENCHMARKS.md, the README or the
raw data of its campaign on 2026-11-06, nothing is estimated: the 27B as v1.44.0 serves it (the A/B
of 2026-11-05), the video's own times where the cookbook's were, Super VL's KV cache at the four
requests it serves, what a plain install sets up for Kolibri, the image and the video. The README's
where-everything-is table gains one row to the index. The pages answer the questions owners type
(which model in 64 GB, image in one command, German on a Spark), the SEO and GEO work of decision
652.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 15:54:11 +01:00
Hasan BasbunarandClaude Opus 5.5 38b335151e CHANGELOG and docs/pair.md: the relay and the pair as the second review left them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 03:07:01 +01:00
Hasan BasbunarandClaude Opus 5.5 9c0730e962 CHANGELOG and docs/pair.md: the relay as its review left it, and its tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 01:08:42 +01:00
Hasan BasbunarandClaude Opus 5.5 7d806dc67d CHANGELOG and docs/pair.md: a pair reads a death after every client that leaves (decision 1112)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 00:23:12 +01:00
Hasan BasbunarandClaude Opus 5.5 8ad4697ea8 CHANGELOG and docs/pair.md: a pair reads on after its client leaves (decision 1112)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 23:40:25 +01:00
Hasan BasbunarandClaude Opus 5.5 4638cd138c relay: an SSE answer's end is read and decided as its engine sends it, whatever its client's pace (v6.53, decisions 1106 to 1109)
The pump read the engine into a queue of 1,024 events and waited when it was full: behind a
client that read nothing, it read nothing more, the end included, and what the proxy decides at
an engine's end (out of a stop's reach, the order read in systemd, the binding of decision
1019, the order told to the other box) waited for the relay to reach it. The twelfth to
fifteenth reviews of v1.43.0 found a window in that each time.

- The pump puts into a _Spool that never waits, bounded at SPOOL_MAX_BYTES (32 MiB,
  PROXY_SPOOL_MAX_MIB): past it, the generation is stopped and the client cut, CLIENT TOO SLOW.
- _engine_end decides a death or a cut as the pump reads it: out of reach, the order read
  once, the request bound or a hop's box told ("o", put before the death or the cut), the
  3 s of deferred reads started at the binding; _engine_end_late reads the order again at a
  dead stream's clean end. The relay only writes what was decided: a client that leaves first
  no longer leaves a death unbound, an order seen at the death binds nothing however late.
- The ends: [DONE], message_stop, response.completed, .incomplete and .failed (SSE_ENDS), an
  Ollama stream's last line (_NDJSON_DONE), and vLLM's death on its Anthropic route, said as a
  ValidationError of ChatCompletionStreamResponse, when the engine no longer answers.
- stop_generations skips what a stop marked already, ends a running vLLM relay's upstream at
  once, and a generation that starts while a stop is under way is that stop's (_STOP_WINDOW,
  8 s more when SGLang's abort_all did not go, the cockpit then sending its own); the stop
  route's finishing counts the streams whose end was read (_FINISHING).

Tests in tests/test_proxy_pair.py (the frozen client helper rewritten: one freeze, the effect
waited for, a binding's deferred reads counted, the end delayed at will), each failing on
93746bf's proxy, fifteen mutants caught; CLIENT TOO SLOW in dashboard/tests/test_lifecycle.py;
the floor stop tests start each with no stop under way. docs/pair.md says the bindings as
they are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 23:25:09 +01:00
Hasan BasbunarandClaude Opus 5.5 bc51ea904a CHANGELOG and docs/pair.md: what stays open for v1.44.0 said exactly, as the fifteenth review read it (decision 1090)
The thirteenth review's window was one record, not 1,024 events; the out of reach rule holds for vLLM's death
and the [DONE] and message_stop ends, not for /v1/responses, the Ollama routes or vLLM's death on /v1/messages; and
docs/pair.md says the bindings left for v1.44.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 11:04:32 +01:00
Hasan BasbunarandClaude Opus 5.5 5677addf4b CHANGELOG and docs/pair.md: the twelfth review (decision 1082), the ninth review's fault where it belongs, and the line end the entry still lets through
The notes said the eighth review left the 3 s reads' fault as minor: the ninth review
found it, as its code, its test and its commit say. They said the line end before the
other box's order line stays at the entry: it does when the entry holds nothing of the
unended line, not when it still holds part of a line over 64 KiB, which is said now.
docs/pair.md said "within 3 s of its client leaving": the 3 s count from the proxy
finding the client gone. And the twelfth review's fixes are told.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 05:48:05 +01:00
Hasan BasbunarandClaude Opus 5.5 5df072b744 role 10: the notes and docs say the eighth review's minor faults, fixed in v1.43.0 itself
What was to be v1.43.1 (the eighth review's minor faults of the binding, and an older one the ninth found)
goes out in v1.43.0, which is not published yet: one update for those who take it, one matrix, and one
review of the whole. The proxy stays v6.52 (its v6.53 entry goes), docs/pair.md says the binding at a
relayed death, the binding given back, and the reads after a client's early leaving, and the notes say the
faults among the eighth review's.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 04:07:03 +01:00
Hasan BasbunarandClaude Opus 5.5 af2dcd9e3b role 10: the notes say the ninth review, and a recovery mark's window as the proxy reads it
docs/pair.md and restart_due's docstring: a mark counts for a restart that leaves active, or changes the
unit's state, within 2 minutes of it, as recovery_runs reads it. The notes: what the ninth review found,
a mark that stopped counting (not expired), and the test files beside tests/test_proxy_pair.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 01:27:39 +01:00
Hasan BasbunarandClaude Opus 5.5 1f3b560d55 role 10: the notes and docs say the eighth review
docs/pair.md: the cockpit keeps a recovery's mark while systemd does not answer, and the proxy counts it
from the moment the unit leaves active. The notes: what the eighth review found and this release fixes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:40:16 +01:00
Hasan BasbunarandClaude Opus 5.5 bcfce53696 role 10: the notes and docs say the seventh review and decisions 1061 and 1062
docs/pair.md and the notes: a request whose client left at a death the other box relayed is bound at
once and unbound by an order said within 5 s (decision 1061); a request of the box's own client unbound
when its lane's stop shows at the stream's end; a recovery's mark kept when systemd took the restart, and
counted for the restart it was written for only (decision 1062); and what the seventh review found.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:56 +01:00
Hasan BasbunarandClaude Opus 5.5 187aba28bd role 10: the notes and docs say the sixth review, 1055 withdrawn, and the Ollama routes' silent hold
docs/pair.md and the notes: a recovery's mark written by the job that runs the restart, the order a
relaying box says at a dead stream's end, the operator's stop of a stuck engine no recovery again
(decision 1059), and what the sixth review found. docs/engine-restarts.md: a held Ollama stream waits in
silence, its client reading NDJSON, which carries no keepalive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:56 +01:00
Hasan BasbunarandClaude Opus 5.5 3723c01197 role 10: docs/pair.md and the notes say the fifth review, decisions 1053 to 1055, and what an update does
The notes' "What an update does" said a box alone works as before: its Ollama streams change, and a hop
whose lane stopped by order gets a 503 that says so. docs/pair.md and the notes say the operator's stop of
a stuck engine (1055), the 5 s an order said after a death is waited for (1054), the drop-in on
nftables.service (1053), the marks' life, and what the fifth review found.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:56 +01:00
Hasan BasbunarandClaude Opus 5.5 c9313f58ad extras: the CVE-2026-98432 mitigation survives nftables.service, and installs well where sudo -n is refused
What the fifth code review of v1.43.0 found in the extra, each with a test that fails on the commit before
it (decision 1052):
- PartOf=nftables.service propagated every stop of nftables.service to the unit, an inactive one too
  (measured on systemd 255 with two units), and the unit's stop deleted the table: `systemctl disable
  --now nftables` took the mitigation away. PartOf= and ReloadPropagatedFrom= are gone. A drop-in on
  nftables.service loads the table again after each of its starts, reloads and stops, whose stock config
  flushes the whole ruleset (decision 1053, its order measured on systemd 255 the same way); setup.sh
  installs it, --check wants it, --uninstall removes it.
- A run over a box already mitigated recorded the mitigation's own MPTCP value as the one before it, and
  --uninstall left MPTCP off: it is recorded only on a box not mitigated yet.
- With sudo -n refused (a timestamp_timeout of 0), the install's own check said 2 and a complete install
  ended in an error: that check reads the table with sudo.
- A refused sudo read as a table that does not parse: sudo is asked first, and said so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:56 +01:00
Hasan BasbunarandClaude Opus 5.5 c878f81fbc role 10: docs/pair.md and the notes say decisions 1041 and 1049, and the fourth review
docs/pair.md and the v1.43.0 notes said every restart binds the requests it ended (1030): a restart to
another checkpoint, the cockpit's Load of one, ends them by order (1041), and the cockpit's restart of
a wedged engine binds them whatever checkpoint an update staged (1049). The notes still listed an Abort
all, the floor and a restart among the closes with no answer. The Ollama line that says an order stays
at the entry. The notes say what the fourth review found, and the two Ollama fixes, and the CVE
extra's check, reload and uninstall.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:56 +01:00
Hasan BasbunarandClaude Opus 5.5 d4bb0080a5 extras: a mitigation for CVE-2026-98432 until a fixed kernel ships (decision 1040)
CVE-2026-98432 is a race in the kernel's IPv4 TCP handshake, reachable over the network with no
login, rated Critical (CVSS 9.8) by Ubuntu, whose tracker listed linux-nvidia-6.17, the kernel
many Sparks run, as "Ignored (end of life)" and linux-nvidia-7.0 as "Vulnerable" on 2026-11-04.

extras/cve-2026-98432 installs, opt-in and reversible, an nftables table of its own that drops
IPv4 TCP packets carrying IP options, the trigger, loaded before the network by its own unit
and never through nftables.service (whose stock config flushes Docker's rules), and turns MPTCP
off. setup.sh shows what it would install (--dry-run), installs and checks, checks
(--check), and removes it (--uninstall); the installer never runs it. Its files are the ones
installed and proved on the reference box: Docker's 35 rule lines unchanged, the API and the
cockpit answering, a plain connect to the cockpit in 0.1 ms, the same connect with a
Record-Route IP option dropped. The approach is the one al-engr.com runs on eight Sparks.

tests/test_extras_cve_2026_98432.py checks the table, the unit, the sysctls, where the script
installs each file, and runs it with sudo, sysctl, systemctl and nft stubbed: an unknown flag
refused, a dry run that changes nothing, a check that fails where it is not in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:56 +01:00
Hasan BasbunarandClaude Opus 5.5 cc538830b7 role 10: docs/pair.md and two comments say what decision 1031 changed
The third review: docs/pair.md still said an Abort all or the memory floor on the other box
closes the connection with no answer, the entry pausing that box 30 s; with decision 1031 it
says so, the client gets a 503 that runs nowhere else, with no pause and nothing bound, and only
a restart of its proxy or its power is a request lost. _pair_lost's message says the same. The
cockpit's outcome table and the test constants had their comments one entry off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:56 +01:00
Hasan BasbunarandClaude Opus 5.5 23f44ea7a2 role 10: docs/pair.md, the CHANGELOG and the proxy's docstring say decisions 1030 and 1031
A stop of the lane's unit, an Abort all and the memory floor bind nothing, and a box that ends
so a request the other box sent tells it before the cut; a restart binds as an engine's death;
with this box's engine away, another checkpoint waits for this box's engine instead of a 503; a
pair dissolved keeps its bound requests nowhere. The CHANGELOG adds what the code review of the
final review's fixes found.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:56 +01:00
Hasan BasbunarandClaude Opus 5.5 b10e2f8bd6 role 10: docs/pair.md and the proxy's own docs say what the final review changed; a test keeps its refused port
- docs/pair.md: the checkpoint a box says is its engine's, the one a request sent on carries
  and the 409 of another one; the entry serves a request the other box refused at TLS; a
  request an engine died with is bound as one it closed on, nowhere once its box left the pair,
  and a stop by order binds nothing; the engine-away rule reads the command of the engine
  starting; a binding is kept by the entry the request went through.
- The module's docstring says decisions 1017 to 1019 and the checkpoint header, and
  _forward_peer's says "lost" and "gone" (both missing, found in review).
- The test of a lane whose port refuses kept no hold on that port once its engine stopped:
  another test's server could take it (localports.held now, as every other test).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:56 +01:00
Hasan BasbunarandClaude Opus 5.5 9cad05f3eb role 10: what the final review's verifier found, each with a test that fails before it
- The full CI was red: three outcomes of the proxy were missing from test_lifecycle's table
  (the request lost by the other box, bound elsewhere, another checkpoint).
- A request bound to the other box (decision 1019) whose box serves another model now got no
  answer at all, the 409 written nowhere: a 503 now (fails on the commit before: TimeoutError).
- The binding of 1019 was noted on the body this proxy had rewritten (a reasoning effort it
  maps, a tool schema it fixes), and looked up with the body as sent: the fingerprint is taken
  once at routing now (fails on the commit before: the retry went to the other box).
- An engine that died during its answer, this box's or the other's, bound nothing: it does now
  (fails on the commit before: the retry streamed from the other engine).
- This box's engine away, a model its lane served went to the other box whatever its
  checkpoint: from the same checkpoint only, a 503 otherwise (decision 1018; fails on a mutant
  without the check: the uncensored answer).
- The two counts the other box reads are taken under one lock (a hop between them said more of
  the other box's generations than of all), the marker of an engine closing on a hop is looked
  for across two reads, and a box that reads no key binds nothing to the other box either.
- docs/pair.md: 1019 binds before and during an answer, the engine-away rule, and the journal
  lines of a box of v1.42 in a mixed pair.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:56 +01:00
Hasan BasbunarandClaude Opus 5.5 6a192e909b role 10: what the review's minor notes found: the token count's reason, its test, the 64 GB box and role 9
- The reason given for answering a token count here was false: the prefix fingerprints start
  with the route, so a count never placed a conversation. It stays here because it costs the
  other box a hop and a load for nothing (code comment and CHANGELOG). Its test's last check,
  a turn served here after the count, could not fail: it checks now that this box's engine
  answered the count, the boxes far apart.
- docs/pair.md and the CHANGELOG say the 27B's 8 at once is a 128 GB box's: on a 64 GB box its
  unit says 4, so 3 ahead moves a conversation there.
- docs/pair.md says role 9 is split between the boxes: a long prompt sent again after its
  client gave up is told apart by the box that served it.
- Two paragraphs of the v1.43.0 section wrapped again at its width.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 89484f4afb role 10: the load a box says and weighs counts System One's branches and the requests it holds
A box busy with System One's branches, or with requests held while its engine came back, said
it ran none, and the other box sent it more (code review of 2026-11-03). busy_here() counts
them with the generations and the requests the sharing kept here, for the list the other box
reads and for this box's own weighing. Fails on a mutant that counts as before ((0, 0, 0)).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 edc3823d48 role 10: the tile counts a request served here once this box served it, and says why this box could not serve one
- "failover" and "too_long" were counted when the other box refused, before this box tried:
  a request this box then refused too was said served here. They are counted once this
  box's answer ends well. Fails on the commit before ({'failover': 1} for a request no box
  served).
- The take-overs (memory floor, a prompt too long for this pool, a warming engine, an engine
  away) were said "sent there when this box did not answer": "when this box could not serve
  it" now, and a request sent there at the decision because this box is held by its floor is
  counted so, no longer "to even the load". The floor test also says no take-over carried it
  (fails when this box stays a candidate).

Found by the code review of 2026-11-03.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 fb80e6c54e role 10: two boxes share a model from the same checkpoint only (decision 1018), read with the slots by one reader
switch-model.sh serves the 27B's stock, uncensored, fp8 and uncensored-fp8 checkpoints, and
Flash's three, under one name each: two boxes shared them as one model, and a client of the
stock box got the uncensored one, a conversation going from one to the other (code review of
2026-11-03). Each box now reads the revision its active unit names (--revision, the sha every
lane's unit carries; a draft model's or a tokenizer's revision is another flag), or
PAIR_CHECKPOINT when no unit says it (a proxy run by hand, the tests), and says it in its list
(x_alzeo_revision, 40 hexadecimal characters). A box that serves another checkpoint, or says
none, keeps its own requests, said once a minute. Fails on the commit before (shared).

The unit's texts have one reader now, for the slots and the revision (the rid override keeps
its own): one request at a time reads systemd (a burst at the cache's end ran one systemctl
each, a late one writing its older answer), and forget_engine_rules drops it when another
engine serves (the slots of the lane before were kept 10 s).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 e189d2d750 role 10: a request an engine closed on goes to that box or nowhere for 10 minutes (decision 1019)
A request an engine closed the connection on may be what took it down, and the entry already
sent it to no other engine at once. But a client sends a 5xx's request again within seconds
(Claude Code, opencode, the SDKs), and that retry reached the other engine through the
sharing's fallback: one request and its retry could take both boxes down (code review of
2026-11-03). Such a request is now kept by its fingerprint (role 9's hash, without its size
floor, so role 9 keeps its own) with the box it happened on, PAIR_KILLER_KEEP_S (600 s, at
most 1,024 kept): this box's engine closing on it, the other box's 502 or the error event of
a stream its hold opened, and a request the other box had whole and dropped (decision 1017).
Until then it goes to that box or nowhere: never shared, handed back or taken over. Each of
the four cases fails on the commit before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 ffd6582b61 role 10: a request the other box had whole runs nowhere else when it closes the connection (decision 1017)
The entry served itself every request the other box gave no answer to, a connection closed
after the request went too: an Abort all there was undone here (decision 1004 and docs/pair.md
say those requests end from that box's cockpit), and a request that took that box down went
on to this one (both reviews of 2026-11-03). urllib wraps in a URLError what h.request raised
(the connection, its TLS, the send), and lets what getresponse raised through: the first never
reached the other box whole and is served here as before, the second gets a 503 that says so,
and that box the pause of one that does not answer, in the sharing and in the take-over. The
test of a box that drops a request now wants that 503, and fails on the commit before (200,
"from spark1").

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 be07606e44 role 10: what the second review's verifier found, each with a test that fails before it
- A pair.json removed (pair.py remove on a box without a name) or one this box cannot use kept
  what was learned of the boxes it named: a box paired next under the same name got their
  conversations, pause and tile counts. Both cases fail on the code before.
- PAIR_SHARE_CONNECT_S at 0, below 0, nan or inf broke every shared send, and PAIR_SPREAD_COOL_S
  at nan paused a box for ever: both keep their defaults (fails on the code before).
- No test held the take-over of a request this box's engine refused the connection to (fails on
  a mutant that never sees a refusal), the pause and list read a take-over learns from a
  refusal (fails on a mutant without them), nor each of the two floor paths: the floor test now
  says the requests were sent at the decision (fails when this box stays a candidate), and a
  request kept here before the floor goes over (fails without the floor's take-over).
- The in-process twin declares every case of its class again.
- Docs: the entry adds its requests in flight there (not "what it sent since"), X-Alzeo-Here is
  v6.52, and a pair that serves two models now answers 502 at once for a request whose engine
  closed the connection on it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 cfa927ae8f role 10: a box may run half its lane's slots ahead before a conversation leaves it (decision 1014)
The gap of 4 requests, the 64 of SGLang's router brought to a lane of 8, moved a conversation
off a lane of 16 (Kolibri, Bolt) or 24 (Flash's throughput tier) with room to spare, its
prefix computed again on the other box, and came late on Nemotron Super's 4 (review,
2026-11-03). The gap is now half the slots of the box the turn would go to: this box reads
them in its active unit (--max-running-requests, --max-num-seqs, in its ExecStart or a script
it runs, as the rid override is read), and says them to the other box in its list
(x_alzeo_slots, a count from 1 to 4096, else a lane of 8, the gap of 4 as before). On the box:
7 units read, Flash FP4-Local 8 slots, a gap of 4. A lane of 16 keeping a conversation 5
ahead fails on a mutant whose gap stays 4, and the other box's 16 fails on the commit before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 3ca34d8e96 role 10: docs of v1.43.0 say what the sharing does now
docs/pair.md: the 32 KiB for Claude Code's bodies, the counts each box says, a box of a
version before v1.43.0 not shared, the 30 s pause only after no answer, a 503 or a 529
(a prompt too long has none), what the entry hands over itself, X-Alzeo-Here, the tile's
counts, the 3 s for a box gone, an update of a paired box, and the measuring tools,
which measure the pair through :30001. SECURITY.md: x_alzeo_running_yours. CHANGELOG and
the v6.52 entry of the proxy: the same, without a semicolon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 338149249f role 10: a token count stays on the box it was sent to and places no conversation
Found on the paired run with the real clients (2026-11-03): a token count
(/v1/messages/count_tokens, one of the pair's routes) was shared as a generation
is, and the Anthropic SDK's went to the other box. A count generates nothing and
fills no prefix cache, but it noted the conversation where it went: a count of a
whole conversation, as Claude Code sends, sent there by the load, took its next
turn to the box that cached none of it. A count is answered here now, both boxes
counting with the same tokenizer. The test fails on the commit before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 9d9663a8eb role 10: what the review of the sharing found, each with a test that fails before it
An independent review of the two commits before (2026-11-03) found, and this fixes:
- the other box's memory floor said 529 to every Claude Code request for its
  whole episode while this box idled: a 529 is handed back like a 503, and a box
  that refused one gets no shared request for 30 s (PAIR_SPREAD_COOL_S);
- a prompt too long for the other box's pool (a 64 GB box paired with a 128 GB
  one) reached the client as a 400: this box serves it, and the shorter ones still
  go there;
- a box that switched lanes said 409 to every request until its list was read
  again: its kept list loses the model at the first 409 and is read again;
- only lists read in the last 15 s shared anything, so a burst after a pause stayed
  here whole: the kept list shares, a switch since answering 409;
- a conversation this box served while the other was away was not noted as this
  box's, so the other box, back with an empty cache, got its next turn;
- the take-over held a copy of the client's body for the whole request: it sends
  the body this box has.
docs/pair.md now says that conversations sharing one long beginning go where it
went first until the boxes are far apart, that every generation counts in the
load, and that Abort all stops the generations of its own box's engine only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 8b65b91d8b role 10: a request this box's engine does not answer goes to the other box that serves its model
Decision 998 says either box: one that does not answer for a model both serve
hands the request on. The entry handed a request back from the other box, but its
own engine refusing one at its first try (connection refused, or the 502, 503 or
504 of a lane that starts or stops) held it for the lane, or said 503, while the
other box served that very model. It now goes there, with the body as the client
wrote it, before any byte went out and before any hold opened a stream; never
after. The tile counts these too. The test fails on the commit before: the client got 503.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00
Hasan BasbunarandClaude Opus 5.5 2c087366bb role 10: two boxes that serve one model share its requests, a conversation staying on its box
The entry served every model it loads itself, and the other box got none of its
requests (decisions 976 and 996 to 998 of 2026-11-02 and 03). An agent sends its
whole conversation again at each turn, and the box that served the turn before
holds all of it in its prefix cache but the new turn: sent to the other box, all
of it would be computed again. So the entry keeps fingerprints of the first 4 KiB,
8 KiB, 16 KiB and so on of what it sent each box in the last 10 minutes, read as
role 9 reads a body, in one pass, nothing copied, and:
- a request goes to the box it shares its longest block with, when that covers
  30 % of it (SGLang's router's cache_threshold); blocks double, so the longest
  one known covers more than half of what is shared (with blocks four times
  longer, a prompt just under a block shared a quarter at most);
- any other one to the box with the fewest requests in flight, the entry when
  they tie: a client working alone never pays a hop;
- any one while the boxes are more than 4 requests and 1.5 times apart to the
  one with the fewest (the router's 64 and 1.5, brought to 8 per lane);
- a box that does not answer, or answers 503, before a byte of its answer went
  out hands the request back: the entry serves it, never one whose answer began.
Each box says how many generations it runs (x_alzeo_running, in the list it gives
the other on the pair port, a count or nothing); the entry adds what it sent since,
reserved at the decision under one lock, and never counts fewer than its own
requests in flight there: a list read in the middle of a burst forgot those in
transit, and a burst of 8 went 5 to 3 (4 to 4 now). The tile says what was sent
there and why.

tests/test_proxy_pair.py: the two-box fixture is a mixin, and a class of its own
has both boxes serve the 27B from their start (a proxy learns what its engine
serves at a lane's start: changing a fake engine's list under a running proxy
tested a switch, whose 409 hands the request back). Its tests fail on e07f2c2:
nothing went to the other box.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 00:01:55 +01:00