Skip to content

hal0 v1.0.0-rc.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Aug 13:52
· 1264 commits to main since this release
3564b55

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.defaults carries the materialized tune. The managed-arg denylist now also screens a model's defaults.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 (old hal0_memory_* kept as aliases); reflect implemented; 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 the hal0 user (no stray root-owned ~/.hermes); hal0 agent status --json emits real JSON; reconcile_listeners wired 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 + a hermes-bump runbook added.
  • Self-update works on the shipped User=hal0 posture — the new narrow hal0-update sudo seam (check/stage/activate/discard, root-side cosign verification) makes hal0 update structurally possible on a hardened install for the first time (#1464), and the HAL0_UPDATE_SKIP_COSIGN escape 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_version watermark, 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 what PUT /api/slots/{name}/config would refuse.
  • OpenWebUI honors the box's bind choice — the second web surface on :3001 follows HAL0_BIND_HOST instead of hardcoding 0.0.0.0, and hand edits to openwebui.env survive 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 and HAL0-SUNSET-stamped for removal.
  • Honcho removed as a memory engine; hal0_memory_* tools renamed to hindsight_* (aliases retained this release).
  • Deprecated surfaces machine-stamped HAL0-SUNSET: v1.0.0 for scheduled removal: the --backend flag (use --provider), SlotConfig.runtime/workers, the cognee engine literal, and several legacy CLI aliases.
  • SlotConfig.enabled is 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.target stanza, which only exists because SlotManager.load() refuses to write a unit for a model-less slot — so [model].default was always the real gate. Every one of the ~8 routability checks that consulted enabled (slots/routing.py, the four /v1 listing helpers in api/__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 an if not model_id gate; the shipped seeds had already hand-maintained the two signals 1:1 (all ten ship enabled = false + no model pin, except brain, which ships both). Two truths for one question is what forced the UI to render a "disabled but running" escape hatch and let PUT /config carry a hidden unload(). The single predicate now lives in hal0.slots.activation (is_activated / claims_npu_anchor / npu_modality_active). enabled is dropped from the GET /api/slots payload and from the Slot TS type; PUT /api/slots/{name}/config {"enabled": …} is now a 400 slot.removed_key_denied naming the replacement, rather than silently persisting inert debris (the same treatment backend got). Untouched: the enabled fields on Upstream, MCP clients, providers, metrics, memory, auth, and the [npu] modality toggles — different models entirely. CapabilitySelection.enabled also survives in capabilities.toml; only its projection onto the slot changed (see Migrations).
  • PUT /api/slots/{name}/config no longer has a lifecycle side effect. It used to unload a running slot on an enabled: false body so the faded card matched reality. Config edits and lifecycle are now separate verbs: stopping a slot is POST /api/slots/{name}/unload, which #1367 pin-gates (409 slot.pinned, ?force=true bypass).
  • The NPU-exclusivity 409 moved from the toggle to the model write. The AMDXDNA chat context still admits exactly one device=npu, type=llm slot, but the discriminator is now "has a model configured": PUT /config {"model":{"default":X}} on a second NPU LLM anchor returns 409 slot.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 shipped flm seed — coexist freely.
  • NPU trio dispatch now reads the anchor's [npu] table, not the shadow's own flag. flm-stt / flm-embed are display+dispatch records for the anchor's single flm serve process and always carry a placeholder [model].default, so they never had activation state of their own to express. _is_npu_trio_request gates on npu.asr / npu.embed on the device=npu, type=llm anchor — 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 gains npu_modality_active (resolved server-side) for the shadow card's ON/OFF pill.
  • [brain_chat] tool_model is gone — it was never read (#1453). The field was documented (schema docstring), defaulted ("hal0/agent"), and promised by the shipped brain seed profile and slot docstring as "the escape hatch for boxes whose model can't emit tool calls the local runtime parses natively", but hal0.brain.chat._chat_stream's model precedence was always payload.model or cfg.model or default_model — cfg.tool_model had 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: BrainChatConfig is extra="forbid", so a config that set tool_model explicitly now gets a clear validation error naming the field instead of silently doing nothing. The still-live [brain_chat] model override 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 leave model as 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-keying in a downtime window (takes a pre-flight backup). The runtime reads either layout; the flip is deliberate and reversible.
  • A [brain_chat] tool_model key left over from before its removal no longer breaks config load (#1453). load_hal0_config drops it from the raw dict before validation — every load path (not just the packaged hal0 update, which already runs hal0.config.migrations first) is forgiving of a config written by an older build. HAL0-SUNSET: v1.1 — the shim in hal0.config.loader._DEAD_KEYS comes out once no box in the field can still be running a pre-#1453 hal0.toml.
  • One-shot enabled sweep, boot-integrated (hal0.config.migrations.slot_enabled_removal). Runs first in the slot_reconcile boot phase, before every pass that reads model.default to decide what is configured. Rules: enabled = false with 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 + type transcription/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 raw is the check), best-effort per file (one corrupt TOML is logged and skipped, never fatal at boot). hal0 slot migrate-enabled-removal runs the same sweep on demand, dry-run by default; unlike the other slot 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 in capabilities.toml as CapabilitySelection.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_cfg creates slots with an empty model.default and run_pull_and_activate stamps 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 enabled as True, 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.toml and meta.schema_version = 1 until the next update applied by v1.0 code. Nothing is lost (the reset is biased against deletion), but hal0 update on such a box reports "nothing to apply" without mentioning the outstanding reset. Live-validated: the reset mechanism itself (consent gate, timestamped backup, schema_version = 2 stamp, 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 --version and curl /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.service publishes a complete chat UI — model access plus every stored conversation in /var/lib/hal0/openwebui — with WEBUI_AUTH=False and 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 ("One HAL0_BIND_HOST drives BOTH…"), and someone who set HAL0_BIND_HOST=127.0.0.1 to keep hal0 off the LAN got exactly that on :8080 and a wide-open chat UI on :3001 regardless. The documented mitigation had no caller: env_writer's docstring told operators to pass WEBUI_AUTH=True + WEBUI_AUTH_TRUSTED_EMAIL_HEADER "via the overrides parameter", and nothing — not install.sh, not install_openwebui(), no CLI flag, no route — ever passed a non-empty overrides; 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. And docs/operate/auth.mdx, the canonical "Securing hal0" page, documented hal0-api on :8080 and stopped, so following the guide to completion still left the chat UI open. The publish address is now ${HAL0_OWUI_BIND_HOST}, rendered by env_writer from the same HAL0_BIND_HOST the API uses and threaded through install.sh; setting HAL0_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 carries Environment=HAL0_OWUI_BIND_HOST=0.0.0.0 ahead of its EnvironmentFile= — required, not defensive: systemd has no ${VAR:-default} in ExecStart, so an unset variable would hand podman -p :3001:8080, and this is what carries a box whose openwebui.env predates the key. The value is sourced from openwebui.env rather than api.env deliberately — reaching HAL0_BIND_HOST directly 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.sh stops erasing /etc/hal0/openwebui.env on every run (#1514). installer/README.md promises existing config files are "never clobbered on re-run", and the siblings in the same block keep it — hal0.toml and upstreams.toml are [[ ! -f ]]-guarded, api.env rewrites only a marker-delimited network block. openwebui.env was regenerated wholesale from defaults every time, so a changed AUDIO_TTS_ENGINE, a repointed OPENAI_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 < explicit overrides, because an override is a caller stating intent while a preserved value is merely an absent one. write_env_atomic grows a header parameter 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}/memories is no longer a one-call bank wipe (#1457, the #1024 incident class on the sibling route). #1024 was a bank delete reached with one unauthenticated curl; its hardening — the echoed-?confirm=<bank_id> gate and the dry-run blast-radius preview (#1028), plus a record_action audit row (#1030) — was applied by lifting that one path out of the generic _FORWARDS passthrough 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 in exposure.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 reached GET /api/memory/banks/shared/memories unauthenticated 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 — confirm is 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. New exposure.CONFIRM_GUARDED_MEMORY_ROUTES names the routes that must carry the echo, and tests/security/test_memory_bank_wipe_guard.py drives every entry against the live app — so the next bank-scoped delete added to _FORWARDS cannot inherit the passthrough silently.
  • An unaddressable memory namespace no longer collapses into a shared-bank sweep (#1451). resolve_read_datasets filtered a caller's dataset list 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]) and return out or [_SHARED] in both providers, _requested_scope, and delete()'s own dataset or _SHARED. So dataset=["bogus-bank"] resolved to [] at the front door and to ["shared"] inside the executor. The operator-visible shape is the one that matters: a bulk memory_delete is approval-gated on its arguments (mcp/admin.py gates 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 of shared — 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 only None may expand to the default: a non-empty request that resolves to nothing is a MemoryNamespaceError (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/delete also stops hand-rolling its list branch ([str(d) for d in requested]) and goes through resolve_read_datasets like the MCP surface, closing the two-surface drift the hal0.memory.namespace module exists to prevent. tests/security/test_memory_namespace_fail_closed.py pins 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/list and POST /api/memory/delete finally speak the same id (#1456). MemoryProvider pins MemoryItem.id as "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 — handed delete_document a 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_ids matched 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 fake list_memories returned {"id": document_id}, a shape the engine never emits. id is now the document_id on every surface; the per-fact id moves to metadata.fact_id rather than disappearing (it is the only handle on an individual extracted fact); and _deletable_ids returns 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's visibility:private doc are still withheld, with negative controls in tests/memory/test_memory_id_contract.py, whose fake deliberately returns a distinct fact id and document_id.
  • /etc/hal0/api.env is owner-only, and stays that way through an upgrade (#1466). The live box carried 644 hal0:hal0 on the file holding HF_TOKEN, MINIMAX_API_KEY, OPENROUTER_API_KEY, HERMES_SESSION_TOKEN and HAL0_TURNSTONE_TOKEN — every local account could read them. Four writers held three opinions, so the strictest always lost: installer/install.sh seeded 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_store wrote 0600 and had it undone; service_identity wrote 0640 for key rotation while routes/auth.py promised "a never-world-readable 0640"; and install/perms.py — the engine whose job is converging the filesystem — pinned the row at 0o644 behind a FIXME(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 single paths.api_env() resolver; the _env_store writer, 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 reads EnvironmentFile= 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 new hal0 doctor row (check_secret_file_modes) fails critical on any group- or world-readable api.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.env is two stores in one file, and the route treated it as one: list_secrets enumerated every uncommented KEY= line with no filter, and delete_secret removed anything matching ^[A-Z][A-Z0-9_]{0,63}$ — atomically, popping os.environ live, returning an idempotent 204. So the dashboard rendered HAL0_ADMIN_KEY (written there by service_identity on rotation, and what routes/auth.py validates every login against) as a Remove button whose real effect is locking every new session out, and HAL0_PORT / HAL0_UI_DIST as 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 carry protected: true, and set/delete on them is a 403 secret.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 new HAL0_* var enters install.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-name ConfirmDialog — the value is never stored anywhere else and never shown again after saving, so there is nothing to undo with.
  • Pin the destructive /api/memory routes as ADMIN, above the generic prefix rule (closes the last open slice of #1024). #1024's incident was a single unauthenticated DELETE /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, and exposure.DESTRUCTIVE_MEMORY_ROUTES enumerates 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.py asserts 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 real AuthEnforcementMiddleware, armed — that an anonymous call gets 401, a client/inference key gets 403, and the operator's admin key clears the gate.

Added

  • The dashboard Services page can actually manage services under the shipped User=hal0 posture, 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.systemd invoked systemctl directly under a stale "hal0-api runs as root" assumption, and the hal0-systemctl seam never covered companion units. The wrapper gains start-agent/restart-agent/enable-agent arms plus a closed svc-<verb> family for the openwebui/hindsight units, the seam routes agent + companion units through it, and unit_action executes 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 raw systemctl 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 sm buttons).
  • 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.sh binds 8080/5173/3001 and names its OpenWebUI container hal0-openwebui-dev, so the second workspace's startup docker stop killed 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, which ui/tests/e2e/port.ts already fixed for the Playwright suite by hashing the worktree path into a stable, distinct port. .superset/ports.sh applies 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-workspace HAL0_HOME and container name. run.sh is a thin wrapper that assigns those and hands off to dev-bootstrap.sh rather than forking a second launcher — one owner for "start hal0 locally" (CONTRIBUTING rule 11). VITE_API_TARGET is exported rather than written to ui/.env because a Vite config file reads process.env and .env files never reach it; writing the file would have looked right and proxied /api to a dead 127.0.0.1:8080. setup.sh installs via uv sync --frozen --extra dev — the same lockfile path CI uses, so a workspace can't skew from it (CONTRIBUTING rule 10). teardown.sh stops 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 is git log HEAD --not --remotes, not a comparison against origin/main: hal0 has no origin (its remotes are github and hal0), 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_fold has 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.container drops profile_flags/slot_parallel/extra_args; resolve_chat_template no 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 mirrors migrate-hw: dry-run by default, --apply takes a timestamped backup and passes the deploy_window=True ack, refuses to run while any hal0 unit is live (--stop-services to 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 unhandled RuntimeError at 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}/duplicate body with and without a device template, id suggestion and pinning, invalid-id block, and the 409 path), and drawer-save-errors-v3. That last one closes a whole missing axis: a grep for status: 4/status: 5 across every slot-* 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 failed PATCH /defaults short-circuits the /config PUT 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 = false un-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/writes pinned (instant-apply PUT /config {pinned}, same shape as the old enable wire). Two backend halves make it honest: reaper.is_pinned() treated an authored pinned = false as indistinguishable from absent (is True OR anchor-set), so agent/utility/npu could 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's utility renders Pinned without a per-slot /config fetch. The unload/delete guards are unchanged (409 slot.pinned, ?force=true bypass) 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 of enabled itself 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/slots the next poll can briefly return a list without the edited slot, and EditSlotDrawer's useRefSM(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 .k still carried flex-direction: column from the era when the sub-text rendered under the label, so every FieldInfoIcon dropped 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.routes now holds one fastapi.routing._IncludedRouter per included router instead of that router's APIRoute objects, and the wrapper carries neither .path nor .methods. build_admin_route_map's flat one-level walk skipped every one of them, returned an empty map, and install_admin_route_map raised "catalog drift" for ~85 classified routes — which create_app caught and logged, so /mcp/admin and /mcp/memory never 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 resolves fastapi from uv.lock (0.136.1, still flat) while the installer resolves pyproject.toml, which pinned fastapi>=0.115 with 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 via effective_candidates() (duck-typed, depth-bounded, verified against real 0.138 — 315 route-map entries, both servers mounted); pyproject.toml gains <0.140; and a mount failure is now an error-level log recorded on app.state.mcp_mount_error.
  • A failed MCP mount is now visible instead of only logged. create_app still survives the failure (a serving API with no MCP beats no API), but /api/health/system reports a mcp_mount check that names the reason and flips the whole payload to degraded. The blocker above hid behind a single warning line for 21 boots with every health endpoint saying ok; 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; --now starts 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 --version and /api/health disagreed until someone restarted by hand. start_or_restart_api now enables for boot either way and issues an explicit restart when 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 Reasoning and MTP controls (fixes γ-suite, #1333). The feat(ui): slot drawer & model drawer rework landed 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 via PUT /config { enable_thinking }) and the MTP pill (llm slots only, tri-state Auto/On/Off, instant-apply via PUT /config { mtp } + non-blocking cold restart) into the Inference FieldGroup. Renamed the HW grid Hardware FieldGroup → Slot (the drawer is now Slot / Model / Inference) and the runner-binary select label Profile → 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 the hal0 user before running hermes gateway install --system, which checks os.geteuid() == 0 and refuses non-root. The --run-as-user hal0 flag already tells hermes which runtime user to bake into the systemd unit. Validated on halo150 (10.0.1.150, podman 4.9.3).
  • /mcp/memory bulk delete was an ungated bypass of the admin approval queue (#1302). mcp__hal0-admin__memory_delete gates len(ids) > 1 through the approval queue, but the standalone /mcp/memory mount 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-wide ApprovalQueue and enqueues bulk deletes itself, delegating the classification to hal0.mcp.admin.is_gated so 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-Agent is 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-supplied source, so audit can never disagree with the namespace a write landed in, but private:<agent> is an isolation boundary between cooperating agents, not a security boundary against a hostile LAN caller. Documented for operators in docs/concepts/security.mdx (with the reverse-proxy header-injection pattern for multi-tenant deployments) and next to the code in api/routes/memory.py.
  • Hindsight→pgvector degrade ladder was inert; degraded reported healthy while memory was broken (#1301). _build_hindsight_client only called HindsightRestClient.from_env(), which builds an httpx client and does no I/O — so a daemon that was down never raised at boot and provider_from_config's degrade branch never fired. Operators got a live-but-broken HindsightProvider with degraded=False: failures surfaced only as empty recalls while GET /api/status.memory_degraded and hal0 memory status both said healthy. Construction now probes /health (the same endpoint install.sh waits on), timeout-bounded via HAL0_HINDSIGHT_PROBE_TIMEOUT_S (default 2s). A 401/403 passes — 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 in unified_bank mode (#1300). Under the default config every namespace except agents collapses onto the single shared bank. private: survives that collapse because add stamps visibility:private + agent:<id>; project:<id> got no compensating marker, so a project:foo write became an ordinary shared write and a project:bar recall returned it — project scoping did not exist. Writes now stamp a project:<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, a shared read 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 load no-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 ops returned 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 needed systemctl reset-failed plus 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. --port joins the compared keys — it is the field the issue was reported against.
  • slot restart could hang forever on a wedged unit (#1224 part 1, completing the earlier fix). terminate ran systemctl stop as a blocking executor call with no timeout; against an already-failed unit that never returns, so restart's best-effort suppress(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 raises SlotTerminateTimeout on 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 --rollback reported success while the version it rolled away from kept serving every request (#1541). Rollback reverts the current symlink and re-pips the venv but never bounces hal0-api, so after a rollback the box sits in a split state: disk, venv and hal0 --version all say the old version while the running process is still the new one. The banner said only rolled 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/health reports as actually running, and when they differ says so and prints systemctl 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-process hal0.__version__, which was imported before the swap and would have compared the old version against itself. Separately, the route was discarding everything Updater.rollback() computed — rolled_back_to, previous_now and schema_warning — and now returns all three; the dropped schema_warning flags a forward-only migration the reverted tree may not understand, which is a data hazard that was never reaching an operator.
  • A successful hal0 update reported an error and exited 1 (#1540). Applying an update restarts hal0-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_job treated the first transport error as fatal and called die(), 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 blocking systemctl restart issued from inside hal0-api.service's own cgroup, so systemd SIGTERM'd the systemctl call and the calling process together — the wrapper now passes --no-block. And the job's terminal applied state 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, with restarted=None meaning "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 stale running snapshot 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-api runs as User=hal0, but /var/lib/hal0/hal0.db is 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 with attempt to write a readonly database — and because registration happens after the download, hal0 model pull fetched the entire artifact (532 MB in the report) before failing, leaving unregistered weights orphaned on disk. The ownership table had a row for registry/hal0.db, which only ever matches a SqliteModelRegistry(registry_dir=...) override used for test/dev isolation; production resolves through paths.db_path() to var_lib/"hal0.db", which had no row at all. So install.sh printed ownership table applied (37 path(s) reconciled) and hal0 doctor perms reported 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/-shm WAL siblings now have explicit hal0:hal0 rows, so both doctor perms and perms --fix cover 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/require and /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 on useAuthStatus now: 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/rotate accepts tier: "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; lastRotated is now tracked per tier so both rows show their own fingerprint and timestamp. The matching stale comments in useAuthStatus.ts ("there is likewise no key-rotation route") and endpoints.ts ("ExposureTable currently ships a stub-with-reason") are corrected too.
  • Saving an HF token swallowed every failure (#1467). setSecret.mutate carried no onError and the component never rendered setSecret.isError, so a backend rejection — e.g. 400 secret.value_invalid for 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 failed GET /api/capabilities painted 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 the AdvancedPage pattern: 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 mutate with no onError, so a failed PATCH just snapped the checkbox back on the next refetch with no explanation. Worse, AddUpstreamForm closed on onSettled, 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 uses onSuccess/onError so 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.py returned a literal "autoCheck": True derived 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.ts wires window.__hal0Toast to the useToastStore zustand store before React mounts (so bundle-init and the AuthGate login screen can toast), but nothing ever rendered the store's queue — dash/main.jsx kept its own single-slot useState and unconditionally overwrote window.__hal0Toast with 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. Added installToastQueueHook() (window.__hal0UseToastQueue, same window-hook-bridge pattern board-hook-bridge.ts uses for the no-ES-imports dash/*.jsx prototype files) and a ToastHost-style render in main.jsx that maps the real queue; deleted the shadow useState. CSS gained a .hal0-toast-stack fixed-position flex wrapper — position: fixed on each .hal0-toast directly (the old rule) doesn't respect DOM nesting, so multiple simultaneous toasts rendered on top of each other regardless of queue order.
  • ApprovalModal fabricated a capability and policy row, 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 no capability/policy field — the rows were synthesized client-side from data that doesn't exist server-side, and the "remember" button's onClick was 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 no total_tps (chrome GA polish, #1473). RDThroughputCard rendered `${serving} slot${...} serving` unconditionally once isPending cleared, but serving is derived from the last sample's total_tps, which can be null/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.code was unreachable for every REST-forwarded failure (#1468). _call_rest returned the hal0 REST envelope verbatim under its own error key, yielding error.error.code, while every in-process path — mcp.unknown_tool, mcp.missing_arg, the memory dispatcher — returns a flat error.code. An MCP client or the hal0-brain toolloop branching on result["error"]["code"] therefore read None for every forwarded 4xx/5xx, and http_status existed on only one of the two paths. _rest_error_payload now 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 synthetic mcp.rest_error code rather than being dropped, because that body is often the only evidence of what actually broke.
  • The Connections blast-radius manifest showed args: object for all ~92 hal0-admin tools, making the tool-detail feature dead for the entire admin surface (#1468). build_server deliberately advertises each admin tool as a single object-typed args property wrapping the real per-tool schema (a flat signature would make FastMCP silently drop undeclared body fields), but _args_signature only 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_envelope now descends through exactly that wrapper shape — a lone args property that is itself an object with its own properties — leaving genuinely flat schemas untouched, and leaving a tool that really does take one opaque args object 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: true entries that could not install (#1468). Checked against the live npm registry: @modelcontextprotocol/server-puppeteer, -gdrive and -slack are retired upstream, and @modelcontextprotocol/server-sqlite, @linear/mcp-server and homeassistant-mcp return 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. Since hal0 mcp catalog install feeds spec straight 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/mcp as the maintained successor to the archived puppeteer server); stars and tools are 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. verified now carries one enforced meaning — first-party publisher, not a security review — a new advisory field states that in the payload so no consumer invents its own wording, and categories is 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 install spec.
  • A <tool_call> wrapper holding more than one <function> ran only the first — the rest were silently dropped (#1509). The nested attribute-XML branch accepted nested[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: cleaned deletes 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 has data === 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 consulted isError at 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 panel return nulled on an empty list, so the whole card silently disappeared; and bank cards showed every count as 0, 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/state feeds seven call sites and none of them consulted isError; 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, and main.jsx leaves the tab title on its build-time stamp. The Updates page was the exception, and in the #1467 shape exactly: the channel <select> read u.hal0?.channel || 'stable', so any outage displayed stable — a specific, plausible, persisted-looking value the page never actually read. A box on nightly was shown stable with 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 to current {u.hal0?.current} with current undefined, 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 on stateQuery.data and 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, since updatesState is 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 in mockFetch: 24 plain rows were substituted before any fetch was issued — so a page.route override never even saw the URL — and the 6 networkFirst rows 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-probe isError banner 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.__hal0MockPassthrough now lets a spec claim paths (string prefix or RegExp) and drive its own responses. It gates substitutable, which all four substitution branches already consult — pre-fetch, 404 fallback, network-error fallback and the networkFirst rescue — 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 in ui/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). SettingsShell seeded a local useState(initialSection) from the param prop once at mount; since the outer router keeps route at "settings" across every #settings/<section> hash (only the sub-path changes), the component was never remounted — only re-rendered with a new param, which the local state ignored. Deep links landed on the wrong section, and browser back/forward did nothing. section is now a pure derivation of param (no local state), and the nav's onSelect writes the hash instead of local state, so the existing hashchange listener is the single feedback loop for both directions.
  • The console no longer logs a 404 for GET /api/migrations/flag-report on every route (#1439). The backend route doesn't exist yet (flagged — it lands with the migration lane), but useMigrationReport polled it every 60s from the app root (MigrationBanner mounts in main.jsx) regardless of page. The hook's try/catch prevented a crash but not the browser logging the failed request. The query is now enabled: false until the real endpoint ships; report/count/hasWork already 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.default already 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. ModelRow now renders a ✓ default chip when model.default is 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 ConfirmDialog primitive's default non-destructive footer copy is accurate for most of its callers but not this one; it now accepts an optional footerNote override, and DuplicateModelDialog states the real contract: "The duplicate can be deleted at any time; weights are shared."
  • /v1/images/generations accepted curated entries that are not renderable checkpoints and silently pinned a LoRA or a .pth upscaler in as the workflow checkpoint (#1470). The gate was a bare curated.capability != "image" check, but six curated entries carry capability="image" and two are not checkpoint files: esrgan-4x is a RealESRGAN .pth upscaler (comfyui_subdir="upscale_models") and sdxl-lightning is a LoRA whose own notes say it needs the SDXL base already loaded. Both passed, and template_for_model_class deliberately falls back to sdxl_turbo_simple for any unrecognised model_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 its model_class resolves to an explicitly-declared template. The and matters: sdxl-lightning is already tagged comfyui_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 .gguf pinned as a safetensors checkpoint — the same defect as the two named ones, previously unnoticed. Flux-2-Klein-9B-GGUF still passes, since its flux-klein class 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). paneData fell back to COMFYUI_V2_MOCK — "generating · 72%", a wan2.2-i2v render at KSampler step 3/4, a queue holding qwen-image and sdxl, GTT 54/80 — on first paint and for as long as /api/comfyui/status errored, 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 now transformComfyuiStatus(COMFYUI_FALLBACK), with the mock reachable only through the window.__comfyuiV2MockOverride e2e 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 in useComfyui.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 on ttsModel.toLowerCase().includes("kokoro") — all rendered unchanged for a live qwen3tts selection. 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 actual provider, which both the catalogue rows and the persisted selection already carried. Checked against the engine rather than guessed: qwen3tts_server.py does clamp speed to 0.5–2.0 (so that hint survives for both bundled engines) but its default voice is Ryan, not af_bella, and its sample rate is whatever the loaded model's codec reports at startup, not a fixed 24 kHz.
  • doctor all reported "Slot ports — slots endpoint unreachable" on a box that was serving every slot (#1501). The check never probed reachability; it inferred it. _get_any swallows a CliApiError to None, check_ports rendered any None as "unreachable", and api_get's budget is 10.0s — but GET /api/slots is 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.TimeoutException subclasses httpx.HTTPError, so the timeout became a CliApiError, became None, and became a false negative on the operator's first-line diagnostic — the failure mode that teaches people to ignore doctor right up until it is telling the truth. The slots probe now gets its own 30s budget (SLOTS_PROBE_TIMEOUT_S), and _get_any takes a per-call timeout so one slow route doesn't loosen the budget for every other probe in the roll-up. check_ports also stops conflating two different faults the way check_model_store never did: a None body ("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 new hal0 doctor ports lists 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 makes doctor honest 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_journal yields only journalctl output, so a slot that is warming, idle, or simply not logging emitted zero bytes — verified on the live box, where a 4-second curl -sN against a warming slot returned nothing at all. Any proxy idle timeout then dropped the stream while the client still reported disconnected=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_keepalive now yields an idle tick on the same cadence, and reconnects request backfill=0. The wrapper pumps through a queue rather than the obvious asyncio.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 in useLogs.ts justifying 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}/logs returned 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 a hint key 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 when quiet=True filters a noisy-but-real tail down to nothing, since the operator sees the same blank pane either way.
  • Retired lemond references 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.jsx carried 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/requests is a throughput rollup, not a queue, and single_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_AGENTS is ("hermes",) and POST /api/agents/install 404s 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 conflict board.py documents) 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].model and the persona's preferred_model (v1.0 GA polish, chat sweep #1469). board_chat.py (a transparent sys.modules alias of brain/chat.py) resolves payload.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 omits model entirely 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_loop matched the request's model against configured slots' model.default and 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 reuses hal0.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_loop json-dumped that straight into a 200 Response, indistinguishable from success on status code alone. It now raises a typed Hal0Error (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_labels gated 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, so generate_image/text_to_speech/transcribe_audio/analyze_image/embed_text/rerank_documents could never find an eligible slot even when a correctly-typed, correctly-capable one existed. LoadedSlot now also carries modalities, 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 pattern tool_calling already got). The label overlay falls back to it for any label that folds onto the closed Modality taxonomy (vision/tts/image, and the tool-taxonomy aliases transcription/embeddings/reranking). Struck from the checklist, not implemented: edit_image's edit label has no Modality equivalent — 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; edit still 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 a retry_after_s hint in the structured error envelope for exactly this case. A failed send now restores the message to the input box, surfaces retry_after_s when present, and a Retry control resends without retyping.
  • Duplicate CHANGELOG subsection headings silently dropped entries from release.json (#1499). extract_structured assigned 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 what hal0 update renders 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" — and spec-hw-slot-ownership §8 prescribes the slot editor exhaustively as the 4-field HW grid plus image_pin. Template (chat_template override), 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.py does del profile_flags, slot_parallel, extra_args; resolve_chat_template documents the per-slot key as "no longer consulted"; ServerConfig.extra_args and SlotConfig.parallel both describe themselves as "INERT at launch … Retained for TOML round-trip"). Worse than dead UI: Template also fired POST /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 under spec-hw-slot-ownership §1, and the Model group now signposts where the launch tune actually lives. chat_template is 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 remains hal0 slot migrate-flags, which shipped first for exactly this sequencing (#1396/#1397). The extra_args shlex 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.ts pins the absence AND the wire-level guarantee that no Save can put chat_template, parallel or server.extra_args on the wire even when the slot TOML carries all three; the nine tests that asserted these writes (field-wiring W3/W7, slot-edit-controls extra_args + Parallel, slot-drawer-profile C7k) are removed with the surface they covered.
  • scripts/dev-bootstrap.sh left 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 runs npm run dev, which forks node; killing the wrapper reaped neither. So Ctrl-C (or any TERM) took down the API and left Vite alive on UI_PORT — and because playwright.config.ts sets reuseExistingServer, 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 surviving vite/uvicorn in the worktree. The container name is now HAL0_OWU_CONTAINER-overridable for the same reason, and HAL0_DEV_SKIP_OPENWEBUI=1 drops the hard Docker requirement for checkouts that don't need it.
  • search's before/after time-window filters were accepted and silently dropped on the durable engine, while the degrade fallback honoured them (#1471). HindsightProvider.search took before/after/mode and delegated to recall() 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 from PgVectorProvider when 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 fill limit instead of silently returning short. Deliberately not mapped onto Hindsight's query_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_list pagination was dead on Hindsight — only the first page of a bank was reachable (#1471). list_items accepted a cursor and never used it, always calling list_memories(offset=0) and returning next_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 first limit (max 200) was silently unreachable. Cursors now encode bank@offset, which is all Hindsight's /memories/list needs since it already supports offset. 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 than limit items 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 consulted isError — so a 503 memory.unavailable / memory.engine_unreachable was 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].enabled beyond reporting and extraction-slot routing — Hindsight builds its graph natively inside the daemon and keeps extracting either way, which is why /graph/status counters (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/--model options are dropped too.
  • Bumped postcss past the path-traversal .map-disclosure advisory (v1.0 GA polish, #1476). ui/package-lock.json locked postcss@8.5.15 (<= 8.5.17 vulnerable, 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 on main going into GA. npm update postcss in ui/ bumps to 8.5.25 (well past the 8.5.18 fix); UI build verified clean.
  • The login/rotate rate limiter (and caller-IP attribution) can now honour X-Forwarded-For behind a reverse proxy, opt-in (v1.0 GA polish, #1476). _client_ip read 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_FOR toggle (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-supplied X-Forwarded-For (Traefik/nginx/Caddy do this by default). When enabled, the leftmost X-Forwarded-For entry is used instead of the raw peer.
  • hal0 bench is now documented in cli.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's path not in text check treated the substring bench inside bench-tuned as a match, so the parity guard passed while the command was fully undocumented. Matching is now word-boundary (bench-tuned no longer satisfies bench), and a new parity walk over hal0.bench.cli's argparse subparsers — the surface _walk()'s typer traversal can't see past the single top-level bench passthrough 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-keying now matches its four siblings' dry-run contract (v1.0 GA polish, #1474). migrate-id-keying applied its destructive rename by default (--dry-run opt-in), while migrate-hw/migrate-caps/migrate-flags/migrate-enabled-removal are all dry-run by default (--apply opt-in) — an operator habituated to "run bare to preview" by the other four got a real migration from the fifth. --apply now gates the write; --dry-run still parses (a no-op alias, since dry-run is the new default) so existing scripts keep working.
  • cli.mdx's hal0 setup section 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 --auto slot-seeding prose with what install.sh actually invokes (--auto --no-pull --no-extensions — slots yes, models no) rather than the stale premise that --no-slots is the installer's default call.
  • install.sh's repair/upgrade-in-place path now runs the same post-activation migrations hal0 update does (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_args sanitizing); install.sh's re-run path called only two of them directly, so a box upgraded by re-running install.sh kept a stale meta.schema_version, stale runner-image pins, and unsanitised defaults.extra_args that hal0 update would have fixed — two boxes on the same version, different on-disk state. Extracted the sequence into one shared run_post_activation_migrations() (hal0.updater.updater), called from both Updater.commit() and install.sh's venv-python block, so the two upgrade paths converge.
  • Updater.rollback() now re-renders slot units, mirroring commit()'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-moe profile, brain's tuned profile, embed's 4096 context, ...) now reach a fresh install (v1.0 GA polish, #1475). install.sh ran hal0 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 brain seed no longer pins an unresolvable model id (v1.0 GA polish, #1475). brain.toml shipped default = "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: brain now ships model-less like every other seed (the steward chat already falls back to the agent slot 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_slots runs in a later boot phase than fold_identity, so a slot it adds fresh (e.g. a new release's coder/embed/qwen3tts seed 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/slots entries. 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 model defaults.profile references (HAL0-41, #1437). The 409 profiles.in_use guard scanned slot TOMLs (slots_using) but never the model registry, so a model that preferred a profile via defaults.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.delete now also scans the model registry (ProfileCatalog.models_using) and folds both slot and model hits into one conflict; the error details gains a models key alongside the existing slots key, so existing callers reading details["slots"] are unaffected.
  • POST /api/profiles/import now returns 201 on commit, matching POST /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. The dry_run branch creates nothing and still returns 200.
  • Dropped the vestigial enabled column surface from the slot identity table (#1383). #1369 removed SlotConfig.enabled from the TOML schema (model-presence is the sole activation signal), but the SQLite slot identity table (hal0.slots.identity) still carried the flag: SlotRow.enabled, create()'s enabled parameter, set_enabled(), and list_by_type(enabled_only=...). Since #1369 every row is registered enabled = 1 in perpetuity (migrate_id_keying.py's slot_tbl.get("enabled", True) can only ever fall through to its default, as no slot TOML carries the key anymore), so set_enabled() had zero production callers and the AND enabled = 1 filter in list_by_type was 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: SlotRow no longer carries enabled, create() no longer accepts it, set_enabled() is deleted, list_by_type() no longer accepts enabled_only, and migrate_id_keying.py no longer feeds the column from TOML. The SQLite slot.enabled column itself stays on disk (additive schema, DEFAULT 1) — no destructive migration; simply nothing reads or writes it anymore.
  • A model row could still advertise vision with 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 the vision capability requires an mmproj sidecar path error, so the invariant held in exactly one of the several places a registry row can be written; screen_model_write — the shared screen for POST /api/models, PUT /api/models/{id} and POST /api/models/validate, whose docstring enumerates what it checks — looked only at defaults.extra_args, so PUT {"capabilities":["chat","vision"],"mmproj":null} via curl, the CLI, or MCP model_edit persisted the same broken row and the launch path got no --mmproj to hand llama-server, loading text-only under a vision alias. The invariant now lives in one predicate, models_service.screen_vision_mmproj, raising model.vision_requires_mmproj in 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 as existing), so a body that adds vision without mentioning mmproj is checked against the persisted projector rather than an absent key — and /validate resolves the same row from an optional body id so the drawer's dry run matches the save; pre-existing rows are not retro-broken, because the screen fires only on a write that touches capabilities or mmproj — 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: an mmproj path that isn't a file on this host is now model.mmproj_not_found at SAVE instead of a slot that fails at load — safe to check eagerly because the pull worker writes the post-download path straight through registry.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.jsx rendered vision label requires an mmproj file — pick one below while canPull = inspected && variant && name && !pullJob.inFlight carried no mmproj term, so ticking vision with nothing selected left Pull live and onPull sent mmproj_filename: undefined. The modal writes its registry row through POST /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 body labels against the sidecar the job will install (require_on_disk=False: mmproj_file is an HF filename inside the repo, not a host path) and 400s before seeding or scheduling anything. Client-side, the error folds into the single canPull gate 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> gain data-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/.models wrapper that /api/capabilities doesn't ship (#1454). GET /api/capabilities returns catalogs.voice.stt, catalogs.voice.tts, and catalogs.img.img as bare arrays of picker rows ({id, capabilities, size_gb, backends} — mockFixtures.ts buildCapabilities() already documented the real shape); VoicePage.jsx and ImageGenPage.jsx read voiceCatalogs.stt?.items || voiceCatalogs.stt?.models || [], and an Array has neither property, so catalogItems was 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's CapabilitiesBag type is corrected from the obsolete pre-orchestrator {capabilities: Record<...>} envelope to the real {backends, catalogs, selections} shape. /api/capabilities also gains networkFirst: true in the mock allowlist so a spec's page.route override is authoritative in forced-mock e2e, matching the sibling profiles/stacks/chat-templates rows.
  • 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.jsx mounted <ModelsBlock /> with no props, so its INV_DEFAULT/MODELS_DEFAULT fallback 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/status already carried the result as inventory. transformComfyuiStatus (useComfyui.ts) never mapped that field into the pane's data shape, so the wiring gap was silent. inventory now flows status.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 — when inventory is null (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 live model prop. Both callers hand it a live-polled value — models.jsx does modelList.find(m => m.id === selId) off modelsQuery.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) moved defaults.context_size under 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 since onSave rebuilds the entire defaults block a zero-edit Save was not the harmless no-op the issue assumed — it rewrote context_size, extra_args, chat_template, profile, n_gpu_layers and all four tri-state caps; (c) onSave started 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: modelBaseline snapshots the row once at open (including the whole defaults block for pass-through, and the already-canonicalised capability list so a late /api/meta/enums load can't fabricate a diff), deriveModelChanges derives 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: useModels has no union/soft-fail fallback — the /api/status leg of fetchSlotsUnion is 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.ts pins 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 the slot prop, which useSlots re-derives every 5s. The two sides drifted with no operator input, and the drawer read that drift as an edit. Two live consequences: (a) ctxBaseline fell back to slot.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 wrote PATCH /defaults {"ctx_size": 8192}, turning a transient observation into a persisted --ctx-size that pins the slot's context window from then on; (b) one dropped /api/slots poll degrades the entry to the bare /api/status shape, which carries no config enrichment at all (config_enrichment runs only in the /api/slots builder), so for that interval every batched field read dirty and an idle Save rewrote chat_template/binary/n_gpu_layers and fired POST /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. useSlots additionally 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.ts pins 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 via window.__hal0MockSlotsDegraded, which fails GET /api/slots and strips the config keys off the /api/status union entries.
  • Self-update works on the shipped User=hal0 posture — it was structurally impossible before (#1464). P3-perms flipped hal0-api.service to User=hal0 and pinned /usr/lib/hal0 to root:root 0755, declared in install/perms.py as "never service-writable at any point". The updater never got the matching seam: Updater.prepare/commit/rollback ran entirely in-process inside hal0-api and wrote that tree directly — extract to <lib>/hal0-<version>/, atomic-swap <lib>/current, pip install --force-reinstall into the root-owned venv. Every one of those is EACCES for 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-blob pass, surfacing as a raw UpdateExtractError('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 the hal0-systemctl wrapper has no staging/swap/pip verbs. The three privileged phases now route through hal0-update — a new narrow sudo seam built exactly like hal0-systemctl (installer/wrappers/hal0-update + packaging/sudoers/hal0-update, grant pinned to the binary, every argument validated, no shell, no wildcards), fronted by hal0.updater.privileged.UpdateSeam, which mirrors SystemCtlSeam's gating: it engages only when the process runs as the literal hal0 service 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 a hal0-<version> directory basename (never a path, never a file body, never a URL). stage deliberately 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 root pip install an attacker-supplied tree, i.e. turn the grant into arbitrary root code execution. activate additionally 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, the hal0.previous breadcrumb, the slot-unit re-render — stays unprivileged on purpose, so root never re-owns /etc/hal0 or the SQLite files out from under the service. prepare/commit/rollback now 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: rollback refuses a hal0.previous breadcrumb pointing outside the install root (the seam only takes a basename), and on a box where current points at a non-root-owned tree — a hand-deployed git checkout, not a released install — activate refuses with the chown command to fix it.
  • hal0 doctor now 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 through sudo -n /usr/lib/hal0/bin/hal0-*, and install.sh installed each wrapper + /etc/sudoers.d drop-in best-effort: a visudo -cf failure or a missing source produced only a mid-log warn, after which the run proceeded to its success box. Nothing verified the result afterwards — preflight_all's 15 checks never touched sudoers, doctor verify composes only live-API rows, doctor all's extras were auth/model-store/migrations/ports/hal0.target, and doctor perms had a row for /usr/lib/hal0 but 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 and daemon-reload failed undiagnosably. Three changes: hal0.system.seam_check is 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, via sudo -n -u hal0 sudo -n … when run from root). hal0 doctor all gains a Privileged seams row wired to it — a broken required seam (hal0-systemctl, hal0-update) is an actionable fail (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 advisory warn, never a silent pass. And install.sh now dies rather than warns when a required wrapper or grant fails to install, requires visudo on a real install (hal0 cannot run without sudo), and runs preflight_seams as a post-install assertion once the wrappers are down — deliberately not part of preflight_all, which runs before the seams exist. doctor perms also gains a row for <lib>/bin/hal0-* so a drifted wrapper mode is repairable by --fix.
  • PUT /api/models/{id} merges the nested defaults one 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", but registry/store.py::merge_update was flat — {**existing, **updates} — so a body that so much as named defaults replaced the entire ModelDefaults table. Every sibling the client didn't resend (context_size, rope_freq_base, chat_template, profile, mtp, jinja, enable_thinking, vision) reset to null behind an HTTP 200, with changed_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. defaults and capability_flags — the two schema'd subtables _model_to_toml already special-cases — now merge per sub-key with the tri-state semantics those fields already carry: absent keeps the stored value, an explicit null clears that one value, and {"defaults": null} still drops the whole table. metadata is 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 by delete-ing its key (model drawer, recipe editor, MODELS ▸ Defaults) now send an explicit null, since under the new merge an omitted key means "keep", not "clear".
  • A malformed defaults.context_size returns 400, and 0 / negative / absurd values are rejected (#1414, server half of #1378). {"context_size": "abc"} escaped as an HTTP 500 model.registry_error carrying a raw pydantic traceback in details.reason — merge_update wraps any Model.model_validate failure in RegistryError, so plain client garbage produced a 5xx. Meanwhile 0, -1 and 99999999 all persisted with a 200 and round-tripped through GET into the database, and POST /api/models/validate reported {"ok": true} for every one of them, because screen_model_write only ever inspected preferred_runner and defaults.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_write now parses the incoming defaults through ModelDefaults (→ 400 model.defaults_invalid) and range-checks context_size against [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 a Field(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 /validate share the one screen so the three cannot drift, the way extra_args already couldn't; MODELS ▸ Defaults gains the matching inline ≥ 128 gate.
  • 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_token is the §11.1 id-flip seam: post-migration it returns the durable cfg["id"], so load_sync creates hal0-slot@2.service / hal0-slot-2 for the slot displayed as brain. The lifecycle half resolved that token first; the query half — ContainerProvider.is_active / running_image / running_argv, plus slot_view's raw stopped-vs-crashed systemctl is-active, which hardcoded f"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 → inactive while hal0-slot@2.service was active, podman inspect hal0-slot-brain → no such object. Because is_active is the drift reconciler's only source of truth (SlotManager.status), every healthy slot was force-transitioned to OFFLINE on every poll — the dashboard showed three Up (healthy) containers as not-loaded, the dispatcher readiness gate answered 503 slot.loading / 502 slot.load_failed for slots that were generating and then tried to "recover" them, running_image returned None for every slot so the #663 image-is-the-backend record was inert, and Hindsight fact extraction against the utility slot 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.py is_active + readiness_check, slots/manager.py reconcile_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 no id, the token IS the name. tests/slots/test_query_path_token_keying.py pins the invariant the seam exists for — given {"name": "brain", "id": 2} the probe half and the teardown half target the same hal0-slot@2.service.

Truncated — full notes in CHANGELOG.md and as RELEASE_NOTES.md inside the release tarball.