Commit Graph
30 Commits
Author SHA1 Message Date
Hasan Basbunar fda730b339 Merge the tools zone of wave 2 (T2 to T9)
# Conflicts:
#	install.sh
2026-09-24 19:01:22 +02:00
Hasan BasbunarandClaude Opus 5.5 3651650fac opencode configs: edited the way opencode reads them, and only where they must be
opencode parses its config with jsonc-parser and allowTrailingComma (read in the
1.18.32 binary). oc-merge-limits.py understood whole-line // comments only, so a
comment at the end of a line, a /* */ block or a trailing comma made every edit refuse
behind install.sh's `|| true`, and --remove-providers left a provider reading the key
file uninstall.sh deletes (also when that provider was the last one under a comment
line). oc-point-default.py rewrote the whole file with json.dump at every install and
switch: non-ASCII escaped, one comment gave exit 3, a default pointed at another provider
replaced, no backup, written in place.

Both now read the file as opencode does, find each member by walking the document from
the root (not the first text match), check the edit reads back as exactly the intended
document, back up under a name no earlier backup has (five edits in one second kept one
backup, not the original), and replace the file in one step, keeping comments, line
endings, symlinks and mode. The default model follows the lane only when it is unset or
already this box's. install.sh's generator writes the served entry's final name, so the
generated config is no longer written twice per run.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 18:43:05 +02:00
Hasan BasbunarandClaude Opus 5.5 70352bcc40 install.sh: OVERLAY_FLASH=1 is refused, not rendered into a lane that cannot boot
The documented flash rollback rebuilt the v1.5 to v1.7 overlay image and served it with
the launcher of v1.8, which does not fit it: the overlay's model code keeps the 47.7 GiB
PLE table in pinned host RAM unless SGLANG_QWEN4_PLE_MMAP_DIR is set, and the launcher
sets no such thing and passes --ple-offload-backend file (sglang#37068, newer than the
overlay's base) with none of the backends and sizes the overlay was validated with.
Nothing had booted the pair since v1.8 and the CI checked only the pins. The switch is
refused with the rollback that holds together (v1.7.2, which shipped the overlay with
its own launcher and pins), the build, the base image pin and the rollback notes go, the
overlay tag is offered for reclaiming like the others, and flash-sglang/ stays as the
record of what upstream replaced. Found in review, 2026-09-24 (T9).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 18:41:29 +02:00
Hasan BasbunarandClaude Opus 5.5 9a11ceadd8 proxy: the flash lane's prompt ceiling follows the lane that serves; a switch cuts nothing
- L4: the proxy applies FLASH_PROMPT_CEILING_TOKENS while the served model
  is the flash lane's (an unknown lane gets it too); PROMPT_CEILING_TOKENS
  stays a ceiling on any lane. The unit carries both whatever lane was
  installed; the cockpit and oc-fit-limits.py read the same rule
  (ceiling_from_env with the served model). switch-model.sh moved the
  ceiling at switch time with a proxy restart while the old lane still
  served: a 27B serving 1M refused every prompt past 250,000 until the next
  boot. It now leaves a proxy of the new unit alone (old units keep the old
  way until ./install.sh rewrites them)
- L5: a switch restarts opencode-web only when the limits it reads change;
  the switch's header, the README, ARCHITECTURE.md and the image lane doc say
  what it restarts and rewrites

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 17:48:48 +02:00
Hasan BasbunarandClaude Opus 5.5 3de366076a switch, image lane and uninstall: correct on boxes that are not the reference one
- L3: a native switch restores a target's config that still carries YaRN
  (served while the box was 1m); the restore refuses before the unit when the
  backup is gone
- L8: a switch checks for room before it downloads and names a full disk; the
  cockpit's switch job gets 2 h (a flash download alone nearly took the 30 min)
- L9: patch-template.py keeps the installed template's default when
  LEAN_DEFAULT is unset, and its refusal names the real default
- L10: run.sh's restore hint is a command install.sh accepts
- L6/L7/L12: install-image.sh reads its cache from the unit (then the text
  lane's mount), measures room where the checkpoint and the runtime land and
  counts the cache by bytes, and --uninstall of the boot lane re-enables the
  text lane it replaced
- L11/N2: uninstall.sh inventories every cache and PLE folder the lanes use;
  it asks sudo only for root's files, and when refused leaves the running
  services whole (a no-sudo box died at its first sudo call, found in a
  sandbox run); it no longer exits 1 after a clean run on a box without a
  PLE folder
- tests follow the renamed lines (image lane room check, inventory paths,
  lane removal and image reclaim extractions)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 17:32:16 +02:00
Hasan BasbunarandClaude Opus 5.5 74fcdf27eb cockpit: a tier survives its collectors, a stalled reader holds no lock, an overrun job stops whole; Agent tab: cut answers show, re-runs keep the install
- C1: sampler() isolates each collector (one exception ended the tier's
  thread; the 1 s tier carries the memory floor's abort), collect_jobs has its
  @guard, and JOBS is read and changed under a lock (22 snapshot errors in
  1.3 s under churn before)
- C2: /api/state is serialised under STATE_LOCK and written outside it; a
  reader that stopped reading held every sampler for the write
- C3: jobs run in their own process group with a deadline that does not wait
  for output; the group gets TERM then KILL. switch-model.sh's download runs
  with --init: measured, without it the container outlived a TERM and a KILL
  of its docker client (python3 as PID 1 ignores TERM)
- C4: the relay closes the browser's connection when opencode cuts a
  fixed-length answer short, and a cut HTML document is a 502
- C5: install-agent.sh reads both ports, the relay's address and the service
  PATH back from the installed units; the environment still wins

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 15:46:53 +02:00
Hasan BasbunarandClaude Opus 5.5 7e58a19e77 proxy: Anthropic bodies counted by the engine, raw query bytes refused, bounded logging, labelled first lines; cockpit reads the running proxy's banner
- P3: an Anthropic body goes to the engine's own /v1/messages/count_tokens
  (its conversion, tools included), each image priced from its header and
  replaced by an empty text block (an empty list is a 500 there). Measured on
  the box: five screenshots in tool_result blocks were counted 2,044,251 and
  refused, the engine serves 28,463 (28,458 counted now); 8 tools, 422 counted
  before, 2,709 now and served
- P4: a raw control or non-ASCII byte in the query is a 400, not a dropped
  socket and a "client vanished" line
- P5: the logged-once memories keep 16-byte digests, 512 at most; the moved
  effort is printed 40 characters long (five 20 MB values: 22 -> 346 MiB and
  a 20,000,137-character journal line each, before)
- P7: a client named by the identity wall is named on the request's first
  line too, as one word; the cockpit's feed accepts the label after the peer
- P6: the cockpit greps the banner in its current shape ("on 0.0.0.0:30001");
  it showed v6.20 while v6.24 ran. U7: the too-old-to-abort warning compares
  versions part by part, server-side (as floats, v6.2 to v6.9 passed)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 15:25:16 +02:00
Hasan BasbunarandClaude Opus 5.5 465c2204ba proxy v6.25: a caller that leaves a non-streamed answer stops its generation; a cut body reads as cut
- the caller of a non-streamed answer is watched while the proxy waits for
  it, and at its EOF the upstream connection is ended: SGLang checks its own
  HTTP client every 4 s for a non-streamed request and aborts it with its
  state present (_wait_one_response, types 1 and 3, both images). Measured on
  the box: a 69k-token prompt left after 5 s kept the engine busy 53.6 s
  through v6.24, and stopped 4.0 s after the caller left through v6.25; a
  decode stopped 0.2 s after. No rid needed, so it holds on /v1/messages too
- a request whose "stream" key says anything but false is left to the relay,
  whose abort-then-close order a stream needs (sglang#35255)
- no abort is sent once a non-streamed answer exists: it could only arrive
  after the request was over (the "aborted upstream" line of v6.24 aborted
  nothing, seen live)
- a non-streamed body the engine ends early is relayed without its final
  chunk, so the client sees the cut (http.client returns b"" at an early EOF
  and leaves the bytes owed in .length)
- the fake engines of test_proxy_abort and the fuzz answer as streams, so
  their requests now ask for one; the fuzz models the non-streamed path too
  (an engine that watches its caller) and fails on v6.24
- the cockpit knows the two new outcomes; CHANGELOG gains the wave 2 entries

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 15:02:13 +02:00
Hasan BasbunarandClaude Opus 5.5 610046fe22 wave 2 (engines): every lane runs alone, a timed-out image call holds the lane, crash loops and wedges read as they are
- the two text units conflict with each other and with the image lane, and
  are ordered after them: a switch between any two lanes finishes the stop
  before the start (measured with throwaway units on the box's systemd 255)
- the cockpit keeps the image lock after a read timeout until the lane's
  journal shows the request ended or the lane restarts (the runtime has no
  abort); the page shows it as still generating
- the pixel budget reads width, height and size the way the lane does, and
  num_inference_steps is 1 to 100
- a unit in activating/auto-restart is failed with restarting set; install.sh
  stops waiting when NRestarts grows past its value after the restart (a
  manual restart does not zero it on systemd 255); the page offers Stop
- wedged no longer holds a switch back, and reads degraded when it also
  loses health
- the flash mid-boot stop warning says what it costs: the boot under way

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 14:14:43 +02:00
Hasan BasbunarandClaude Opus 5.5 7a8d0afdd7 v1.18.7: a full review of v1.18.6, and the defects it found fixed with a test each
- cockpit: a non-digit Content-Length is a 400 before any read (-1 read an
  unlimited body before login)
- proxy v6.24: the identity wall covers every route and method but /health;
  a path still escaped after one decode is refused; relayed /server_info loses
  the engine key fields; an unreadable keys file says so
- docs/clients.md: the keys file is installed owned by the user, the engine
  key goes in an EnvironmentFile
- image unit: After= on the text units, so a switch stops before it starts
- lifecycle: a down unit with a live container is an orphan, busy for the gate
- cockpit: its own /health probe no longer counts as activity (the canary
  never ran)
- install.sh: sudo asked at step 1 and renewed at step 8 with a prompt;
  CONTEXT_MODE=1m refused on a flash box after the convergence; the flash
  engine bind is read from the launcher
- switch-model.sh: downloads into the cache the installed unit mounts
- uninstall.sh, install-image.sh: remove only venv/ and sglang/ of the lane
- opencode limits hold the engine window (205000/32000 flash,
  173000/64000 native), fit() and the cockpit's verdict and autofit use the
  same rule, the 27B entry of a flash install comes from the table;
  collect_opencode has its @guard back
- Setup's Fit button has a click handler
- bench-agent: the TTFT slope is in the unit it prints
- CI: negated grep, generated script lists, exact sudoers argv, flash flags
  read from install.sh

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 13:40:38 +02:00
Hasan BasbunarandClaude Opus 5.5 21ecc040e4 Fixes found by a real uninstall and a real first install on the reference box
- oc and the Agent tab load the box's generated opencode config through
  OPENCODE_CONFIG: on a box emptied and installed with the published
  one-liner, both answered with opencode's hosted free model (big-pickle),
  not the model the box serves.
- uninstall.sh --yes takes the providers that read the API key out of
  opencode's config before deleting the key (opencode refused to start at
  all: "bad file reference"); a file with nothing else of the user's goes to
  a backup (oc-merge-limits.py --remove-providers).
- The uninstall inventory knows the image lane's checkpoint (31 GB), and the
  CI gate on inventory pins reads install-image.sh too.
- The docker room check asks only for the container's room when the image is
  already here (an update with 36 GB free was refused for want of 40).
- A commented-out opencode PATH line no longer counts as one.
- uninstall.sh says when there was nothing to remove.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 17:43:37 +02:00
Hasan BasbunarandClaude Opus 5.5 f89f4f31c2 install: a fresh box's opencode gets a config, and a lane added later its provider
- A box with no ~/.config/opencode/opencode.json gets this repo's (it was a
  printed cp: a first install left opencode answering "Provider not found:
  qwen38"). A config that exists is never overwritten.
- A config with one of this repo's providers gains the provider of a lane
  installed since (oc-merge-limits.py --add-providers: targeted edit, backup,
  read back and compared, restored if anything else moved). The 27B first and
  the flash lane later left opencode sending the 27B's limits to the flash lane.
- A missing opencode is said plainly where a first-time user meets it: the
  installer's step 7 and last lines, the oc launcher, the cockpit's Agent tab.
- The last lines name a command the user's shell can run, and the config
  opencode actually reads.
- CI: the unittest step prints what failed instead of dying silently.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 15:17:30 +02:00
Hasan BasbunarandClaude Opus 5.5 caa596ad79 opencode is pinned: the same tested version on every box, and it stops drifting
Until now the repo installed no opencode: it took whatever was on PATH, and
opencode installs its own patch releases unless "autoupdate" says otherwise
(read out of its binary: only false, "notify" or a minor/major release stop
it), so two boxes installed a week apart ran two versions. The reference box
sat on 1.18.27 while 1.18.32 was out. Four things the repo does were read out
of one opencode binary and checked against its behaviour: the compaction
threshold oc-fit-limits.py sizes for, the hidden 32,000-token output cap the
oc launcher lifts, the overflow phrases the proxy answers with so a refusal
makes opencode compact, and --yolo / OPENCODE_PERMISSION for the Agent tab.

OPENCODE_VERSION=1.18.32 with OPENCODE_SHA256, GitHub's digest of
opencode-linux-arm64.tar.gz. Checked against 1.18.27 before pinning: the 21
overflow phrases and 3 exclusions verbatim in both binaries; max_tokens
182,000 with the launcher's variable and 32,000 without, on both, recorded
on a fake OpenAI endpoint with isolated config, data and cache; the code
around compaction and OPENCODE_PERMISSION identical once the bundler's chunk
names are set aside; serve --hostname and the hidden --yolo on both.

install.sh, step 7: none found, the release asset is downloaded, checked
against its sha256 and installed where opencode's own installer puts it,
with its PATH line in ~/.bashrc; an older one there is replaced the same
way; an older one from npm, brew or bun goes through `opencode upgrade`,
which knows its method; a newer one is kept and said so, because going back
a version can leave sessions a newer opencode wrote unreadable. A download
that does not match is not installed, a version without its checksum is
refused, and nothing about opencode fails the rest of the install.
OPENCODE_PIN=0 keeps whatever you have. The generated config and the user's
get "autoupdate": "notify" (oc-merge-limits.py --autoupdate, a targeted edit
that keeps comments; a stricter false is kept).

The Agent tab says when the opencode it serves is not the pinned one, read
from install.sh so the two cannot disagree. uninstall.sh lists an opencode
this repo installed and leaves it. CI downloads the pinned asset and checks
its sha256 on every run (and fails with a wrong one, checked).

docs/opencode.md said the 1M starting pair sits under the worst measured
pool; it does not (832,993 to 922,094 over sixteen boots), which is why it
is fitted after each boot.

Tests: eleven on the installer's own lines in a throwaway HOME with a fake
curl and fake opencode binaries (absent, pinned, older in place, older from
npm, newer, bad checksum, pin off, version without checksum), the merge, and
the cockpit's read of the pin. The checksum, no-downgrade and opt-out guards
were each undone once and their tests failed. CI 61/61.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 14:40:19 +02:00
Hasan BasbunarandClaude Opus 5.5 e0953f0d25 Image lane: a generation can be cancelled, and a Stop during one is clean
On 2026-09-23 a call for ten 2048x2048 images at 60 steps (about 47 minutes)
was running when the image lane was stopped to switch lanes. The runtime's
HTTP server waits on shutdown for every open connection, and a generation
holds one for as long as it runs: 60 s in "stopping", then systemd killed the
lane and the unit ended failed (Result=timeout), shown as "Qwen-Image failed,
read its journal". SGLang Diffusion cannot abort a request, and the page had
no Cancel, so the Stop was the only way out.

image-sglang/http-graceful-timeout.patch, the second local change to the
pinned source: uvicorn.run(..., timeout_graceful_shutdown=5). Proved in a
transient systemd unit with uvicorn 0.53 holding a ten-minute request:
without it, "stop-sigterm timed out, Killing", Result=timeout; with it,
stopped in 5.2 s, Result=success. install-image.sh applies every patch of
image-sglang/ from one list, recognises them, and takes them all off before a
new pin; the CI step fetches each patched file at the pin and checks it, and
fails when a patch in the repo is not in the installer's list.

The Image tab's Cancel shows while a generation runs (this page's or another
tab's) and restarts the lane, the only abort this runtime has, through the
same action API, gates and confirmation as the Engines card. It starts and
stops nothing, so the Image tab rule holds: its test now asserts the tab
sends no Start or Stop and exactly one restart, the cancel. A request cut by
Cancel, the lane's Stop or a restart reads as cancelled, not as a lane that
failed to answer.

A call may not ask for more pixels, all its images together, than the
largest call measured here (one 2752x1536 image, 44.8 GB at its peak): the
images of a call run as one batch (42 s per step for those ten, 4.6 for one),
their memory at that size was never measured, and running out of unified
memory hangs this box. Refused in the tab and on the server, with numbers.

The lifecycle carries systemd's Result, and a unit that ended "timeout" reads
"was killed while stopping, nothing broke while it was serving".

opencode's limits follow a boot after a switch: a switch writes the nominal
900,000 pair, and nothing fitted it after a switch and a Start from the page
(the Agent tab asked for 900,000 against 809,983 servable after the switch to
the uncensored target that morning). The cockpit now runs the Setup tab's
fit itself once the text engine is ready: once per activation, only when the
declared limits do not fit, never to raise one, as an audited job.
COCKPIT_AUTOFIT=0 turns it off.

Tests: pixel budget (the call that started this is refused before the lane
sees it, the largest measured call passes, the total counts, a size string
counts), autofit (once per boot, never while no text engine is ready, never a
raise, retried when the job lock is busy), Result in the lifecycle, the
cancel wiring, both patches through the installer's own lines. Five guards
were undone once each and their tests failed. CI 60/60.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 12:31:22 +02:00
Hasan BasbunarandClaude Opus 5.5 400ae8a750 docs: Claude Code on the 1M lane is sized on the pool, not the window; v1.18.0 dated
docs/clients.md told Claude Code users `CLAUDE_CODE_MAX_CONTEXT_TOKENS=1010000`
with CONTEXT_MODE=1m. Claude Code (measured on 2.1.239) compacts at that
number minus 33,000 and refuses to send past it minus 23,000, while the proxy
refuses a prompt past 92% of the KV pool, and the pool is decided at boot:
832,993 to 922,094 tokens over the sixteen 27B boots journaled here. A session
sized on the window grows past what the proxy takes and is refused in the
middle of a conversation instead of compacting. The doc now says so and gives
two settings sized on the smallest pool: 700000 with the default output
(worst case 709,000) or 529000 with max_tokens 250,000 (worst case 756,000),
the pair this box's own claude-qwen launcher now uses.

The v1.18.0 CHANGELOG entry gets its date and this correction.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-22 22:46:28 +02:00
Hasan BasbunarandClaude Opus 5.5 b707d95c40 Image lane: idle costs 0.05 cores instead of 1, and a restart reads its own journal
AN IDLE LANE HELD ONE CPU CORE, FOR AS LONG AS IT SERVED. The diffusion
scheduler's loop never waits: recv_reqs() reads its socket with zmq.NOBLOCK
and, with the queue empty, the loop goes straight round again. The text lanes
avoid the same thing with --sleep-on-idle, which this runtime does not have,
and upstream main has the same loop as the pin. Measured on the box from the
unit's cgroup, 30 s at rest: 1.047 and 1.046 cores, one thread at 101.5 %.

image-sglang/scheduler-idle-poll.patch adds one branch: with nothing queued,
wait on the request socket for up to a second, which is what the LLM
scheduler's own IdleSleeper does behind --sleep-on-idle. poll() returns the
moment a request lands. With it: 0.045, 0.046 and 0.046 cores (the 27B lane
with --sleep-on-idle: 0.029). A fixed-seed request (768x768, 20 steps, seed
42, CPU generator) gave the same PNG byte for byte with and without it, in
10.2 to 10.7 s either way.

install-image.sh applies it after the checkout and recognises it on a re-run
(proved on the box: "applied", then "already applied"); it takes it off
before checking out a new pin, because git refuses to check out over a local
edit of a file the new commit changes, and without that the next pin bump
would have died at the checkout on every box that installed the lane (a test
runs the installer's own lines against a scratch repo, and fails with the
step removed). A pin the patch no longer fits is a note, not a failure. The
smoke test now prints what the lane costs at rest, from its cgroup, and says
so when it holds a core. A CI step fetches the scheduler at the pin and fails
when the patch stops applying: the signal to refresh it, or to drop it once
upstream waits on its own.

A RESTART READ THE LAST RUN'S JOURNAL. The boot stages came from the unit's
journal since the last "Starting server" line, and a new process takes about
8 s to print one. Until it did, the last one was the previous run's, which
had reached "fired up": a start read "warming up, ready" and a restart read
"degraded, ready" for those seconds (both seen on the box, 21:33:20 and
21:37:14). The journal is now read by the unit's systemd InvocationID, taken
from the same systemctl show the lifecycle already runs: this run's lines and
no others. After the fix, a restart watched every 0.5 s through the action
API went starting, starting the server, the encoder, the DiT, the VAE,
warming up, ready in 62 s, and the Image tab showed STARTING at +2.5 s and
LOADING WEIGHTS (the 13.3 GB DiT) at +25 s in a headless browser.

FACTS THAT HAD GONE STALE. The README's cockpit table said the Image tab had
"nothing yet"; it now says what it does, and Video keeps "nothing yet". The
image section called this "a second lane" one sentence before "a third
lane". The doc called cost "very nearly linear in pixels": 2048x2048 takes
190.9 s where four times 1024x1024 is 153, and the estimator the cockpit uses
is now written down. Startup is 60 to 72 s, not 77. A request "peaks at 34.8
GB on top of" the weights was wrong twice: 34.8 GB is the total, at
1024x1024, and 2048x2048 reaches 44.7. The installer's smoke step said it
starts and stops the lane when it leaves a serving lane serving, reported
"up after ~10 s" for a lane that answered the first probe, and blamed a
blocked checkout on a missing commit. image_call's docstring still described
a serving key it no longer sends.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-22 21:50:35 +02:00
Hasan BasbunarandClaude Opus 5.5 f01bc52dda The image lane is a lane: switched to, started and stopped like the other two
The first version gave the image lane its own Start button inside the Image tab.
It started the lane by a path neither text lane uses, and through the unit's
Conflicts= it stopped a serving text lane silently, where the cockpit's rule for
every other lane is to refuse and say "stop it first". It is now driven from the
same three controls as the 27B and flash lanes, the switcher, Switch, and the
action bar's lane button, and the Image tab has no lane control of its own.

A THIRD ENGINE TO THE LIFECYCLE. The collector was written for docker engines:
a container, docker logs, a pool guard, a wedge canary on the text port. The
image lane gets its own facts (the unit's state, its own /health, its journal)
and produces the same entry shape, so every generic view picks it up unchanged:
the lane pill, the lane button, the Engines card, the Overview card, the badges.
Its boot is read off its own journal in eight named milestones, matched on what
a line says rather than when (the engine and uvicorn write two timestamp
formats), and the component being loaded travels as `detail`: "the 13.3 GB DiT"
says more than "weights" for the half minute it takes. Its boot duration is
learned like the others' (70 s, recorded on the reference box).

THREE ENGINES, ONE RULE. blocked_reasons picked "the other engine" with [0],
which with three of them checked one neighbour in two and let the third
through. It now checks every other engine. Starting the image lane while the
27B serves answers 409 blocked, and so does starting the 27B while the image
lane loads. Conflicts= stays on the unit as a second belt for a systemctl start
typed at a terminal, which the cockpit never reaches.

A TEXT ENGINE IS NOT ANY ENGINE. servingReady() answered "is an engine up",
and four callers meant "is the TEXT engine up": Flush cache, Abort all and
Smoke were enabled while the image lane served and would have hit a closed
port, and the Overview kept the previous LLM's model, pool and window under an
image engine. textReady() is the question they ask now.

switch-model.sh image verifies the checkpoint from the lane's own venv (no
docker image to inspect) and makes the image unit the one enabled at boot. It
leaves the proxy and opencode alone: both are text clients, and pointing
opencode's default at an image lane would break every session it opened. A
switch to a text target now takes the image lane off the boot too.

Found by running the real cycle through the cockpit's own action API, not by
reading the code:

  - The image unit was installed 0600. mktemp creates 0600 and cp keeps the
    mode, so the unit was readable by root alone. systemd did not mind; every
    other reader did, and failed quietly: switch-model.sh could not find the
    runtime, and the cockpit's reads of the port, the bind and the model all
    fell back to their defaults, which happened to be right on the reference
    box and would not have been on one installed with IMAGE_PORT= or
    IMAGE_BIND=. Installed with install -m 644 now, and an already-installed
    unit is chmod-ed even when its content has not changed.
  - The image branch of switch-model.sh ran before install.sh's pins were
    evaluated, so HF_CACHE was unbound under set -u.
  - A plain ./install.sh on a box switched to images fell through to "27b",
    enabled the 27B unit beside the image one, and left two engines set to
    start at the next reboot, with the order systemd pulled them in deciding
    which came up. That undid the operator's switch on a routine update, the
    one thing install.sh promises not to do. It now brings the text lane up to
    date without enabling or starting it, and the image lane stays the boot
    lane.
  - install-image.sh's smoke test stopped the image unit on the way out
    unconditionally, so re-running the installer on a box whose image lane was
    serving ended with it stopped. It now leaves the lane as it found it.

What the user saw during the two waits, fixed from screenshots taken in a real
browser at laptop and iPhone widths:

  - The progress bar sat under the frame of the coming image, and a square
    1024 frame at the panel's width is taller than a laptop screen: the bar was
    below the fold for the whole generation. It now lives inside the frame,
    where the eye already is, and the frame and the image are capped to the
    viewport so the result and its facts are on screen. On a phone the result
    panel is scrolled into view below the sticky bars at their real height.
  - The bar was a node that moves into the frame, and emptying the output
    panel detached it, so the second generation would have appended null. It
    is held by reference.
  - "Use a sample" ran for twenty seconds behind a one-line status with both
    buttons live; a second click was a request the cockpit refused with 409 and
    a toast that read like a failure. It waits like any generation now, timed
    against its own 20 steps rather than the form's 40.
  - The sample is a red teapot and the "Local edit" example asked to change a
    book cover. The example is now the cookbook's own edit prompt, which is
    about that teapot.
  - Six strings said "about 9 minutes" to ready; the image lane takes about
    70 seconds. Each lane now reports its own, learned from its boots once it
    has some.
  - Before a lane has booted in front of the cockpit, its bar used the
    measured duration instead of reading "learning the duration".
  - The estimate was linear in pixels and 20% short at 2048x2048 (153 s
    against 190.9 measured). It is a power law fitted to nine measurements,
    within 6.5% of every one of them.
  - A target whose lane is not installed is marked so in the switcher and
    cannot be picked, with the command that installs it. The image lane is
    opt-in, so most boxes would otherwise offer a switch that fails a second
    later.
  - The opencode banner compared against the usable share of the pool, a
    number printed nowhere else on the page, beside a panel showing the pool:
    it read as the cockpit contradicting itself. It names both now.

Known and documented, not fixed: when the image engine wedged, its /health kept
answering 200. The lifecycle would read such a wedge as ready; the text lanes
have a generation canary for that and this lane does not yet.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-22 21:03:49 +02:00
Hasan BasbunarandClaude Opus 5 00aa1ee4e2 Image tab: drive the lane from the page, and show what it is doing
Answers two things the page did not: how to start the lane without a terminal,
and what is happening during the minute it loads and the 38 s it generates.

DRIVING IT. qwen38-image.service was in neither SERVING_UNITS nor the sudoers
allowlist, so the action layer refused it by closed enum and sudo -n would have
failed anyway, while the tab's own chip sent you to the Engines tab, which
rendered no control for it. Three levels of nothing. The unit is now in both
lists and the tab has Start and Stop, through the same modal, job strip and
allowlist as every other unit. The modal says what Conflicts= is about to do
before it does it.

SHOWING IT. Both waits are read off the engine's own log, which the cockpit can
now journal. Startup is eight named milestones with the share of a boot each one
had on two measured boots, so the bar says "loading the 13.3 GB DiT" rather than
spinning. A request names its stage live (encoding, denoising, decoding through
the VAE); inside the denoise the bar is this page's clock against the measured
cost and says "about", because no live per-step number exists to report: tqdm
writes with carriage returns, journald only breaks on newlines, /metrics is not
served and /stats is empty. The output panel holds a frame at the requested
aspect ratio instead of a paragraph.

ONE AT A TIME, which is not a preference. The diffusion scheduler has no
admission cap; batching_max_size is about batching and is already 1. Measured on
the reference box: one generation holds 31.2 GB and eight in a row hold exactly
that, flat, but two at once held 90.5 GB of its 121.6 and the engine then stopped
answering entirely, with a direct curl timing out and nothing in its log. Two
browser tabs are enough. The cockpit now refuses a second request with HTTP 409
in under a millisecond and says why, the tab turns its own button off when the
lane is busy with somebody else's request, and the lock is released on every exit
path so one error cannot wedge the route.

Twelve findings from an adversarial review, all fixed. The three that mattered:
the installer's smoke test could leave the box serving nothing, because it stops
the text lane and every failure exited through die() before restarting it, so
that now lives in a trap; a routine ./install.sh re-run on a box that has the
lane stopped the engine it had just verified to redo the smoke generation, so
that now passes --no-smoke unless the lane was explicitly asked for; and
imgSync() dropped the availability term, so typing one character re-enabled
Generate on a stopped lane. Also: the copyable curl carried an Authorization
header this lane cannot check and addressed the browser's own host for a lane
bound to loopback, image_base() hardcoded 127.0.0.1 while the installer accepts
IMAGE_BIND, the raised 40 MB POST cap buffered before authenticating, the
reference count raced across two file pickers, the download named PNG bytes
after whatever the format select said at click time, uninstall.sh did not read
WorkingDirectory from the unit, and --with-image was accepted with --no-start
and silently ignored.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 17:34:31 +02:00
Hasan BasbunarandClaude Opus 5 0f7eb3fa63 Add the Qwen-Image 2.1 lane: install, serve, and drive it from the cockpit
Text to image, image editing with up to ten references, and the native RGBA this
model is built for, served by SGLang Diffusion on the same box as the LLM lane.
Opt-in with ./install.sh --with-image, which the one-liner passes through.

One engine at a time, said in systemd rather than in a wrapper someone can
bypass: the checkpoint is 31 GB of weights and a request peaks at 34.8 GB, so
the unit carries Conflicts= against all three LLM lanes. It is not enabled at
boot, because a box that reboots should come back the way its owner left it.

A venv and not docker, because the cookbook says so for this model ("no
published Docker image is verified") and Qwen-Image 2.1 is in no SGLang release.
The released wheel goes in first all the same: it carries sglang-kernel built
for aarch64, which a source tree does not build, and source-first leaves a
runtime with no native kernels that dies on the first request. The pinned
source then overlays it with --no-deps, because re-resolving pulls a
transformers that breaks the encoder this model needs.

Everything the tab claims was measured against this lane rather than copied:
1024x1024 at 40 steps in 38.2 s, 512x512 in 9.0 s, an edit with one reference
in 44.6 s, ten references in 69.6 s, a transparent generation that comes back
with 68% of its pixels genuinely transparent, and the same seed twice giving
byte-identical output.

Four refusals the cockpit makes so a client does not have to read them out of a
500 with an empty body:

  - width and height must be multiples of 32; 1328x1328 answers HTTP 500 and
    says why only in the engine's own log;
  - an output format must always be sent. Left out, the API falls back to JPEG
    when the background is not transparent, this model returns RGBA for
    everything it makes, and PIL refuses to write RGBA as JPEG, so the plainest
    possible request fails for that alone;
  - CFG needs a scale above 1 AND a negative prompt (schedule_batch.py:399).
    Either alone is ignored byte for byte: three requests differing only in
    true_cfg_scale produced the same SHA-256;
  - an edit sends its size as `size`, not width/height, which /edits does not
    have. Sent the other way a request for 512x512 came back 1024x1024.

The lane has no API key, and that is why it is loopback. The diffusion runtime
is a different argument parser from the LLM one and has neither --api-key nor
--sleep-on-idle; passing either kills the unit at startup. `sglang serve --help`
lists both, because with no resolvable diffusion model it prints the LLM parser,
so the help text is not the evidence. The installer's own smoke test found this
on the first install. The cockpit is the authenticated door in front of it.

Editing redraws the whole picture rather than patching it. The edit asked for
does happen, and the rest comes back with about twice the fine detail of the
source: 2.16x Laplacian energy across 22 cases, every reference encoding, every
prompt, 20 to 80 steps, every guidance setting and every flow_shift, including
an edit that asks for nothing to change. Generation never does it. The tab says
so next to the button.

49 tests. The installer gates hold the wheel-before-source order, the full
commit pin, the disk check and a smoke test that reads a PNG header rather than
trusting a status code; the unit gates hold Conflicts=, the loopback bind and
the absence of the two flags that kill it; the tab gates hold the model's own
defaults, the seven aspect ratios Qwen publishes, every size being a multiple of
32, and that Reset restores every field it offers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 16:09:23 +02:00
Hasan BasbunarandClaude Opus 5 8567452ac1 install: the engine binds localhost by default (v1.17.0)
A changed default, and the reason it could change at all. The engine listened
on every interface; seven days of journal on this box put 581,479 requests at
100% from 127.0.0.1, while the machine was reached from a laptop and a phone on
the cockpit port alone. An open port nobody uses would be an ordinary waste.
This one is the port SGLang dies on rather than refuses (sglang#40076 and
sglang#31597, both unfixed upstream, both refused at the proxy since v1.15.0),
so leaving it open left a door beside the one with the lock.

Nothing is lost by closing it, which is the only honest reason to move a
default: the keepalive proxy is a full pass-through, every route and both
dialects, verified route by route before this was decided. A client that
pointed at :30000 from another machine points at :30001 and gets the guards
with it. The README's own OpenAI and Anthropic lines move with it, because a
default that makes the documentation wrong is two bugs, not one.

The proxy's default does not move. It is the door clients are told to use.

A box that deliberately put its engine on the network keeps it: convergence
holds in both directions, so nobody loses a remote client to an update they did
not read about. ENGINE_BIND=0.0.0.0 is the way back, and the same variable set
to 127.0.0.1 is how an older box adopts the new default.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 13:19:42 +02:00
Hasan BasbunarandClaude Opus 5 3744c4bcd0 cockpit: the box says a newer version exists, instead of waiting to be asked
The release check has been in this repo since v1.5, printing its answer in a line
of the Models tab that appears after a button press. It therefore reached the
people who already suspected there was news, and an install could sit several
releases behind a fix with nothing on screen to say so.

A collector asks GitHub's releases endpoint every six hours and hands the answer
to the banner strip, where this cockpit already says the things you did not go
looking for, with the command that installs the update. The Setup tab carries the
same line permanently. The other staleness a live cockpit can have gets a banner
too: a git pull under a running process leaves new HTML served against old Python,
and the banner names the files that moved and the command that fixes it.

Two decisions keep it from becoming noise. Versions compare as numbers, because
v1.9.0 sorts after v1.15.0 as text and would announce an update eleven releases
old. And it speaks only when the published version is strictly newer than the
installed one: this repo is developed on a box that runs it, and that box is
regularly ahead of the newest tag.

It is the one outbound request this stack makes that the operator did not type,
so it is named in SECURITY.md, carries nothing but the cockpit's version in a
User-Agent, backs off rather than retries when it fails, reads "latest release
unknown" on a box with no network, and stops entirely on COCKPIT_UPDATE_CHECK=0.

Nine assertions in a headless browser hold it, including the one that matters
most: an up-to-date box shows nothing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 11:51:09 +02:00
Hasan BasbunarandClaude Opus 5 63a49ccfa9 merge main: the docs reorganisation, and this branch follows it
main turned the README into a 509-line entry point with seven sections moved
to docs/, added evals/ and fixed the cockpit's fit verdict. This branch was
written against the README that preceded it, so the merge is not only textual:

  * the System One section moves to docs/systemone.md, the way the other seven
    did, leaving the summary, the one call that shows it and the headline
    numbers in the README, plus a row in the index table
  * the proxy's new refusals were landed by git in the middle of the GB10
    memory trap, which is where their old neighbour used to be; they belong
    with the proxy, which now lives in docs/clients.md
  * the cockpit's tab table gains System One, Image and Video, and the three
    places that said "eight tabs" no longer do
  * docs/cockpit.md gains the System One tab's own section
  * evals/ is NEW on main, not removed by it: the CI lint and compile lines
    keep it and add this branch's two tools

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 10:30:54 +02:00
Hasan BasbunarandClaude Opus 5 7eddf6d011 systemone: a live conformance matrix, the thinking level the measurement chose, and the numbers behind both
systemone-check.py is the half tests/test_proxy_systemone.py cannot do: a fake
engine can script a NaN, and it cannot serve a model. Every shape of the
contract against the real lane and graded against the contract, every refusal
compared with what api.typesafe.ai answers to the same bytes, every lever on
its own proxy, the door at twelve callers, and typed decisions mixed with
ordinary chat, plain and streamed, on one engine. 44 of 44.

Its own first run failed five checks and all five were the checker being wrong,
each settled by asking the hosted API rather than by reading this repo: a Score
returns the expected level index, not a fraction (8.45 on a ten-level scale),
and three refusals it expected as 422 are 400 there, one with the same message
to the character. Those expectations now carry where they came from.

SYSTEMONE_THINK_EFFORT now defaults to xhigh instead of inheriting the lane's.
This repo's template makes `lean` the default level since v1.13.0, and `lean`
opens with "Answer immediately, with no reasoning": the lever whose whole
purpose is thinking was telling the model not to, and behaved differently
depending on whether the box's template had been patched. Measured as a pair on
the same 200 MMLU-Pro rows, same budget, same engine: 80.5% inherited against
84.5% at xhigh, ECE 0.155 against 0.120, Brier 0.159 against 0.128, log loss
0.914 against 0.708, for 9.15 s against 12.54 s and the same input tokens. The
accuracy gap alone does not clear significance at that size and is not claimed
as one; every measure moves the same way and xhigh lands on the hosted model's
own 84.0%. SYSTEMONE_THINK_EFFORT=lane restores the old behaviour.

Also measured and written down: the tokenizer and chat template are
byte-identical across all seven targets, not the two that had been checked, so
the label table holds on every lane this repo can serve; and the 27B lane
cold-prefills at 331 tok/s against the flash lane's 2,250, which is the rate
SYSTEMONE_TIMEOUT_S was sized on.

The System One block's mutation score, 82.7% over 271 points, and the two
placeholders the earlier work left in TESTING.md and BENCHMARKS.md are filled.
A CI gate refuses a document that still carries one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 10:23:10 +02:00
Hasan BasbunarandClaude Opus 5 719c17b947 docs: the README becomes an entry point, and its numbers are checked against the record
1,045 lines, one door, and the only way to find anything was to scroll. It is 509
now: what this is, the seven targets with their measured headline, how to install
it, what speed and quality to expect, the targets and the switch, the tools, the
cockpit in short, and an index table naming every other file and the question it
answers. Seven sections moved out whole, each to its own file under docs/, each
leaving a summary and a link behind: the 1M context mode, the flash lane, the
cockpit tour, operations and upgrades, the opencode integration, the GB10 memory
trap in full, and where each lane stands against upstream.

The split was checked line by line against the file it came from. Of 1,045 lines,
the only ones with no verbatim equivalent in the new README or in one of those
files are the 32 rewritten on purpose, and each of those is a correction:

- the headline said 65 tok/s for the 27B lane, which is the v1.9 figure. v1.14.0
  measured 71.4 on the release image this lane has served since 2026-09-17, in the
  same campaign that measured 69.8 on the image it replaced. Title, target table
  and speed section now say 71.4 and name the campaign behind each number.
- the memory section read as though the installed fraction were 0.50, which is the
  native-mode and ./run.sh value. The 1m mode has been the default since v1.12.1
  and runs 0.76. Both are stated now, each with its mode.
- the KV pool comparison published three boots against two. The engine journal has
  eleven for that day, six and five: 517,184 to 566,016 against 482,560 to 510,592.
  The ranges still do not overlap, by 6,592 tokens at their closest, but the gap on
  the means is 9.6% and not the 6% published from the subset. README, BENCHMARKS and
  the v1.14.1 entry all carry the full set now.
- two citations pointed at text that is not there: the README claimed a flat-memory
  result was "quoted elsewhere in this README" when it lives in BENCHMARKS.md, and
  keepalive-proxy.py justified its 92% usable share by quoting a README line about a
  178,560-token pool that no longer exists anywhere. Both now name where the number
  actually is. Neither was caused by this release; both survived because nothing
  checks a quoted section title.
- the flash lane's quality is in the README as measured rather than as adjectives:
  GSM8K 97.41% over all 1,319 questions, MMLU 500 at 90.8%, HumanEval 164 pass@1 at
  95.73%, tool calling 15/15 with reasoning off and on, needle 2/2 at 120K and 200K,
  conc-check 40/40 serial and 80/80 at four concurrent.

evals/ ships the two drivers, because two of those numbers could not be reproduced
from this repo. The image's run_eval --eval-name mmlu shells out to an sgl-eval
binary it does not ship, and its HumanEval path needs a package that is not there
and then dies in os.fork against the image's filelock. Six gates hold what makes
them work, with a stub sglang and no network: the score line a caller greps, the
dataset MMLU is measured against, spawn rather than fork, and one sample per task
instead of the harness default of five, which at temperature 0 is the same answer
five times.

ARCHITECTURE.md gains the two directories it did not describe and tools-check.py in
its table of instruments. TESTING.md gains a 2026-09-19 column counted mechanically
on both commits: 34 test files against 20, 587 test functions against 442, 55 CI
steps against 38. docs/flash-lane.md records the one boot in thirteen that died at
CUDA graph capture on 2026-09-18, because a failure that costs twelve minutes and
explains nothing belongs written down even when it happened once.

Local CI: 56 steps, 55 ok, the socket gate failing on this serving box because
other processes cycle ephemeral listeners during the suite, which is the case its
own message describes. Both suites green: 223 and 370.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-19 12:55:10 +02:00
Hasan BasbunarandClaude Fable 5.1 cb7f14b31e systemone: measured against the hosted Jev, and the defaults the numbers chose
Byte-identical payloads to this box (27B lane, SGLang 0.5.19) and to api.typesafe.ai
(jev-1.13.0, 3.46 million input tokens, 14.5 cents) on six public tasks at pinned
revisions. TypeSafe's own 20 public cases, 408 questions with two frontier references:
the lane with two option orders 93.5%, the hosted model 93.2%, raw readout 91.3%.
BoolQ 3,270: 89.3% against 91.9%, ECE 1.2% against 2.4%. MMLU-Pro 1,000, ekzhang's
rows: 62.1% against 83.8%, the gap a single forward pass of a 27B does not close on
calculation; with a 1,024-token thinking budget on the first 200 rows, 80.0% against
84.0%, an interval that holds zero, at 8.8 s a question. French: XNLI 71.4% against
78.2%, MMMLU 74.6% against 87.4%. The cookbook's 13 GDPR questions: 50 of 50 both
sides, 1.1 s a call alone against the hosted 1.04 s.

Three claims of the draft did not survive measurement and are gone. The readout does
not repeat to the digit: five identical calls at concurrency 1 moved an uncertain
yes/no by a standard deviation of 0.11 (settled ones by under 0.01), because this
engine's kernels are not batch-invariant. The warm-first send lost every comparison
(13 questions on a never-seen 10,800-token state: 14.9 s with it, 5.4 s without) and is
off, SYSTEMONE_WARM_CHARS=0. The option cap of 64 was caution without a number: asked
for 255 top_logprobs the build returned 255, so Choice takes Jev's 255.

The two-order lever (SYSTEMONE_PERMUTATIONS=2) earned its place on four tasks: it
never hurt, it added 2.6 points on BoolQ and 4.0 on MMLU-Pro where position bias
lives, and it took the ECE from 4.7% to 1.2%, 8.3% to 4.2% and 9.8% to 4.3%. It stays
opt-in: it is an average, not a readout, and the repo ships lossless-by-construction
or opt-in. A fitted temperature fixes the rest of the over-confidence on the held-out
half without moving one answer. A new lever, SYSTEMONE_THINK_TOKENS, thinks first in
the model's native mode and reads the label off the continued turn (a message with
reasoning_content would be closed as history by this build's continue_final_message,
so the thought is appended as the assistant prefix after the template's own
"<think>" opener). The defensive branches, the oversize guard on the longest branch
and the invariant that no body ever carries token_ids_logprob are now tested.

Also read off the hosted model and written down: its probabilities are sample
frequencies, it spends 17 + about 7 output tokens per option, its live answers match
its saved public ones at 99.8%, and its calibration does not travel to French (a
temperature of 1.70 halves its ECE there).

50 offline tests, proxy coverage 82% (floor 74), the local CI green on every step
with a test venv present, ruff F,E9 clean, no em dash in any file. The measurement
files live in bench-systemone-data/ (gitignored); the protocol and every table are in
BENCHMARKS.md "Typed decisions".

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-19 01:47:47 +02:00
Hasan Basbunar 0d25e1af73 README: the Agent capture is now a live session, not an empty panel
Replaces the placeholder shot with a real one: a session mid-answer, the
question visible, and the model picker at the bottom naming what is answering,
the 27B this same box serves at the lean effort level. The header still carries
what matters, that opencode starts at boot with tool calls pre-approved.

The tailnet address is masked and a hover tooltip that was open over the
Fullscreen button is patched out with a clean band of the same rows.
2026-09-18 16:28:03 +02:00
Hasan Basbunar 1c4e17923d README: the Agent tab, which is the part people do not expect
opencode's own interface framed behind the cockpit login, started at boot with
tool calls pre-approved. A laptop or a phone is then enough to run a coding
session on the box against the local model, with no terminal. It was described
in prose and never shown.

The tailnet address is masked in the capture.
2026-09-18 15:55:11 +02:00
Hasan BasbunarandClaude Opus 5 3925a4154a README: show the cockpit instead of only describing it
Three screenshots of a real box, captured through Playwright against the live
cockpit rather than staged: Overview (what is served, on what pool, with the
kernel's GPU-allocation refusals in the event stream), Models (the seven targets
as data, each compared flag by flag against what is installed) and Requests (the
proxy's feed next to the zombie guard).

The cockpit is how this stack is meant to be driven and it was the one part a
reader could not see before opening a terminal. Captured after v1.14.0, so they
show the official image and the 0.76 fraction.

No credentials in frame: the session is established through the API, so the key
is never typed into a field that ends up in a capture.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-18 15:41:03 +02:00
Hasan BasbunarandQwen3.8-flash-next via opencode 4458a2c4a7 proxy v6.17: the identity wall learns admission, not just naming
v6.16 named WHO and admitted no one: the client's bearer went upstream
verbatim and met the engine's own --api-key there, so every labeled
request died with the engine's 401 past a wall that had correctly
identified it. Found live on the reference box against the real engine,
not in any test, because every fake engine in the suite lets everything
through: that is the hole's whole biography, and the fix carries its own
enforcing fake engine so it cannot reopen unnoticed. QWEN38_UPSTREAM_API_KEY
names the engine's key to the proxy; when both halves are set, the
client's bearer names them on the journal line and the engine's key admits
them upstream, on relays and on abort calls alike (the abort path had the
same verbatim habit). Without the upstream key the old verbatim behavior
stays, for an engine with no check of its own or one shared key on
purpose, and the banner warns loudly about the combination. Three new
admission scenarios (substitution observed engine-side, verbatim pinned as
the documented fallback, upstream key dormant with the wall off); root
proxy coverage 78% over its 74% floor.

Co-Authored-By: Qwen3.8-flash-next via opencode <noreply@opencode.ai>
2026-09-13 19:15:09 +02:00
Hasan BasbunarandQwen3.8-flash-next via opencode 61a8e79d3d docs: clients.md (what each client must send, measured vs configured) and a roadmap with statuses
The questions the issues keep asking (can it do 1M, why does Copilot time
out, can Open WebUI connect, what does an image cost an agent) have
answers that exist scattered across README lines, issue replies and code
comments; clients.md gathers them with a line between "measured on the
reference box" and "this is how the vendor configures the client", which
is the distinction the repo draws everywhere else. TLS and the client-key
wall get their operator-visible surface documented (systemctl edit
drop-ins that survive re-installs, the journal line a label rides).
ROADMAP.md turns "on the roadmap" into shipped / in progress / planned /
considered, with the considered items carrying the reason they are not
planned (multi-engine parity is not a win; the quadlet path must not be
able to drift from the Docker one; telemetry stays local by design). The
README's doc map grew the four links the governance commits owed it.

Co-Authored-By: Qwen3.8-flash-next via opencode <noreply@opencode.ai>
2026-09-13 17:53:34 +02:00