Files
alzeo/docs
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
..