Commit Graph
9 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 f0f69a4be0 install: a new box's install cut before its own unit is no flash box to the next run
A 27B install puts the flash lane's unit in at its step 6, beside it and never loaded, and its own unit at step 8. Cut
between the two (Ctrl-C during opencode's download, a closed terminal, a power cut), the box held the flash unit alone,
and the next run took it for its lane: "Keeping the installed target model: flash", 230 GiB of free disk asked, which
stopped a box that had room for the 27B, or 152 GB fetched. A flash unit nothing enables, with no 27B unit, is the box's
lane when the text-lane record says it had the boot, or when it can serve (its image, launcher and checkpoint here).

Three fixtures named a flash box without either: they give it its record, and the one whose systemctl never answered
is-enabled --quiet does now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 08:20:09 +01:00
Hasan BasbunarandClaude Opus 5.5 a1e194984b install.sh: an old default moves, a recorded choice stays
The engine on 0.0.0.0 (the default before v1.17.0), the native window
(before v1.12.1), the flash context tier (before v1.19.0) and the BF16 draft
at depth 8 (before v1.9.0) were kept for good, announced as choices.
conformity.py verdict decides now: a value installed.json records stays, and
so does one on a box with no record that is younger than the change or of an
age nobody can tell; otherwise it moves to today's default, and the line says
how to keep it. Anything conformity.py cannot answer keeps the value. The
tests that held the old promise are split: old box, recorded choice, young
box, unknown age.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 06:38:44 +02:00
Hasan BasbunarandClaude Opus 5.5 4c2afe3874 tests: the binds and the context mode an install goes on with, read from the run
The bind and context-mode tests read the installer's messages: an ENGINE_BIND=0.0.0.0
set after the convergence opened the engine at every install, and a --no-service run that
said "native", a flash lane given 1m by default (YaRN patched into its checkpoint) or a
native box converged to 1m went on with the wrong value, all with the suites green
(found in review, 2026-09-24, Q1 and Q3). A probe prints what the run resolved just
before the refusal it stops at; each of the four mutants passed the old tests and fails
the new ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 12:24:37 +02:00
Hasan Basbunar e85a71e506 Merge branch 'fix/revue-v1.18.6' into worktree-agent-a41077fa2a7fb7b24 2026-09-24 23:23:33 +02:00
Hasan BasbunarandClaude Opus 5.5 6a69dea716 install.sh: paths and binds the units can carry, flash knobs kept, and five smaller defects
HOME, HF_CACHE and PLE_DIR go into the units as they are: a space, a colon, a quote, a $
or a % is refused before step 1 instead of breaking the unit it lands in. ENGINE_BIND
and PROXY_BIND take 127.0.0.1 or 0.0.0.0 only, checked again once read back from the
units: the box reaches both ports itself on loopback, and 300.1.1.1 passed. A busy
PROXY_PORT is ours only when the running proxy's unit names that port.
SPEC_TOKEN_MAP_SIZE=0 and FLASH_REPLAYSSM_SPEC=0 are read back from the flash launcher
like its tier (a launcher older than the knob keeps the default). A bad
FLASH_REPLAYSSM_SPEC exits instead of tripping the ERR trap, --with-image with
--no-image is refused, the image lane kept by --no-image is not called missing,
oc_fetch_pinned fails when the binary could not be placed, --help's fp8 line gives the
measured pools, and two dead variables go.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 19:09:35 +02:00
Hasan BasbunarandClaude Opus 5.5 83994ad063 tests: an installer run stops at a wall, not at the refusal it trusts
Six test files ran install.sh or get.sh whole and counted on one refusal to stop the
run, from the real checkout and against the box's own units. With the refusal they stop
at disabled, the old tests ran step 1 on the box (nvidia-smi, docker, systemctl) and got
as far as sudo -v and docker pull of the pinned 27B image, three of the five stayed
green, and get.sh, started from a clone, went on to git fetch into it. They now run a
copy that exits at a wall before step 1 (after it for test_install_sudo, the one that
means to run it), reads its units from a directory the test owns, starts outside any
clone and has the commands that act on the box fenced; each run checks the wall was not
reached and nothing fenced was asked for. The same mutants now fail every one of them,
with no program of the box run. Both context-mode convergences are asked of fixture
boxes instead of the box running the suite, so the native one runs in CI too.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 19:01:57 +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 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 5d6738fd59 install: the engine and the proxy can answer on localhost only (v1.16.0)
Both listened on every interface, and this box shows what that was worth.
Seven days of journal: 581,479 requests to the engine and 8,288 to the proxy,
every single one from 127.0.0.1, while the machine was reached from a laptop
and a phone on the cockpit port alone. Two ports open to a LAN and a tailnet,
used by nobody but the box itself, and they are the two SGLang dies on rather
than refuses (sglang#40076, sglang#31597, refused at the proxy since v1.15.0).
The proxy's guards protect what goes through the proxy; a port that bypasses
it is a door beside the one with the lock.

ENGINE_BIND and PROXY_BIND close them. The defaults do not move: somebody
else's laptop may legitimately point at either port, and a default must never
take away something the operator did not ask to lose. An installed choice wins
over the default in both directions, which is the part that matters, because a
box hardened to localhost that a plain ./install.sh reopened would be the worst
of the three outcomes: nobody would have a reason to look. A bad value is
refused by name before a unit is written, not by a unit that fails to start
minutes later on a box whose engine has just been stopped.

The proxy is v6.21 for it. The version gate added in v1.15.2 earned its place
on the first try: the bind changed the shape of the startup line, the banner
stopped matching the history block, and the test failed before this could ship.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-22 12:56:29 +02:00