Repository navigation
hal0 v1.0.0-rc.1
Pre-release
Pre-release
·
1264 commits
to main
since this release
The R5 rework puts the platform back together as a genuine 1.0: memory and
Hermes finished, dead surface swept, launch flags re-homed onto models, the
boot path split into named observable phases, and the installer hardened against
real-world hosts (validated live on privileged/podman-4.9.3 and
unprivileged/podman-5.7 substrates — clean install and in-place upgrade, exit 0).
Full operator walkthrough: docs/hal0-install-migration-guide.html.
Highlights
- FLAGS-own — flags belong to models. Launch flags, device, and chat-template now live on the model; a slot is just
(id, name, model, port, state). Profiles became copy-on-stamp templates. The argv resolver stops reading profile/slot overrides at launch;model.defaultscarries the materialized tune. The managed-arg denylist now also screens a model'sdefaults.extra_args(closing a bypass where a denied flag reached the container). - Memory is Hindsight-only. Honcho removed. Tools renamed to the upstream surface —
hindsight_recall/hindsight_retain/hindsight_reflect(oldhal0_memory_*kept as aliases);reflectimplemented; config moved to~/.hermes/hindsight/config.json(local_external). - Hermes brain-lane relocated into the api boot lifespan — persona seed + identity/brain-profile registration + self-report now run on every restart (the one hook fresh/update/dev share), reached in-process rather than over loopback HTTP.
- Install & runtime hardening — accurate container-runtime preflight diagnostics (keyring-quota exhaustion surfaced instead of a misleading nesting/keyctl message); GPU group resolution derives the render GID from the device node's owner (not the group name); slot units emit
StartLimit*in[Unit]so restart limiting applies; Hermes gateway install drops to thehal0user (no stray root-owned~/.hermes);hal0 agent status --jsonemits real JSON;reconcile_listenerswired into/api/ports. - Vulkan is the default for shared-APU models — benchmark-backed (RADV +40% prefill / +16% gen / −30% TTFT vs ROCm on Strix Halo).
- Boot split into 14 named, observable phases with a typed
BootState; drift-watch fixtures + ahermes-bumprunbook added. - Self-update works on the shipped
User=hal0posture — the new narrowhal0-updatesudo seam (check/stage/activate/discard, root-side cosign verification) makeshal0 updatestructurally possible on a hardened install for the first time (#1464), and theHAL0_UPDATE_SKIP_COSIGNescape hatch is hard-disabled on v1+ stable builds. - One-shot v1.0 profile-catalog reset — the updater converges pre-v1.0 boxes to the tuning-only catalog exactly once, gated on a
meta.schema_versionwatermark, with operator consent, a timestamped backup, and headless runs never deleting operator-authored profiles (#1574; see Known Issues for the trigger-point caveat on 0.9.8 upgrades). - Write-boundary enforcement — every in-process slot-TOML writer (stack apply,
SlotManager.create) now passes the same key-partition and hardware-flag guards the HTTP layer enforces, so a stack apply can no longer persist whatPUT /api/slots/{name}/configwould refuse. - OpenWebUI honors the box's bind choice — the second web surface on
:3001followsHAL0_BIND_HOSTinstead of hardcoding0.0.0.0, and hand edits toopenwebui.envsurvive installer re-runs (#1515/#1514/#1568).
Breaking
- Launch flags/device/chat-template moved off slots onto models. Existing slot TOMLs with those fields still load (config is
extra="allow") and are ignored at launch until you run the fold migrator — but the slot-level surface is deprecated andHAL0-SUNSET-stamped for removal. - Honcho removed as a memory engine;
hal0_memory_*tools renamed tohindsight_*(aliases retained this release). - Deprecated surfaces machine-stamped
HAL0-SUNSET: v1.0.0for scheduled removal: the--backendflag (use--provider),SlotConfig.runtime/workers, thecogneeengine literal, and several legacy CLI aliases. SlotConfig.enabledis gone — a bound model is the activation signal (#1369, follows #1367). The field claimed to control "whether this slot is started on hal0 startup" and never did: boot autostart is the Quadlet[Install] WantedBy=hal0.targetstanza, which only exists becauseSlotManager.load()refuses to write a unit for a model-less slot — so[model].defaultwas always the real gate. Every one of the ~8 routability checks that consultedenabled(slots/routing.py, the four/v1listing helpers inapi/__init__.py,slot_view,api/routes/v1.py,dispatcher/_npu_common.py,npu_swap_status.py,omni_router/{filter,route_to_chat}.py) was immediately followed by anif not model_idgate; the shipped seeds had already hand-maintained the two signals 1:1 (all ten shipenabled = false+ no model pin, exceptbrain, which ships both). Two truths for one question is what forced the UI to render a "disabled but running" escape hatch and letPUT /configcarry a hiddenunload(). The single predicate now lives inhal0.slots.activation(is_activated/claims_npu_anchor/npu_modality_active).enabledis dropped from theGET /api/slotspayload and from theSlotTS type;PUT /api/slots/{name}/config {"enabled": …}is now a 400slot.removed_key_deniednaming the replacement, rather than silently persisting inert debris (the same treatmentbackendgot). Untouched: theenabledfields onUpstream, MCP clients, providers, metrics, memory, auth, and the[npu]modality toggles — different models entirely.CapabilitySelection.enabledalso survives incapabilities.toml; only its projection onto the slot changed (see Migrations).PUT /api/slots/{name}/configno longer has a lifecycle side effect. It used to unload a running slot on anenabled: falsebody so the faded card matched reality. Config edits and lifecycle are now separate verbs: stopping a slot isPOST /api/slots/{name}/unload, which #1367 pin-gates (409slot.pinned,?force=truebypass).- The NPU-exclusivity 409 moved from the toggle to the model write. The AMDXDNA chat context still admits exactly one
device=npu, type=llmslot, but the discriminator is now "has a model configured":PUT /config {"model":{"default":X}}on a second NPU LLM anchor returns 409slot.npu_exclusivity_violation("only one NPU LLM slot may have a model configured at a time"; hint: clear the incumbent's model first). Model-less NPU LLM slots — including the shippedflmseed — coexist freely. - NPU trio dispatch now reads the anchor's
[npu]table, not the shadow's own flag.flm-stt/flm-embedare display+dispatch records for the anchor's singleflm serveprocess and always carry a placeholder[model].default, so they never had activation state of their own to express._is_npu_trio_requestgates onnpu.asr/npu.embedon thedevice=npu, type=llmanchor — which is literally the flag set FLM was launched with, so a modality that was never launched can no longer advertise itself as routable and then 503 on the liveness probe. The slot payload gainsnpu_modality_active(resolved server-side) for the shadow card's ON/OFF pill. [brain_chat] tool_modelis gone — it was never read (#1453). The field was documented (schema docstring), defaulted ("hal0/agent"), and promised by the shippedbrainseed profile and slot docstring as "the escape hatch for boxes whose model can't emit tool calls the local runtime parses natively", buthal0.brain.chat._chat_stream's model precedence was alwayspayload.model or cfg.model or default_model—cfg.tool_modelhad zero consumers. A documented no-op steering knob on the steward's tool loop was worse than no knob, so it's deleted rather than wired:BrainChatConfigisextra="forbid", so a config that settool_modelexplicitly now gets a clear validation error naming the field instead of silently doing nothing. The still-live[brain_chat] modeloverride is the real way to point the whole steward chat at a tool-capable model (e.g.hal0/agent) — brain.toml's docstring now says so. Follow-up design question (wire real per-turn tool-model routing, or leavemodelas the only knob) is tracked in #1480.
Migrations
- Upgrade in place — re-run the installer (or
hal0 update); it is idempotent + non-destructive and never clobbers existing config. No reinstall. - Honcho → Hindsight (only boxes that ran Honcho): no migration step is needed — Honcho support was removed outright and Hindsight starts fresh; there is no data carry-over command (#1463 corrected the guide that claimed one existed).
- Slot-flag fold (operator-run): the migrator folds slot tunes into model defaults; it refuses the whole run (no partial write) if slots share a model with divergent tunes — resolve each shared model (canonicalize or split) first. Dry-run by default; back up
hal0.db+ slot dirs before applying. - Slot id-keying (operator-run, optional):
hal0 slot migrate-id-keyingin a downtime window (takes a pre-flight backup). The runtime reads either layout; the flip is deliberate and reversible. - A
[brain_chat] tool_modelkey left over from before its removal no longer breaks config load (#1453).load_hal0_configdrops it from the raw dict before validation — every load path (not just the packagedhal0 update, which already runshal0.config.migrationsfirst) is forgiving of a config written by an older build.HAL0-SUNSET: v1.1— the shim inhal0.config.loader._DEAD_KEYScomes out once no box in the field can still be running a pre-#1453hal0.toml. - One-shot
enabledsweep, boot-integrated (hal0.config.migrations.slot_enabled_removal). Runs first in theslot_reconcileboot phase, before every pass that readsmodel.defaultto decide what is configured. Rules:enabled = falsewith a[model].default→ the model is cleared (under the new rules a bound model reads as "on", so an in-place upgrade would otherwise silently activate a slot the operator had switched off — this is the only shape that needed more than a key drop); every other shape → the key is dropped and nothing else changes. NPU trio shadows (device=npu+typetranscription/embedding) keep their placeholder model — it is structural, not an operator pick — and only lose the key. Sibling[model]keys (context_size,labels, …) survive a clear; a slot that doesn't carry the key is left byte-identical, so a second run is a genuine no-op. Idempotent ("enabled" in rawis the check), best-effort per file (one corrupt TOML is logged and skipped, never fatal at boot).hal0 slot migrate-enabled-removalruns the same sweep on demand, dry-run by default; unlike the otherslot migrate-*commands it is safe to run live and needs no deploy window. - Disabling a capability now clears the slot's model instead of writing
enabled = false(SlotConfigStore._reconciled_slot, SC-1). The operator's pick is not lost — it stays incapabilities.tomlasCapabilitySelection.model, so a re-enable rebinds it. A pure disable still leaves device/provider/profile untouched. - Guided install gates on the model id, not a flag.
_build_slot_cfgcreates slots with an emptymodel.defaultandrun_pull_and_activatestamps the id only after the bytes land (_activate_slot_model); a failed pull leaves the slot model-less and marks[meta].pull_failed. Withholding the id is the start gate now — pre-stamping it was the one way a slot could have started before its model existed. - Rollback is one-way. Pre-#1369 code reads a missing
enabledasTrue, so slots this migration cleared come back model-less rather than re-enabled. Restore from a config backup if you need the prior state.
Known Issues
- The profile-catalog reset does not fire during the 0.9.8 → 1.0 update itself (#1585). The update's commit phase runs inside the old (0.9.8) daemon, which predates the reset — so an upgraded box keeps its
profiles.tomlandmeta.schema_version = 1until the next update applied by v1.0 code. Nothing is lost (the reset is biased against deletion), buthal0 updateon such a box reports "nothing to apply" without mentioning the outstanding reset. Live-validated: the reset mechanism itself (consent gate, timestamped backup,schema_version = 2stamp, idempotence, virtual reseed) works correctly on real data. - Updating from 0.9.8 ends with a spurious error from the old client — the 0.9.8 CLI polls job status through the API it is restarting, treats the mid-restart connection refusal as fatal, and exits 1 after the update has in fact applied. Fixed in the v1.0 CLI (#1540), but the client driving a 0.9.8 → 1.0 update is by definition the old one. Verify with
hal0 --versionandcurl /api/health. - First-boot installs can lose the dpkg lock race to
unattended-upgrades(#1584) — the hermes-agent provisioning step degrades gracefully with a remediation line (hal0 agent install hermes) rather than failing the install.
Security
- OpenWebUI's second, unauthenticated web surface now follows the box's bind choice, and the hardening guide admits it exists (#1515, with #1514).
hal0-openwebui.servicepublishes a complete chat UI — model access plus every stored conversation in/var/lib/hal0/openwebui— withWEBUI_AUTH=Falseand a hardcoded-p 0.0.0.0:3001:8080. Three things made that a posture gap rather than a documented trade-off. The bind ignored the operator:hal0.install.network's own docstring states the rule ("OneHAL0_BIND_HOSTdrives BOTH…"), and someone who setHAL0_BIND_HOST=127.0.0.1to keep hal0 off the LAN got exactly that on:8080and a wide-open chat UI on:3001regardless. The documented mitigation had no caller:env_writer's docstring told operators to passWEBUI_AUTH=True+WEBUI_AUTH_TRUSTED_EMAIL_HEADER"via theoverridesparameter", and nothing — notinstall.sh, notinstall_openwebui(), no CLI flag, no route — ever passed a non-emptyoverrides; the one remaining path, hand-editing/etc/hal0/openwebui.env, was erased on the next installer run (#1514), so the instruction was self-defeating rather than merely awkward. Anddocs/operate/auth.mdx, the canonical "Securing hal0" page, documentedhal0-apion:8080and stopped, so following the guide to completion still left the chat UI open. The publish address is now${HAL0_OWUI_BIND_HOST}, rendered byenv_writerfrom the sameHAL0_BIND_HOSTthe API uses and threaded throughinstall.sh; settingHAL0_OWUI_TRUSTED_EMAIL_HEADER(installer env or the file) is the single opt-in that turns OpenWebUI's auth on and points it at the header, since auth without a header is a login page with no identity behind it and a header without auth is ignored. The unit carriesEnvironment=HAL0_OWUI_BIND_HOST=0.0.0.0ahead of itsEnvironmentFile=— required, not defensive: systemd has no${VAR:-default}inExecStart, so an unset variable would hand podman-p :3001:8080, and this is what carries a box whoseopenwebui.envpredates the key. The value is sourced fromopenwebui.envrather thanapi.envdeliberately — reachingHAL0_BIND_HOSTdirectly would mean sourcing the file that carries every provider token and pushing them into the podman process environment, re-spreading what #1466 just contained. The default posture is unchanged (0.0.0.0,WEBUI_AUTH=False): this is "stop ignoring the operator's choice", not a silent flip that would strand every existing LAN user mid-release. The security guide gains a "second listener" section naming the port, both knobs, and the reason trusted-header auth is worthless while the port stays directly reachable. install.shstops erasing/etc/hal0/openwebui.envon every run (#1514).installer/README.mdpromises existing config files are "never clobbered on re-run", and the siblings in the same block keep it —hal0.tomlandupstreams.tomlare[[ ! -f ]]-guarded,api.envrewrites only a marker-delimited network block.openwebui.envwas regenerated wholesale from defaults every time, so a changedAUDIO_TTS_ENGINE, a repointedOPENAI_API_BASE_URLS, or the trusted-header pair #1515 tells operators to set was gone on the next repair or upgrade. The installer path now merges rather than skipping the write: every key already in the file keeps its value — including keys hal0 does not ship — and only genuinely new defaults are added, so a box installed before a key existed still receives it on upgrade instead of silently running a half-configured OpenWebUI. Precedence is shipped default < value already on disk < explicitoverrides, because an override is a caller stating intent while a preserved value is merely an absent one.write_env_atomicgrows aheaderparameter so the file stops carrying the slot-env boilerplate "Do not edit manually; changes will be overwritten on next slot load" — wrong on both counts for this file now; slot envs, which genuinely are regenerated every load, keep the original wording.DELETE /api/memory/banks/{id}/memoriesis no longer a one-call bank wipe (#1457, the #1024 incident class on the sibling route). #1024 was a bank delete reached with one unauthenticatedcurl; its hardening — the echoed-?confirm=<bank_id>gate and the dry-run blast-radius preview (#1028), plus arecord_actionaudit row (#1030) — was applied by lifting that one path out of the generic_FORWARDSpassthrough table into a hand-written handler. The bank-memories wipe stayed in the table. Upstream documents it as "Delete memory units for a memory bank … a destructive operation that cannot be undone", so it had the same blast radius with none of the friction: the audit row recorded a wipe that had already happened, on a call anyone could make. Classification did not save it — the route was already pinned ADMIN inexposure.DESTRUCTIVE_MEMORY_ROUTES, and in the shipped default posture (auth_required=false,has_admin_key=false) an ADMIN classification decides nothing; the audit that found this reachedGET /api/memory/banks/shared/memoriesunauthenticated against a bank holding 1629 nodes across 315 documents. It now takes the same echoed id (query string or body, like its sibling), returns the same preview payload on refusal, forwards nothing until confirmed, and still passes upstream filters through —confirmis hal0's own gate and is stripped so it never reaches the engine as an unrecognised filter. The two handlers share one_require_echoed_confirm, because duplicating the check per route is how they came to differ. Newexposure.CONFIRM_GUARDED_MEMORY_ROUTESnames the routes that must carry the echo, andtests/security/test_memory_bank_wipe_guard.pydrives every entry against the live app — so the next bank-scoped delete added to_FORWARDScannot inherit the passthrough silently.- An unaddressable memory namespace no longer collapses into a shared-bank sweep (#1451).
resolve_read_datasetsfiltered a caller'sdatasetlist against the spec §3 closed table and documented the result as "fail-open-empty" — right for a partial drop (["agents", "nope"]→["agents"]), catastrophic when the last entry was dropped, because[]is falsy and every consumer downstream read it back as "nothing requested":list(requested or [_SHARED])andreturn out or [_SHARED]in both providers,_requested_scope, anddelete()'s owndataset or _SHARED. Sodataset=["bogus-bank"]resolved to[]at the front door and to["shared"]inside the executor. The operator-visible shape is the one that matters: a bulkmemory_deleteis approval-gated on its arguments (mcp/admin.pygates any list-valued dataset), so the operator was shown a call naming a bank that does not exist, approved it, and watched it delete live documents out ofshared— on the deployed default (unified_bank = true) that is the only bank there is. Reads had the quieter half: a search or recall scoped exclusively to namespaces the caller may not address returned shared rows.[]now means no banks and onlyNonemay expand to the default: a non-empty request that resolves to nothing is aMemoryNamespaceError(400 /mcp.memory_schema) at the front door, and — because the REST delete route and the providers are both reachable without the resolver — an empty list handed to a provider sweeps nothing rather than everything.POST /api/memory/deletealso stops hand-rolling its list branch ([str(d) for d in requested]) and goes throughresolve_read_datasetslike the MCP surface, closing the two-surface drift thehal0.memory.namespacemodule exists to prevent.tests/security/test_memory_namespace_fail_closed.pypins the all-foreign list on the resolver, both providers, the three MCP handlers and the REST route; the pre-existing partial-drop behaviour is unchanged and covered by its own negative control. /api/memory/listandPOST /api/memory/deletefinally speak the same id (#1456).MemoryProviderpinsMemoryItem.idas "the document_id — idempotent, recall-visible, delete-addressable, NOT a per-fact id", and recall honoured it (document_id or id) while list inverted it (id or document_id). On a real Hindsight 0.8.x those are different UUIDs on the same item, so the round trip the API advertises — list, then delete what you listed — handeddelete_documenta fact id, 404-swept every bank, and returned{"deleted": 0}with a 200. Unified mode (the deployed default) failed in the other direction too:_deletable_idsmatched caller ids against the same fact-id field, so even a correct document_id never matched and was fail-closed withheld — the endpoint deleted nothing at all, for anyone. Every test agreed with the bug because every fakelist_memoriesreturned{"id": document_id}, a shape the engine never emits.idis now the document_id on every surface; the per-fact id moves tometadata.fact_idrather than disappearing (it is the only handle on an individual extracted fact); and_deletable_idsreturns a caller-id → document_id mapping, so a caller holding either handle resolves to the owning document while the engine is still addressed by document_id. Widening the id match did not widen the ACL — an unresolvable id and another agent'svisibility:privatedoc are still withheld, with negative controls intests/memory/test_memory_id_contract.py, whose fake deliberately returns a distinct fact id and document_id./etc/hal0/api.envis owner-only, and stays that way through an upgrade (#1466). The live box carried644 hal0:hal0on the file holdingHF_TOKEN,MINIMAX_API_KEY,OPENROUTER_API_KEY,HERMES_SESSION_TOKENandHAL0_TURNSTONE_TOKEN— every local account could read them. Four writers held three opinions, so the strictest always lost:installer/install.shseeded it 0644 and re-chmod 0644'd it on the network-block refresh, which #1375 made run on every re-run over an existing file, so any upgrade or repair re-published the secrets;_env_storewrote 0600 and had it undone;service_identitywrote 0640 for key rotation whileroutes/auth.pypromised "a never-world-readable 0640"; andinstall/perms.py— the engine whose job is converging the filesystem — pinned the row at0o644behind aFIXME(phase4)reading "may carry tokens", so it independently reverted every tightening the other three applied. There is now one constant,hal0.config.paths.API_ENV_MODE(0600), plus a singlepaths.api_env()resolver; the_env_storewriter, the rotation writer and the perms row all read it, and because the mode rides the temp file through the rename, the next dashboard write repairs an already-widened file rather than preserving it. The installer sets 0600 on both the initial write and the refresh, and no longer advertises a world-readable file in the comment that points operators at the dashboard Secrets path. 0600 rather than 0640: systemd readsEnvironmentFile=as the service manager before dropping privileges, so nothing needs the group bit, and a group-readable file becomes world-readable the moment a second account joins the group. A newhal0 doctorrow (check_secret_file_modes) fails critical on any group- or world-readableapi.env/openwebui.env— deliberately asserting the property rather than reading the perms table, because a check generated from that table would have agreed with the bug.- Settings ▸ Secrets stops offering hal0's own service config and auth keys as one-click removable secrets (#1450).
api.envis two stores in one file, and the route treated it as one:list_secretsenumerated every uncommentedKEY=line with no filter, anddelete_secretremoved anything matching^[A-Z][A-Z0-9_]{0,63}$— atomically, poppingos.environlive, returning an idempotent 204. So the dashboard renderedHAL0_ADMIN_KEY(written there byservice_identityon rotation, and whatroutes/auth.pyvalidates every login against) as a Remove button whose real effect is locking every new session out, andHAL0_PORT/HAL0_UI_DISTas buttons that break the service on next restart — with no confirmation dialog anywhere in the page, and captioned "Custom key · exported to hal0 services and slot containers as an env var".HAL0_is now a reserved namespace: those keys still list — an operator should be able to see what the service is configured with, and hiding them trades one lie for another — but carryprotected: true, and set/delete on them is a 403secret.protected. The gate is server-side because the UI is not the only caller. A prefix rule rather than an enumerated name list on purpose: a list goes stale the moment a newHAL0_*var entersinstall.sh, and it is the unlisted one that stays deletable. The page renders protected rows locked with no mutating control, and every remaining Remove now goes through a type-the-nameConfirmDialog— the value is never stored anywhere else and never shown again after saving, so there is nothing to undo with. - Pin the destructive
/api/memoryroutes as ADMIN, above the generic prefix rule (closes the last open slice of #1024). #1024's incident was a single unauthenticatedDELETE /api/memory/banks/{bank_id}that cascade-deleted ~632 live records; its echoed-?confirm=guard (#1028) and audit row (#1030) landed, but the classification itself was only ever ADMIN by generic prefix and nothing asserted it. That matters because #1024's own follow-up proposes "keep reads open if desired", and the natural expression of that — a_prefix("/api/memory")CLIENT rule — silently takes the bank wipe with it under first-match-wins. Two narrow rules (any DELETE under /api/memory,POST /api/memory/delete) now sit above the generic memory row, andexposure.DESTRUCTIVE_MEMORY_ROUTESenumerates the irreversible surface so a new memory delete route, or a reclassification, has to touch the constant in the same diff.tests/security/test_memory_delete_auth.pyasserts the constant tracks the live route table, that each route resolves via a pinned rule (not the ADMIN fallback), that all of them survive a simulated reads-are-CLIENT widening, and — against the realAuthEnforcementMiddleware, armed — that an anonymous call gets401, a client/inference key gets403, and the operator's admin key clears the gate.
Added
- The dashboard Services page can actually manage services under the shipped
User=hal0posture, and ComfyUI gains a Start (#1590, #1591). Every mutating verb on the Services page (start/stop/restart on all four cards) died with polkit's "Interactive authentication required":hal0.services.systemdinvoked systemctl directly under a stale "hal0-api runs as root" assumption, and thehal0-systemctlseam never covered companion units. The wrapper gainsstart-agent/restart-agent/enable-agentarms plus a closedsvc-<verb>family for the openwebui/hindsight units, the seam routes agent + companion units through it, andunit_actionexecutes via the seam. ComfyUI's new Start — on the service card and the Image-Gen header — deliberately drives the GPU-arbiter switchover (drain LLM slots, hand the iGPU over) rather than a rawsystemctl start, which would boot ComfyUI under the resident LLM stack; stop stays arbiter-only. The services cards also adopt the slot-card design system (container, typography, ok/err tokens,btn ghost smbuttons). - Delete in the model row's "⋯" menu (#1593). Deleting a model no longer requires selecting the row and reaching the detail pane — a danger item behind a divider opens the same
DeleteModelDialog(type-the-name confirm, blast-radius warning, refcounted blob release), offered only for installed local models. - Superset workspace lifecycle scripts (
.superset/setup.sh,run.sh,teardown.sh). Superset gives each task its own git worktree and keeps several alive at once, which breaks every default in the dev stack:scripts/dev-bootstrap.shbinds8080/5173/3001and names its OpenWebUI containerhal0-openwebui-dev, so the second workspace's startupdocker stopkilled the first workspace's container, and its dev servers either failed to bind or — with the UI — silently attached to a server running a different branch. That last failure mode is not hypothetical: it is exactly #1399, whichui/tests/e2e/port.tsalready fixed for the Playwright suite by hashing the worktree path into a stable, distinct port..superset/ports.shapplies the same rule to the dev servers, in windows that don't overlap the e2e one (api 18000–18499, UI 6100–6599, OpenWebUI 3300–3799), plus a per-workspaceHAL0_HOMEand container name.run.shis a thin wrapper that assigns those and hands off todev-bootstrap.shrather than forking a second launcher — one owner for "start hal0 locally" (CONTRIBUTING rule 11).VITE_API_TARGETis exported rather than written toui/.envbecause a Vite config file readsprocess.envand.envfiles never reach it; writing the file would have looked right and proxied/apito a dead127.0.0.1:8080.setup.shinstalls viauv sync --frozen --extra dev— the same lockfile path CI uses, so a workspace can't skew from it (CONTRIBUTING rule 10).teardown.shstops the workspace's services and reclaims the rebuildable artifacts, but exits non-zero when the worktree still holds uncommitted changes or commits reachable from no remote, which Superset surfaces as an error toast with a Delete Anyway button — a speed bump the operator can override, not a lock. Its "is this pushed?" test isgit log HEAD --not --remotes, not a comparison againstorigin/main: hal0 has noorigin(its remotes aregithubandhal0), so the obvious version would have reported a clean slate for every branch and discarded the work silently. hal0 slot migrate-flags— the flags-fold migrator finally has an operator entry point (#1396).hal0.config.migrations.slot_flags_foldhas existed since the flags-ownership lane, but nothing ever exposed it: no CLI, no installer hook, no boot wiring — only tests referenced it. Its sibling folds both had commands (slot migrate-hw,slot migrate-caps). Meanwhile the launch-side readers were already deleted (providers.containerdropsprofile_flags/slot_parallel/extra_args;resolve_chat_templateno longer consults the slot), so an upgraded box with a bench-tuned slot silently launched without that tune and had no supported way to recover it — the exact ordering hazard spec-flags-ownership §5.4 flagged ("readers become expired shims with a sunset"). The new command mirrorsmigrate-hw: dry-run by default,--applytakes a timestamped backup and passes thedeploy_window=Trueack, refuses to run while any hal0 unit is live (--stop-servicesto stop them), and is never wired into an automatic path. Divergent-share conflicts (two slots folding different tunes onto one model) are surfaced as a clean non-zero exit listing every conflict — on the dry-run path too, which previously would have raised an unhandledRuntimeErrorat an operator merely previewing a conflicted box.- Field-wiring and rejected-write contract specs for the slot + model drawers (#1371). Every editable drawer field routes its value somewhere specific — the batched
PUT /config, its own POST, or an instant-apply write — and several of those hops had no assertion that the value reached the wire with the right key, so a silent rewiring regression was invisible. Three new e2e specs close that:slot-drawer-field-wiring-v3(model swap →POST /swap {model_id}and its live-container confirm gate;parallel→PUT /config {parallel}incl. empty→null, untouched-never-rides, and sub-1 validation; the NPU Chat/Embed modality writes; the NPU chat-model pick; and the not-installed pull-then-apply flow, which must not write config while the download is in flight),model-drawer-duplicate-v3(POST /api/models/{id}/duplicatebody with and without a device template, id suggestion and pinning, invalid-id block, and the 409 path), anddrawer-save-errors-v3. That last one closes a whole missing axis: a grep forstatus: 4/status: 5across everyslot-*spec previously returned nothing, so nothing covered what happens when the server says no — precisely where an operator loses work. It pins that a rejected write never closes the drawer, the operator's edits survive, the backend envelope message is surfaced verbatim, a failedPATCH /defaultsshort-circuits the/configPUT rather than leaving a half-applied save, and a server-rejected NPU toggle reverts to server truth instead of displaying a state the backend refused.
Changed
- The slot drawer's header toggle is now Pinned/Unpinned, and an explicit
pinned = falseun-pins a default anchor (#1367). The §21.10 operator pin (SlotConfig.pinned) shipped with no UI surface at all, while the drawer header exposed the enable/disable flag — the toggle an operator actually reaches for when they mean "keep this slot resident". The header toggle now reads/writespinned(instant-applyPUT /config {pinned}, same shape as the old enable wire). Two backend halves make it honest:reaper.is_pinned()treated an authoredpinned = falseas indistinguishable from absent (is TrueOR anchor-set), soagent/utility/npucould never be un-pinned by config — the raw-TOML key now wins in both directions and the anchor set only applies when the key is absent; and the slot list (GET /api/slots) lifts the effective pin per entry, so a fresh install'sutilityrenders Pinned without a per-slot/configfetch. The unload/delete guards are unchanged (409slot.pinned,?force=truebypass) and are now covered by route tests, including the un-pinned-anchor path. Enable/disable is untouched backend-side; its drawer toggle is gone (removal ofenableditself is staged separately).
Fixed
- Saving slot settings could crash the whole Slots view to the error boundary (#1588). The save invalidates the slots query; on a box with a slow
GET /api/slotsthe next poll can briefly return a list without the edited slot, andEditSlotDrawer'suseRefSM(baseline ? slot.name : null)initializer argument was evaluated on that render — before the cleanup effect that drops the baseline could run. Regression from the #1447 frozen-baseline rework; only the save path triggered it (cancel/close keeps the slot in the list). Reproduced and verified fixed live. - Settings info icons sit inline with their labels (#1592).
.s-row .kstill carriedflex-direction: columnfrom the era when the sub-text rendered under the label, so everyFieldInfoIcondropped below its label — same defect and same fix as the model/slot drawers'.form-lbl. - The slots-page activity sidebar no longer stretches past the main column (#1594).
height: 100%on the log card fills the stretched grid track but does not stop the log's intrinsic content height from driving track sizing, so a long feed extended the row thousands of px past the NPU pane. The side column's child is now absolutely filled into the stretched track (contributing nothing to sizing); single-column breakpoints revert to in-flow with a 70vh cap. - A FastAPI minor bump silently removed the entire MCP surface. FastAPI 0.138 stopped flattening
include_router:app.routesnow holds onefastapi.routing._IncludedRouterper included router instead of that router'sAPIRouteobjects, and the wrapper carries neither.pathnor.methods.build_admin_route_map's flat one-level walk skipped every one of them, returned an empty map, andinstall_admin_route_mapraised "catalog drift" for ~85 classified routes — whichcreate_appcaught and logged, so/mcp/adminand/mcp/memorynever mounted while the API kept reporting healthy. Found live on halo: 21 boots, 0 successful mounts. CI could not see it, because the test venv resolvesfastapifromuv.lock(0.136.1, still flat) while the installer resolvespyproject.toml, which pinnedfastapi>=0.115with no upper bound — so every fresh install got the restructured version and lost its agent control surface. Three-part fix: the walker descends through wrappers viaeffective_candidates()(duck-typed, depth-bounded, verified against real 0.138 — 315 route-map entries, both servers mounted);pyproject.tomlgains<0.140; and a mount failure is now anerror-level log recorded onapp.state.mcp_mount_error. - A failed MCP mount is now visible instead of only logged.
create_appstill survives the failure (a serving API with no MCP beats no API), but/api/health/systemreports amcp_mountcheck that names the reason and flips the whole payload todegraded. The blocker above hid behind a single warning line for 21 boots with every health endpoint sayingok; this makes that class of failure surface within a boot. - An in-place upgrade left the OLD code serving. The installer ended with
systemctl enable --now hal0-api;--nowstarts a stopped unit but is a no-op on an active one. So an upgrade over a live box replaced the venv, swapped/usr/lib/hal0/current, printed its success banner and exited 0 while the running process kept serving the code it had already imported —hal0 --versionand/api/healthdisagreed until someone restarted by hand.start_or_restart_apinow enables for boot either way and issues an explicitrestartwhen the unit is already active. Deliberately the opposite policy from slot units, which are still not bounced (a slot restart costs a model reload; hal0-api is the thing being replaced). - Slot drawer — restore the per-slot
ReasoningandMTPcontrols (fixes γ-suite, #1333). Thefeat(ui): slot drawer & model drawer reworklanded with Reasoning + MTP removed from the slot drawer under "now model-owned"; the model drawer carries model-level defaults but operators need a per-slot override. Re-added the Reasoning pill (llm slots only, instant-apply viaPUT /config { enable_thinking }) and the MTP pill (llm slots only, tri-state Auto/On/Off, instant-apply viaPUT /config { mtp }+ non-blocking cold restart) into theInferenceFieldGroup. Renamed the HW gridHardwareFieldGroup →Slot(the drawer is now Slot / Model / Inference) and the runner-binary select labelProfile→Binary(the bound runner stays on the slot card chip — no editable profile select in the drawer). The 12 γ-suite slot-drawer tests that were red on main since 2026-07-20 (#1333) all pass. - Hermes gateway install runs as root — fix installer
sudo -u hal0→ root call (PR #1337). The installer was dropping to thehal0user before runninghermes gateway install --system, which checksos.geteuid() == 0and refuses non-root. The--run-as-user hal0flag already tells hermes which runtime user to bake into the systemd unit. Validated on halo150 (10.0.1.150, podman 4.9.3). /mcp/memorybulk delete was an ungated bypass of the admin approval queue (#1302).mcp__hal0-admin__memory_deletegateslen(ids) > 1through the approval queue, but the standalone/mcp/memorymount ran the same tool against the same provider with no gate — an agent holding only the narrow memory surface could bulk-delete without an operator ever seeing a prompt. The memory dispatcher now takes the process-wideApprovalQueueand enqueues bulk deletes itself, delegating the classification tohal0.mcp.admin.is_gatedso the two mounts cannot drift. The dispatcher handed to the admin server deliberately stays ungated (admin gates first, then runs the approved call through it — double-gating would re-enqueue an approved call forever). Single-id deletes stay autonomous./api/memory/*auth posture ratified as perimeter-only (#1302).X-hal0-Agentis self-asserted and hal0 does not authenticate it — there is no credential to check it against (ADR-0012 removed auth platform-wide). hal0 validates the header's shape and rejects a body-suppliedsource, so audit can never disagree with the namespace a write landed in, butprivate:<agent>is an isolation boundary between cooperating agents, not a security boundary against a hostile LAN caller. Documented for operators indocs/concepts/security.mdx(with the reverse-proxy header-injection pattern for multi-tenant deployments) and next to the code inapi/routes/memory.py.- Hindsight→pgvector degrade ladder was inert;
degradedreported healthy while memory was broken (#1301)._build_hindsight_clientonly calledHindsightRestClient.from_env(), which builds an httpx client and does no I/O — so a daemon that was down never raised at boot andprovider_from_config's degrade branch never fired. Operators got a live-but-brokenHindsightProviderwithdegraded=False: failures surfaced only as empty recalls whileGET /api/status.memory_degradedandhal0 memory statusboth said healthy. Construction now probes/health(the same endpointinstall.shwaits on), timeout-bounded viaHAL0_HINDSIGHT_PROBE_TIMEOUT_S(default 2s). A401/403passes — that proves the daemon is answering, and a wrong API key is not a reason to silently drop the durable engine;5xx, connect errors, and timeouts degrade. project:<id>isolation was a silent no-op inunified_bankmode (#1300). Under the default config every namespace exceptagentscollapses onto the singlesharedbank.private:survives that collapse becauseaddstampsvisibility:private+agent:<id>;project:<id>got no compensating marker, so aproject:foowrite became an ordinary shared write and aproject:barrecall returned it — project scoping did not exist. Writes now stamp aproject:<id>tag on collapse, and recall / list / delete filter by it, reproducing the bank isolation legacy multi-bank mode gets for free: a project read sees only that project, asharedread does not see project docs, and the filter composes with (rather than shadows) private visibility. Delete is gated on the same predicate, so a project-scoped delete cannot reach outside its scope. Legacy multi-bank mode is untouched — no tag, isolation still by bank.slot loadno-op'd on a live slot, so config edits never converged (#1224 part 2). The unit file claims to be "regenerated on every slot load", but a load on a ready/serving/idle slot short-circuited to a status snapshot.PUT /api/slots/ops/config {"port": 8091}→slot load opsreturned the stale snapshot with the container still on--port 8089, and the next implicit reload cycled warming → error with nothing listening on either port; recovery neededsystemctl reset-failedplus a second load from the error state — the only path that regenerated. An explicit load now compares the running argv against what a restart would render (reusing the drift comparator, which cannot be lost across an api restart and self-heals a unit drifted by any route) and converges when they disagree. Unchanged slots stay a no-op, and an unreadable comparison counts as "no drift" rather than bouncing a healthy container.--portjoins the compared keys — it is the field the issue was reported against.slot restartcould hang forever on a wedged unit (#1224 part 1, completing the earlier fix).terminateransystemctl stopas a blocking executor call with no timeout; against an already-failedunit that never returns, sorestart's best-effortsuppress(Exception)could never fire and the CLI ReadTimeout'd with the unit never relaunched. The stop is now bounded (SlotManager._terminate_timeout_s, default 30s) and raisesSlotTerminateTimeouton expiry. We cannot kill the executor thread, so this does not cancel the stop — it hands control back so the caller converges instead of hanging; the abandoned thread retires on its own.hal0 update --rollbackreported success while the version it rolled away from kept serving every request (#1541). Rollback reverts thecurrentsymlink and re-pips the venv but never bounceshal0-api, so after a rollback the box sits in a split state: disk, venv andhal0 --versionall say the old version while the running process is still the new one. The banner said onlyrolled back (<channel>)and exited 0. This is the emergency path — it is what an operator reaches for when the new version is actively misbehaving — and every signal they would naturally check confirmed the rollback and reinforced the wrong conclusion. The CLI now names the version it reverted to, compares it against the version/api/healthreports as actually running, and when they differ says so and printssystemctl restart hal0-api; the warning is suppressed when the service is unreachable, since nothing stale is serving then. The running version is read from the API response rather than the CLI's own in-processhal0.__version__, which was imported before the swap and would have compared the old version against itself. Separately, the route was discarding everythingUpdater.rollback()computed —rolled_back_to,previous_nowandschema_warning— and now returns all three; the droppedschema_warningflags a forward-only migration the reverted tree may not understand, which is a data hazard that was never reaching an operator.- A successful
hal0 updatereported an error and exited 1 (#1540). Applying an update restartshal0-api, and the CLI polls job status through that same API — so the connection-refused it gets back mid-restart is the expected response, not a failure._poll_jobtreated the first transport error as fatal and calleddie(), so every successful update ended in a red error and a non-zero exit; automation reading that exit code would see a good release as a failed deploy. Two further defects sat behind it. The restart was a blockingsystemctl restartissued from insidehal0-api.service's own cgroup, so systemd SIGTERM'd thesystemctlcall and the calling process together — the wrapper now passes--no-block. And the job's terminalappliedstate was written only after that restart returned, so on a real box it frequently never reached disk at all; the terminal state is now persisted before the restart is attempted, withrestarted=Nonemeaning "applied, bounce still in flight". Retrying the poll alone would not have fixed this: the CLI would have re-attached after the restart, read a stalerunningsnapshot and still failed, just ten minutes later on the poll timeout. Only transport failures are retried — a live API answering 4xx/5xx still fails immediately, so a genuine commit failure cannot turn into a hang. - A fresh install could not register a single model: the primary database was root-owned and no ownership row covered it (#1546).
hal0-apiruns asUser=hal0, but/var/lib/hal0/hal0.dbis created by root during install (the schema migrator runs before the daemon first starts) and was never chowned. SQLite needs write access to the file, not just its directory, so every registry write failed withattempt to write a readonly database— and because registration happens after the download,hal0 model pullfetched the entire artifact (532 MB in the report) before failing, leaving unregistered weights orphaned on disk. The ownership table had a row forregistry/hal0.db, which only ever matches aSqliteModelRegistry(registry_dir=...)override used for test/dev isolation; production resolves throughpaths.db_path()tovar_lib/"hal0.db", which had no row at all. Soinstall.shprintedownership table applied (37 path(s) reconciled)andhal0 doctor permsreported the box clean while the registry was unwritable — the same "the check agrees with the bug" shape as #1466. The primary database and its-wal/-shmWAL siblings now have explicithal0:hal0rows, so bothdoctor permsandperms --fixcover them. - The Connections endpoints pane claimed "auth none · open on lan" and emitted a cURL with no Authorization, regardless of the live auth toggle (#1467). The copy and the generated command were static leftovers from "no inbound auth in v0.3", while Settings ▸ Security ships a working
PUT /api/auth/requireand/v1/*is CLIENT-classified — so with enforcement armed the pane told an operator the box was open and handed them a command that 401s. Both are keyed onuseAuthStatusnow: the auth row and pane footer read "client key required", and the cURL gains-H "Authorization: Bearer $HAL0_CLIENT_KEY". - The Security page's client-key action was disabled with a reason that was no longer true (#1467). It read "Setting/clearing the client key has no route yet — keys are configured via HAL0_*_KEY env today", but
POST /api/auth/rotateacceptstier: "client"(Literal["admin", "client"]) and mints the key live. The dead button is replaced with a working Rotate action reusing the existing dialog, which already parameterised tier;lastRotatedis now tracked per tier so both rows show their own fingerprint and timestamp. The matching stale comments inuseAuthStatus.ts("there is likewise no key-rotation route") andendpoints.ts("ExposureTable currently ships a stub-with-reason") are corrected too. - Saving an HF token swallowed every failure (#1467).
setSecret.mutatecarried noonErrorand the component never renderedsetSecret.isError, so a backend rejection — e.g.400 secret.value_invalidfor a non-printable value — was invisible: the field kept the typed token and the status stayed "not set" while the operator believed it had saved. Now surfaces the error the way the Remove action on the same page already did. - The Voice and Image-Gen panes rendered blank controls with no error state when the capability probe failed (#1467). Both gated only on
capsQuery.isLoading, so a failedGET /api/capabilitiespainted unchecked, empty controls as though nothing were configured — with Save still clickable, inviting a write of model/enabled selections against unknown live state. Both now follow theAdvancedPagepattern: an error banner, and Save disabled while the probe is failing. - Upstreams mutations failed silently (#1467). The enabled and advertise toggles, the filter Apply/Clear, Delete, and the per-row key save all called
mutatewith noonError, so a failed PATCH just snapped the checkbox back on the next refetch with no explanation. Worse,AddUpstreamFormclosed ononSettled, so a failed credential write left the upstream created but keyless with only an "OPENROUTER_API_KEY unset" chip as evidence. All now surface errors, and the add form usesonSuccess/onErrorso a failed key write keeps the form open with the reason shown. - The Updates page's "Auto-check" row could never read anything but enabled (#1467).
updater.pyreturned a literal"autoCheck": Truederived from nothing — no timer, no config knob — and the UI rendered it as "Background update checks by the daemon · enabled", so an operator who masked the check timer still saw green. The tree was searched for any real signal (systemd units, config keys,registry/update_check.py— that one is the model-registry checker, unrelated) and none exists, so the row is removed rather than fabricated: a permanently-green evidence row is worse than no row. The wire field itself is left in place; retiring it is a separate contract change. - A second toast replaced the first instead of queueing, and any toast fired before React mounted was silently dropped (chrome GA polish, #1473).
globals-install.tswireswindow.__hal0Toastto theuseToastStorezustand store before React mounts (so bundle-init and the AuthGate login screen can toast), but nothing ever rendered the store'squeue—dash/main.jsxkept its own single-slotuseStateand unconditionally overwrotewindow.__hal0Toastwith a wrapper around it on every App mount, so anything already queued in the store was orphaned and a second toast while a first was showing clobbered it rather than stacking. AddedinstallToastQueueHook()(window.__hal0UseToastQueue, same window-hook-bridge patternboard-hook-bridge.tsuses for the no-ES-importsdash/*.jsxprototype files) and aToastHost-style render inmain.jsxthat maps the real queue; deleted the shadowuseState. CSS gained a.hal0-toast-stackfixed-position flex wrapper —position: fixedon each.hal0-toastdirectly (the old rule) doesn't respect DOM nesting, so multiple simultaneous toasts rendered on top of each other regardless of queue order. ApprovalModalfabricated acapabilityandpolicyrow, and a "Deny + remember" button that behaved identically to plain Deny (chrome GA polish, #1473).ApprovalEntry.as_dict()(src/hal0/mcp/approval_queue.py) carries nocapability/policyfield — the rows were synthesized client-side from data that doesn't exist server-side, and the "remember" button'sonClickwas byte-identical to the plain Deny handler, so it never remembered anything. Both rows and the dead button are gone; the footer's dangling "Configure auto-approve rules in the agent view." (no such surface exists) is gone too.- The dashboard throughput card's footer crashed to
"undefined slots serving"when the latest sample had nototal_tps(chrome GA polish, #1473).RDThroughputCardrendered`${serving} slot${...} serving`unconditionally onceisPendingcleared, butservingis derived from the last sample'stotal_tps, which can benull/missing on a freshly-warming slot. The footer now reads "no samples yet" in that case instead of the literal string "null slots serving". - MCP tool errors had two different shapes depending on which path failed, so
error.codewas unreachable for every REST-forwarded failure (#1468)._call_restreturned the hal0 REST envelope verbatim under its ownerrorkey, yieldingerror.error.code, while every in-process path —mcp.unknown_tool,mcp.missing_arg, the memory dispatcher — returns a flaterror.code. An MCP client or the hal0-brain toolloop branching onresult["error"]["code"]therefore readNonefor every forwarded 4xx/5xx, andhttp_statusexisted on only one of the two paths._rest_error_payloadnow lifts the inner object (message and details included) so both paths answer to one accessor; a non-hal0 body — FastAPI's bare{"detail": …}, a reverse proxy's HTML 502, an empty body — keeps all of its diagnostic content under a syntheticmcp.rest_errorcode rather than being dropped, because that body is often the only evidence of what actually broke. - The Connections blast-radius manifest showed
args: objectfor all ~92 hal0-admin tools, making the tool-detail feature dead for the entire admin surface (#1468).build_serverdeliberately advertises each admin tool as a single object-typedargsproperty wrapping the real per-tool schema (a flat signature would make FastMCP silently drop undeclared body fields), but_args_signatureonly walked top-level properties — so the renderer that exists precisely to show "the contract … an args signature" rendered the wrapper instead of the contract. The memory server's flat schemas proved the renderer itself was fine._unwrap_args_envelopenow descends through exactly that wrapper shape — a loneargsproperty that is itself an object with its own properties — leaving genuinely flat schemas untouched, and leaving a tool that really does take one opaqueargsobject rendered as such rather than as "no args". - The MCP install catalog shipped v0.3-alpha mock data at GA: invented popularity metrics, and five
verified: trueentries that could not install (#1468). Checked against the live npm registry:@modelcontextprotocol/server-puppeteer,-gdriveand-slackare retired upstream, and@modelcontextprotocol/server-sqlite,@linear/mcp-serverandhomeassistant-mcpreturn 404 — so every entry wearing the curated badge was a guaranteed failed-or-unsupported install, while three of the four unbadged community entries resolved fine. Sincehal0 mcp catalog installfeedsspecstraight to the npm resolver, the badge was actively inverted from reality. The dead entries are replaced with first-party servers verified to resolve (server-filesystem,server-memory,server-sequential-thinking,server-everything, and@playwright/mcpas the maintained successor to the archived puppeteer server);starsandtoolsare removed rather than re-sourced, because a popularity figure an operator might weigh a trust decision on has to come from somewhere real and nothing here can supply one.verifiednow carries one enforced meaning — first-party publisher, not a security review — a newadvisoryfield states that in the payload so no consumer invents its own wording, andcategoriesis derived from the items instead of being a hand-maintained Title-case list that matched none of the lowercase item categories. The CLI table drops the two invented columns in favour of the installspec. - A
<tool_call>wrapper holding more than one<function>ran only the first — the rest were silently dropped (#1509). The nested attribute-XML branch acceptednested[0]and nothing else, while still recording the whole wrapper's span, so the siblings were lost twice over: never accepted there, and then skipped by the later bare-<function>pass as already-consumed. No error, no log, no trace in the cleaned text — a model that asked for two tools and got one is indistinguishable, from the operator's side, from a model that only asked for one. That is the same silent-divergence class as #1419, which is why this came out of the #1477 LOW sweep and was fixed on its own branch. Every nested call is now accepted, with the wrapper span recorded exactly once regardless of how many calls it held:cleaneddeletes each recorded span in turn, so a duplicated span would have cut a second, unrelated slice out of the reply. Same fix run: a mangled call with no</function>(the wire form #1434 targets) bounded its final parameter at end-of-turn, so the tool received the model's closing prose appended to its last argument and the span covering it stripped that prose from the visible reply — two failures from one bound. It now stops at the first paragraph break, which is the cheapest signal that the value ended and the model went back to talking; bounding at the first newline instead would truncate the many legitimately multi-line values (file bodies, patches, prompts), so a multi-line value with no blank line still arrives whole. The #1419 live-captured tag-stripped form (name="get_weather"> name="city">Paris) is pinned as a regression guard. - Six memory-bank panels rendered an engine outage as an empty bank; one made its card vanish entirely (#1539, first tranche). Every panel read
query.data?.<list> || []and rendered an empty-state when the list came back short — but a failed query hasdata === undefined, so the fallback fired and a 503, a dropped connection or a restarting hindsight-api was indistinguishable from a healthy quiet bank, which is exactly what a fresh install has. This is the #1471 defect (the graph explorer) repeated across the bank surface, except here there was no branch to get wrong: none of these panels consultedisErrorat all. Documents, mental models, directives and the retain timeseries said "No documents in this bank." / "No mental models defined." / "No directives." / "No retain activity in this window."; the operations panelreturn nulled on an empty list, so the whole card silently disappeared; and bank cards showed every count as0, so an unreachable engine read as a bank with nothing in it. All six now announce the outage with a retry, and the bank card carries a compact "stats unavailable" chip rather than a banner per card. None of this was testable before #1538 made a non-ok response representable under forced-mock — which is why it shipped unnoticed. - Settings ▸ Updates displayed a release channel it had failed to read, and kept "Roll back" armed against the version it never got (#1539, second tranche).
/api/updates/statefeeds seven call sites and none of them consultedisError; six were honest about a failed read anyway — the footer chip and the update banner stay hidden, About renders "—", the notification bell drops the row, andmain.jsxleaves the tab title on its build-time stamp. The Updates page was the exception, and in the #1467 shape exactly: the channel<select>readu.hal0?.channel || 'stable', so any outage displayedstable— a specific, plausible, persisted-looking value the page never actually read. A box onnightlywas shownstablewith nothing on the page to suggest the read had failed, and the picker stayed live, so "switching" away from that phantom baseline was one click. The hal0 row fell through tocurrent {u.hal0?.current}withcurrentundefined, rendering the bare word "current" followed by nothing. The tell that this is a defect class and not a missing banner: the Auto-check row in the same panel already guarded onstateQuery.dataand rendered "—" (that guard is #1467's fix) — one row was honest and the one next to it fabricated a value. The panel now announces the failed read with a retry, the version renders "—", the channel select holds an explicit empty option and goes inert, and roll back — the one irreversible control here — is disarmed until a real payload lands. Driven through #1538's__hal0MockPassthrough, sinceupdatesStateis a plain allowlist row that forced-mock substitutes before any fetch is issued. - Every UI error state behind a mocked route was untestable by construction; the e2e suite could not tell a working error path from a broken one (#1498, #1527). Forced-mock (
VITE_MOCK_HAL0=1, always on for Playwright) guaranteed a successful response for all 30 allowlisted GETs, by two separate mechanisms inmockFetch: 24 plain rows were substituted before any fetch was issued — so apage.routeoverride never even saw the URL — and the 6networkFirstrows reached the network but had any non-ok response replaced with the baked payload. An error response was therefore unrepresentable anywhere in that class. This was found twice independently, from opposite ends: #1471's "memory engine unreachable" branch and #1467's capability-probeisErrorbanner each had to ship uncovered, and in both cases the red-first attempt did not go red, which is what exposed the harness rather than the code.window.__hal0MockPassthroughnow lets a spec claim paths (string prefix or RegExp) and drive its own responses. It gatessubstitutable, which all four substitution branches already consult — pre-fetch, 404 fallback, network-error fallback and thenetworkFirstrescue — so one flag covers every branch instead of leaving a hole in whichever one a future comment forgets. Scoped rather than global, so claiming one path leaves the rest of the surface mocked and an opted-in spec needn't re-stub everything; it can only ever disable substitution, so it is inert in dev and production. The three memory-graph outage assertions dropped from #1471 are restored, and the mechanism is pinned by 9 cases inui/src/api/mock.test.ts— including that a malformed value is ignored rather than taking down every request on the page. - Settings section navigation now tracks the URL hash both ways (#1438).
SettingsShellseeded a localuseState(initialSection)from theparamprop once at mount; since the outer router keepsrouteat"settings"across every#settings/<section>hash (only the sub-path changes), the component was never remounted — only re-rendered with a newparam, which the local state ignored. Deep links landed on the wrong section, and browser back/forward did nothing.sectionis now a pure derivation ofparam(no local state), and the nav'sonSelectwrites the hash instead of local state, so the existinghashchangelistener is the single feedback loop for both directions. - The console no longer logs a 404 for
GET /api/migrations/flag-reporton every route (#1439). The backend route doesn't exist yet (flagged — it lands with the migration lane), butuseMigrationReportpolled it every 60s from the app root (MigrationBannermounts inmain.jsx) regardless of page. The hook's try/catch prevented a crash but not the browser logging the failed request. The query is nowenabled: falseuntil the real endpoint ships;report/count/hasWorkalready resolved to the same empty values against a 404, so this is a pure noise fix. - The models catalog list now shows which model is the default for its type (#1440).
model.defaultalready drove the drawer's "Default for {type}" badge, but the list row never read it — an operator had to open every row's drawer one at a time to find the current default.ModelRownow renders a✓ defaultchip whenmodel.defaultis true. - The duplicate-model dialog no longer claims a false "You can undo this later." (#1442). Duplication has no undo — delete is the (refcounted) inverse. The shared
ConfirmDialogprimitive's default non-destructive footer copy is accurate for most of its callers but not this one; it now accepts an optionalfooterNoteoverride, andDuplicateModelDialogstates the real contract: "The duplicate can be deleted at any time; weights are shared." /v1/images/generationsaccepted curated entries that are not renderable checkpoints and silently pinned a LoRA or a.pthupscaler in as the workflow checkpoint (#1470). The gate was a barecurated.capability != "image"check, but six curated entries carrycapability="image"and two are not checkpoint files:esrgan-4xis a RealESRGAN.pthupscaler (comfyui_subdir="upscale_models") andsdxl-lightningis a LoRA whose own notes say it needs the SDXL base already loaded. Both passed, andtemplate_for_model_classdeliberately falls back tosdxl_turbo_simplefor any unrecognisedmodel_class— so the request was rendered with the wrong file as the checkpoint, yielding a ComfyUI node failure or garbage instead of a clean 4xx. The gate now requires both that the entry is staged as a real checkpoint (comfyui_subdir == "checkpoints") and that itsmodel_classresolves to an explicitly-declared template. Theandmatters:sdxl-lightningis already taggedcomfyui_subdir="checkpoints"— that mistagging is part of the bug — so the more obvious "checkpoint or has-a-template" rule would have let the LoRA straight back through. One further entry changes behaviour as a result:SD-Turbo-GGUF(model_class="sd-turbo", absent from the template map) now returns a clean 4xx where it used to be rendered through the sdxl-turbo template with a.ggufpinned as a safetensors checkpoint — the same defect as the two named ones, previously unnoticed.Flux-2-Klein-9B-GGUFstill passes, since itsflux-kleinclass is a deliberately declared soft-fallback. The 404's built-ins list is now generated from the curated table through the same predicate the gate uses, so message and gate cannot drift.- The ComfyUI pane rendered a fictional job whenever the status fetch failed (#1470).
paneDatafell back toCOMFYUI_V2_MOCK— "generating · 72%", a wan2.2-i2v render at KSampler step 3/4, a queue holdingqwen-imageandsdxl, GTT 54/80 — on first paint and for as long as/api/comfyui/statuserrored, so an API outage or auth failure looked like a busy GPU.COMFYUI_FALLBACK, the hook's purpose-built neutral "stopped shell", was imported and referenced nowhere: the intended wiring had been dropped. The fallback is nowtransformComfyuiStatus(COMFYUI_FALLBACK), with the mock reachable only through thewindow.__comfyuiV2MockOverridee2e seam. - Dead controls removed from the ComfyUI pane (#1470). "Stop container" rendered an
onClick={onStop}that the sole call site never passed, and no stop mutation exists inuseComfyui.ts— a silently inert stop button on a GPU-exclusive engine is worse than none. Pending queue rows rendered Logs and Remove buttons with no handler at all, and the no-URL branches rendered a plain "Open ComfyUI ↗" button that did nothing. All are dropped rather than wired to speculative endpoints; the rest of the app already treats ComfyUI as restart-only (the GPU arbiter owns start/stop). - The Voice page presented Kokoro's behaviour as engine truth while the shipped default is qwen3tts (#1470). The default-voice option advertised
af_bella, the speed hint claimed "Kokoro clamps to 0.5–2.0", the sample-rate row read "fixed by the Kokoro engine · 24 kHz", and the seed-pack fallback keyed onttsModel.toLowerCase().includes("kokoro")— all rendered unchanged for a liveqwen3ttsselection. The STT half hardcoded a "Language: English" row from moonshine's English-only limitation while the live catalogue is multilingual Whisper-Large-v3-Turbo. Every one of those is now keyed on the selection's actualprovider, which both the catalogue rows and the persisted selection already carried. Checked against the engine rather than guessed:qwen3tts_server.pydoes clamp speed to 0.5–2.0 (so that hint survives for both bundled engines) but its default voice isRyan, notaf_bella, and its sample rate is whatever the loaded model's codec reports at startup, not a fixed 24 kHz. doctor allreported "Slot ports — slots endpoint unreachable" on a box that was serving every slot (#1501). The check never probed reachability; it inferred it._get_anyswallows aCliApiErrortoNone,check_portsrendered anyNoneas "unreachable", andapi_get's budget is 10.0s — butGET /api/slotsis the slowest read-only route hal0 has, because the aggregator merges SlotManager entries with upstream-backed ones and container-probes each, so its cost scales with slot count. Measured on lxc105 (19 slots): 11.2–14.6s.httpx.TimeoutExceptionsubclasseshttpx.HTTPError, so the timeout became aCliApiError, becameNone, and became a false negative on the operator's first-line diagnostic — the failure mode that teaches people to ignoredoctorright up until it is telling the truth. The slots probe now gets its own 30s budget (SLOTS_PROBE_TIMEOUT_S), and_get_anytakes a per-call timeout so one slow route doesn't loosen the budget for every other probe in the roll-up.check_portsalso stops conflating two different faults the waycheck_model_storenever did: aNonebody ("no answer — down, or slower than the probe budget") is a distinct row from a non-list body ("unexpected slots payload"), because a shape regression being reported as a connectivity problem sends the operator to the wrong place. Both rows now name a follow-up, and the command they name exists: a newhal0 doctor portslists each slot's bound port and fails on a collision — previously that row was the only failing row in the table pointing nowhere (No such command 'ports'. Did you mean 'perms'?). Note this makesdoctorhonest about a slow endpoint; it does not make the endpoint fast, and the dashboard polls that same route.- The per-slot log stream had no keepalive, so a quiet slot's SSE connection was reaped and every reconnect duplicated up to 400 lines (#1472).
tail_journalyields only journalctl output, so a slot that iswarming, idle, or simply not logging emitted zero bytes — verified on the live box, where a 4-secondcurl -sNagainst a warming slot returned nothing at all. Any proxy idle timeout then dropped the stream while the client still reporteddisconnected=false; the client's own reconnect re-opened the same URL, the server replayed its 400-line default backfill, and the slot-log ring appends without content-dedup (correctly — raw journald repeats progress-bar lines legitimately), so each drop could duplicate 400 lines. Both sibling SSE routes already pulsed at 15 s; this one was the exception.tail_journal_keepalivenow yields an idle tick on the same cadence, and reconnects requestbackfill=0. The wrapper pumps through a queue rather than the obviousasyncio.wait_for(agen.__anext__(), …): that cancels a half-executed async-generator frame on every idle tick, and an async generator is not re-entrant across a cancelled step — on a quiet slot that failure mode would be the normal path, not an edge case. The stale comment inuseLogs.tsjustifying dedup-free append ("the backend backfills once with no replay on reconnect") is corrected; it was false for self-initiated reconnects, which is precisely when it mattered. GET /api/slots/{name}/logsreturned a bare empty string with no explanation (#1472).read_tail's contract promises("", <hint>)when a unit has never started, and the route only attaches ahintkey when one comes back — but the success path returned(text, None)unconditionally, so a journalctl that ran fine and printed nothing produced{"logs": ""}and a blank pane with no reason. Now hinted, including whenquiet=Truefilters a noisy-but-real tail down to nothing, since the operator sees the same blank pane either way.- Retired
lemondreferences removed from live dashboard copy and gating (#1472). The lemonade daemon was removed in #687, but the board task drawer still told operators "worker streaming · tail attached to lemond journal",chrome.jsxcarried a colour token for a source that can no longer appear, and the Scheduler card justified its permanent gate with "lemond dispatcher is stateless". The card stays gated — checked rather than assumed:/api/stats/requestsis a throughput rollup, not a queue, andsingle_flight.in_flight_keys()is in-process and unrouted, so there is still no scheduler telemetry to render and ungating it would mean inventing a source. Only the rationale was wrong, and it now names the real reason. - The Agents overview claimed Pi and Turnstone stream live status; neither card can ever have a record (#1472). The header read "Hermes, Pi, and Turnstone are live — their cards stream real install/endpoint status", and both cards looked themselves up in
GET /api/agents. That lookup can never hit:BUNDLED_AGENTSis("hermes",)andPOST /api/agents/install404s any other name, so both rendered a permanent "not installed" — which reads as installable, just not installed yet, contradicting the page's own legend. Both are labelled as roadmap entries now and the dead lookup is dropped rather than left implying a signal exists; the copy says only what is true. - Board mutations toasted success before the request resolved, with no failure feedback (#1472). Comment, link, dep-removal, specify, decompose, status change, reassign, dispatcher nudge and lane drag all fired their toast synchronously with
.mutate(), and none of the board hooks surfaced errors — so a 4xx/5xx (notably the 409 If-Match conflictboard.pydocuments) still read "posted"/"linked"/"queued" while the change silently vanished on the next refetch, defeating the one job the toast has. Every one now settles first and reports which way it went. On multi-id operations success is announced once but failures are announced per id, because "which one didn't move" is the detail worth having. - The dashboard's Operator Board chat hardcoded
model: 'hal0/brain'on every turn, permanently defeating[brain_chat].modeland the persona'spreferred_model(v1.0 GA polish, chat sweep #1469).board_chat.py(a transparentsys.modulesalias ofbrain/chat.py) resolvespayload.get("model") or cfg.model or default_model— an explicit client-sent model always wins, so the dashboard's hardcoded constant made the config override and the persona default dead for the primary chat surface, and its own comment claiming the model "routes to the agent slot" contradicted the constant it sent (hal0/brain). The dashboard now omitsmodelentirely and lets the server-side precedence chain decide. - The omni router picked a caller slot by declaration order, not health, when two slots bound the same model id (v1.0 GA polish, chat sweep #1469).
_maybe_run_omni_loopmatched the request's model against configured slots'model.defaultand took the first match — the same class of bug #1418 already fixed for the backend-aware load path, and observed for real on lxc105 (two slots sharing one checkpoint). Now reuseshal0.dispatcher.lane_pin.preferred_slot/lane_slot_pin, so an ERROR-parked slot declared first no longer wins over a healthy sibling, and an explicit lane pin from upstream resolution is honoured. - A failed omni tool-calling loop returned HTTP 200 with a bare
{"error": "<string>"}body (v1.0 GA polish, chat sweep #1469).OmniRouter.run_loop's failure contract (transport/HTTP/non-JSON failures, and the loop-budget-exhausted fallback) is a plain{"error": ...}dict —_maybe_run_omni_loopjson-dumped that straight into a 200Response, indistinguishable from success on status code alone. It now raises a typedHal0Error(omni.loop_failed, 502), rendered through the same structured{"error": {"code","message","details"}}envelope every other/api/*failure uses. - 7 of the omni router's 8 tools were permanently inert:
required_model_labelsgated on[model].labels, which nothing writes (v1.0 GA polish, chat sweep #1469). The label overlay (resolve_for_request's step 2) required an exact hand-authored TOML label match with no fallback — every live slot TOML carries zero labels, sogenerate_image/text_to_speech/transcribe_audio/analyze_image/embed_text/rerank_documentscould never find an eligible slot even when a correctly-typed, correctly-capable one existed.LoadedSlotnow also carriesmodalities, the registry's already-populated fact-derived capability signal (hal0.model_meta.modality.derive_modalities_from_model_info— mmproj presence,pooling_type, backend family; the exact §7.1d fallback patterntool_callingalready got). The label overlay falls back to it for any label that folds onto the closedModalitytaxonomy (vision/tts/image, and the tool-taxonomy aliasestranscription/embeddings/reranking). Struck from the checklist, not implemented:edit_image'seditlabel has noModalityequivalent — nothing in the registry distinguishes an image model that can edit from one that can only generate, and inventing that schema is a real design decision out of scope for this sweep;editstill only matches an explicit hand-authored TOML label (documented + regression-tested, not silently over-matched to any image-capable slot). - QuickChat discarded the operator's message on a failed send, with no way to retry (v1.0 GA polish, chat sweep #1469).
send()cleared the input unconditionally before the async stream could possibly fail, so a rate-limited or crash-looping slot lost the typed message for good — despite the backend already shipping aretry_after_shint in the structured error envelope for exactly this case. A failed send now restores the message to the input box, surfacesretry_after_swhen present, and a Retry control resends without retyping. - Duplicate CHANGELOG subsection headings silently dropped entries from
release.json(#1499).extract_structuredassigned per heading instead of accumulating, so when one version section carried the same### Breaking(or### Migrations) heading twice — the routine result of union-resolving a CHANGELOG merge conflict — only the last block survived. That digest is whathal0 updaterenders as its breaking-change and migrations callout before an operator confirms, so a dropped bullet meant the confirm banner under-reported what the update actually does: a quieter safety prompt, with no error and no warning. Repeated headings now accumulate in document order. - The slot drawer stops presenting three launch controls that had no launch effect (#1379).
spec-flags-ownership§1/§4 moved launch flags to the model tier — "Slots carry no user flag overrides" — andspec-hw-slot-ownership§8 prescribes the slot editor exhaustively as the 4-field HW grid plusimage_pin. Template (chat_templateoverride), Parallel and Extra Args were never removed from the drawer, so all three kept editing and persisting slot TOML keys the launch path had already stopped reading (providers/container.pydoesdel profile_flags, slot_parallel, extra_args;resolve_chat_templatedocuments the per-slot key as "no longer consulted";ServerConfig.extra_argsandSlotConfig.parallelboth describe themselves as "INERT at launch … Retained for TOML round-trip"). Worse than dead UI: Template also firedPOST /restart, so picking a chat format took the slot down for a model-load and changed no argv — the operator reads the unchanged behaviour as "it didn't work" and tries again; Parallel printed a confident explainer ("N slots share the {ctx}-token context pool (--kv-unified) …") describing argv never emitted; and Extra Args' Regenerate cleared its own stale-command overlay because the baseline then matched the typed value, while the resolved command came back byte-identical — the overlay disappearing was the only feedback, and it was a false positive. All three are removed outright rather than left read-only, the same call made for Reasoning/MTP/Vision underspec-hw-slot-ownership§1, and the Model group now signposts where the launch tune actually lives.chat_templateis dropped from the restart trigger with them. The removal is deliberately non-destructive: the three keys are absent from the drawer's frozen baseline and its derived change-set (#1447), so a slot TOML that still carries them round-trips untouched — this drawer neither reads nor clears config it no longer displays. Folding an already-persisted slot tune into the bound model remainshal0 slot migrate-flags, which shipped first for exactly this sequencing (#1396/#1397). Theextra_argsshlex gate goes too, which makes #1389 — a validator seeded from persisted state vetoing saves from an unmounted subtree — unrepresentable rather than merely fixed; its contract test is kept as a regression guard.tests/e2e/specs/slot-drawer-sunset-removal-v3.spec.tspins the absence AND the wire-level guarantee that no Save can putchat_template,parallelorserver.extra_argson the wire even when the slot TOML carries all three; the nine tests that asserted these writes (field-wiring W3/W7,slot-edit-controlsextra_args + Parallel,slot-drawer-profileC7k) are removed with the surface they covered. scripts/dev-bootstrap.shleft the Vite dev server running after shutdown, holding the UI port. The cleanup trap killed$!for each service, but the UI job is a subshell that runsnpm run dev, which forksnode; killing the wrapper reaped neither. So Ctrl-C (or any TERM) took down the API and left Vite alive onUI_PORT— and becauseplaywright.config.tssetsreuseExistingServer, the next run could attach to that orphan and report results for the code it was started with. The script now enables job control (set -m) so each service is its own process-group leader, and cleanup TERMs the whole group before escalating to KILL. Verified by starting.superset/run.sh, tearing it down, and confirming both ports free with no survivingvite/uvicornin the worktree. The container name is nowHAL0_OWU_CONTAINER-overridable for the same reason, andHAL0_DEV_SKIP_OPENWEBUI=1drops the hard Docker requirement for checkouts that don't need it.search'sbefore/aftertime-window filters were accepted and silently dropped on the durable engine, while the degrade fallback honoured them (#1471).HindsightProvider.searchtookbefore/after/modeand delegated torecall()without them; the REST route documents and forwards them and the MCP tool schema exposes them, so a caller filtering by time window got unfiltered results with no error — and got correctly filtered ones fromPgVectorProviderwhen memory was degraded. Two engines, two behaviours, one advertised contract. The window is now applied to the merged result, with the token budget over-fetched so a filtered page can still filllimitinstead of silently returning short. Deliberately not mapped onto Hindsight'squery_timestamp: that is an "as of when" for temporal reasoning, not a range filter, so folding a window into it would quietly change what the query means.mode("vector"/"graph"/"hybrid") was inert everywhere it was declared; a non-default value is now a clear error naming the engine rather than a silent downgrade to vector recall, since a caller explicitly asking for graph traversal getting plain recall with no indication is the same class of bug.memory_listpagination was dead on Hindsight — only the first page of a bank was reachable (#1471).list_itemsaccepted acursorand never used it, always callinglist_memories(offset=0)and returningnext_cursor: None, while the MCP tool advertises "Page through long-term memory items" and the live shared bank holds 1629 facts — so everything past the firstlimit(max 200) was silently unreachable. Cursors now encodebank@offset, which is all Hindsight's/memories/listneeds since it already supportsoffset. Two ordering bugs went with it: the visibility filter now runs before the page is cut (the loop used to break on the raw count, so a unified-mode reader whose page was mostly other agents' private docs received fewer thanlimititems even when more visible ones existed), and each bank is over-fetched so a heavily-filtered page still fills. A cursor naming a bank the caller may no longer read returns empty rather than walking it — a paging token minted while access was granted must not outlive the grant.- The memory graph explorer rendered an engine outage as an empty bank (#1471). The stage showed "No graph data for this bank/filter." whenever
!loading && nodeCount === 0, and never consultedisError— so a 503memory.unavailable/memory.engine_unreachablewas indistinguishable from a genuinely empty graph, which is exactly what a new install has. It now branches to an explicit "Memory engine unreachable — {message}" state with a retry affordance, covering the subgraph and ego queries too (on a big bank the stage renders their payload, so their failure was equally invisible). Mirrors the treatment the Overview engine card and the settings panel already had. - Graph-extraction ON/OFF is labelled honestly instead of implying it stops the work (#1471). Nothing consumes
[memory.graph].enabledbeyond reporting and extraction-slot routing — Hindsight builds its graph natively inside the daemon and keeps extracting either way, which is why/graph/statuscounters (real Hindsight operations, read back by_augment_build_counters) keep rising after a disable. The surfaces claimed otherwise: the CLI printed "In-flight builds cancelled." (nothing was cancelled), the Agent panel said the graph "isn't built" when off (it is), and Settings described the checkbox as gating background extraction. All three now say what the flag actually does. Not enforced into a real gate: doing that means reaching into the daemon's extraction pipeline, which is a behavioural change that wants its own issue rather than a GA polish pass — the reporting lie is what shipped, and that is what is fixed. The CLI docstring's stale--route/--provider/--modeloptions are dropped too. - Bumped
postcsspast the path-traversal.map-disclosure advisory (v1.0 GA polish, #1476).ui/package-lock.jsonlockedpostcss@8.5.15(<= 8.5.17vulnerable, dependabot alert #32, high). Build-time only — postcss runs in the UI build, not at runtime — but it was the sole open HIGH dependabot alert onmaingoing into GA.npm update postcssinui/bumps to8.5.25(well past the8.5.18fix); UI build verified clean. - The login/rotate rate limiter (and caller-IP attribution) can now honour
X-Forwarded-Forbehind a reverse proxy, opt-in (v1.0 GA polish, #1476)._client_ipread the raw TCP peer unconditionally, so behind hal0's first-class reverse-proxy deployment (HAL0_PUBLIC_URL) every caller resolved to the proxy's own IP — a single remote guesser exhausted the shared per-"IP" budget and 429-locked out the operator too. New[security].trust_forwarded_for/HAL0_TRUST_FORWARDED_FORtoggle (same precedence and persisted-config pattern as[security].require_auth), OFF by default since a client can forge the header — only enable it once the reverse proxy is known to strip/overwrite any client-suppliedX-Forwarded-For(Traefik/nginx/Caddy do this by default). When enabled, the leftmostX-Forwarded-Forentry is used instead of the raw peer. hal0 benchis now documented incli.mdx, and the docs-parity test can no longer be fooled by a substring match (v1.0 GA polish, #1474). All 11 argparse verbs (plan/run/status/worker/results/history/reindex/devices/publish/eval/import-v1) shipped with zero doc coverage —tests/cli/test_cli_docs_parity.py'spath not in textcheck treated the substringbenchinsidebench-tunedas a match, so the parity guard passed while the command was fully undocumented. Matching is now word-boundary (bench-tunedno longer satisfiesbench), and a new parity walk overhal0.bench.cli's argparse subparsers — the surface_walk()'s typer traversal can't see past the single top-levelbenchpassthrough command — catches a future verb shipping the same way. Also dropped the test docstring's stale claim of a curated "Planned" section check that didn't exist in either the doc or the test.hal0 slot migrate-id-keyingnow matches its four siblings' dry-run contract (v1.0 GA polish, #1474).migrate-id-keyingapplied its destructive rename by default (--dry-runopt-in), whilemigrate-hw/migrate-caps/migrate-flags/migrate-enabled-removalare all dry-run by default (--applyopt-in) — an operator habituated to "run bare to preview" by the other four got a real migration from the fifth.--applynow gates the write;--dry-runstill parses (a no-op alias, since dry-run is the new default) so existing scripts keep working.cli.mdx'shal0 setupsection now documents all 8 flags (v1.0 GA polish, #1474) —--no-slots,--answers,--emit-answers, and--plan/--dry-run(shipped via #1115/#1116/#1117) had no doc line; the parity test can't catch missing flags, only missing commands. Also reconciled the--autoslot-seeding prose with whatinstall.shactually invokes (--auto --no-pull --no-extensions— slots yes, models no) rather than the stale premise that--no-slotsis the installer's default call.- install.sh's repair/upgrade-in-place path now runs the same post-activation migrations
hal0 updatedoes (v1.0 GA polish, #1475).Updater.commit()runs five passes after a self-update swap (schema migration, seed-profile pruning, stale-MTP clearing, runner-image retagging,defaults.extra_argssanitizing); install.sh's re-run path called only two of them directly, so a box upgraded by re-running install.sh kept a stalemeta.schema_version, stale runner-image pins, and unsanitiseddefaults.extra_argsthathal0 updatewould have fixed — two boxes on the same version, different on-disk state. Extracted the sequence into one sharedrun_post_activation_migrations()(hal0.updater.updater), called from bothUpdater.commit()and install.sh's venv-python block, so the two upgrade paths converge. Updater.rollback()now re-renders slot units, mirroringcommit()'s own step (v1.0 GA polish, #1475).commit()re-renders every slot unit through a fresh interpreter after the venv re-pip so any subsequent start (systemctl restart, crash-restart, reboot) uses current argv;rollback()did the symlink swap and the #980 re-pip of the prior tree and then stopped — a rolled-back box kept units carrying argv rendered by the version it had just rolled away from. The re-render logic is now a shared_rerender_units_after_swap()helper used by both paths.- Curated static slot seeds (agent's
chadrock-moeprofile,brain's tuned profile,embed's 4096 context, ...) now reach a fresh install (v1.0 GA polish, #1475). install.sh ranhal0 setup --auto— which scaffolds the same slot names with generic derived profiles — BEFORE copying the curated seed TOMLs; both sides are never-overwrite, so--auto's generic profiles always won the race and the curated seeds never landed on the standard install path. Moved the seed-copy loop to run first. - The
brainseed no longer pins an unresolvable model id (v1.0 GA polish, #1475).brain.tomlshippeddefault = "MiniCPM5-1B-Agentic-Tooluse", an id in neither shipped catalog — the operator could not pull it from any dashboard surface, and post-#1408 a bound model is the sole activation signal, so the slot showed "activated" while unable to actually serve. Reversed the #1258 "brain ships ready" exception:brainnow ships model-less like every other seed (the steward chat already falls back to theagentslot until a real model is bound). - The boot-time static-slot seeder now registers a newly-seeded slot's identity in the same boot (v1.0 GA polish, #1475).
seed_static_slotsruns in a later boot phase thanfold_identity, so a slot it adds fresh (e.g. a new release'scoder/embed/qwen3ttsseed reaching an upgraded box) sat name-keyed with no identity row for the rest of that boot — the exact name+id coexistence #1422 reports as duplicate/api/slotsentries. A re-fold (idempotent, additive — no artefact/unit rename) now runs immediately after a non-empty seed batch. ProfileCatalog.delete's in-use guard now also catches modeldefaults.profilereferences (HAL0-41, #1437). The 409profiles.in_useguard scanned slot TOMLs (slots_using) but never the model registry, so a model that preferred a profile viadefaults.profile— without yet being bound to any slot — could not block the delete, leaving it with a dangling reference the moment the profile disappeared.ProfileCatalog.deletenow also scans the model registry (ProfileCatalog.models_using) and folds both slot and model hits into one conflict; the errordetailsgains amodelskey alongside the existingslotskey, so existing callers readingdetails["slots"]are unaffected.POST /api/profiles/importnow returns 201 on commit, matchingPOST /api/profiles(HAL0-41, #1437). Both routes create a profile, but import fell through to FastAPI's default 200 — an inconsistent envelope for the same "resource created" outcome. Thedry_runbranch creates nothing and still returns 200.- Dropped the vestigial
enabledcolumn surface from the slot identity table (#1383). #1369 removedSlotConfig.enabledfrom the TOML schema (model-presence is the sole activation signal), but the SQLiteslotidentity table (hal0.slots.identity) still carried the flag:SlotRow.enabled,create()'senabledparameter,set_enabled(), andlist_by_type(enabled_only=...). Since #1369 every row is registeredenabled = 1in perpetuity (migrate_id_keying.py'sslot_tbl.get("enabled", True)can only ever fall through to its default, as no slot TOML carries the key anymore), soset_enabled()had zero production callers and theAND enabled = 1filter inlist_by_typewas a no-op predicate — dead code that read as meaningful and invited someone to "wire it back up," reintroducing the two-sources-of-truth problem #1369 exists to delete. All of it is gone:SlotRowno longer carriesenabled,create()no longer accepts it,set_enabled()is deleted,list_by_type()no longer acceptsenabled_only, andmigrate_id_keying.pyno longer feeds the column from TOML. The SQLiteslot.enabledcolumn itself stays on disk (additive schema,DEFAULT 1) — no destructive migration; simply nothing reads or writes it anymore. - A model row could still advertise
visionwith no projector — the fix for #1380 was client-side only, and two other doors were wide open (#1393, #1394, plus an unfiled third). PR #1392 gated the model drawer's Save on thevision capability requires an mmproj sidecar patherror, so the invariant held in exactly one of the several places a registry row can be written;screen_model_write— the shared screen forPOST /api/models,PUT /api/models/{id}andPOST /api/models/validate, whose docstring enumerates what it checks — looked only atdefaults.extra_args, soPUT {"capabilities":["chat","vision"],"mmproj":null}via curl, the CLI, or MCPmodel_editpersisted the same broken row and the launch path got no--mmprojto hand llama-server, loading text-only under a vision alias. The invariant now lives in one predicate,models_service.screen_vision_mmproj, raisingmodel.vision_requires_mmprojin the envelope the dashboard already keys on. Two decisions the #1393 write-up flagged: sparse PUTs are screened body-over-stored (the route hoists its pre-update snapshot above the screen and passes it asexisting), so a body that addsvisionwithout mentioningmmprojis checked against the persisted projector rather than an absent key — and/validateresolves the same row from an optional bodyidso the drawer's dry run matches the save; pre-existing rows are not retro-broken, because the screen fires only on a write that touchescapabilitiesormmproj— a rename on a legacy projector-less vision row still saves, while every write that could create or preserve the pairing is refused. Also new at that boundary: anmmprojpath that isn't a file on this host is nowmodel.mmproj_not_foundat SAVE instead of a slot that fails at load — safe to check eagerly because the pull worker writes the post-download path straight throughregistry.update, never through this screen, so a still-downloading sidecar can't trip it. - The Add-model-from-HF modal shipped the identical decorative error, and its Pull didn't go through the model-write screen at all (#1394).
model-modals.jsxrenderedvision label requires an mmproj file — pick one belowwhilecanPull = inspected && variant && name && !pullJob.inFlightcarried nommprojterm, so tickingvisionwith nothing selected left Pull live andonPullsentmmproj_filename: undefined. The modal writes its registry row throughPOST /api/models/{id}/pull→seed_registry_from_body, a different door entirely — the #1393 screen would never have seen it, so the pull route now screens the bodylabelsagainst the sidecar the job will install (require_on_disk=False:mmproj_fileis an HF filename inside the repo, not a host path) and 400s before seeding or scheduling anything. Client-side, the error folds into the singlecanPullgate the way #1392 did for the drawer, and the aggravating case gets an honest escape hatch: when the inspected repo ships no mmproj at all, "pick one below" is unactionable, so the message becomes untick vision to pull — the pull itself was always fine, only the label is unsupportable. The error div and the projector<select>gaindata-testids (their absence is why this twin went unnoticed when #1380 was fixed). - The Voice/Image-gen model pickers never populated — the pages indexed an
.items/.modelswrapper that/api/capabilitiesdoesn't ship (#1454).GET /api/capabilitiesreturnscatalogs.voice.stt,catalogs.voice.tts, andcatalogs.img.imgas bare arrays of picker rows ({id, capabilities, size_gb, backends}—mockFixtures.tsbuildCapabilities()already documented the real shape);VoicePage.jsxandImageGenPage.jsxreadvoiceCatalogs.stt?.items || voiceCatalogs.stt?.models || [], and an Array has neither property, socatalogItemswas always[]. The<select>branch was dead code — every model field fell back to a free-text input, and the "no installed STT/TTS/image models — install one in the Models view" hint rendered even when models were installed and serving. The three catalog reads now use the array directly (voiceCatalogs.stt || [], etc.);useCapabilities.ts'sCapabilitiesBagtype is corrected from the obsolete pre-orchestrator{capabilities: Record<...>}envelope to the real{backends, catalogs, selections}shape./api/capabilitiesalso gainsnetworkFirst: truein the mock allowlist so a spec'spage.routeoverride is authoritative in forced-mock e2e, matching the siblingprofiles/stacks/chat-templatesrows. - The ComfyUI pane's "models" block rendered a fabricated hardcoded inventory (6 checkpoints, 11 loras,
'Wan 2.2 · Qwen-Image · HunyuanVideo 1.5 · LTX-2') and never consumed the backend's verified counts (#1455).comfyui-pane.jsxmounted<ModelsBlock />with no props, so itsINV_DEFAULT/MODELS_DEFAULTfallback rendered unconditionally — even though_model_inventory()(src/hal0/api/routes/comfyui.py) counts real weight files per category on the model share and/api/comfyui/statusalready carried the result asinventory.transformComfyuiStatus(useComfyui.ts) never mapped that field into the pane's data shape, so the wiring gap was silent.inventorynow flowsstatus.inventory → transformComfyuiStatus → ImageGenCard → ModelsBlock, rendered as<count> <category>pills (checkpoints/diffusion/loras/vae/controlnet/upscale/text_encoders); the block is omitted entirely — not rendered with zeros — wheninventoryisnull(the backend's fresh-install contract, model share root absent). Also removed two secondary fabrications the same audit flagged: the propless<BarSpark />sparkline in the system-ram metric tile (no real per-tick RAM history exists behind it) and the non-functional "manager ↗" note on the models block header (linked to nothing). - The model drawer reverted other people's edits, and its Save button fired with nothing to save (#1441 — closes the drawer dirty-tracking class filed as #1398, whose slot half landed just before). Same shape as the slot half: the drawer seeds its form once (effect keyed on
[open, model?.id]) but answered "did this field change?" against the livemodelprop. Both callers hand it a live-polled value —models.jsxdoesmodelList.find(m => m.id === selId)offmodelsQuery.data(useModels: 30s poll plus an invalidation on every model mutation), and the slot drawer's stacked editor does(modelsQuery.data ?? []).find(m => m.id === curModelId)— so the in-file comment claiming the prop was "a SNAPSHOT captured when the drawer opened" described neither. Three consequences: (a) a concurrent write (another operator, a slot-drawer save, the CLI) moveddefaults.context_sizeunder the open drawer, the untouched field went dirty, and Save wrote the drawer's stale seed back over it — a lost update caused by doing nothing; (b) Save was never gated on the dirty aggregate (#1441), and sinceonSaverebuilds the entiredefaultsblock a zero-edit Save was not the harmless no-op the issue assumed — it rewrotecontext_size,extra_args,chat_template,profile,n_gpu_layersand all four tri-state caps; (c)onSavestarted from{ ...init }— read live — so the keys the drawer never renders (rope_freq_base, …) rode along as a mid-edit poll left them rather than as the operator saw them. Fixed with the seam the slot drawer got:modelBaselinesnapshots the row once at open (including the wholedefaultsblock for pass-through, and the already-canonicalised capability list so a late/api/meta/enumsload can't fabricate a diff),deriveModelChangesderives the comparison once, and both the unsaved-changes guard and the save body read it — no predicate computed twice, nothing reading the live prop. Save is now disabled when nothing changed. Unlike the slot half there is deliberately no degraded-payload guard:useModelshas no union/soft-fail fallback — the/api/statusleg offetchSlotsUnionis what made the slot-side degradation (#1391) possible — so nothing can hand this drawer a shape-degraded row.tests/e2e/specs/model-drawer-dirty-baseline-v3.spec.tspins all three on the wire. - The slot drawer wrote fields nobody touched, because its dirty-tracking compared a once-seeded form against a live-polled prop (#1390, #1391 — the structural fix for the class filed as #1398). The drawer seeded its form once (effect keyed on
[slot?.name]) but answered "did this field change?" against theslotprop, whichuseSlotsre-derives every 5s. The two sides drifted with no operator input, and the drawer read that drift as an edit. Two live consequences: (a)ctxBaselinefell back toslot.metrics.ctx, a runtime metric — open the drawer on a cold slot (field seeds to the 8192 floor), let it start serving, touch nothing, click Save, and it wrotePATCH /defaults {"ctx_size": 8192}, turning a transient observation into a persisted--ctx-sizethat pins the slot's context window from then on; (b) one dropped/api/slotspoll degrades the entry to the bare/api/statusshape, which carries no config enrichment at all (config_enrichmentruns only in the/api/slotsbuilder), so for that interval every batched field read dirty and an idle Save rewrotechat_template/binary/n_gpu_layersand firedPOST /restart— a network blip became a cold model reload. Fixed by freezing the baseline rather than patching the two symptoms: the drawer snapshots the persisted config once, from the enriched payload it opened with (configBaseline), and both the unsaved-changes guard and the Save body now read a single derived comparison against that frozen snapshot (deriveChanges) — no predicate is computed twice, and nothing reads the live prop. The snapshot refreshes only on slot identity change, drawer close, or an explicit save success.useSlotsadditionally tags each entry with_configEnriched— provenance (did this come from/api/slots?), not a key sniff, since every config key is legitimately absent when the slot has no override on disk — and the drawer refuses to compute dirtiness while it reads false, disabling Save behind a "Slot data degraded — reconnecting…" hint instead of guessing. In-flight edits and the last good baseline survive the blip and the drawer recovers intact on the next good poll.tests/e2e/specs/slot-drawer-dirty-baseline-v3.spec.tspins both instances on the wire (zero writes) — a spurious write is indistinguishable from an intentional one in the API log, which is how the class went unnoticed. The degraded path is now reachable from the harness at all viawindow.__hal0MockSlotsDegraded, which failsGET /api/slotsand strips the config keys off the/api/statusunion entries. - Self-update works on the shipped
User=hal0posture — it was structurally impossible before (#1464). P3-perms flippedhal0-api.servicetoUser=hal0and pinned/usr/lib/hal0toroot:root 0755, declared ininstall/perms.pyas "never service-writable at any point". The updater never got the matching seam:Updater.prepare/commit/rollbackran entirely in-process insidehal0-apiand wrote that tree directly — extract to<lib>/hal0-<version>/, atomic-swap<lib>/current,pip install --force-reinstallinto the root-owned venv. Every one of those isEACCESfor the service account, so a v1.0 install could never take v1.0.1, and the failure landed only after a full download + sha256 +cosign verify-blobpass, surfacing as a rawUpdateExtractError('Permission denied')in the dashboard. There was no escape hatch: the CLI never invokes the updater directly (it POSTs to the API), the UI hits the same route, and thehal0-systemctlwrapper has no staging/swap/pip verbs. The three privileged phases now route throughhal0-update— a new narrow sudo seam built exactly likehal0-systemctl(installer/wrappers/hal0-update+packaging/sudoers/hal0-update, grant pinned to the binary, every argument validated, no shell, no wildcards), fronted byhal0.updater.privileged.UpdateSeam, which mirrorsSystemCtlSeam's gating: it engages only when the process runs as the literalhal0service account, so a dev shell, a CI runner and every unit test stay on the pre-existing in-process path. The grant surface is four verbs —check(non-mutating probe),stage <channel> [version],activate <hal0-VERSION>,discard <hal0-VERSION>— and the only things that cross it are a channel from a three-value allow-list, an optional exact version pin, and ahal0-<version>directory basename (never a path, never a file body, never a URL).stagedeliberately performs the manifest fetch, digest check and cosign verification root-side: the smaller-looking split — unprivileged download, privileged install — would let a compromised hal0-api skip verification and have rootpip installan attacker-supplied tree, i.e. turn the grant into arbitrary root code execution.activateadditionally refuses any tree that is not root-owned and free of group/other write. Everything that writes hal0-owned state — config migrations, the seed-profile/mtp/extra-args/image sweeps, thehal0.previousbreadcrumb, the slot-unit re-render — stays unprivileged on purpose, so root never re-owns/etc/hal0or the SQLite files out from under the service.prepare/commit/rollbacknow also open with a privilege preflight (system.update_privilege_denied) that fails in milliseconds with remediation text, instead of after a multi-hundred-megabyte download. Two behaviour notes:rollbackrefuses ahal0.previousbreadcrumb pointing outside the install root (the seam only takes a basename), and on a box wherecurrentpoints at a non-root-owned tree — a hand-deployed git checkout, not a released install —activaterefuses with thechowncommand to fix it. hal0 doctornow verifies the sudo seams every slot op and update depends on; a failed grant install aborts the installer (#1465). Every privileged operation post-P3-perms goes throughsudo -n /usr/lib/hal0/bin/hal0-*, andinstall.shinstalled each wrapper +/etc/sudoers.ddrop-in best-effort: avisudo -cffailure or a missing source produced only a mid-logwarn, after which the run proceeded to its success box. Nothing verified the result afterwards —preflight_all's 15 checks never touched sudoers,doctor verifycomposes only live-API rows,doctor all's extras were auth/model-store/migrations/ports/hal0.target, anddoctor permshad a row for/usr/lib/hal0but none for the wrappers themselves. So a box where that warn fired reported all green from every doctor surface while every slot start, unit write anddaemon-reloadfailed undiagnosably. Three changes:hal0.system.seam_checkis the new predicate (wrapper present +root:root 0755; drop-in present +root 0440— sudo silently ignores a wrongly-moded one, so that is a total failure, not a nit; and the fact that actually matters,sudo -n <seam> <probe>exiting 0 as the hal0 user, viasudo -n -u hal0 sudo -n …when run from root).hal0 doctor allgains a Privileged seams row wired to it — a broken required seam (hal0-systemctl,hal0-update) is an actionablefail(exit 1) naming what breaks and how to fix it; an optional seam or a grant that cannot be tested from the current account is an advisorywarn, never a silent pass. Andinstall.shnow dies rather than warns when a required wrapper or grant fails to install, requiresvisudoon a real install (hal0 cannot run withoutsudo), and runspreflight_seamsas a post-install assertion once the wrappers are down — deliberately not part ofpreflight_all, which runs before the seams exist.doctor permsalso gains a row for<lib>/bin/hal0-*so a drifted wrapper mode is repairable by--fix.PUT /api/models/{id}merges the nesteddefaultsone level deep instead of replacing it wholesale (#1413, server-side sibling of #1378/#1381). The route documents itself as "body accepts any subset of …defaults", butregistry/store.py::merge_updatewas flat —{**existing, **updates}— so a body that so much as nameddefaultsreplaced the entireModelDefaultstable. Every sibling the client didn't resend (context_size,rope_freq_base,chat_template,profile,mtp,jinja,enable_thinking,vision) reset tonullbehind an HTTP 200, withchanged_fields: ["defaults"]as the only trace and a response body that looked correct because it was the new (lossy) state. Following the documented contract destroyed config; the dashboard escaped it only by accident, because its drawer resends the whole object.defaultsandcapability_flags— the two schema'd subtables_model_to_tomlalready special-cases — now merge per sub-key with the tri-state semantics those fields already carry: absent keeps the stored value, an explicitnullclears that one value, and{"defaults": null}still drops the whole table.metadatais deliberately excluded (freeform bag, no schema, so "absent = keep" would leave no way to drop a key) and every other field stays a flat replace. The three UI writers that cleared a field bydelete-ing its key (model drawer, recipe editor, MODELS ▸ Defaults) now send an explicitnull, since under the new merge an omitted key means "keep", not "clear".- A malformed
defaults.context_sizereturns 400, and 0 / negative / absurd values are rejected (#1414, server half of #1378).{"context_size": "abc"}escaped as an HTTP 500model.registry_errorcarrying a raw pydantic traceback indetails.reason—merge_updatewraps anyModel.model_validatefailure inRegistryError, so plain client garbage produced a 5xx. Meanwhile0,-1and99999999all persisted with a 200 and round-tripped throughGETinto the database, andPOST /api/models/validatereported{"ok": true}for every one of them, becausescreen_model_writeonly ever inspectedpreferred_runneranddefaults.extra_args. The client-side guard was therefore the only guard: the CLI, a script, or a stale dashboard build could still write a row guaranteed to fail at launch.screen_model_writenow parses the incomingdefaultsthroughModelDefaults(→400 model.defaults_invalid) and range-checkscontext_sizeagainst[128, 2**24](→400 model.context_size_out_of_range); the floor mirrors the model and slot drawers'≥ 128, the ceiling is an absurdity screen ~16× the largest advertised window on any shipping model. Screened at the write boundary rather than as aField(ge=…, le=…)constraint on purpose — a model-level constraint also applies on the READ path, so any already-persisted out-of-range row would stop loading, which is the exact "policy applied to data that predates it" trap #1411 documents on the profile side. Create, update and/validateshare the one screen so the three cannot drift, the wayextra_argsalready couldn't; MODELS ▸ Defaults gains the matching inline≥ 128gate. - Every container slot reported offline/stopped while it was serving — the status probe asked systemd about a name-keyed unit on an id-keyed box (#1417).
slot_instance_tokenis the §11.1 id-flip seam: post-migration it returns the durablecfg["id"], soload_synccreateshal0-slot@2.service/hal0-slot-2for the slot displayed asbrain. The lifecycle half resolved that token first; the query half —ContainerProvider.is_active/running_image/running_argv, plusslot_view's raw stopped-vs-crashedsystemctl is-active, which hardcodedf"hal0-slot@{name}.service"outside the seam entirely — passed the mutable slot NAME straight into the pure formatters.slot_unit_name()/slot_container_name()are formatters over a token, so a name silently yielded the pre-migration artefact:systemctl is-active hal0-slot@brain.service→inactivewhilehal0-slot@2.servicewasactive,podman inspect hal0-slot-brain→no such object. Becauseis_activeis the drift reconciler's only source of truth (SlotManager.status), every healthy slot was force-transitioned to OFFLINE on every poll — the dashboard showed threeUp (healthy)containers as not-loaded, the dispatcher readiness gate answered503 slot.loading/502 slot.load_failedfor slots that were generating and then tried to "recover" them,running_imagereturned None for every slot so the #663 image-is-the-backend record was inert, and Hindsight fact extraction against theutilityslot failed 170 retains with "slot 'utility' is offline". All three probes now take the slot config and derive the token through one new chokepoint (providers.container._artefact_token, back-compatible with an already-resolved token string), and all five callers hand the config down (slots/watchdog.pyis_active+readiness_check,slots/manager.pyreconcile_container_upstreams,slots/drift.py,slot_view— each already had the config in hand one line earlier). A name-keyed (pre-migration) box is bit-for-bit unchanged: with noid, the token IS the name.tests/slots/test_query_path_token_keying.pypins the invariant the seam exists for — given{"name": "brain", "id": 2}the probe half and the teardown half target the samehal0-slot@2.service.
Truncated — full notes in CHANGELOG.md and as RELEASE_NOTES.md inside the release tarball.