release history · derived from CHANGELOG.md

Releases

Every hal0 release, newest first, from the product changelog. The latest stable is whatinstall.sh installs and what hal0 update moves you to.

stable · defaultpreview · next linenightly · ahead of stable

Latest stable release

latest stable1.8.02026-11-20 · tag v1.8.0

Highlights

  • Memory v3: one Memory area, two banks and a guarded embedder switch. The Hindsight memory engine moves to 1.2.0; the dashboard has one top-level Memory area; a new install keeps memory in hal0:shared and hal0:private, and hal0 memory migrate fold-in moves an existing store there; the embedder changes only through hal0 memory embedder switch; and hal0 decides when knowledge pages refresh (ADR-0058, ADR-0060).
  • An NPU tab and the optional xdna NPU runner. Slots → NPU shows the FLM and GGML lanes with live activity, and xdna runs plain GGUF models on the AMD XDNA2 NPU beside FLM (ADR-0057, ADR-0059).
  • The agent bridge. hal0 bridge add <name> admits a remote coding agent (Claude Code, Codex, a CI job) with a revocable hal0bk_ key of its own, and its hal0-agents, hal0-memory and opt-in hal0-admin MCP servers let it delegate to the bundled Hermes agent and share hal0 memory (ADR-0043).
  • Open WebUI gets hal0's tools and shared memory. Every chat carries the memory and Hermes delegate tools, and an optional Filter cites shared Hindsight memory beside uploaded documents (ADR-0049).
  • The installer shows a component checklist. --no-owui, --no-comfyui, --no-hermes, --no-pi, --no-memory and --no-brain-model skip one component each, and --bare installs inference only.
  • An opt-in rootless podman box. install.sh --box runs hal0 inside one rootless podman container under a dedicated hal0box user, managed by sudo hal0 box ...; bare metal stays the default (ADR-0051).
  • Slot tune overrides. A slot can carry a sparse [tune] table (context, thinking, reasoning effort and budget, vision, speculation) that overrides its profile, in REST, CLI, MCP, stacks and the console (ADR-0045).
  • The Operator Board is the Hermes kanban. /api/board/* proxies the Hermes kanban plugin and existing hal0 cards migrate into it (ADR-0046).

4 more in the notes below

breakingBehind a reverse proxy with no HAL0_OPENWEBUI_PUBLIC_URL or HAL0_COMFYUI_PUBLIC_URL, the dashboard no longer links Open WebUI at <proxy host>:3001 or ComfyUI at <proxy host>:8188. GET /api/config/urls returns openwebui / comfyui as "" with the reason proxy_needs_public_url, and the Services rows have no url. If the proxy runs on the hal0 box itself, those links worked before and are now gone: set both variables in /etc/hal0/api.env to get them back. A direct hit on hal0-api keeps the host:3001 / host:8188 fallback. See Fixed. (#3381, #3505) 16 more under Breaking in the notes below.
fresh boxLinux x86_64
curl -fsSL https://hal0.dev/install.sh | sudo bash
existing boxcosign-verified swap
sudo hal0 update

Switch lines with hal0 update --channel preview or --channel nightly.hal0 update --rollback reverts the code in one step; config and state do not roll back.

Recent releases

1.8.0

2026-11-20Memory v3: one Memory area, two banks and a guarded embedder switchstable

Highlights

  • Memory v3: one Memory area, two banks and a guarded embedder switch. The Hindsight memory engine moves to 1.2.0; the dashboard has one top-level Memory area; a new install keeps memory in hal0:shared and hal0:private, and hal0 memory migrate fold-in moves an existing store there; the embedder changes only through hal0 memory embedder switch; and hal0 decides when knowledge pages refresh (ADR-0058, ADR-0060).
  • An NPU tab and the optional xdna NPU runner. Slots → NPU shows the FLM and GGML lanes with live activity, and xdna runs plain GGUF models on the AMD XDNA2 NPU beside FLM (ADR-0057, ADR-0059).
  • The agent bridge. hal0 bridge add <name> admits a remote coding agent (Claude Code, Codex, a CI job) with a revocable hal0bk_ key of its own, and its hal0-agents, hal0-memory and opt-in hal0-admin MCP servers let it delegate to the bundled Hermes agent and share hal0 memory (ADR-0043).
  • Open WebUI gets hal0's tools and shared memory. Every chat carries the memory and Hermes delegate tools, and an optional Filter cites shared Hindsight memory beside uploaded documents (ADR-0049).
  • The installer shows a component checklist. --no-owui, --no-comfyui, --no-hermes, --no-pi, --no-memory and --no-brain-model skip one component each, and --bare installs inference only.
  • An opt-in rootless podman box. install.sh --box runs hal0 inside one rootless podman container under a dedicated hal0box user, managed by sudo hal0 box ...; bare metal stays the default (ADR-0051).
  • Slot tune overrides. A slot can carry a sparse [tune] table (context, thinking, reasoning effort and budget, vision, speculation) that overrides its profile, in REST, CLI, MCP, stacks and the console (ADR-0045).
  • The Operator Board is the Hermes kanban. /api/board/* proxies the Hermes kanban plugin and existing hal0 cards migrate into it (ADR-0046).
  • halogen, an optional runner for Qwen3.8-Flash-Next on Strix Halo. The vendor's image is pinned by digest and serves one llm slot through hal0's /v1 (ADR-0047).
  • A new Overview page. The dashboard opens on an operator's briefing: what the box is doing, what needs you, who is working and how it performed (ADR-0044).
  • Hermes profiles and the brain now write shared memory by default.
  • Upstream providers route per model, and a new Providers tab manages them. Each remote provider stores the models you switched on, only those route, and a converted provider's models are listed as <provider>/<id>. Models → Providers and an Add provider dialog replace the Upstream tab and the Slots → Endpoints panel. Existing providers convert on the first start of hal0-api, and a model their old filters hid comes up switched off (see Breaking and Migrations).

Breaking

  • Behind a reverse proxy with no HAL0_OPENWEBUI_PUBLIC_URL or HAL0_COMFYUI_PUBLIC_URL, the dashboard no longer links Open WebUI at <proxy host>:3001 or ComfyUI at <proxy host>:8188. GET /api/config/urls returns openwebui / comfyui as "" with the reason proxy_needs_public_url, and the Services rows have no url. If the proxy runs on the hal0 box itself, those links worked before and are now gone: set both variables in /etc/hal0/api.env to get them back. A direct hit on hal0-api keeps the host:3001 / host:8188 fallback. See Fixed. (#3381, #3505)
  • Saving [memory.models].embeddings_provider or embeddings_model no longer changes the memory engine's embedder. The embedder is a property of the store: hal0 records the one that built it and renders the engine from that record. The saved value stays in hal0.toml and takes effect only through hal0 memory embedder switch (on a box with no memory store yet the save still applies). An existing store is recorded as BAAI/bge-small-en-v1.5, which built it; nothing re-embeds on update. See Added. (#3518, #3541, #3548)
  • [memory] unified_bank is retired, [memory] bank defaults to hal0:shared, and hal0 memory migrate unify is removed. Which bank layout a box uses is now a fact about its store, recorded in /var/lib/hal0/state/memory-layout.json, not a config key; a leftover unified_bank is read only to record an existing store's layout. An upgraded box keeps the banks it has until hal0 memory migrate fold-in moves it to hal0:shared and hal0:private. A script that assumed the engine bank behind shared is literally shared should read banks.layout from GET /api/memory/health. hal0 memory migrate platform now has no default target and refuses hal0:shared and hal0:private. Like #2865, removing migrate unify is a deliberate exception to the rule that CLI commands are removed only in a major release. (#3572, #3621)
  • Another agent's private memory is no longer returned by the bank-wide memory read tools, and directives belong to the agent that wrote them. The document, knowledge-base, mental-model, tag, operation, bank-stats and memory-history reads (REST and the memory_* MCP tools) apply the same visibility rule as recall, and something the caller may not read answers as missing (memory.document_not_found, memory.mental_model_not_found, memory.knowledge_page_not_found, memory.memory_not_found). memory_bank_stats returns health fields only, with counts_withheld: true, while the bank holds another agent's private memory. Updating or deleting another agent's directive answers 404; a bank-wide or multi-agent directive answers 403 memory.directive_operator_managed, and an unidentified caller 403 memory.directive_owner_required. The dashboard's admin routes under /api/memory/banks/{bank}/… are not filtered. See Security. (#3573, #3575, #3600, #3601)
  • Session ids and lifecycle words in a memory write's tags become metadata. A session:<id> tag (or session_id:, session-id:, sessionid:, or a bare UUID) is stored as metadata session_id (session_ids when there are several), and a bare checkpoint, session-end, pre-compress, continuity, bootstrap or chat tag as metadata lifecycle. A tag-filtered search for those values matches only memories written before 1.8.0. See Changed. (#3540)
  • A bridge key minted under a now-reserved client name is refused everywhere. unknown and unresolved join the reserved names, and a key minted earlier under any reserved name gets 403 bridge.client_name_reserved on every non-OPEN route, /mcp/* and /api/memory/compat included. Revoke it with hal0 bridge revoke <name> and add the client again under another name. See Security. (#3560, #3567)
  • hal0 mcp add and hal0 mcp remove are gone: use hal0 mcp install and hal0 mcp uninstall. They were plain aliases of those two commands, with the same route and the same flags, and now exit 2 as unknown commands. Like #2865, this is a deliberate exception to the rule that CLI commands are removed only in a major release. (#2864)
  • hal0 agent upgrade is gone: use sudo hal0 update component pi. There is no alias, and hal0 agent upgrade now exits 2 as an unknown command. The new command does what the old one did, as root in the CLI. Pi now appears in hal0 update status and GET /api/updates/components. A plain hal0 update never re-pins it. The row is advisory and never changes the exit code of hal0 update or hal0 update status: it reads update-available when Pi is behind its pin, newer-than-pin when it is ahead, and unknown when the pin cannot be read. The Agents card's commands.upgrade carries the new command. Like #2865, this is a deliberate exception to the rule that CLI commands are removed only in a major release, approved by the operator. (#2991)
  • Approval decisions need a signed-in session or root. POST /api/agent/approvals/{id}/approve|deny refuse a bare API key (admin, agent or bridge tier) with 403 auth.forbidden; decide from the dashboard (a session) or with sudo hal0 agent approvals approve|deny <id> on the box, which talks to hal0-api over a root-only socket. A script that decided approvals with the admin key must sign in first (POST /api/auth/login) or move to the CLI. On a box with no admin key the gate does not exist, as before (ADR-0048, amends ADR-0024 item 2).
  • The Operator Board is now the Hermes kanban (ADR-0046); hal0 no longer keeps its own board. /api/board/* is a live, audited proxy to the Hermes kanban plugin, and /api/board/events is proxied too. Cards that exist in a box's hal0 board are migrated into the Hermes board of the same slug (in triage) at the first board request, or exported to board-legacy-export-<timestamp>.json in the hal0 state directory when Hermes is not installed. HERMES_SESSION_TOKEN is ignored: the token comes from /var/lib/hal0/state/agents/hermes/dashboard-session-token, which the hal0-agent shim writes, and hal0 doctor warns while HERMES_SESSION_TOKEN is still set in api.env. ETag and If-Match on /api/board are no longer honoured. The board needs a running Hermes and answers 503 board.not_installed, 503 board.unreachable or 503 board.no_token otherwise (Hermes's own errors are board.upstream_error). (#3264, #3266, #3265, #3272)
  • hal0 profile migrate and the automatic ADR-0029 profile-centric conversion are removed. This is a deliberate exception to the rule that CLI commands are removed only in a major release, approved by the operator for v1.7.2: the upgrade floor is >=1.5.0, and 1.4.0 shipped the conversion. (#3084)
  • A slot file that still carries tuning keys no longer launches from its saved argv. On a box where the converter blocked a slot, that slot now refuses to start with slot.unconverted (422) until the keys move to a profile. To fix it, delete the keys from the slot file, put their values on a profile (hal0 profile create), and name it with profile = "<name>" in the slot file; hal0 config validate confirms the file loads. Nothing rewrites the file for you. hal0 update lists each such file and exits 2, and hal0 doctor profiles fails on it. (#3084)
  • Schema migration 015 irreversibly drops the retired model tuning: six model columns (profile, extra_args, n_gpu_layers, context_size, rope_freq_base, preferred_runner), the legacy_model_tuning holding table, and the _enable_thinking and _vision keys of extra. When any of that still holds a value, hal0 first writes /var/lib/hal0/backups/hal0-pre-015-<timestamp>.db (mode 0600), and does not run the migration if the backup fails. A slot's old tune can be read back from that copy. Rollback to 1.7.x still works: 1.7.x runs on the reduced schema. (#3084) If that backup cannot be written (full disk is the realistic case) the migration is held, the database is untouched, hal0-api starts, and the model list answers 500 system.internal until the backup succeeds; the journal names the path and the fix.
  • Profile and stack envelopes carrying mtp are refused with profiles.envelope_schema_unsupported or stacks.envelope_schema_unsupported, instead of being converted. Only a 1.4.x export carries it; re-export from hal0 1.5 or newer. (#3084)
  • X-hal0-Agent alone no longer grants private memory, and the bridge's teach tools are shared-only. A third-party caller that named itself with the header to read or write private notes is now anonymous (shared only); give it a bridge key with hal0 bridge add <name> instead. Its existing notes stay under the old name. agent_memory_add and agent_memory_search on /mcp/agents no longer touch a Hermes profile's private memory. See Security (#3569).
  • A remote upstream provider now routes only the models you have switched on, and a converted provider lists its models as <provider>/<id>. On the first start of hal0-api 1.8.0, each remote provider in /etc/hal0/upstreams.toml that answers is converted: hal0 reads its model list, stores one [[upstream.models]] row per model and clears its model_filters. A model the old filters advertised comes up enabled. A model they hid comes up disabled, and a request for it now answers 404 upstream.model_not_enabled instead of routing, until you enable it with hal0 upstream enable <provider> <model> or under Models → Providers. A model id enabled on two providers answers 400 upstream.model_ambiguous and names the <provider>/<id> forms to use, where it used to go to the first by priority. GET /v1/models lists a converted provider's models as <provider>/<id>, and a bare id still routes when exactly one provider enables it. A provider that does not answer is left as it was and retried at the next start. Picks in the old providers.toml, which nothing routed by before, now decide which models are enabled, and the file is renamed providers.toml.retired once every provider it names has converted. Before the first conversion hal0 copies the file to /etc/hal0/upstreams.toml.pre-convert (never overwritten), and comments in upstreams.toml are lost when it is rewritten. See Migrations for rolling back. (#3782, #3788)
  • Sentry error reporting is removed. The optional sentry extra (pip install 'hal0ai[sentry]'), the HAL0_SENTRY_* and SENTRY_DSN settings, the dashboard's VITE_SENTRY_* build options and the Sentry guide are gone, so a box that had turned reporting on stops sending crash reports once updated. Those variables are no longer read and are harmless in an environment file. Unhandled errors are still written to the journal as before. (#3783)

Added

  • One Memory area in the dashboard. A single "Memory" sidebar row (shown while memory is enabled) opens #memory/<tab> with five tabs: Health (an ordered repair path from GET /api/memory/health that names the cause first and offers one action on the current step), Facts, Knowledge (the page tree, mental models, directives, the bank's minimum refresh interval and "Refresh all stale"), Operations (the queue, failed operations, "Consolidate now", retry and discard) and Agents (who reads and writes memory, and the steps to connect a coding agent). The tab, bank, project, fact and page live in the address, so a reload or a shared link lands on the same view. It replaces the Agents ▸ Memory tab and the memory tools page, which are removed; #memory, #memory/bank?…, #agent/memory and #memworkspace redirect to the matching tab until v1.9.0. The extraction disclosure and the engine-env warning moved to Settings ▸ Memory, which also has a Memory switch (memory.enabled, the key hal0 memory enable|disable writes; it applies after a hal0-api restart and deletes nothing). (ADR-0058; #3559, #3561, #3563, #3565, #3566, #3570)
  • GET /api/memory/health says whether memory needs the operator and what to do first. It always answers 200 with a verdict (clear, attention or unreachable) and ordered steps (engine, extraction, queue, then fold_in while banks wait to be folded in or embedder, then knowledge): the first open step is current, and a later open one names the step it waits on. banks.layout reports legacy_unified, legacy_split or two_bank. On a two-bank store the figures and the verdict count only hal0:shared and hal0:private, banks the fold-in retired are listed with retired: true, queue.oldest_waiting_s ages retains only and queue.oldest_waiting_any_s the oldest due operation of any type. Under the default scheduled refresh policy a stale knowledge page or mental model opens the knowledge step only once it has missed a run (its last refresh is older than one schedule interval plus an hour; the answer adds stale_overdue and stale_grace_s), so the verdict is not open for most of every day. (#3556, #3691, #3693, #3767)
  • A new install keeps memory in two banks, hal0:shared and hal0:private, and a shared read sees project memory. Every agent's durable memory goes to hal0:shared; every private:<agent> note goes to hal0:private, where its agent:<id> tag scopes it to its writer. The namespaces callers use (shared, private:<agent>) do not change. [memory] bank defaults to hal0:shared and a new [memory] private_bank to hal0:private; the two must differ. A project: tag no longer hides a memory from a shared read: recall, search, list and reflect (REST and MCP) take an optional project (a name, or "*" for all) that narrows a read to that project plus global memory. An upgraded box keeps its banks until the fold-in below. (ADR-0058 decision 7; #3572)
  • hal0 memory migrate fold-in moves an existing store into hal0:shared and hal0:private. It folds the coding-agent, pi-coder, Hal0::Agents, old platform and private__<agent> banks into the two banks, tags by project and owner, splits private facts out to hal0:private and re-embeds with the store's recorded embedder (no LLM calls). It is a dry run unless --apply, needs root for --apply and --resume, pauses memory writes and isolates the engine for the whole run, checks every bank before importing any, and deletes no bank: the old banks stay on the engine, unread after the cutover. The store moves to the two banks only when every old bank is folded; a run that leaves a bank exits 3 and the box stays on the old layout. It also carries the old banks' extraction, refresh-floor and observation-scope settings onto the targets, puts coding-bank knowledge pages in their project's folder (old page ids keep resolving through /api/memory/compat), and on a rerun requeues the facts of observations it cannot carry. --status, --resume, --clear-gate, --bank, --owner, --map, --skip, --forget-skip, --allow-exposed-engine and --json are the other flags. hal0 update never starts it and answers 409 system.update_blocked_by_fold_in while one is running or unfinished. hal0 memory knowledge rehome --bank BANK --project SLUG (dry run unless --apply) then files a folded bank's pages that name no project under that project. See Fold in memory banks. (#3621, #3636, #3667, #3674, #3677, #3694)
  • hal0 memory embedder switch <model> is the one way to change a memory store's embedder. hal0 records the embedder that built the store in /var/lib/hal0/state/memory-embedder.json and renders the engine from that record, because changing the config key put new vectors in a different space from the stored ones (both models are 384-dimensional, so nothing errored) and recall over older memories quietly degraded. A new install records hindsight-ai/hs-embed-1; an existing store without a record is recorded as BAAI/bge-small-en-v1.5, and a store holding vectors from both is reported as mixed, which the switch repairs. The switch is a dry run unless --apply, takes --provider (default local), needs root, makes no LLM calls and takes memory out of service while it runs: it pauses writes, isolates the engine, exports every bank, flips the record, restores each bank to a temporary id, compares it with the archive and only then replaces the original. Knowledge-page, folder, directive, mental-model and document ids survive; fact ids do not. It waits for work the engine starts on its own and marks a rollback mixed when that work may have written new-model vectors. GET /api/memory/models reports recorded, configured, mixed and needs_switch, the memory_embedder doctor row names a difference, and hal0 update answers 409 system.update_blocked_by_embedder_switch while a switch is unfinished. A new install's engine now starts on the configured embedder instead of the engine default. (ADR-0058; #3518, #3541, #3546, #3548, #3602, #3620, #3722, #3723)
  • /api/memory/compat lets coding agents write memory through hal0. The Hindsight coding-agents plugin speaks the engine's own REST protocol, so pointed at the engine it bypassed hal0's write envelope and read scoping. /api/memory/compat answers a typed subset of the engine's paths (retain, reflect, recall, documents, operations, a read-only bank config, version, health and the knowledge-page routes); a field or route it does not name never reaches the engine, and X-hal0-Ignored-Fields names what it dropped. It takes the admin credential or a bridge key with the memory scope, and the identity is the bridge client's name. Whatever bank the URL names, writes land in the platform bank with the project taken from the bank id after ::; reads see the caller's project plus global memory, and a client cannot replace another client's documents. [memory.compat] sets the concurrency and quota limits, and a request over one answers 429 with Retry-After. hal0 memory agents install <harness> --bridge-key-file <file> (or --bridge-key) points a harness at it and keeps the plugin quiet: it writes autoUpdate: false into the harness section of ~/.hindsight/coding-agent.json, autoReflect: false and codebaseSurvey: false when the key is absent, and no pageTriggerType, because hal0 decides when pages refresh. The Memory area's Agents tab shows the three steps. Pi is wired with a managed pi-coder key on install and on sudo hal0 update component pi. hal0 memory bank seed seeds the default banks, and install.sh runs it. See Memory compat. (ADR-0058; #3557, #3558, #3613, #3618, #3634)
  • +36 more on GitHub ↗

Changed

  • Every memory write carries a fixed tag envelope. hal0 stamps one agent:<id> (a caller-sent agent: tag is dropped) and exactly one kind:durable or kind:ephemeral on every write, from /api/memory/add, the MCP tools, the Hermes plugin and the brain. Session ids and lifecycle words move from tags to metadata (see Breaking), and a lifecycle word makes the write kind:ephemeral unless the caller sent kind:durable. Before, every session id became its own tag, and the engine builds one observation scope per tag set, so each session was its own consolidation silo. A write is never refused for its tags. Existing memories keep their tags. (ADR-0058; #3540)
  • The Hermes memory plugin keeps one document per session, and hindsight_reflect reflects. hindsight_reflect used to be a recall with a type hint; it now calls the new POST /api/memory/reflect (falling back to recall, and saying so, when the route or engine is missing). Turn captures, pre-compress notes and session-end checkpoints append to one document per session instead of a new document each turn, through a new /api/memory/add field, append_document_id (combining it with document_id or update_mode is 400 memory.append_document_id_conflict). hindsight_retain, hindsight_recall and hindsight_reflect take an optional project, and the tool descriptions, the hal0-memory skill and the Hermes SOUL.md / AGENTS.md templates describe the two banks. (#2017, #3542, #3676, #3678)
  • Consolidation and reflect output is capped at 8192 tokens per call by default. They reached the memory slot with no output cap and could hold it for tens of minutes (#3596). [memory.lanes.consolidation].max_completion_tokens and [memory.lanes.reflect].max_completion_tokens set the cap (0 for none, at most 131072); the reflect cap also bounds knowledge-page refresh, so a mental model whose own max_tokens is near the cap fails on length instead of being truncated, and a thinking model's reasoning counts inside it. (#3603)
  • The memory engine runs at most 4 queued tasks at once by default. Hindsight 1.2.0 defaults to 10 worker slots and hal0 never set it, so ten retains, consolidations or refreshes held their working set in memory together and small boxes hit the OOM killer (#3534). [memory.graph].extraction_worker_slots (default 4, 3 to 32) is rendered into the managed drop-in and the shipped hindsight-api.service, and the memory_engine_env doctor row flags a unit still on 10. (#3581)
  • Memory recall's fallback reranker uses the rerank slot's model, and skips at once when none is bound. It sent a hardcoded model id the rerank slot does not serve, so on a default install every fallback recall waited out a connect timeout (#3716). [memory.embedding].rerank_model now defaults to empty, meaning the model bound to the rerank slot, and a new [memory.embedding].rerank_fallback (default true) turns the path off after a hal0-api restart. (#3718)
  • The GPU's Hold and Keep image-mode controls are a Chat | Image toggle in the top bar, and the dock's GPU segment is status only. Hold and Keep ask first in a popover that names the paused slots, Stop still confirms before it drops a running render, and the toggle is hidden when there is no GPU pool reading or no image engine. The signed-in admin chip is now the last control on the top bar, and the bar fits phone widths. See Generate images. (#3715, #3726, #3727)
  • +17 more on GitHub ↗

Fixed

  • A slot the pre-load admission gate refused is retried once memory frees, instead of staying in ERROR. A load refused because evictions could not free enough memory left the slot in error with nothing to retry it (on one box the agent anchor stayed down for 11 hours while agent-role requests returned 404 dispatch.no_route). The idle reaper now re-admits such a slot in the background once a dry run says it fits, for the type's default slot, pinned slots and autoload slots only. It follows the crash-loop backoff, never loads an LLM slot while the GPU is in image mode or mid-switch, and stands down if an operator unloads the slot first. See ADR-0063. (#3502)
  • scripts/deploy.sh refuses a copied install instead of reporting a false green. On the installer's FHS layout, where the venv holds a copy of hal0 rather than the checkout, a reset and restart never changed the running code, but the script still printed "deploy complete". It now checks where the named service's interpreter imports hal0 from and refuses before touching anything, and prints "deploy complete" only when the served build matches the deployed commit. (#3475)
  • Model downloads show progress when the upstream sends no Content-Length. A chunked response, or a Hugging Face redirect whose size is only on the first hop's X-Linked-Size, left the byte total at 0, so the dashboard showed no percentage or ETA. (#3428)
  • A failed memory drop-in re-render is a warning in the update summary, not a silent success. hal0 update logged a failed extraction or showcase drop-in reconcile at info and reported a clean run, so the engine kept its old settings unnoticed. Both now surface as warnings with the remedy (re-run the installer when the hal0-systemctl seam is stale), and a failure to record the store's embedder is reported on its own and leaves the drop-ins as they were. (#3591)
  • hal0 memory migrate fold-in keeps a coding bank's knowledge pages whose project does not resolve. Pages left at the target's root clashed by name with the platform bank's root pages and were dropped on import, and the bank was left behind on every run. Root page names are now settled like project-folder names, and a page folded at the root before this fix keeps its name. (#3670)
  • hal0 update refreshes hal0-openwebui.service from the activated release. A new argument-less hal0-update refresh-openwebui-unit verb rewrites the unit when the packaged one changed, keeps the installed image pin (a --target override too), leaves drop-ins, symlinked and masked units alone, holds a unit whose image pins disagree, and never restarts Open WebUI: the new unit takes effect at its next start. (#3526)
  • +89 more on GitHub ↗

Security

  • Another agent's private memory is withheld from the bank-wide memory read tools and from memory_reflect. The document, knowledge-base, mental-model, tag, operation, bank-stats and memory-history reads returned whatever the engine gave back for a bank that can hold several agents' private memory, so any caller could list and read another agent's private documents. They now apply recall's visibility rule (see Breaking). memory_reflect (POST /api/memory/reflect, the MCP tool and the Hermes plugin) now passes the engine a visibility tag filter, and leaves mental models out while the bank holds another agent's private memory. (#3542, #3573, #3575)
  • Directives are owner-checked on every bank and layout. Any caller could change or delete any directive, and an unowned directive steered every agent's reflect. A directive is now stamped with its writer's agent: and visibility:private tags, and only its writer may change it (see Breaking); operators manage bank-wide directives through the bank spec, /api/memory/banks/{bank}/directives or hal0 memory directive. (#3600, #3601)
  • An unidentified caller can no longer read private notes owned by agent:unknown, and a key under a reserved client name no longer acts as one. A private note whose owner was unknown matched every caller with no identity; such a note is now visible to nobody. A bridge client named unknown used that name as its memory identity on /mcp/memory; reserved names are now refused at mint and on every non-OPEN route (see Breaking), and the bridge doctor row warns about a live one. (#3560, #3567)
  • A memory identity now needs a credential (#3569, ADR-0062). X-hal0-Agent on its own no longer names the owner of private memory: a caller with neither a bridge key nor the agent's identity key (X-hal0-Agent-Key, which hal0 writes for its bundled Hermes profiles and Pi) is anonymous in memory, with shared notes only. A name hal0 reserves for its own agents, sent without its key, gets 403 bridge.client_name_reserved on /mcp/memory and /api/memory/*. The key is derived from a secret at /var/lib/hal0/agents/identity.bin (hal0, mode 0600); a secret with the wrong owner or mode is refused and logged, and hal0 doctor has an agent-identity-secret row. The agent bridge's agent_memory_add and agent_memory_search now read and write only shared memory, so a bridge client or an Open WebUI user can no longer reach a Hermes profile's private notes through them.

Slot tune overrides

  • Slots gain a sparse [tune] table for context, thinking, reasoning effort, reasoning budget, vision and speculation, inherited from the profile when absent. REST, CLI, MCP and stacks carry the overrides. The console adds a Tune block, Reset, Save as profile and effective thinking/vision glyphs.
  • Slot reads and MCP rosters expose effective values with provenance and a runner-support reason for unavailable effort. Default profile reasoning fields stay omitted from exports; stack exports preserve slot overrides.
  • Rollback to a release without tune support backs up each changed file before stripping slot [tune], profile reasoning keys, and stack tune with embedded profile reasoning keys; failed activation restores unedited stripped files.

Known issues

  • hal0 doctor perms reports drift on a box upgraded from an older release. It lists state/agents/hermes twice as 0755, want 2755 and exits 1. The directory works as it is; the check is too strict about one mode bit that older releases did not set. sudo hal0 doctor perms --fix clears it for good. A fresh install is not affected. (#3888)
  • The first Hermes provision on a fresh install can end with a smoke-test warning. The memory round-trip check searches before the engine has finished storing its test item, so the Agents page shows Hermes as degraded with provision_warn although it works. sudo hal0 agent reprovision hermes clears it. (#2671)
  • On a fresh install, memory work and chat share one model. With no model on the memory and agent slots, extraction, consolidation, the steward and Hermes all run on the brain slot one request at a time, so a chat turn can wait a minute or more behind memory work. Giving the memory slot its own model separates them. (#2734)
  • A memory write can wait behind background memory work until it times out. Retains, consolidation, reflection and mental-model refreshes share one limit on concurrent model calls, and a long consolidation can hold it. A write that waited four hours is cancelled and shown as a failed operation; hal0 memory ops retry --all-failed runs it again. (#3849)

Migrations

  • Run sudo hal0 update component pi to give Pi its memory identity key. hal0-api cannot write the installing user's home, so until this runs Pi's hal0-memory server is refused with 403 bridge.client_name_reserved and its admin memory tools act as anonymous. Hermes needs nothing: its profiles get their keys on the first hal0-api start after the update, which restarts the Hermes gateway once. (#3569)
  • An existing memory store stays on its banks until you fold it in. hal0 update records the store's layout and embedder and changes neither. To move to hal0:shared and hal0:private, run hal0 memory migrate fold-in (a dry run), then sudo hal0 memory migrate fold-in --apply on the box; memory is out of service while it runs, the old banks are kept, and hal0 update is refused with 409 system.update_blocked_by_fold_in until it finishes (--resume finishes an interrupted run). Moving an existing store's embedder from BAAI/bge-small-en-v1.5 to hindsight-ai/hs-embed-1 is a separate, optional sudo hal0 memory embedder switch hindsight-ai/hs-embed-1 --apply. See Fold in memory banks. (#3572, #3621, #3548)
  • hal0 update writes the memory engine's showcase-lanes.conf drop-in and deletes a hand-written zz-h0-98-llm-global-cap.conf. It renders [memory.models], [memory.decision] and [memory.lanes] and restarts hindsight-api once with the extraction drop-in. If you set a global cap in that file, set [memory.lanes].llm_max_concurrent instead. (#3486, #3507, #3523)
  • Point coding agents at /api/memory/compat. For Claude Code, Codex and other harnesses run hal0 bridge add <client> --scope memory, save the key alone to a file, then hal0 memory agents install <harness> --bridge-key-file <file>; the Memory area's Agents tab shows the steps. Until then a plugin pointed straight at the engine writes without hal0's envelope. Pi moves on sudo hal0 update component pi. (#3558, #3613)
  • Check that the update refreshed the Open WebUI unit. The shipped hal0-openwebui.service carried StartLimitIntervalSec=120 and StartLimitBurst=10 under [Service], where systemd drops them as unknown keys; both now live in [Unit] (#3524). hal0 update now rewrites the packaged unit itself (#3526), so nothing is needed unless the update summary reports that the Open WebUI unit refresh failed (a seam wrapper older than the new verb): then re-run the installer once. Open WebUI picks up the new unit at its next start.
  • Config schema v4 preserves existing memory routing and disables priority on upgrades. When [memory.graph].extraction_slot is absent, the migration writes "utility"; when [memory.priority].enabled is absent, including in a partially present table, it writes false. Explicit targets, upstreams, priority settings and other operator values stay unchanged. Fresh configurations default to extraction_slot = "memory" and priority enabled; the priority keys alone do not activate scheduling in this stage. (H0-194, ADR-0053)
  • hal0 update raises a saved [memory.graph].extraction_max_tokens of 12000 or less to 16384 (config schema v3). hindsight-api rejects every retain whose chunk size is not below that cap, and the Hindsight coding-agent plugin sets 12000-character chunks on its gitlog, survey, document and conversation strategies, so a box that had saved the old default of 4096 kept failing those retains (#3326). #3242 raised the default but left saved values alone. The update now rewrites the value in hal0.toml, re-renders the hindsight-api drop-in and restarts the engine, so the new cap applies at once. A cap above 12000 is left as the operator set it. The restart happens on an update only, never at hal0-api boot.
  • Optional: move the platform memory to a named bank. Only for operators who set [memory] bank. Run hal0 memory migrate platform --target <bank> (dry run), then --apply, then set the key and restart hal0-api. The old shared and agents banks are left in place; delete them yourself with hal0 memory bank delete after checking the counts. See docs/guides/enable-memory.mdx.
  • The Hindsight memory engine's database migrates one way to 1.2.0. On a 1.7.x box (engine 1.0.0) the first start of hindsight-api 1.2.0 runs the engine's own schema migrations on /var/lib/hal0/memory/hindsight/.pg0. Before the new engine starts, the upgrade stops the old engine and copies .pg0 to .pg0.pre-1.0.0, and it needs 1.5 times the size of .pg0 free to do so; with less, it leaves the engine as it was. If 1.2.0 does not answer /health within 180 seconds and report version 1.2.0, the old venv and that copy are both restored. The copy is kept after a successful upgrade; the next run that finds the engine on 1.2.0 deletes all but the newest .pg0.pre-* copy, so older ones such as .pg0.pre-0.9.2 go. Memories, documents, directives, mental models and bank settings are carried over unchanged. hal0 update --rollback leaves the engine on 1.2.0, as it did for 1.0.0, and a hal0 tree pinned to an older engine refuses to move it back down.
  • Schema migration 015 runs on the first start of hal0-api 1.8.0 and cannot be undone in place. When the dropped model tuning still holds a value, /var/lib/hal0/backups/hal0-pre-015-<timestamp>.db is written first (mode 0600) and the migration is held if that backup fails; rollback to 1.7.x works because 1.7.x runs on the reduced schema. See Breaking.
  • Cards in a box's hal0 board move to the Hermes kanban. At the first board request they are migrated into the Hermes board of the same slug (in triage), or exported to board-legacy-export-<timestamp>.json in the hal0 state directory when Hermes is not installed. See Breaking.
  • Memory is shared by default only for new writes. Notes written before 1.8.0 stay private; nothing is converted, and hal0 update and reprovision --repair converge the default profile's X-hal0-Private header. See Changed.
  • After the update, check which models your remote providers route. The first start of hal0-api converts each reachable provider (see Breaking). hal0 upstream models <provider> lists what is switched on; hal0 upstream enable <provider> <model> turns on a model the old model_filters hid, and a client that sends a bare id served by two providers needs the <provider>/<id> form. A provider that did not answer keeps routing as before and converts at the next start, or now with hal0 upstream refresh <provider>. The original file is kept as /etc/hal0/upstreams.toml.pre-convert. (#3782, #3788)
  • Rolling back past 1.8.0 strips the provider catalog from upstreams.toml. A release before 1.8.0 rejects the converted file because of its unknown keys, which would drop every remote provider. hal0 update --rollback first copies the file to upstreams.toml.bak-<UTC stamp>, removes curated, models, catalog_id and budget_monthly_usd from every [[upstream]] row, and puts a row's model_filters back from upstreams.toml.pre-convert when it had one. Providers, URLs and credential references are kept, per-model on/off choices are lost on the rolled-back build, and the next upgrade converts the rows again. The rollback result gains catalog_stripped. (#3821)
  • Config schema v5 lets the memory engine's lane limits follow their new defaults. A saved [memory.lanes].llm_max_concurrent = 1, the old default that any settings save wrote, is removed once so the cap follows extraction concurrency; any other saved value stays, and a 1 set after the update is respected. A HINDSIGHT_API_REFLECT_WALL_TIMEOUT or HINDSIGHT_API_CONSOLIDATION_LLM_BATCH_SIZE in a hand-written hindsight-api.service.d drop-in is copied into [memory.lanes.reflect].wall_timeout_s or [memory.lanes.consolidation].batch_size when hal0.toml has no value for it and the value is in range; the drop-in file is not touched and is now redundant. (#3769)
  • Config schema v6 reads the decision model server's new off default against what is installed. [memory.decision].provider = "local", saved or left to the old default, becomes off when no hal0-hs-decide unit exists, and is written out as local when one does, so a hand-installed server keeps its lane. enabled = false, a base_url and hindsight-cloud are left alone. To turn the lane on, run sudo hal0 memory decision install (it adopts a hand-built server); hal0 doctor names the command. (#3773)
  • Run hal0 agent reprovision hermes --repair to cap a Hermes model call and set the hal0/agent window on an existing box. hal0 update does not rewrite the Hermes config overlay, so a box installed before this release gets the X-hal0-Max-Tokens header at its next repair; a fresh install has it. The same repair writes model.context_length for a model-less agent slot (#3854) and re-renders SOUL.md and AGENTS.md with the callable admin tool names (#3855). A model.max_tokens left in config.yaml is harmless, since nothing reads it. A Hermes base URL that points straight at a slot's llama-server, with live-resolve off, bypasses the gateway and stays uncapped. (#3822)
  • If install.sh was ever re-run on this box, run sudo hal0 agent reprovision hermes once after updating. The update to 1.8.0 is still carried out by the previous release's updater, which cannot repair a root-owned Hermes plugin directory and does not report the failed copy. The command hands the directory back to the hal0 account and installs the shipped plugins; sudo hal0 doctor perms shows whether a box is affected, and from the next update on the repair is automatic. A box installed once and only updated since is not affected. (#3852)

1.7.1

2026-10-27The dockstable

Highlights

  • The dock. The console's status strip is now one surface for everything live: the GPU's state and its controls (hold, keep, unpin, stop, restart), slot and service health, downloads, and a feed that merges the journal with the activity trail, with a two-row ticker and an unseen badge while collapsed. It works on phones too. The Image Gen pane's status line, the top image-mode banner, the Engine tab's device card and the Activity sidebar are gone (ADR-0042).
  • The slot rail. Beside the Inference pane, every slot grouped by device with its state, tok/s, model and loaded memory; a row flashes when something happens to that slot.
  • ComfyUI's editor answers on the LAN again at http://<host>:8188, announced over mDNS, with [network].comfyui_listen = "loopback" to fence it (ADR-0041).
  • Upgrades start at 1.5.0. A 1.3.x or 1.4.x box steps through 1.5.0 first; hal0 update says so and stops before downloading.
  • Twenty fixes from the 1.7 fix wave, among them: a random image seed that a browser holds exactly, image downloads from the current Hugging Face repos, hal0 update no longer claiming no slots need a restart, Open WebUI left stopped when its image upgrades, and approval cards that show which resource a gated call acts on.
  • Faster pull-request checks. A UI-only or docs-only change skips the Python matrix, and the Playwright suite runs as four shards.
  • ComfyUI runs as the hal0 account inside the img container, not as root; the sudo wrapper accepts that one identity only. A data root laid down by hand under another account needs a one-time chgrp/chmod (see Breaking), and the engine restarts once (#3066).

Breaking

  • ComfyUI's editor is on the LAN again, and announced over mDNS. http://<host>:8188 opens ComfyUI's web UI from any machine on the network, and the Discovery (mDNS) card on the Services page announces it as http://<host>.local:8188 beside Open WebUI, the way hal0 did before the host-net loopback fence. The new comfyui_listen key of [network] in hal0.toml is the switch: "lan" (the default) or "loopback", which fences :8188 to the box like every other slot and keeps the SSH-tunnel and HAL0_COMFYUI_PUBLIC_URL paths. ComfyUI has no sign-in of its own, so "lan" is for a network you trust. The dashboard follows the live mode: GET /api/config/urls adds comfyui_lan, the editor button opens from anywhere while it is true, and the Engine tab's Network row reads listens on the LAN or listens on loopback. Every other slot still renders a loopback bind under host networking (ADR-0041, #3049).
  • Upgrades start at 1.5.0. manifest.json declares upgrade_from = ">=1.5.0", so hal0 update on a 1.4.x box stops before it downloads anything, with system.update_upgrade_path_unsupported naming both versions, and re-running the installer over a 1.4.x install stops before it changes anything. A 1.3.x or 1.4.x box steps through 1.5.0 by running its installer in place, the command the installer prints when it refuses (curl -fsSL https://hal0.dev/install.sh | sudo env HAL0_RELEASES_URL=https://github.com/hal0ai/hal0/releases/download/v1.5.0/stable.json bash), then updates again. hal0 update --target cannot make that hop: it pins only the version the channel serves now. The upgrade guide's --target 1.5.0 hop for 1.3.x boxes failed for the same reason once the channel moved past 1.5.0, and is replaced. A 1.5.0 nightly counts as a prerelease of 1.5.0, so it is below the floor too. The floor moves so the profile-centric conversion that 1.4.0 shipped (ADR-0029) can be deleted.
  • The dock replaces four status surfaces. The footer is now the dock, the console's one status and event surface. The Image Gen pane's GPU status line, the top "image mode" banner, the Engine tab's GPU device card and its Stop image mode button, and the Slots page's Activity sidebar are gone. The dock's GPU segment and gpu tab carry the GPU's state and every GPU-mode button, its events tab carries the journal and the activity trail, and the slot rail carries the Inference tab's side column. #slots deep links still work, and the agent card's Tool activity button opens the dock's events tab. The only GPU banner left at the top of a page is the blocked-gate one (ComfyUI's GPU gate has no credential); the first-run, update and demo banners are unchanged. See ADR-0042.
  • ComfyUI runs as the hal0 account inside the img container, not as root. The container's output, input, user, custom_nodes and the new home directories under the ComfyUI data root (/var/lib/hal0/models/comfyui on a standard install) must be writable by the hal0 account. A data root hal0 created is (it is hal0:hal0 2775). One laid down by hand under another account, or on a share, needs chgrp -R <hal0 group> <dir> && chmod -R g+ws <dir> on those directories once, as root; until then a render fails at SaveImage with Permission denied and hal0-api's journal logs comfyui.data_dir_not_writable with the command. The models directory may stay read-only. (#3066)

Added

  • The dock. One strip at the bottom of every page: the GPU segment (headline, detail and at most two buttons; click it for the gpu tab), the slots and services pip groups, the update chip and a dock toggle with a +N badge for events that arrived while it was closed. Under the strip, a two-row ticker of the newest events. Expanded, the events tab merges journal lines (J) with activity actions (A) in one timeline, filtered by stream, severity, source, slot and search, with Export for the activity trail. The gpu tab shows the full status, every button that applies, including Restart engine, Logs and Open editor, and a facts grid. (ADR-0042)
  • The slot rail. On the Inference tab, every slot grouped by device with its state, tok/s, model and loaded GB, an N / M ready count that equals the dock's, and a row that flashes when an event for that slot lands in the dock.
  • A two-column Generate tab. At a viewport of 1360 px and up, the form sits beside the results.

Changed

  • The dock's expanded panes push the page up instead of covering it, and the downloads pane's height follows the dock's (min(300px, 45vh)).
  • The dock is part of the phone layout; the footer used to be hidden at 720 px and below.

Fixed

  • hal0 update, hal0 update component openwebui and the dashboard Retry button no longer start an Open WebUI you stopped when they upgrade its image. The new image is pinned and takes effect the next time you start it. (#3039)
  • Loading an image slot no longer fails with the LLM registry when the registry is unavailable; ComfyUI reads its weights from its own tree. (#3040)
  • Guided hal0 setup no longer prints a false warning for the ComfyUI extension or starts the image slot unasked; it leaves the Quadlet-generated image unit alone. (#3038)
  • Resuming a large model download no longer freezes the API while the partial file is re-hashed; the hashing now runs off the event loop. (#3031)
  • hal0 update no longer says "no slots need restart" when slots will restart on their next load; the drift check runs before hal0-api restarts onto the new release, so the message now says so. (#3044)
  • The Services page no longer stalls the API while it checks whether Open WebUI's image button is wired; the check reads your checkpoint files, so it now runs off the request loop. (#3041)
  • +7 more on GitHub ↗

Security

  • The img container no longer runs ComfyUI as root. The slot's Quadlet unit carries User=<hal0 uid>:<hal0 gid> plus the account's host groups (video, render, and any shared model-store group), so a ComfyUI process, custom node or editor workflow writes its read-write mounts as the hal0 account and lands on hal0's privileges if it escapes the container, instead of on uid 0. The sudo-granted hal0-systemctl wrapper accepts [Container] User= for exactly that one value, read on the root side: 0:0, a name, or any other account is refused. The models mount moved from /root/comfy-models (the image's /root is not traversable as hal0) to /opt/hal0-models; a extra_model_paths.yaml whose base_path still names the old mount is hal0's own and is rewritten on the first load, any other base_path is left alone. $HOME is a persistent home directory under the data root (ROCm's kernel caches now survive a restart), and ComfyUI's temp directory is under the container's /tmp. (#3066)
  • Approval cards show which resource a gated call acts on. The dashboard's approvals modal and Approvals card cut a gated MCP call's arguments off at 120 characters in the agent's own key order, so a long argument placed first could hide the model_id, name or slot the call deletes, unloads or edits. Each approval now carries target_args, the arguments that pick the resource; the cards show those first and in full, every other argument on its own row, and the complete argument JSON one click away. (#3052)
  • hal0-agentenv secret-keys opens the agent secrets vault through the same no-follow descriptor walk as the vault writers, so the hal0 account can no longer redirect it with a symlink to list the key names of a root-only file. (#3014)
  • The installer now starts every Python helper in isolated mode, so running it as root from a directory a service account can write no longer imports modules planted there. (#3010)

Migrations

  • Restart the image engine once so ComfyUI drops to the hal0 account. A running img container keeps the identity it started with, so after this update run hal0 slot restart img once (or press Restart engine on the Engine tab); the first load also moves extra_model_paths.yaml to the new models mount. If the ComfyUI data root was laid down by hand under another account, make its output, input, user and custom_nodes directories writable by the hal0 account first (see Breaking). (#3066)
  • Restart the image engine once for the LAN editor. A running img container keeps the loopback bind it started with, so after this update http://<host>:8188 is still refused from other machines until you run hal0 slot restart img once (or press Restart engine on the Engine tab). Then turn the Discovery (mDNS) card on the Services page on, or off and on, if you want http://<host>.local:8188 announced. To keep the old posture instead, set comfyui_listen = "loopback" under [network] in /etc/hal0/hal0.toml before the restart.

1.7.0

2026-10-26Image models have a catalog of their ownstable

Highlights

  • Image models have a catalog of their own. hal0 comfyui models list|install|remove, the dashboard and /api/comfyui/models, /jobs and /files install catalog models with resumable, sha256-checked downloads, and the installer offers a starter model sized to the box's RAM (HAL0_IMAGE_MODELS answers it unattended). Image models leave the LLM registry, and /v1/images/generations renders every installed catalog model the API can render plus your own SDXL and SD 1.5 checkpoints. (#3032, #3037, #3054, #3061)
  • Open WebUI generates images through hal0's /v1. Its image engine moves to OpenAI, pointed at /v1/images/generations with the box's client key, so its images get the same model, defaults and GPU switch as any other client, and the four defects that broke Open WebUI images are gone. (#3062)
  • Image mode lasts only while an image renders. Every GPU LLM slot unloads for a render and reloads about 10 seconds after the last one, and [image].idle_restore_minutes is gone. A chat that arrives mid-render waits, a slot still loading is waited for and unloaded before ComfyUI runs, and a failed unload rolls the switch back instead of leaving an LLM beside ComfyUI. (#3062, #3080, #3082)
  • A fit check before you install or render. Every catalog model carries a memory fit against the GPU pool and RAM, judged at the size you pick, and a render that cannot fit is refused with 422 image.wont_fit before any slot unloads. Memory figures come from one owner (ADR-0039), which reads a capped LXC guest's RAM limit, shows other guests on a shared GPU and credits what image mode frees on bare-metal unified memory. (#3064, #3070, #3079)
  • A new Image Gen tab: Generate, Models and Engine. A GPU status line says what the GPU is doing and what a render costs chat, the Generate tab follows the switch phase by phase and the render step by step, fit meters sit on every model card, and Hold image mode pins the GPU behind a confirm. (#3078)
  • ComfyUI's GPU gate authenticates with a token of its own, never the admin key, so image generation keeps working with hal0 auth require on. Run hal0 slot restart img once after updating. (#3067, ADR-0040)

Breaking

  • hal0 comfyui orchestrate-models is gone: use hal0 comfyui models install <id>.... There is no alias, and the command exits with the CLI's unknown-command error. hal0 comfyui models list shows the image-model catalog with each model's install state, the GB it still has to download and the pick recommended for this box (--json for scripts); models install installs the models one at a time, following each download to the end, and exits 1 if any fails; models remove <id> and hal0 comfyui files remove a model and list the weight files on disk. --dry-run and --log-dir are gone with the command. The vendored get_*.sh download scripts under installer/comfyui/ are deleted: downloads run in hal0, with resume and a sha256 check.
  • gen.capabilities in a hal0-setup.yaml answer file is replaced by gen.models: a list of image model ids (for example models: [sdxl-lightning]; hal0 comfyui models list prints them all). A file that still has gen.capabilities fails validation with a message naming gen.models, and an unknown id is refused with the list of known ones. gen.models is installed when gen.mode is scaffold_and_download, one model after another with a progress line every few seconds, and hal0 setup --emit-answers writes it. The auto setup path installs no image models; the guided path and install.sh offer a starter set and download nothing unless you choose one. Pick any later with hal0 comfyui models install or from the dashboard.
  • POST /api/comfyui/models/fetch is gone: use POST /api/comfyui/models/{model_id}/install. The fetch route took a capability and family (or auto); an install names one catalog model, answers 202 with its job, and is followed on GET /api/comfyui/jobs. A request the old route would have started now gets 404 or 405.
  • COMFYUI_MODELS_DIR, COMFYUI_WORKFLOWS_DIR and COMFYUI_DATA_DIR no longer do anything. There is no fallback. ComfyUI's models, workflows and data live under one root that follows the configured model store (<model store>/comfyui); HAL0_COMFYUI_DATA_ROOT moves that root as a whole. A box that set one of the three variables to a path other than that root should set HAL0_COMFYUI_DATA_ROOT instead.
  • /v1/images/generations answers an image id outside the catalog with 404 image.model_unknown, and image.model_not_curated is gone. There is no alias: a client that matched the old code should match the new one. model is now an installed catalog image model the API can render (sdxl-turbo, sd-1.5-pruned-emaonly, sdxl-lightning, qwen-image-lightning or qwen-image), a ckpt/<path> checkpoint, or empty for the model selected for img. An empty model used to render sdxl-turbo whatever was installed; a client that relied on that now gets the img selection's model, or 422 image.model_required when nothing is selected, and should send model explicitly. The 404 body lists the ids that work in error.details.available. A catalog model that is not installed gets 409 image.model_not_installed (naming the install call), one the API cannot render (video, edit, upscale) gets 422 image.model_not_renderable, and an empty model with nothing selected gets 422 image.model_required. Flux-2-Klein-9B-GGUF used to render through a fallback to the SDXL Turbo graph and now gets 404. Install a catalog model with hal0 comfyui models install <id>.
  • [image].default_size now defaults to "", the model's native size, instead of "1024x1024". On an img slot whose TOML does not set default_size (or sets "", as the shipped seed does), a request with no size renders at the model's native size, where it used to get 1024x1024: Stable Diffusion 1.5 and SDXL Turbo now come out at 512x512. A slot that sets a value keeps it. Set default_size = "1024x1024" in the slot's [image] table to keep the old size for every model. A box that already has an img slot is unaffected: the v1.6.x installer seeded default_size = "1024x1024" into /etc/hal0/slots/img.toml, and hal0 update does not rewrite slot files, so every model keeps rendering at 1024x1024 there. To opt in to native sizes, set default_size = "" in the [image] table of that file, or clear the Default size field on the dashboard's Capabilities page; the change applies to the next request, with no restart.
  • Image models are no longer in the model registry: the curated image ids are gone from /api/models and hal0 model pull. sdxl-turbo, sd-1.5-pruned-emaonly, sdxl-lightning, esrgan-4x, SD-Turbo-GGUF and Flux-2-Klein-9B-GGUF are no longer curated registry entries, so they are neither listed nor pullable there, and there is no alias. A pull of an image catalog id, or of any model with the image capability, answers 422 model.image_asset before a row is seeded or a byte moves, and its message names hal0 comfyui models install <id>. The same 422 answers POST /api/models, PUT /api/models/{id} and POST /api/models/add-from-path (hal0 model add) when path is inside ComfyUI's models folder; a scan no longer registers a file there. Migration 014 deletes the registry rows whose path is in that folder (the default location; a row under a relocated tree stays until you remove it) or whose capabilities include image, with their bookkeeping rows: rows only, never files, and the image catalog reads each model's state from the files on disk. No operator step is needed. A script that pulled an image id should call hal0 comfyui models install <id>.
  • The GGUF image ids SD-Turbo-GGUF and Flux-2-Klein-9B-GGUF are dropped, with no converter. The image catalog has no GGUF model, so neither can be installed again. A request that names one gets 404 image.model_unknown, and so does a request with no model on a box whose img selection names one: such a box must install a catalog model first (hal0 comfyui models install <id>) and then pick it under AI Capabilities → Image or with hal0 capabilities set img img --model <id>: picking a model that is not downloaded yet is refused with 409 capability.model_not_downloaded. The bundles that named them now name catalog models (see Changed).
  • Open WebUI generates images through hal0's /v1/images/generations instead of calling ComfyUI. hal0 sets Open WebUI's image engine to OpenAI, points it at hal0's /v1 with the box client key, and sets the model to the one selected for img. Every render from Open WebUI therefore uses the same template, step count, size and GPU switch a /v1 client gets, including the img slot's [image].default_size and default_steps. hal0 leaves Open WebUI's image size empty so that hal0 picks it. Image generation is turned on in Open WebUI only while the img model is installed and the API can render it. Each render from Open WebUI switches the GPU to image mode for that render only. A chat request for a GPU-slot model that arrives while the image renders waits for the render and for hal0 to reload the chat model, so Open WebUI's reply in the same turn, right after the image, is served instead of being refused with 503 gpu.image_mode (see the next entry). Chat on NPU and CPU slots is not affected. COMFYUI_BASE_URL, COMFYUI_WORKFLOW and COMFYUI_WORKFLOW_NODES are no longer written to openwebui.env, and the next render (on hal0 update, an image model install or removal, or an img selection change) removes the copies hal0 wrote. A value you set by hand stays. Choose the model in hal0 (hal0 capabilities set img img --model <id>): Open WebUI's image settings list OpenAI's model names, and a change made there lasts only until Open WebUI restarts.
  • The GPU leaves image mode as soon as image generation stops, and [image].idle_restore_minutes is gone. Image mode used to hold until idle_restore_minutes (60 by default) passed with no image activity. Now it holds only while a render runs: a /v1/images/generations request (Open WebUI and the omni loop use it too), or a render in ComfyUI's queue from its editor. About ten seconds after the last render hal0 frees ComfyUI's models and reloads the GPU slots it unloaded. A request for one of those slots waits for the render to finish and for that reload, up to 120 seconds, instead of getting 503 gpu.image_mode; it gets the 503, with Retry-After: 15, only when image mode is pinned, ComfyUI's queue cannot be read, or the 120 seconds run out. A switch to generation without pin, such as the dashboard's Start button, also ends about ten seconds after the last render, or after the switch when nothing renders: pin image mode to hold it, and it holds until you unpin it or force a switch to inference. Pinning needs image mode: pass pin on the switch that enters it, because POST /api/comfyui/pin with {"pinned": true} while the GPU serves LLMs now answers 409 comfyui.not_image_mode instead of a pin that never held. A ComfyUI queue that never drains keeps image mode until you force a switch to inference. hal0 update and each hal0-api start remove idle_restore_minutes from slot files, the API refuses it, and the "Idle restore" row is gone from Settings. GET /api/comfyui/status drops arbiter.idle_restore_at, adds arbiter.switching and arbiter.image_jobs, and reports its top-level mode as generation only once a switch into image mode has finished (inference while hal0 switches or restores the GPU).
  • ComfyUI's GPU gate refuses a prompt that hal0 cannot hand the GPU to. After updating, run hal0 slot restart img once. ComfyUI's hal0_gpu_gate node, which every prompt passes (the editor's, and hal0's own /v1 renders), now waits while hal0 is still switching the GPU, asks again if an LLM request took the GPU back before the prompt was queued, and waits up to 180 seconds. When it lets a prompt through in image mode it first tells hal0 (POST /api/comfyui/prompt-handoff), which holds image mode for that prompt for about 3 seconds, until ComfyUI's queue shows it. It refuses the prompt and queues nothing, answering ComfyUI's /prompt with a 503 that carries the reason, when hal0 rejects the switch, stops answering mid-switch, still holds the GPU for the LLM slots after three switch requests, has not finished the switch within 180 seconds, has been unreachable (or silent about which mode holds the GPU) for 5 seconds, or answers 401 or 403 (refused at once, with a reason that says hal0 requires authentication). It used to let such a prompt through, and it could render next to the loaded LLM slots. The node reaches hal0-api on the port and address it binds (HAL0_PORT, HAL0_BIND_HOST) and reads a lightweight GET /api/comfyui/arbiter, so a box whose API is not on port 8080 keeps its image generation. To let prompts through while hal0-api is down or refuses the gate's credential, unguarded as in v1.6.5, set HAL0_COMFYUI_GATE_FAIL_OPEN=1 in /etc/hal0/api.env, restart hal0-api, then run hal0 slot restart img: hal0 writes the setting into the slot's unit when it loads the slot, so a bare systemctl restart does not pick it up. On a box with auth enforcement on (hal0 auth require on or HAL0_REQUIRE_AUTH=1), or one whose HAL0_BIND_HOST is a specific address with an admin key set, the gate authenticates with a token of its own (see Security); a container started before the update has none, so restarting img is what keeps image generation working there. After a rollback to 1.6.x the newer gate keeps working with the older hal0, reading its /api/comfyui/status, so no step is needed, except that it refuses image prompts on a box that enforces auth (1.6.x does not know the gate's token), and once img restarts under 1.6.x it refuses image prompts on a box whose hal0-api does not answer on 127.0.0.1:8080 (another port, or HAL0_BIND_HOST set to a specific address), and, unlike the 1.6.x gate, it still refuses when that hal0 is silent or slow (see docs/guides/update-and-rollback.mdx). A running img container keeps the gate it started with, and hal0 update does not restart slots, so restart it once after updating. Until then hal0 keeps that older gate waiting while it switches or restores the GPU, but the older gate still lets a prompt through when hal0-api is unreachable or after its own 120 seconds, and such a prompt can render next to the LLM slots.
  • GET /api/comfyui/status drops memory: read the memory block of GET /api/stats/hardware instead. memory was {gtt_used_gb, gtt_ceil_gb, ram_used_gb, ram_ceil_gb, pressure}, folded from ComfyUI's /system_stats against ceilings hal0 hard-coded (an 80 GB GPU pool, 96 GB of RAM) that your box may not have. There is no alias: the key is absent from the response, so a client that read body["memory"]["gtt_used_gb"] now fails on a missing key. GET /api/stats/hardware carries the one memory budget (ADR-0039), with this box's own GPU pool and RAM totals. The dashboard's old Image Gen pane and its GPU memory gauges are gone with the key: the tab is now Generate, Models and Engine.

Added

  • /api/comfyui/models, /api/comfyui/jobs and /api/comfyui/files list, install, cancel and remove image models, and hal0 comfyui models drives them. GET /api/comfyui/models lists the catalog with each model's install state and the size still to download and in total (missing_gb and approx_gb; a GB is 2^30 bytes here, as in the memory budget); POST /api/comfyui/models/{model_id}/install starts a download and answers 202 with its job; DELETE /api/comfyui/models/{model_id} removes the model's weights and workflow and keeps, and lists as kept with the models that hold it, any weight file another complete model loads (two models can load one file set, so each keeps the other complete) unless ?include_shared=true deletes it too and lists the models it uninstalled as affected, deleting their workflows as well; GET /api/comfyui/jobs and POST /api/comfyui/jobs/{model_id}/cancel follow and stop installs; GET /api/comfyui/files lists the weight files on disk with the catalog models that own each. An install that cannot work is refused before anything downloads: 409 comfyui.models_dir_not_writable for a destination directory the hal0 user cannot write, 409 comfyui.staging_cross_device, or 507 comfyui.insufficient_disk. A removal that hits a file it cannot delete stops with 409 comfyui.remove_failed and lists what had already gone. hal0 comfyui models list|install|remove and hal0 comfyui files are the CLI over them; install takes several ids and installs them one at a time, and remove --include-shared deletes the shared files too. An install of a model whose weights are all on disk but whose workflow is missing (a sibling model completed it) writes the workflow instead of answering 409 comfyui.model_installed, and the disk check counts a resumable partial download as already fetched.
  • The installer offers a starter image model, and HAL0_IMAGE_MODELS answers it unattended. On a box with a ROCm lane for ComfyUI, install.sh lists the image models the API can render with the GB each still has to download, and marks the one that suits the box's memory as recommended (Stable Diffusion 1.5 below 16 GB, SDXL Lightning from 16 GB, Qwen-Image Lightning from 96 GB). Enter downloads nothing, a bad answer is asked again, and a failed download warns while the install carries on. HAL0_IMAGE_MODELS skips the prompt: recommended, or catalog ids or menu numbers separated by commas or spaces; none or 0 skips the step even on a terminal, and an install with no terminal downloads nothing unless it is set. The guided hal0 setup asks the same question, after its question about scaffolding capability slots.
  • The first image model you install that the API can render becomes the img model. From the installer, hal0 setup or hal0 comfyui models install, hal0 selects it for the img capability when none is selected, which starts the img slot. A selection you made is left alone, and nothing is started.
  • hal0-api writes the ComfyUI workflow of hand-installed image models when it starts, and a removal is remembered. A model whose weights were copied into the models folder reads as installed, so no install ever wrote its workflow. A model removed while other models still hold its weights stays installed and is not given its workflow back; installing it again restores it.
  • GET /api/comfyui/models reports engine: {available, reason}, and an unreadable models tree is a 409 instead of a 500. available is false, with a reason, on a host with no ROCm lane; the catalog is listed either way. The model list, install and removal routes, and /v1/images/generations, answer 409 comfyui.models_dir_not_writable when the hal0 user cannot read the models tree.
  • DELETE /api/comfyui/files/{subdir}/{relpath} deletes a weight file no catalog model loads, and the gated MCP tool comfyui_file_delete calls it. subdir and relpath are the fields of a GET /api/comfyui/files row, so a file the listing shows without an owner can be deleted, and the answer is {"deleted": "<subdir>/<relpath>"}. It refuses a file a catalog model loads (409 comfyui.file_catalog_owned, with error.details.models naming the owners: remove the model instead), a symlink (400 comfyui.file_symlink), a subdir that is not a model directory or a relpath that is absolute, climbs out with .., has a hidden part or does not name a weight file such as a .yaml (400 comfyui.file_path_invalid), a missing file (404 comfyui.file_not_found) and a file the hal0 user may not delete (403 comfyui.file_permission). Deleting the checkpoint behind the img selection re-renders Open WebUI's image settings. Each GET /api/comfyui/files row now says whether its path is a symlink.
  • +9 more on GitHub ↗

Changed

  • /api/comfyui/status inventory.loras now counts LoRAs in subdirectories, and a failed scan hides the counts. The old count read only the top level of loras/, so Wan's LoRAs, which live in a directory of their own, were missed; every category now comes from one recursive scan of the models tree. When that scan fails, inventory is null instead of a row of zeros.
  • The installer no longer creates the ComfyUI directories, and HAL0_SKIP_COMFYUI no longer does anything. The block hardcoded /mnt/ai-models/comfyui, ignored [models].store and HAL0_COMFYUI_DATA_ROOT, and made root-owned directories the hal0 user could not write. The ComfyUI provider now creates every directory under the configured store when the img slot starts, and the installer has 15 steps instead of 16.
  • /v1/images/generations renders every installed catalog image model the API can render and your own SDXL and SD 1.5 checkpoints, and takes its defaults from the model. A checkpoint you put in the ComfyUI checkpoints/ folder whose safetensors header reads as SDXL or SD 1.5 is addressed as ckpt/<path>, the file's path under checkpoints/ without .safetensors (ckpt/a for a.safetensors, ckpt/sub/a for sub/a.safetensors); a checkpoint a catalog model loads gets no ckpt/ id and is addressed by that model's id. An empty model uses the model selected for img. A request that sets no size gets the slot's default_size when it is not empty, otherwise the model's native size: 1024x1024 for SDXL, 512x512 for Stable Diffusion 1.5 and SDXL Turbo, 1328x1328 for Qwen-Image. steps follow extra_body, then the slot's default_steps when above 0 (0 is the workflow template's own count), then the template's. The _hal0 block of the response carries model and template. Video, edit and upscale models stay in the ComfyUI editor.
  • Bundles install image models through the image catalog. hal0-Pro names sdxl-lightning (7.1 GB) in place of SD-Turbo-GGUF (1.3 GB), and hal0-Max and LMX-Omni-52B-Halo name qwen-image-lightning (47.9 GB) in place of Flux-2-Klein-9B-GGUF (8.4 GB), about 39.5 GB more to download. These are the GB the API and hal0 comfyui models list show (a GB is 2^30 bytes, as in the memory budget). Applying a bundle, or an img selection, through /api/install/apply or /api/install/apply-selections (which hal0 setup calls when the API is up) no longer pulls an image model into the registry: it creates the img slot with no model when there is none (an existing slot is left alone) and starts the catalog install, the job POST /api/comfyui/models/{model_id}/install starts, which runs on /api/comfyui/jobs. Both responses carry an image_installs list with a {model_id, job_id} row per image model, or job_id: null and skipped set to the catalog's error code when it refuses one (for example comfyui.install_running), or to comfyui.install_start_failed when the start itself breaks (an I/O error from the models store, say); a refusal never fails the apply. A host with no ROCm lane for ComfyUI reports the slot as skipped with image_engine_unavailable and creates none, and an id the catalog does not know is skipped with image_model_unknown.
  • Models → Image lists ComfyUI's files by component type, and the img slot points at AI Capabilities → Image for its model. The Image / ComfyUI tab of the Models view is the file inventory (GET /api/comfyui/files): checkpoints, diffusion models, text encoders, VAE, LoRAs, upscalers, CLIP vision and latent upscalers, each file marked with the catalog models that load it or as unmanaged, and an unmanaged file that is not a symlink has a Delete button. Image models are not registry rows, so the img slot drawer's Model field and the slot card's swap popover no longer list /api/models: they show the current model and link to AI Capabilities → Image. That page's Image panel has a new Model row that picks the image model from the catalog models the API can render (marking those not downloaded yet) and your own ckpt/<path> checkpoints; on a host with no ComfyUI image engine it shows a read-only line with the reason instead.
  • Memory figures come from one backend owner (ADR-0039). GET /api/stats/hardware gains a memory block with two budgets that are never summed: the GPU pool (gpu: its kind, total, used and free, what this box's slots and the image engine hold, and the rest as other_guests_gb; image_engine_slot names the slot that hosts the engine and image_engine_estimated says when its figure is that slot's estimate, which it always is on a discrete card, where ComfyUI's reading covers the whole card) and this box's RAM (ram: limit, used and free, read live), plus render_free_gb, the pool a render can use once image mode has unloaded this box's GPU slots: the pool less other guests, slots still starting and a 2 GB margin, with the image engine's own memory counted as room, since a model's need is measured above an idle engine and the engine renders inside its own allocation. gpu and render_free_gb are null when the box has no GPU lane or the kernel counter is missing, and RAM reads as zeros when /proc/meminfo cannot be read; the budget uses no fixed ceiling. The Slots page's telemetry bar and memory ruler, the Overview page's health strip and Unified memory card, Settings → Overview and the Slots page's free figure all take their pool, RAM and per-owner figures from that block instead of combining their own counters, so one screen shows one free number. The pool is named "GPU pool · shared" on unified memory and "VRAM" on a discrete card. The block is documented in the Memory budget API reference, and the dashboard guide has a Memory figures section. cgroup_max_mb in the hardware probe follows the same cgroup walk, so the installer sizes models against a limit set on a systemd slice. The Image Gen pane has no gauge of its own; the image fit verdicts and the /v1 preflight read it (see Added and Changed); and POST /api/models/feasibility keeps its own fits, tight and exceeds verdicts.
  • +4 more on GitHub ↗

Removed

  • The Image Gen tab's old "render hero" pane is gone, with its GTT and system RAM gauges and placeholder values. The old pane drew a GTT and a system RAM gauge, a frame counter, a hard-coded workflow strip and model-count pills, and filled any figure the status did not carry with a placeholder. A figure the status does not carry is left out, not replaced. The tab's Generate, Models and Engine sub-tabs replace it (see Added); memory figures are the top bar ruler's and the fit meters'.
  • The Services page's ComfyUI Queue drawer is gone, and the ComfyUI link opens only from a page on the box itself. The drawer fetched ComfyUI's /queue and /history from your browser at :8188, which answers on the box only; the queue is the Engine tab's Queue card now, from GET /api/comfyui/status. ComfyUI listens on the box's loopback, so the http://<host>:8188 link the Services page, its board card and the Overview Services widget opened is dead from another machine. There the button is disabled, and the Services page shows Only reachable on the box itself and the command ssh -L 8188:127.0.0.1:8188 <user>@<host>. A public URL declared with HAL0_COMFYUI_PUBLIC_URL still opens from anywhere.

Fixed

  • The image fit check no longer refuses a large model on a bare-metal unified-memory host because its LLM slots hold the RAM. On such a host the GTT the slots hold comes out of system RAM, so a 128 GB box with about 85 GB of LLM slots loaded refused qwen-image-lightning with 422 image.wont_fit, although image mode's unload frees that memory before the render. The memory budget gains render_ram_free_gb: ram.free_gb plus the GTT the slots hold, credited only on a shared pool whose RAM reading is the host's own, capped at the pool used outside the image engine and never above the RAM limit. The fit verdicts and the /v1/images/generations preflight judge the RAM need against it, so fit.ram_free_gb carries it, and a refusal that counted it says "free with the chat slots paused". Containers, LXC guests included, are judged as before: their RAM is not charged for GTT. ram.source also reads container when lxcfs is mounted over /proc/meminfo, and the Image Gen fit meter labels its RAM figure "free for a render" like the GPU one. (#3072)
  • An LLM slot that is still loading when image mode starts no longer finishes loading beside ComfyUI. The switch into image mode unloaded only the LLM slots ready for dispatch, so a slot in a cold start or a wake-on-request was in neither the unload set nor the saved set: it came up on the GPU while ComfyUI rendered and nothing unloaded it. The switch now also takes slots that are pulling, starting or warming. It waits up to 120 seconds for a load in progress, then unloads the slot with the rest and puts it in the saved set, so the restore brings it back. A slot left in warming by a load that timed out is unloaded straight away. A load that outlasts the wait leaves the GPU in LLM mode and fails the image request with 503 gpu.slot_still_loading. unload_set on GET /api/comfyui/arbiter lists a slot still loading in LLM mode. (#3056)
  • A failed unload during the switch into image mode rolls back to LLM mode instead of leaving the LLM slot on the GPU beside ComfyUI. The arbiter records image mode before it unloads the LLM slots, so a slot whose stop outlived its budget stayed loaded while the mode said image, the ComfyUI gate let prompts through, and a render could run next to a loaded LLM until the grace period ended. Now the first failed unload reloads the slots already unloaded, puts the GPU back in LLM mode (dropping a pin) and fails the request with the unload's error; the next render tries the switch again. After an api restart in the middle of a switch, the next switch unloads any slot of the saved set that is still loaded before the engine renders, and rolls back the same way if that fails. (#3059)
  • hal0 no longer announces ComfyUI over mDNS, and no longer calls it LAN-reachable. ComfyUI listens on the box's loopback, so the _http._tcp announcement of :8188 that Announce services wrote led other machines to a refused connection. The Discovery card announces Open WebUI only (see Migrations for clearing one an earlier hal0 wrote), and the Services page shows ComfyUI no .local link while that old announcement is still on disk. The services registry, the error.details.hint of the 422 for a video, edit or upscale model (it now says to open the editor on the box itself or through an SSH tunnel) and the docs say loopback.
  • The image starter recommendation uses the guest's RAM limit, so a capped LXC guest is no longer offered a model it cannot load. On a unified-memory host a guest limited to 48 GB still read the host's 128 GB pool and was offered qwen-image-lightning in the install-time offer, in hal0 setup and in GET /api/comfyui/models; the first render then OOM-killed the image engine. The pick now follows the smaller of the pool and the guest's RAM limit (ram_mb or cgroup_max_mb), with the same thresholds (#3057).
  • /api/comfyui/status and /logs use the right container and unit name on a box with id-keyed slots. Both looked for [email protected] and the hal0-slot-img container, but a box migrated to id-keyed slots names them after the slot's id (for example [email protected]), so a running engine reported as absent and the log tail read nothing (Refs #2302).
  • +15 more on GitHub ↗

Security

  • ComfyUI's GPU gate authenticates with a token of its own, never the admin key (#3058). The hal0_gpu_gate node calls three ADMIN routes before every image prompt (and reports a prompt it refused to a fourth), so a box that enforces auth (hal0 auth require on), or one whose HAL0_BIND_HOST is a specific address with an admin key set, refused it, and every image prompt with it. hal0 now mints the gate a token in /var/lib/hal0/comfyui-gate/token (0600 in a 0700 directory, owned by the service user) when the img slot loads, and mounts that directory read-only into the ComfyUI container; the token is never in the unit file or the container's environment. hal0-api accepts it on exactly the gate's four requests (GET /api/comfyui/arbiter, POST /api/comfyui/prompt-handoff, POST /api/comfyui/switchover asking for image mode without force or pin, where anything else answers 403 auth.forbidden, and POST /api/comfyui/gate-refusal, the reason the gate refused a prompt), only from the box itself (loopback or the address hal0-api binds), and on no other route, WebSocket or stream. The gate reads the token on every request and sends it only to hal0-api by address: through no proxy, never to a host name, and never on to a redirect. A token whose file others could have read is replaced at the next img load. Run hal0 slot restart img once after updating so the container gets its token. To replace the token, delete the file and restart img.
  • An approved admin MCP call now acts on exactly the resource its approval card names. The gated tools that take a path argument (slot_delete, model_delete, upstream_delete, stack_apply and the rest) pasted that argument into the REST URL raw. After you approved, .. climbed out of the tool's route onto a sibling route, a ? or # cut the path short (junk?x deleted junk), and a %6D escape was decoded by the server (%6Dy-model acted on my-model), so a prompt-injected agent could get an approval for a card that did not name what the call changed. Path arguments are now sent literally: each one is percent-encoded as a single URL segment, so ?, #, %, spaces, : and non-ASCII reach the server as typed. A path argument must now be a string (or an integer below 2^53): null, booleans, floats, lists and objects are refused, as are an empty value, ., .., a value containing / (only an argument its route declares {name:path} may contain / between valid segments, each checked on its own: today that is comfyui_file_delete's relpath), and a value with a control or invisible formatting character (a zero-width space or a bidi override can make a card read as one name while the value is another). They are refused with mcp.invalid_arg before any approval card exists (and again if the call is run), instead of after you approved. A missing path argument on a gated tool now returns mcp.missing_arg the same way, with no card. (#3051)
  • ComfyUI model downloads no longer spawn hf with the API process environment (they use hal0's own HTTPS downloader).

Migrations

  • Toggle the Discovery card once to clear ComfyUI's old mDNS announcement. A box that announced services on an earlier version keeps its hal0-addon-comfyui avahi service after the update, and other machines on the network keep resolving a ComfyUI that refuses them: hal0 no longer announces ComfyUI and does not remove the file by itself. Turn the Discovery (mDNS) card on the Services page on or off once; either removes it (turn it back on if you want Open WebUI announced). The same update also needs hal0 slot restart img once, for ComfyUI's GPU gate (see Breaking).

1.6.5

2026-10-24FLM on the NPU runs on FastFlowLM 1.0.10, inside its runner imagestable

Highlights

  • FLM on the NPU runs on FastFlowLM 1.0.10, inside its runner image. The installer's host .deb moves to 1.0.10, and flm pull and flm list now run in the pinned flm runner image through a new hal0-flmctl seam, so a box without the host .deb can pull and list NPU models. An NPU slot loaded with a model override no longer downloads a different model, and the NPU pickers list every installed FLM chat model once, with its flm chip.
  • Tighter privilege boundaries around the hal0 account. Root wrappers no longer import Python from the caller's working directory, root writes under /var/lib/hal0 and /etc/hal0 no longer follow a swapped-in symlink, the Hermes repair child gets an allow-listed environment, and Settings → Secrets refuses loader, TLS, OpenSSL, proxy, XDG and Hugging Face endpoint variables. hal0 doctor all flags any such entry already in api.env.
  • The upstream Hermes gateway unit move holds up in partial and masked states. A move that fails or is interrupted keeps exactly one gateway, a runtime or persistent mask is honoured, and the remedy it prints works.
  • Four CLI spellings are gone (see Breaking). hal0 agent upgrade hermes --to, hal0 update owui, hal0 agent bootstrap hermes, and hal0 uninstall --keep-data/--clean-slate now have one name each, and a Hermes --target persists until --clear-override.
  • Dashboard navigation. The sidebar lists every tab of every page, and each tab has its own address you can link to.

Breaking

  • hal0 agent upgrade hermes --to <sha> is gone: use hal0 update component hermes --target <sha>. There is no alias. hal0 agent upgrade hermes now exits with a message naming the new command, and hal0 agent upgrade takes only pi. The --target check is the one --to had: a full 40-hex commit listed in VETTED_HERMES_REFS, and a commit older than the live release is refused as a downgrade. The hidden --ref flag of hal0 agent bootstrap hermes, which only the old command used to hand a ref to the privilege-dropped child, is removed with it. (#2865)
  • hal0 update owui is gone: use hal0 update component openwebui. There is no alias. --target <digest>, --clear-override, --check and --yes work on hal0 update component <id> exactly as they did on hal0 update owui; the OpenWebUI override marker and the /api/updates/components/openwebui/converge body are unchanged. Every other command's remedy text that named hal0 update owui now names the new spelling. hal0 update owui exits with the CLI's unknown-command error. (#2868)
  • hal0 agent bootstrap hermes is gone: use hal0 agent reprovision hermes. The two were the same command, and there is no alias. reprovision takes --repair, --verbose and now --offline (a build that is needed fails and names the step that needs the network; a running host keeps its live release). The --dry-run and --skip-phase flags that only printed "not supported" are removed with the command: reprovision rejects them as unknown options. hal0 agent bootstrap exits with the CLI's unknown-command error. The dashboard's Hermes repair (POST /api/agents/hermes/repair) now runs hal0 agent reprovision hermes --repair --verbose, and every doctor row, remedy string, installer wrapper message and agent-facing template that named the old verb names the new one. (#2863)
  • hal0 uninstall --keep-data and --clean-slate are gone. --keep-data did nothing: the conservative default it named was already the default. --clean-slate was a second spelling of --purge. There are no aliases, so hal0 uninstall now has the conservative default, --purge, --force and --dev, and the removed flags fail with Typer's "No such option" (exit 2). installer/uninstall.sh follows: it no longer accepts either flag, and any flag it does not know now exits 2 instead of printing a warning and carrying on, so an old runbook that passed --clean-slate cannot quietly run the conservative teardown. Scripts that passed --keep-data should drop it; scripts that passed --clean-slate should pass --purge. (#2866)

Changed

  • The NPU slot drawer's chat-model picker matches the one on the slot card. It was a plain dropdown that appended "⬇ download" to each name. It now uses the same two-line picker as the card. Each row shows the tag and, for chat models that also transcribe, the asr tag on its first line, then the purple flm chip on the second. A tag that is not on disk yet adds a ⬇ download chip and is listed after the installed ones. Picking one still downloads it first.
  • The NPU occupancy card's slot cards have the same model dropdown as the inference cards. The model name was a static label. Each FLM slot card now carries the dashboard's rich model picker (quant, runtime and modality chips, with the runtime chip in the NPU purple). It lists only FLM models of the card's role: chat for the chat anchor, speech-to-text for STT, embedding for Embed. Picking a chat model writes the same config the slot editor writes ([npu] toggles plus [model].default on the anchor) and cold-restarts it. The STT and Embed pickers are read-only, because FastFlowLM loads one bundled model per role and has nothing to switch.
  • The dashboard sidebar has a sub-link for every tab on a page. Slots adds Inference and Image Gen beside Endpoints, Runner Images and Stacks. Models lists Inference Models, Image / ComfyUI, Upstream Models and Profiles. Benchmarks lists Roster, Runs, Evals and Run Queue. Agents adds Overview, and Settings lists its sections from the same list as the in-page settings nav. Every one of these tabs now has its own address (#slots/image, #models/upstream, #benchmarks/evals and so on), so the sidebar highlight follows the tab you pick on the page, and a tab can be bookmarked or linked. Bare #slots, #models, #benchmarks, #agent and #settings still open the first tab.
  • The installer installs FastFlowLM 1.0.10 on NPU hosts, up from 0.9.44. The pinned host .deb now comes from ROCm/FastFlowLM, where the project moved, with new SHA-256 pins for each distro build. FastFlowLM 1.0 drops ffmpeg and fftw and needs libxrt2 2.25 or newer. The matching flm runner image ships separately as a runner pin.
  • A Hermes --target now persists until --clear-override, the way the OpenWebUI digest override does. --to built a vetted commit that the next hal0 update replaced with the pin. hal0 update component hermes --target <sha> records the commit in /var/lib/hal0/state/hermes.pin-override once its release is live, and every later hal0 update keeps that release. hal0 update status shows the row as override with the override commit beside the pin, on every run, so a forgotten override stays visible; the converge counts a live release that matches the override as converged. When a later hal0 release no longer lists the override commit in VETTED_HERMES_REFS, hal0 update warns, refuses to keep or rebuild it, and names hal0 update component hermes --clear-override; it never builds an unvetted commit. hal0 update component <id> also takes --yes. --target with the release pin's own commit counts as --clear-override; --clear-override is refused when the pin is older than the live release and removes the marker only after the converge back to the pin succeeds; hal0 agent reprovision hermes --repair, the dashboard Repair and the MCP-client auto-repair in hal0 update rebuild the override commit instead of the pin (and refuse an override this release no longer vets); and the Agents card does not show an update for a box held at an override. hal0 agent uninstall hermes removes the override marker (a full hal0 uninstall --purge removes it with /var/lib/hal0; a conservative uninstall keeps it with the rest of the state), so a fresh install never rebuilds an old override. (#2865)

Fixed

  • The NPU model picker lists every installed FLM chat model, once, with its flm chip. FLM reports gemma4-it as chat plus speech-to-text, and /api/models typed its registry row transcription, so the NPU chat picker (which lists only chat models) dropped gemma4-it:e2b and showed the current gemma4-it:e4b as a bare row with no chips. FLM rows that can chat are now typed chat, the rule the rows built from FLM's own model list already followed. Installed FLM models with no registry row used the old <tag>-FLM id and carried no engine field, so they showed in a second naming style without the flm chip and read as duplicates. They now use FLM's native tag (qwen3:4b) like pulled models do, keep the old id as an alias for slots still bound to it, and carry provider_effective: flm. Assigning a native tag to a slot passes the installed-model check, which accepted only the -FLM form before.
  • Loading an NPU slot with a model override no longer downloads a different model and sticks in warming. The one-shot inference check that promotes an FLM slot to ready read the model from [model].default, which an override load (hal0 slot load flm -m <model>, or POST /api/slots/{name}/load with a model_id, as the dashboard pickers send) only writes after the check. With an empty or different default, the check fell back to the first model in FastFlowLM's /v1/models, and FastFlowLM 1.0.10, which lists models it has not installed, pulled that model (5.4 GB deepseek-r1:8b in the report) and timed out. The check now probes the model the load started, and fails with expected_model_not_served instead of naming any other model. The embeddings check on chat-off NPU slots names the bundled embed-gemma:300m instead of the first chat tag. hal0 slot load on a slot with no model now says "Not loaded" with the reason and exits 1, instead of "Loaded ... state=offline". (#3023)
  • The move off upstream's suffixed hermes-gateway-<hash>.service now holds up in mixed and interrupted states. After a move killed half way (a disabled, stopped hermes-gateway.service beside the enabled suffixed unit), hal0 agent install hermes and the installer read the canonical unit's "disabled" and stopped the gateway again; they now read the operator's on/off state by the same rule the move uses. A masked hermes-gateway.service no longer leaves a running suffixed gateway connected: both the command and the installer move it off, keeping the mask. A failed start during a resumed move now disables the canonical unit it had enabled, so both units are never left enabled. A timed-out or failed systemctl is-active probe aborts the move before any change instead of reading as "stopped". A suffixed unit with a second User= or HERMES_HOME= assignment is no longer treated as hal0's, a canonical unit linked in with systemctl link is no longer treated as a mask, and a runtime mask is honoured. When only the removal of the old suffixed file fails, the command says the gateway moved instead of saying it is not enabled. (#2950)
  • A runtime mask on hermes-gateway.service is honoured on a box that has only the suffixed unit. systemd reads /etc/systemd/system before /run/systemd/system, so systemctl mask --runtime hermes-gateway.service only takes effect while there is no /etc/systemd/system/hermes-gateway.service, which is exactly the state of a box a 1.6.0 nightly installed. There, hal0 agent install hermes and the installer used to write the /etc unit, which hid the mask, then enabled and started the gateway. They now read the mask, stop and remove the suffixed unit, and write no canonical unit, so the gateway stays off. The runtime mask is gone after a reboot, and with it the off switch; with no unit file left, the gateway stays off until sudo hal0 agent install hermes lays the unit down and turns it on. (#3024)
  • The left-off note for a masked gateway names a command that works. After the move past a mask, hal0 agent install hermes and the installer said to run systemctl unmask hermes-gateway.service && systemctl enable --now hermes-gateway.service. The enable failed with "Unit file hermes-gateway.service does not exist": a mask leaves no gateway unit file. The note now says systemctl unmask hermes-gateway.service && sudo hal0 agent install hermes (unmask --runtime for a runtime mask), which lays the unit down and turns it on. (#3025)
  • The removed suffixed gateway unit no longer shows up in systemctl --failed. After a successful move, hermes-gateway-<hash>.service stayed listed as not-found failed until systemctl reset-failed. The move now runs systemctl reset-failed on each suffixed unit it removed; a failure there is ignored.
  • +20 more on GitHub ↗

Security

  • hal0-agentenv and hal0-benchctl no longer import Python modules from the caller's working directory. Both run as root through the hal0 account's sudo grant and started Python with -c but without -I. sudo keeps the caller's working directory, and python -c puts that directory first on sys.path, so a tempfile.py or hal0/ package planted there ran as root: a local privilege escalation from hal0 to root. Both wrappers now cd / and start every Python with -I, as hal0-update already did. A test now fails if any wrapper under installer/wrappers/ starts Python without -I. (#3007)
  • A dashboard Repair no longer hands the Hermes provisioner every secret hal0-api holds. The repair child inherited hal0-api's whole environment minus HERMES_HOME, including the box keys, upstream API keys and tokens. Its environment is now built from an allow-list: PATH, locale (LANG, LC_*, TZ), the proxy variables, HOME, and the non-secret HAL0_* settings (including HAL0_HERMES_LIVE_RESOLVE and HAL0_INFERENCE_BASE) the provisioner needs to reach hal0-api. (#2938)
  • A root Hermes repair can no longer be tricked into overwriting a root-owned file. The Hermes provisioner wrote its files through a predictable <target>.tmp temp file, some of them in directories the hal0 service account can write, including provision.json in the Hermes state directory. That account could plant a symlink at that name, and the next sudo hal0 agent reprovision hermes --repair (or the installer's post-activation pass) would truncate, rewrite and chown whatever file it pointed to: a local escalation from hal0 to root. Temp files now get a random name opened exclusively without following symlinks, their mode and owner are set on the open file, and a failed write removes them. (#2903)
  • Root writes under /var/lib/hal0 and /etc/hal0 no longer follow a directory the hal0 account swapped for a symlink. Both trees are owned by the hal0 service account and are not sticky, so that account could rename .hermes, secrets/, agents/ or slots/ and put a symlink, or a directory it owns, in its place. A root --repair, the installer, hal0 update, hal0 doctor perms --fix or the hal0-agentenv sudo seam then created, rewrote, chowned or chmodded files inside whatever the link named: a local escalation from hal0 to root. Those writers now walk each directory from / by descriptor, refuse a symlink below any directory someone other than root can write, and require the secrets vault and /etc/hal0/agents to really be root's before they write into them. The Hermes venv repair and the update cache chown no longer follow the links inside the tree either. An operator-made symlink above the state root, such as /var/lib/hal0 pointing at another disk, still works; a symlinked .hermes or secrets/ is now refused. (#2975)
  • POST /api/models/{id}/pull rejects a malformed or path-traversing Hugging Face repo or filename before it records anything. The repo and filename fields in the request body (hf_repo, hf_filename, mmproj_filename, draft_repo, draft_filename) were passed on after only trimming whitespace, so a value such as ../../etc/x.gguf produced a registry row whose path pointed outside the models directory — a path that model scans, hal0 model rm --keep-files and the slot view then trust. Repos must now be org/name and filenames must be relative paths inside the repo (subfolders still work); anything else gets a 422 model.invalid_source naming the field, and no row is seeded and no download starts. Rows already holding a bad path are not rewritten. (#2775)
  • Settings → Secrets and provider credentials accept a TLS trust variable only as a path hal0 cannot write. SSL_CERT_FILE, SSL_CERT_DIR, REQUESTS_CA_BUNDLE, CURL_CA_BUNDLE and NODE_EXTRA_CA_CERTS choose the CA bundle every outbound TLS client under hal0-api trusts, so pointing one at a bundle the hal0 user can edit would let a man-in-the-middle read every token hal0 sends upstream (Hugging Face, provider keys). They are now stored (secrets routes, POST /api/providers/{name}/credentials, and the shared api.env writer) only when the value is an absolute path to an existing root-owned file (a directory for SSL_CERT_DIR) that is not group- or world-writable, under parents that are root-owned and not group- or world-writable, every symlink hop checked (the link, each intermediate hop and the final target), and every entry of an SSL_CERT_DIR directory too; anything else is refused with secret.protected (403, reason: "tls_trust") or a 400 on the credentials route. A custom corporate CA still works once an admin installs it as root. Delete still works on an entry already there, so check Settings → Secrets after updating (#2941).
  • Settings → Secrets and provider credentials refuse SSLKEYLOGFILE. Python's ssl, httpx, curl and Node write every TLS session key to the file it names, so an entry pointing at a file hal0 can read let a passive capture decrypt the Hugging Face and provider tokens hal0 sends upstream. It is now refused like the loader variables (secret.protected, reason: "process_control"); delete still works on an entry already there (#2997).
  • Settings → Secrets and provider credentials refuse OPENSSL_CONF, OPENSSL_MODULES, OPENSSL_ENGINES and every other OPENSSL_* name. An OpenSSL config can load an engine or provider shared object, so an entry ran code inside every OpenSSL user under hal0-api, the same class as LD_PRELOAD. Refused with secret.protected (reason: "process_control"); delete still works on an entry already there (#2998).
  • Settings → Secrets and provider credentials refuse NODE_TLS_REJECT_UNAUTHORIZED. Set to 0, it turned off certificate verification for every Node child of hal0-api (the Hermes web build, npm), a simpler route around the CA-bundle guard than #2941 closed. Refused with secret.protected (reason: "process_control"); delete still works on an entry already there (#2999).
  • Settings → Secrets and provider credentials refuse XDG_CONFIG_HOME and every other XDG_* name. git, pip, uv and npm under hal0-api read their configuration, data and caches from the XDG base directories, so an entry sidestepped the existing HOME, GIT_*, PIP_* and UV_* refusals: git config (core.sshCommand, core.fsmonitor, http.sslVerify=false) runs code or turns off TLS checks, XDG_DATA_HOME picks the uv-managed Python the Hermes build runs, and XDG_CACHE_HOME the wheels uv and pip reuse. Refused with secret.protected (reason: "process_control"); delete still works on an entry already there (#3000).
  • Settings → Secrets and provider credentials refuse HTTP_PROXY, HTTPS_PROXY, ALL_PROXY, NO_PROXY and any other name ending in _PROXY, in either letter case. httpx, requests, git, curl, uv and pip honour them, so an entry sent hal0-api's outbound traffic through a proxy chosen by whoever wrote it, and on a plain-http:// remote upstream the bearer token went with it. Refused with secret.protected (reason: "process_control"); delete still works. A box behind a corporate proxy keeps setting these the documented way, by editing /etc/hal0/api.env as root; an entry already in the file keeps working (#3006).
  • Settings → Secrets and provider credentials refuse HF_ENDPOINT and the other Hugging Face endpoint and cache overrides. The ComfyUI model fetch runs hf download with hal0-api's environment plus HF_TOKEN, so an HF_ENDPOINT entry sent the operator's Hugging Face token to another host and let that host choose the weights hal0 later loads; a cache directory override served planted files the same way. HF_ENDPOINT, HF_INFERENCE_ENDPOINT, HUGGINGFACE_CO_STAGING, HF_TOKEN_PATH, HF_ASSETS_CACHE, HUGGINGFACE_ASSETS_CACHE and every HF_HUB_*, HUGGINGFACE_HUB_* and HF_XET_* name are now refused with secret.protected (reason: "process_control"), and the ComfyUI fetch drops them from its subprocess environment, so an entry written before this update no longer reaches hf download either. HF_TOKEN and HF_HOME are unchanged; delete still works (#3017).
  • hal0 doctor all flags api.env entries written before these guards. A new api-env-entries row warns on any loader, interpreter, TLS, configuration or proxy variable already in /etc/hal0/api.env (the #2936 names plus #2997–#3000 and #3006), and on a TLS trust variable whose value is not a root-owned path hal0 cannot write (#2941). Updating does not remove an entry, and hal0-api and every child keep inheriting it, so the row is how a box learns that one is there. It names the keys, never the values, and words proxy variables apart, since a box behind a corporate proxy sets them as root on purpose (#2942).

1.6.0

2026-10-23Hermes v0.22.4 on Python 3.14, installed as a releasestable

Highlights

  • Hermes v0.22.4 on Python 3.14, installed as a release. The bundled Hermes moves from 0.19.0 to v0.22.4 (4d043038) with its venv on a uv-managed Python 3.14, built from upstream's lockfile into a release layout that hal0 update activates with an automatic flip-back on a failed start. hal0 agent upgrade hermes --to takes only a vetted commit, and building an older vetted release over a newer one's state.db is refused. (#2851, #2853, #2856, #2874, ADR-0032, ADR-0034)
  • Every Hermes profile is reachable from Open WebUI, with hal0's tools and memory. hal0 registers one pinned, read-only /v1 upstream per served Hermes profile, so the Open WebUI picker lists hermes-agent, coder, hal0-brain and the rest, and every named profile gets hal0-admin and hal0-memory under its own identity with its own private memory bank. (#2898, #2902, ADR-0035)
  • A terminal-off box stays off for Hermes's hidden side agents too. From v0.22.3 the gateway's preview-restart side agent ignores agent.disabled_toolsets; hal0 now also writes a terminal.backend Hermes rejects in the tool's own availability check, in the root config and every profile, so terminal and process_manage leave every schema. Opting in puts the operator's backend back. (#2878, #2912)
  • hal0 doctor watches the Hermes gateway and its API path. New rows fail when the gateway unit file is missing or an unmanaged gateway run --idle-exit is running, check each served profile's authenticated /v1/models and upstream, and warn rather than fail when the operator turned the gateway off. (#2874, #2898, #2905)
  • The memory engine runs on a local slot or an upstream model, switched without a restart. Pick it under Engine model on Settings → Data → Memory or with hal0 memory graph enable --model <id>; hindsight-api calls one virtual id, hal0/memory, that hal0 resolves per call, and a new Engine running row shows the model the engine really loads, including an override from /etc/hal0/hindsight-llm.env. (#2918, #2926)
  • Rotating a key ends every live connection that used it. Open WebSockets and Server-Sent Events streams holding the old credential close at rotation, and an expired session ends its streams. (see Removed)

Breaking

  • Updating from 1.3.x now takes one hop through 1.5.0. The release's upgrade_from floor moves from >=1.3.0 to >=1.4.0, so the 1.3.x updater's post-swap compatibility shim in hal0.updater.updater (the PROFILE_CATALOG_SCHEMA_VERSION re-export and the ceiling= parameter) is deleted. A box on 1.3.x gets UpdateUpgradePathUnsupported naming the floor; run hal0 update --target 1.5.0 first, then update again. A box on 1.4.x or later is unaffected (#2783).
  • hal0 agent upgrade hermes --to takes a vetted commit sha, and the Hermes venv moves to a release layout on the next update. --to now accepts only a full 40-hex commit listed in VETTED_HERMES_REFS; a version string or an ==X.Y.Z spec is refused, and the in-place pip install --upgrade path is gone. Every Hermes build (install, reprovision --repair, upgrade, and the venv repair and converge passes of hal0 update) now builds a fresh release under /var/lib/hal0/hermes/releases/, checked before it goes live, behind a current symlink; /var/lib/hal0/venvs/hermes becomes a symlink to current/venv. Activating a release stops the agent and gateway units that were running, switches, runs hermes config migrate, starts them again, and switches back to the previous release with config.yaml restored if the re-check fails. The first hal0 update after this release migrates every host this way, with a short Hermes outage. uv now ships in hal0's own venv, and hermes-prereqs.sh no longer installs it (#2615, ADR-0032, ADR-0034).
  • hal0 update now regenerates the Hermes gateway unit and enables linger automatically; run sudo hal0 agent install hermes only if the update reports it couldn't. An existing box keeps the gateway unit Hermes 0.19.0 wrote: no After=/Wants=user@<uid>.service and no linger for hal0. That unit still starts Hermes v0.22.2, but without the hal0 user's systemd manager Hermes cannot give its workers their own scope. Kanban workers never start: each dispatch tick logs kanban dispatcher: spawn of <task> deferred, host cannot place the worker and the card stays queued without spending its retries. Cron jobs still run, but outside a scope, so a gateway restart kills a job in flight. Once the v0.22.2 release is live, hal0 update calls a new hal0-update hermes-gateway verb. As root, that verb renders the v0.22.2 unit from hal0's own template and never runs Hermes code. It turns linger on for hal0 and restarts the gateway only if it was running. It never enables, starts or stops the gateway. A gateway you disabled and stopped is left alone. The sudoers grant does not change. If the verb fails, hal0 update, hal0 update status and hal0 doctor all (its hal0_linger row) still print sudo hal0 agent install hermes (ADR-0034 decision 6, #2615).
  • The bundled Hermes moves from 0.19.0 to v0.22.2 (d923a5eb), and its venv from Python 3.12 to 3.14. v0.22.2 declares requires-python = ">=3.11,<3.15", so it is the pin that moves hosts to 3.14. The first hal0 update to 1.6.0 builds a new Hermes release next to the live 0.19.0 one: a uv-managed CPython 3.14 under /var/lib/hal0/hermes/python/cpython-3.14*, dependencies installed from upstream's hash-locked uv.lock, then the switch. The release's release.json records that interpreter as python with "lock": true, the 3.12 release stays as previous, and /etc/hal0/hermes-python.env is rewritten to the 3.14 interpreter (the old 3.12 value is discarded with a hermes-python-discarded warning). The pin moves in lockstep: requirements line, VETTED_HERMES_REFS and its requires-python record, the drift-watch table and the contract fixtures (ADR-0032 decision 15, ADR-0034 decision 8). Three things change for an operator. The Hermes gateway now turns on systemd linger for the hal0 user, because Hermes's scheduled and kanban workers run under that user's systemd manager; hal0 doctor all shows it on a new hal0_linger row, and hal0 agent uninstall hermes and installer/uninstall.sh run loginctl disable-linger hal0 (ADR-0034 decision 6). Session history is kept: Hermes 0.22 deletes ended sessions after 90 idle days by default, and hal0 writes sessions.auto_prune: false so nothing is pruned (ADR-0034 decision 7). And hal0 no longer writes auxiliary.web_extract or auxiliary.session_search, which Hermes 0.22 ignores, and drops them from an existing config.yaml. The MCP client probe now works with the mcp 2.0 client in the new venv, and the unread HERMES_DASHBOARD_TUI variable is gone from the agent unit (#2615).
  • With Hermes v0.22.4, a profile-scoped chat in Hermes's dashboard and the hermes chat CLI need the Hermes gateway. From Hermes v0.22.3 the gateway daemon owns chat turns and the session store. The dashboard's default Chat tab still runs its turns in the dashboard process and needs no gateway. A chat opened for another Hermes profile (such as hal0-brain), and the classic hermes chat CLI, are gateway clients: they attach to hermes-gateway.service through /var/lib/hal0/.hermes/gateway.sock. If that unit is masked, failed or stopped, they report gateway inaccessible instead of starting a session. hal0 makes sure they never start a gateway of their own on a box where the gateway is disabled (ADR-0034 amendment, #2874). hal0 keeps the unit file installed even when the gateway is turned off, because an installed unit, in any state, is what stops a client from starting a gateway of its own; hal0 doctor has a Hermes gateway unit row that fails when the file is missing or a gateway run --idle-exit process is running. To chat in another profile, run the gateway (sudo systemctl enable --now hermes-gateway); with no messaging platform configured it serves only the API server and cron (#2615).
  • Rolling back from 1.6.0 to 1.5.x leaves the Hermes build failing until you update again. 1.6.0 records a Python 3.14 interpreter in /etc/hal0/hermes-python.env. A 1.5.x hal0 accepts only 3.12, so its Hermes converge stops with Hermes Python must be exactly 3.12: <path> reports 3.14 and reports the build as failed. The 1.5.x MCP probe also imports streamablehttp_client, which the mcp 2.0 in the v0.22.2 venv no longer has, so on 1.5.x every hal0 update reports the Hermes venv as broken and its repair fails, and hal0 agent bootstrap hermes and hal0 agent reprovision hermes fail at mcp_wire. The Hermes release 1.6.0 built keeps running and serving through all of this. Do not edit /etc/hal0/hermes-python.env to point 1.5.x at a 3.12 interpreter: 1.5's venv builder then replaces the release symlink at /var/lib/hal0/venvs/hermes with a 0.19.0 venv and leaves a stray /var/lib/hal0/venvs/hermes.rollback-<pid> behind. Update back to 1.6.0 instead, which clears every one of these errors (#2615).
  • Removing a NO_PROXY exemption from api.env now removes it from the Hermes agent's NO_PROXY. A driver env rewrite run as root (hal0 agent bootstrap hermes --repair, HermesDriver.install, an MCP exposure change) read the previous /etc/hal0/agents/hermes.env back in as an operator source, so every entry it had ever written stayed there, including an operator *. A rewrite now takes operator entries only from api.env and its own process environment, so an entry exported only in an interactive shell is dropped again by the next rewrite from the service. When hal0 cannot read the MCP registry to find the exposed loopback hosts, a rewrite keeps the previous NO_PROXY lines; when there is no readable previous file, the install_artifacts step of hal0 agent bootstrap hermes fails and names the fix, and HermesDriver.install raises, instead of writing a list without those hosts (#2534).

Added

  • The memory engine can run on an upstream model, switched from the dashboard or CLI without a restart. [memory.graph].extraction_model names an upstream model id hal0's /v1 already routes (an OpenRouter or MiniMax id, say); unset, the engine stays on the local extraction_slot. hindsight-api now always calls one virtual id, hal0/memory, which hal0 resolves to your choice on every call, so picking a model is a config write that applies at once, uses hal0's own upstream credentials, and never restarts the engine — only a timeout or extraction-limit change still does, plus one repair of a stale or missing drop-in on the first save after upgrading. Pick it under Engine model on Settings → Data → Memory or the agents Memory tab (Local slots / Upstream models), or with hal0 memory graph enable --model <id> and --local. GET /api/memory/graph/status gains target, available_models and engine_llm, and the new Engine running row names the provider and model hindsight-api actually loads — including, in red, an override from /etc/hal0/hindsight-llm.env, which systemd applies after every hal0 setting and which used to leave hal0 reporting a slot the engine was not using (#2918, #2919, ADR-0023 amendment).
  • sudo hal0 agent upgrade pi re-pins an installed pi without an uninstall. It reruns the pinned installer, redeploys hal0's two extensions, and leaves the extensions you added, your default provider, model and theme alone. Run it the same way you installed pi (sudo hal0 agent upgrade pi); it refuses when pi's profile is in a different home or pi is not installed. --to stays Hermes-only. A fresh hal0 agent install pi from a git checkout now seeds a name-keyed banks alias (coding-agent::hal0 to coding-agent::hal0-mono) in ~/.hindsight/coding-agent.json instead of a path mapping, and upgrade pi adds that alias to an existing file, which other Hindsight-backed tools on the box also read.
  • A bank's description is editable from the Memory workspace. The text under the bank picker is Hindsight's reflect_mission for that bank — the persona reflect answers with — and until now every bank showed whatever it was created with (the hindsight coding-agent plugin stamps one text on all of its banks) and only hal0 memory bank profile set --reflect-mission could change it. Click the description to edit it in place; Save writes the same per-bank config override the CLI does, nothing else.
  • GET /api/agents/{name}/overview returns the state behind the Hermes and Pi cards in one call. For Hermes it reports the live and previous release against the pin, the agent and gateway unit states, the API server's health and served profiles, the configured platforms, the last provision run, four doctor rows, the command-approvals state with the pending count, memory counters, the desktop link, any running build job, and a phase with the reasons a running Hermes is degraded. A provision report older than the live release's build is marked stale and no longer degrades the card, because hal0 update rebuilds Hermes without rewriting it. For Pi it reports the installed and pinned versions, the profile checks, and whether the Hindsight API answers. Every probe is bounded and fails soft: a box without systemd answers with unknown values, not an error, and a stopped gateway reads inactive. A gateway the operator disabled or masked is not reported as degraded. The probes are cached for 30 seconds per agent (a Hermes build starting or ending is a miss), generated_at says when they were taken, and ?refresh=1 rebuilds them. The overview is rebuilt right after a restart, a command-approvals change or a repair, a probe that hangs past 8 seconds answers with partial: true instead of stalling the card, and the configured-platform list is probed at most every five minutes.
  • hal0 doctor has a Hermes gateway unit row. It fails when Hermes is installed but /etc/systemd/system/hermes-gateway.service is missing, or when a gateway run --idle-exit process is running, naming its pid and cgroup. Either state means a Hermes v0.22.3+ client could run, or is running, a gateway of its own where the operator turned the gateway off (ADR-0034 amendment, #2874).
  • [hermes] delegation_slot in /etc/hal0/agents/hermes.toml picks the slot Hermes's delegate_task children run on. Hermes's delegation.model was rendered from the agent slot and nothing else, so on a single-GPU box every child queued behind its parent on the same llama-server (--parallel 1), and a hand edit of delegation.model was undone by the next repair. The default stays agent. Any other slot name renders delegation.model = "hal0/<slot>", which hal0's /v1 route resolves to that slot and pins the lane even when two slots share a model id. The setting is applied at provision or repair while the slot is ready, and hal0 doctor has a row for it. There is no CLI or API writer yet (#2893) (#2885).
  • +6 more on GitHub ↗

Changed

  • Hermes is pinned to v0.22.4 (4d043038) instead of v0.22.2 (d923a5eb). v0.22.3 rolled up about 620 upstream PRs; v0.22.4 adds 14 commits of Desktop, plugin and dashboard fixes. The review found no change to anything hal0 relies on: the gateway unit hermes gateway install --system writes is identical, so the unit hal0 regenerates on update needs no change; requires-python, the lock's Python 3.14 markers and the web, mcp and platform extras are unchanged; hal0's provider and memory plugins load, the MCP probe connects, the dashboard still injects its session token and accepts ?token= on /api/ws, and Hermes still reads agent.system_prompt for the persona. The upstream changes that do reach a hal0 box are the gateway taking over chat turns (see Breaking), a config schema step from 50 to 51 that only removes cron.bot_chat_delivery_timeout_seconds, and dependency security fixes: mcp 2.3.0 (GHSA-84m7-p3x7-pcfv), urllib3 2.8.0 and PyJWT 2.15.1, plus tornado 6.5.10 and multidict 6.9.1 on a box whose release carries messaging-platform extras. The gateway API server gains POST /v1/runs/{id}/clarify and POST /v1/runs/{id}/resolve-unknown, behind the same key. v0.22.2 stays in VETTED_HERMES_REFS for the automatic flip-back after a failed activation, but once v0.22.4 is live, hal0 agent upgrade hermes --to d923a5eb487a17c0a68801bba9ef0f56c81040a8 is refused as a downgrade: v0.22.3+ writes gateway runtime state into state.db that v0.22.2 cannot run over, and hal0's release switch keeps only config.yaml (#2805 tracks a manual rollback). A box on v0.22.2 rebuilds onto v0.22.4 at its next hal0 update. The contract fixtures are re-vendored from v0.22.4 (ADR-0032 decision 15). (#2615).
  • The Hermes venv's Python follows the pinned commit, and hal0 can build it on 3.14. hal0 builds the Hermes venv on the newest of Python 3.14 and 3.12 that the pinned commit's requires-python admits. The previous pin, 3ef6bbd2, caps below 3.14 and builds on 3.12; the move to 3.14 comes with the v0.22.2 pin bump (see Breaking). Interpreters are resolved in this order: a HAL0_HERMES_PYTHON override, then a uv-managed CPython under /var/lib/hal0/hermes/python, then a system interpreter that links SQLite 3.51.3 or newer. hal0's own interpreter is never used. A resolve with no lock is pinned to the commit date with --exclude-newer, and hal0 doctor reports the live interpreter's SQLite version (#2615, ADR-0032 decision 9, ADR-0034 decisions 1 and 2).
  • A stale or invalid HAL0_HERMES_PYTHON no longer stops a Hermes build. Before, a value from the environment or from /etc/hal0/hermes-python.env that failed validation, or a file the parser rejected, made hal0 agent install hermes, hal0 update and the preflight fail until an operator fixed it by hand. The value is now discarded with a hermes-python-discarded warning that names it, why it failed and the interpreter chosen instead. hal0 then re-probes (a uv-managed CPython of the target minor first, then a system interpreter of that minor that links SQLite 3.51.3 or newer) and writes the new interpreter back to the file. When the file is read-only to the hal0 user, the re-probed interpreter serves that build and the file is left alone. If nothing is found the error is unchanged (ADR-0032 decision 9, #2615).
  • CI now requires Python 3.14. The 3.14 leg no longer carries continue-on-error, pull requests run 3.12 and 3.14, pushes to main also run 3.13, and the package declares the 3.13 and 3.14 classifiers (#2840).
  • The dashboard's optional browser Sentry no longer sends the browser's User-Agent or Referer. This only matters for a dashboard built with VITE_SENTRY_DSN. The Sentry SDK moved to v11, which replaced sendDefaultPii with per-category dataCollection settings that collect everything unless switched off. hal0 switches every category off: no user info or IP inference, no cookies, no request or response headers, no bodies and no URL query strings. Before, the SDK attached the User-Agent and Referer headers to every event. Spans still travel inside their transaction event, so the existing secret scrubber still sees all of them. (#2834).
  • Pi is no longer shown as "on the roadmap" in the Agents view. It is a live card with its own status; only Qwen and opencode stay behind the grey "Coming soon" mask.

Removed

  • Rotating a key now closes the open WebSockets that were using the old credential. Before, every WebSocket checked its cookie or key only when it connected, so a realtime socket or a board socket opened before a rotation kept working afterwards. A rotation now closes those sockets with code 4401. That covers the default rotation that signs out other sessions, and client-key and admin-key rotations, including an admin-key rotation with keep_sessions. A client that gets 4401 should sign in again and reconnect (#2801).
  • Rotating a key now also ends open Server-Sent Events streams, and an expired session ends open streams and WebSockets. Before, a stream such as /api/events/stream, /api/journal/stream or a streamed /v1 completion was authorised once, when it started, and kept sending after the key was rotated. Every long-lived stream is now covered by the same check as the WebSockets, so a rotation ends it. The stream's last frame is event: revoked, which plays the part close code 4401 plays for a socket. A process-wide check every 30 seconds also ends streams and closes WebSockets (with 4401) whose session cookie has expired (8 hours, or 30 days with Remember me). Before, an open board or realtime socket outlived its session. A client should sign in again and reconnect. With auth off, nothing is revoked (#2816).
  • The agent chat proxy is gone: /api/agents/{id}/events, /submit, /session/handshake, /session/create, /session/resume and /session/history now return 404. Chat with Hermes happens in Hermes's own dashboard, which hal0 does not proxy (ADR-0033, amending ADR-0004). The proxy could not reach the pinned Hermes: Hermes rejected its credential, so the sockets closed with 1011 before any traffic, and the session routes called REST methods Hermes does not have. Nothing in hal0 has called these routes since the v0.4 dashboard rework (#439). Removed endpoints normally wait for a major release; these ship in a minor because no client used them and none of the proxied routes could work. /session/handshake only minted the same session cookie POST /api/auth/login mints, so a script that used it to get a cookie should sign in through /api/auth/login instead. hal0 agent bootstrap hermes no longer writes /var/lib/hal0/.hermes/runtime.json, and hal0 doctor perms no longer checks it. An existing host keeps its old copy: nothing reads it, and uninstalling the agent removes it with the rest of /var/lib/hal0/.hermes. The HAL0_HERMES_RUNTIME_JSON, HAL0_HERMES_HOST and HAL0_HERMES_PORT environment variables, which only the proxy read, have no effect (#2817).

Fixed

  • A fresh install no longer ends with "Verify FAILED: structured-output probe failed". The installer's last check sends a JSON-mode chat request to hal0/utility, but a fresh install binds no model until you pick one in the dashboard, so the check could never pass and every new box finished with a red summary. The installer now reads the slot list first. When no model is bound it prints "structured-output probe skipped — no model bound yet" and does not count it as a failure. When the slot the request would land on has a model but is not loaded, it skips the probe too, because sending the request would make hal0 load that model just for the check. It also skips, rather than guess, when the slot list cannot be read or the slot reports a state it does not recognise. A slot in error still fails the verify, now naming the slot, without sending the request. With a loaded model the probe runs as before. One known gap remains on CPU-only boxes, where first-run seeding binds and loads the small brain model. The probe sends its request while that model is busy with the other post-install checks, the request can outlast the probe's 120 s limit, and the install still ends with a false "Verify FAILED". Structured output itself works there, it is only slow (#2952).
  • A fresh install now lays down hermes-gateway.service, and hal0 update moves a gateway off the suffixed unit a 1.6.0 nightly install left behind. Under Hermes v0.22.4, upstream's hermes gateway install --system run as root resolves its default home from root's account home, so the installer and hal0 agent install hermes got hermes-gateway-<hash>.service instead: it named the release it was built from (which the next update prunes, killing the gateway), skipped hal0's secrets drop-in, could not be restarted from the dashboard, failed the Hermes gateway unit doctor row and left a stray /root/.hermes. Both now write the unit from hal0's own template as root, without running Hermes, and keep the masked and disabled off switches. hal0 update stops, disables and removes a hal0 suffixed unit and installs hermes-gateway.service with the same on/off state; the doctor row names the suffixed unit and the fix. A /root/.hermes left by such an install is not removed; hal0 doctor perms still reports it (#2943).
  • The Hermes agent card no longer reads "degraded" on a healthy box after a fresh install or a Repair. The provision smoke test counted any non-zero exit from upstream hermes doctor as a failure. Upstream exits 1 whenever it lists an issue, and what it lists describes a standalone Hermes install, which no hal0 box is: no provider API key in Hermes' .env (hal0 keeps keys in its vault), unconfigured optional tool keys, hal0's terminal-off sentinel as an unknown backend, no ~/.local/bin/hermes (hal0's entry point is /usr/local/bin/hermes), and npm audit findings in upstream's own workspaces. The smoke phase therefore always recorded a warning, and the agent card showed it as provision_warn with no fix to offer. The probe now treats that list as advisory and shows it in the smoke result's detail. It still fails if hermes doctor crashes, times out, prints no readable summary or exits with any other code. (#2951)
  • Settings → Secrets and provider credentials no longer accept loader or interpreter variables. Both write to /etc/hal0/api.env, which is hal0-api's own environment file, and set the value in the running process at once, so a "secret" named LD_PRELOAD, PYTHONPATH or PATH was inherited by every process hal0-api starts (model pulls, the Hermes provisioner, update helpers) and by hal0-api itself after its next restart: an LD_PRELOAD entry ran arbitrary code as the hal0 user, and a wrong PATH could stop the service from starting. On a box running without auth, anyone who could reach port 8080 could set one. Those names are now refused with secret.protected (403) on the secrets routes, and with a 400 on the credentials route and as an upstream's auth_value_env when it is created or edited: PATH, HOME, SHELL, IFS, ENV, BASH_ENV, NODE_OPTIONS, NODE_PATH, NODE_EXTRA_CA_CERTS, PERL5OPT, PERL5LIB, RUBYOPT, GCONV_PATH, SHELLOPTS, BASHOPTS, PS4, HERMES_HOME and anything starting with LD_, DYLD_, PYTHON, UV_, PIP_, NPM_CONFIG_ or GIT_. The credentials route also refuses HAL0_* names, as the secrets routes already did: on an upstream with no declared env name it used to accept any key, HAL0_PORT and HAL0_ADMIN_KEY included. Removing one that is already there still works, so check Settings → Secrets once after updating and delete any such entry you did not put there on purpose. Root was never reachable this way: hal0's sudo calls reset the environment (#2936).
  • The memory engine's Engine model picker lists upstream models right after a restart, and the Engine running row tells the truth about an override. The upstream catalogs were cached only by the dispatcher's first cold prefetch, so the picker's Upstream models group stayed empty until some chat request missed; the graph status now warms cold provider catalogs itself, at most once a minute per provider. And engine_llm read /etc/hal0/hindsight-llm.env, which is root-only on some boxes, so a provider/model override there showed as "not overridden"; it now reads the running hindsight-api process's own environment (same hal0 user), never opening the key file, reports "cannot verify" when neither can be read, and no longer blames that file for an engine that simply has not restarted onto a new drop-in (#2928).
  • Mental models no longer all read "stale", and each bank has a refresh floor you can set. Hindsight's is_stale only says the bank was written since a model's last refresh, so on a busy bank every model was painted amber within minutes of refreshing. The bank bar's Rules tab now shows when each model last refreshed, marks new memories since with a quiet dot, and warns only when a refresh failed after the last success. A new refresh selector on the same tab, and hal0 memory bank profile set --min-refresh-interval <seconds>, set the bank's mental_model_min_refresh_interval_seconds, which caps how often consolidation can re-run each model unless the model sets its own interval (0, the engine default, means after every consolidation) (#2920).
  • +35 more on GitHub ↗

Migrations

  • Hermes profile models: no operator step is required. The first hal0-api start after the update writes a missing API key into each named profile's own .env and registers every profile. hal0 agent reprovision hermes and the Hermes component converge job write missing keys too.

1.5.0

2026-10-19Speculative-decoding draftersstable

Highlights

  • Speculative-decoding drafters. A model can carry a small drafter file (-LiLiCorr, -DFlash, -DFlash2, -DSpark, -EAGLE3, -draft) that llama-server checks in one pass, so replies come faster with the same output. Add from Hugging Face finds and fit-checks drafters before anything downloads, the model drawer has a Drafter field, and a rescan pairs a fitting drafter it finds beside a model. (#2765, #2768, ADR-0031)
  • A slot now tells llama-server which device to use. The slot layer passes --device from the slot's selected device, so a runner image that lists both ROCm and Vulkan for one GPU no longer splits every model across both backends and no longer leaves an idle GPU at 100 % busy. (#2772)
  • Add from Hugging Face lists quants, not files. One row per quant, split GGUFs pulled whole, the projector and drafters offered beside the quant. (#2760)
  • Compact, consistent model pickers. Fit icon plus GB figure in every state, modality glyphs after the name, runtime as a chip, two-line rows. (#2762, #2771, #2773)
  • Runner images move to llama.cpp b11716 (standard, cpu, cuda), past the b11669 floor the LiLiCorr drafter kind needs. (#2763)

Breaking

  • The profile field mtp is now speculation (auto, off or ngram). hal0 update rewrites profiles.toml once: mtp = "off" becomes speculation = "off" and mtp = "auto" is dropped, after copying the file to profiles.toml.bak-<UTC stamp> beside it. After that the API, the CLI (--mtp, which exits 2) and the MCP tools refuse mtp on a profile with a 422 profiles.field_renamed that names speculation; there is no alias. The model's own mtp fact (the file has MTP heads) is unchanged. A profile may no longer carry --spec-type in its flags (hal0 derives it from the model's drafter or heads); the update removes one it finds, turning an ngram-* value into speculation = "ngram". Rolling back to 1.4.x quarantines every profile that carries speculation: restore the profiles.toml.bak-<UTC stamp> copy before hal0 update --rollback (see the rollback guide).

Added

  • Speculative-decoding drafters. A model can now carry a drafter, a small file that proposes tokens the main model checks in one pass, so replies come faster with the same output. Add from Hugging Face lists drafters found in the repo or in a companion repo by the same author (-LiLiCorr, -DFlash, -DFlash2, -DSpark, -EAGLE3, -draft) and checks that the drafter fits the quant from the two file headers before anything downloads; hal0 model pull <id> --draft <file> [--draft-repo <repo>], hal0 model add --draft <path> and hal0 model set <id> --draft <path|none> do the same from the terminal, the model drawer has a Drafter field, and a rescan pairs a fitting drafter it finds beside a model (one you unpair on purpose stays unpaired). A paired drafter is used before the model's own MTP heads. A drafter the runner image is too old to run (LiLiCorr needs llama.cpp b11669 or newer) is reported on the slot instead of crashing the launch, and each slot reports its draft acceptance rate. DELETE /api/models/{id}/draft removes the file; POST /api/models/inspect-draft checks a pair. The benchmark with/without comparison comes in a later release.

Changed

  • Model picker rows are compact and consistent. In the slot drawer and the inference cards, the fit estimate now shows as an icon plus the GB figure in every state (a check, an exclamation mark or an X; hover for "fits", "tight" or "won't fit"). Vision models carry an eye glyph instead of the word. Each dropdown row is two lines: the name and modality on top, then quant, size and fit. "Used by N slots" left the row; it stays in the model drawer's Used-by panel.
  • Add from Hugging Face lists quants, not files. Inspecting a repo now shows one row per quant (UD-Q4_K_XL, Q8_0, …) with its total size. A split GGUF (…-00001-of-00003.gguf, usually in a per-quant folder) is one row, and pulling it downloads every part into the model's directory under names llama.cpp can open, so the slot loads the whole model from the first part. The vision projector is offered beside the quant instead of among them, and speculative-decoding draft files are listed separately (and pairable: see Added). POST /api/models/inspect returns projectors under mmproj and drafters under drafts; variants now holds only quants.

Fixed

  • The text-to-speech selection now names the engine that actually runs. A fresh install showed llama-server as the voice.tts provider, and after switching the device (CPU to GPU or back) the selection and tts.toml kept the previous engine's name, so the dashboard could offer Kokoro voices for a Qwen3-TTS engine. The provider is now always derived from the device (kokoro on CPU, qwen3tts on a ROCm GPU), on read and on every apply. A Vulkan GPU keeps Kokoro, and tts.toml now gets the kokoro profile there too: the Qwen3-TTS runner is ROCm-only, and a written qwen3-tts profile is not swapped to Kokoro at launch (#2749).
  • A slot now tells llama-server which device to use. The slot layer passes --device from the slot's device (ROCm0, Vulkan0, CUDA0, or none for a CPU slot). Before, a runner image that lists both ROCm and Vulkan for the same GPU split every model across both backends; each idle server then held compute queues on both, and with two or more slots loaded the GPU sat at 100 % busy and full clock around the clock (#2767).
  • A paired DFlash or EAGLE-3 drafter no longer aborts the slot at load. The slot layer pinned the drafter to one device while the model itself was free to span every device the runner sees, and those drafter kinds borrow the model's embedding and output tensors, so llama-server stopped with pre-allocated tensor (output.weight) in a buffer ... that cannot run the operation. A drafter file now follows the model's devices; only embedded MTP heads still get --spec-draft-device (ADR-0031, amended) (#2766).
  • The slot card's model picker no longer shows the file size twice. Each row listed the model's size as plain text right beside the fit chip, which already reads ~N GB. The plain figure is gone; the fit chip stays, and the model drawer's facts band still shows the exact size.
  • Model picker rows: bare modality glyphs, runtime as a chip. The eye (vision) and bolt (drafter) glyphs no longer wear a chip box; they follow the model name directly, ahead of the quant and fit chips, on both the open list and the closed trigger. The runtime named on a row's second line is a chip too, purple for the NPU runtime (flm) to match the device chips.
  • hal0/utility, hal0/brain, hal0/npu and hal0/<slot> load their own slot when it is cold. A slot with a bound model counted for its virtual name only while that model was already loaded, so a cold utility fell through to agent and every Hindsight extraction call cold-loaded the largest model on the box. The slot the name points at is now loaded on demand, NPU (FLM) slots included; agent is used only when no slot in the chain has a model bound. Each substitution is logged as resolver.fallback (ADR-0023, amended) (#2741).
  • +1 more on GitHub ↗

1.4.0

2026-10-16Memory writes that were silently lost now land, or are refused honestlystable

Highlights

  • Memory writes that were silently lost now land, or are refused honestly. Hindsight's extraction ran with its own defaults (32 concurrent calls, 64000 tokens) on a slot that serves one request at a time, so on a slow box POST /api/memory/add returned 200 and nothing was stored. Extraction now has operator-set limits under [memory.graph] (Settings ▸ Memory), and a write whose extraction slot is too small for the prompt is refused up front, over REST and /mcp/memory alike. (#1834, #1903, #1930)
  • Open WebUI works with auth on, and a lost admin key is recoverable. The installer mints a client key and Open WebUI presents it to hal0's /v1 (per connection, never to another service); hal0 auth rotate client re-points it. sudo hal0 auth reset-key mints and prints a new admin key, live or with the API down. (#2314)
  • Open WebUI is fully pre-wired. Document uploads go through RAG on hal0's embeddings and the image button generates through ComfyUI as soon as the matching slots are bound. (#2256)
  • Installs leave evidence. Every run writes an owner-only log, and a failed run writes a redacted failure report you can attach to an issue. (#2243, #2307)
  • Loading a stack says what it will unload before you confirm, and the result names what was stopped. (#1511)
  • A fresh runner system (ADR-0028). Every runner has one name, used for its registry key, its pin, its catalogue row and its package (ghcr.io/hal0ai/hal0-runner-<key>). The AMD llama.cpp runner is now Standard (standard), built from pristine upstream llama.cpp for ROCm and Vulkan. Every runner image is pinned in one table, manifest.json runners; the installer, the Vulkan-lane gate, the bench harness and hal0 doctor toolbox-pull all read it. The runner-image catalogue now syncs by itself at startup and during hal0 update.
  • The bundled Hindsight memory engine moves to 1.0.0 (from 0.9.2), its first major release. hal0 update and an install.sh re-run upgrade it with the existing build-aside, snapshot, swap, verify and roll-back pass; see Migrations for what that does to the engine's database.
  • Stopping hal0-api no longer hangs until systemd's SIGKILL. With a chat request in flight, a restart could leave the API down for about 100 s while a model-cache refresher swallowed the shutdown cancel. Every shutdown step is now bounded at 3 s, and the installer writes TimeoutStopSec=30 into hal0-api.service. (#2727)
  • Text-to-speech runs from the model you pulled. The Kokoro slot launches from the bundle hal0 model pull kokoro-v1 installs instead of downloading about 354 MB on every start, so a box without internet access can speak; hal0 update pulls the bundle once and names the remedy if it is offline. (#2739)
  • One overflow no longer fails every in-flight request on a slot. The seed utility, brain and agent profiles now serve one sequence (--parallel 1), so concurrent callers queue instead of all receiving "Context size has been exceeded", Hindsight extraction and Hermes turns included. (#2692, #2714)
  • An upgrade that unassigned a slot's model now says so. hal0 update prints one line per affected slot with a working remedy (hal0 slot edit <slot> --model <id>), and /api/slots carries the message instead of reading idle. (#2694, #2695, #2696)
  • Upgraded boxes with a root-owned backups directory finish the runner conversion. The post-update conversions no longer fail on a root:hal0 2755 /var/lib/hal0/backups; hal0 doctor perms reports and fixes it. (#2657)

Breaking

  • Exposing a user-installed MCP server to Hermes or the brain profile is disabled until hal0's MCP proxy mount lands (#2303). Both call a joined server's URL directly, so hal0 enforces none of its [tools] policy on that path, and the policy has no wildcard: a tool it does not list is denied, yet the agent could call it. That covered every exposed server, including allow-only and empty policies, not only the gated/blocked case #2343 closed. PATCH /api/mcp/{id}/exposure (and hal0 mcp expose --hermes/--brain) now refuses turning either target on for any installed server with 409 mcp.exposure_policy_unenforced; withdrawing exposure still works, and hal0 mcp test says why the toggle is unavailable. A server already exposed on an upgraded box is removed from Hermes's config, the brain profile and the policy mirror at the next hal0-api start or MCP change. hal0's built-in servers are unaffected. (#2358)
  • hal0 update restarts slots on its own and can exit 2 on an update that applied. When a release rolls the runner image, slots on the old image are now restarted after the apply, both by hal0-api at every start ([updates].auto_restart_image_drift, on by default) and by the CLI (--no-restart-slots opts out). A slot with a request in flight is skipped. While any slot still runs the old image, hal0 update exits 2 ("applied, convergence outstanding") instead of 0, so a script that treats any non-zero exit as a failed update needs to accept 2. Because hal0-api does this at start, the upgrade to 1.4.0 itself can restart running slots. (#2096)
  • An installed MCP server that would send its [secrets] or [env] headers in clear text no longer loads. A streamable-http/sse record whose url is plain http:// to a non-loopback host, and that carries any [secrets] key or non-empty [env] value, used to send those values unencrypted on every probe and Hermes call. 1.4 refuses it: on upgrade such a record is skipped (hal0.mcp.installed.bad_record in the journal, and mcp.record_malformed when read directly), it drops out of hal0 mcp list, and its Hermes entry is removed at the next hal0-api start or MCP change. To keep it, point the url at https:// or a loopback host, or set allow_insecure_http = true in its TOML under /etc/hal0/mcp-servers/ to accept the risk. A Proxy-Authorization header value is refused on any url and belongs in the proxy environment instead. (#2304)
  • Reverse proxies and other DNS names need their origin allowed wherever the Origin gate runs: require_auth on, or (#1822) ADMIN routes reached from a non-loopback peer on a LAN-bound box with an admin key (#2327). A browser reaching hal0 by a name the installer did not seed, such as a reverse proxy's domain or a router-assigned box.lan, used to pass the Origin gate because its Origin matched its Host. It now gets 403 auth.origin_forbidden on state-changing requests and WS close 4403 on upgrades. hal0 update cannot know that name, because hal0 never recorded it. Allow it once with hal0 network public-url set https://hal0.example.com or hal0 network origins add <origin> (or Settings ▸ Network); the change applies on the next request with no restart. The refused origin is logged as hal0.auth.origin_rejected. Access by localhost, 127.0.0.1, a LAN IP, hal0.local, the box hostname or an installer-seeded public_url is unchanged, and a box where the gate does not run is unaffected.
  • Upgrades now start at 1.3.0. Every release manifest carries upgrade_from: ">=1.3.0" (declared in manifest.json), so hal0 update on a box below 1.3.0 stops with system.update_upgrade_path_unsupported before it downloads anything. Re-running the installer over an existing install below 1.3.0 stops the same way, before it changes anything. A nightly counts as a prerelease of its base version. A box below the floor steps through 1.3.0 by running its installer, or reinstalls; see "Upgrading from an older release" in docs/guides/update-and-rollback.mdx. The 0.9.8 upgrade guidance is gone.
  • hal0 migrate model-layout, hal0 doctor migrations, the migrations row of hal0 doctor all, the HAL0-MIGRATION-PENDING diagnosis and the bundle's diagnostics/migrations.json are removed. They converted a v0.1 /mnt/ai-models store into a <recipe>/<capability> symlink farm under /var/lib/hal0/models that nothing reads: registered models point at their real files. The installer no longer plants the farm on every install. Links an earlier install planted are left in place and can be deleted by hand.
  • The one-shot converters for state older than 1.3.0 are removed. A box on 1.3.0 or later has already been through each of them:
  • Runners. The rocmfpx runner (and its vulkanfpx alias), the strix runner and the promptforge runner are removed, with no alias. Runners are standard, cpu, flm, kokoro, moonshine and comfyui (default) plus qwen3tts and cuda (optional). The frozen tier is gone. Existing installs are converted automatically (see Migrations).
  • ROCmFPX, ROCmFP4, IU4 and ActiveFPX GGUFs are no longer supported. No shipped runner can load them. Adding, pulling or scanning one is refused (models.unsupported_quant) and launching one is refused (slot.unsupported_quant). Use a plain GGUF build of the same model. The curated ROCmFP4 rows, the hal0-brain-sft Q8/Q4 ROCmFPX variants and the hal0-quantize agent skill are removed. The PromptForge specialty support (companion sidecars, specialty_degraded on slots) and the promptforge legacy seed profile are removed with them.
  • Env overrides are renamed from HAL0_TOOLBOX_IMAGE_<KEY> to HAL0_RUNNER_IMAGE_<KEY>. The old names are no longer read.
  • GET /api/system-info no longer returns backends[].is_default, backends[].unsupported_archs or backends[].supports.specialties; use backends[].tier. The slot routes no longer return model_fit_warning.
  • /api/runner-images rows are keyed by runner key (standard, cpu, ...) instead of package path, carry title, summary, family, tier, backends and lanes_gated instead of manifest_key, ownership, publish, notes, build, runtime_family and supported_backends, and their only badge is pinned. The catalogue reads images.json schema hal0.runner-images.v2 only, and a sync prunes every row the catalogue no longer lists, downloaded or not, unless the catalogue is empty or holds an entry this hal0 cannot read.
  • The privileged bench seam (hal0-benchctl) runs only an image the installed release pins in manifest.json runners, matched exactly, with the /opt/hal0/bin/llama-bench entrypoint. A HAL0_RUNNER_IMAGE_<KEY> override image cannot be benchmarked through it.
  • manifest.json replaces toolbox_images and _legacy_toolboxes with the runners pin table (_schema hal0.manifest.v2). Its first pins are the hardware-gated hal0-runner-* images: standard and cpu on llama.cpp b11552 (standard gated for ROCm and Vulkan), flm 0.9.44 (NPU), kokoro 0.4.9 and moonshine 20251121 (CPU), qwen3tts 0.1.1 and comfyui 0.28.0 (ROCm), plus the upstream server-cuda-b11541 image for cuda, which hal0 does not gate.
  • The default curated chat model is qwen3.8-27b (Qwen3.8 27B, UD-Q4_K_XL with vision, 96K default context). A fresh install seeds it as the primary chat model on a box with a 32 GB or larger memory pool (smaller boxes keep qwen3.5-9b / qwen3-4b), and the install-time agent offer is that model.
  • Profile-centric config (ADR-0029). A model row holds facts about its file only (path, architecture, native context, chat template, projector, whether it has MTP heads). A profile holds every tune: free flags, ctx_size, enable_thinking, vision (auto/off) and mtp (auto/off). A slot holds placement only: device, layers, threads, port, runner, and which model and profile it runs. The launch is composed in that order (base, model, profile, slot), so the effective command is predictable and shown layer by layer. Existing installs are converted automatically (see Migrations). What changed for operators and integrations:
  • The Model object loses defaults (ADR-0029 §6). Its four file facts are now top-level fields: chat_template, tokenizer_repo, mtp (the file has MTP heads) and jinja. This applies to every read (GET /api/models, GET /api/models/{id}, the write responses) and every write (PUT /api/models/{id}, POST /api/models, POST /api/models/validate, the POST /api/models/scan commit rows, and the MCP model_edit, model_register and model_validate tools). On a PUT, a fact you omit keeps its stored value and null clears it. The old shape is refused, not translated:

    POST /api/models/feasibility rows take the context to test from the request: ctx (a number) or profile (a profile name, resolved for that model by the same rule the launch uses). Each result row now reports the ctx it tested and its ctx_source (request, profile, native or fallback). Stored rows need no conversion: the facts already had their own columns (tokenizer_repo stays in the row's extra blob), and launch commands are unchanged.

Added

  • Memory extraction has limits now, and they are yours to set. The Hindsight extraction LLM runs on a shared hal0 inference slot — usually one llama-server serving one request at a time — but ran with Hindsight's own defaults: 32 concurrent calls, 64000 completion tokens per call, and three retries at each of two layers. On a slow box one extraction that could not finish inside the LLM timeout held the slot, timed out, requeued itself and took the whole retain queue with it; every POST /api/memory/add returned 200 and nothing was ever stored (#1834). [memory.graph] gains extraction_max_concurrent (default 1), extraction_max_tokens (4096), extraction_llm_retries (1), extraction_task_retries (2) and extraction_retry_backoff_s (120). They ride the same hindsight-api drop-in as the extraction slot and timeout, are echoed by GET /api/memory/graph/status as extraction_limits, are editable on Settings ▸ Data ▸ Memory under Extraction limits, and the shipped hindsight-api.service carries the same values so a fresh install is capped before anything is saved. A document that still cannot be extracted now ends under Retry failed instead of occupying the slot for hours. The two task-retry knobs are Hindsight's worker-wide settings and apply to every queued memory operation, not only extraction; the generic PUT /api/settings now refuses memory.graph.* keys with a pointer to PUT /api/memory/graph, the one writer that applies them; and install.sh restarts a running hindsight-api when it replaces the unit. The root-side drop-in validator (hal0-systemctl) learned the five variables; a box updated through hal0 update keeps its installed wrapper until install.sh is re-run, and until then saving a limit reports the wrapper as stale rather than applying.
  • "Remember me" at login. Ticking it on the dashboard login (or the in-app sign-in drawer) asks for a 30-day session instead of the 8-hour default: POST /api/auth/login accepts "remember": true and reports the lifetime it granted as session_ttl_s. The expiry is signed into the session cookie by the server, so a browser cannot extend it; the dashboard keeps only whether the box was ticked, never the key. Off by default. Opening agent chat used to re-issue an 8-hour cookie unconditionally, which would have cut a remembered session short; the handshake now renews a short session but never shortens a longer one. Sessions still cannot be revoked one at a time: docs/operate/auth.mdx documents how to end all of them at once by deleting the signing secret.
  • Open WebUI keeps working with auth on. It used to send the placeholder sk-hal0-local to hal0's /v1, which an auth-on box refuses, so its chat, voice and document features answered 401. install.sh now mints a client key (HAL0_CLIENT_KEY) when api.env has none, without ever writing it to the install log, and hal0.openwebui.env_writer writes it into OPENAI_API_KEYS and the STT/TTS/RAG API keys, but only where the matching base URL still points at hal0. Those keys are recorded as hal0-managed, so a key re-pointed at another service never receives hal0's (hal0 withdraws only a value it wrote itself, per connection for OPENAI_API_KEYS, so the operator's own key for that service is kept), and removing the client key falls back to the placeholder. Rotating the client key (hal0 auth rotate client) re-renders Open WebUI's env and restarts it only when the render changed. No admin key is minted, so a fresh install's auth posture is unchanged. (#2314)
  • sudo hal0 auth reset-key: a way back from a lost admin key. It mints a new admin key and prints it once. It must run on the box as root, since the key lives in the root-only /etc/hal0/api.env. With hal0-api up it rotates through POST /api/auth/rotate and applies live; with the API down it writes api.env directly and applies on the next hal0-api restart. On a box with no admin key yet it creates the first one, which arms the v1.3.0 LAN admin gate on a LAN-bound box; the confirmation prompt says so. (#2314)
  • Open WebUI is now fully pre-wired, not just chat + voice: document uploads route through RAG the moment an embed-capable slot is bound (RAG_EMBEDDING_ENGINE/RAG_OPENAI_API_BASE_URL/RAG_EMBEDDING_MODEL point at hal0's own /v1), and the image button generates through ComfyUI the moment the img slot is bound (ENABLE_IMAGE_GENERATION, COMFYUI_BASE_URL, and a COMFYUI_WORKFLOW/COMFYUI_WORKFLOW_NODES pair baked from the SAME translator /v1/images/generations uses, keyed to whichever checkpoint the slot is actually bound to). Both blocks are gated on live capability state and cleared the moment that state stops being true — never a stale claim of a capability that isn't really there. hal0 owns one of these keys only while it has something to claim: a value you hand-set while it has nothing to point at (a self-hosted SearXNG's WEB_SEARCH_ENGINE/SEARXNG_QUERY_URL, say) is left alone, and only keys hal0 itself wrote — recorded on a # hal0-managed: header line — are removed when their capability goes away (#2256). A seam is left for a future search-provider extension (no search service ships today, so the web-search keys are never touched). The env file re-renders — and the companion restarts only when the render actually changed — on capability apply, embed/img slot create or delete, and every regular component-convergence pass. The Services page's Open WebUI card now shows a wired chip per feature (Chat, Voice, Documents, Images, Web search), exposed via GET /api/services.
  • Installer forensics: every install now leaves evidence behind instead of only a terminal scrollback. install.sh tees the whole run to /var/log/hal0/install-<ts>.log (falling back to /tmp/hal0-install-<ts>.log when not root), prints that path at the start and end, and includes the latest one in hal0 doctor bundle's logs/ section. An ERR-trapped abort now also writes hal0-install-report-<ts>.txt next to the log — redacted environment (mirrors hal0.api._redact's key-name pattern), port owners, hal0 unit status, a hardware summary, and a log tail — via the new installer/lib/failure-report.sh, and the trap prints its path alongside the existing step-specific recovery advice. Every installer/lib/*.sh and install.sh's own top now carries the Purpose / Expects / Provides / Modder notes header convention (documented in installer/README.md) so a future decomposition of the 4,000-line script into standalone steps has a contract to extract against. ui_step gained an optional per-step time estimate (EST. TIME: ~30s) and now measures real per-step durations (UI_STEP_DURATIONS), with total elapsed time printed at the end. A new --summary-json=PATH flag writes a versioned (hal0.install-summary.v1), atomically-written machine-readable install summary — versions, dev/no-start mode, network bind info, hardware class, the brain model pulled, warning/ error counts, and per-step durations — documented in docs/getting-started/install.mdx. Container-image pulls (the OpenWebUI background warm-cache pull in install.sh, and the dashboard's runner-image pull job in hal0.registry.runner_pull) now retry transient failures with backoff (installer/lib/pull-retry.sh on the bash side, is_retryable_pull_error/pull_backoff_delay in Python), classify auth/404/manifest-unknown/disk-full failures as non-retryable so they fail fast instead of spinning, and verify the image actually landed in local storage after an apparent success before declaring victory. (#2243)
  • +6 more on GitHub ↗

Changed

  • hal0 update now restarts slots whose runner image changed. A release that rolls the runner image used to leave running slots on the old build until someone ran --restart-slots, so a box reported the new version while still serving the build the release replaced (#2096). Slots with an image diff are restarted automatically after an apply; a slot with a request in flight is skipped and reported as "could not be restarted automatically: in use". The summary no longer reads "update applied" while an image restart is pending and the command exits 2. Argv-only drift is unchanged (banner, opt-in --restart-slots); --no-restart-slots opts out of the CLI's restart. hal0-api also does this once at every start, so a dashboard "Update now" is covered too; set [updates].auto_restart_image_drift = false to turn that pass off. The outcome is reported as auto_restart on GET /api/updates/slot-drift.
  • The dashboard login is asked for on every page, and "View read-only" now applies to one page at a time. On a LAN-bound box with an admin key and enforcement off, dismissing the login would have switched the whole browser tab to read-only. It now dismisses it for the page you are on (a top-level section such as Slots, including its tabs, and across a reload); moving to another section asks again. With "Require authentication" on, the login is on every page and cannot be dismissed, as before.
  • Docs drift pass: reconciled ARCHITECTURE.md/CONTRIBUTING.md/CHANGELOG.md with the code they describe. The Hermes provisioner section now documents the real 12-step, uncheckpointed _INSTALL_STEPS pipeline (not the retired 15-phase checkpointed one); BUNDLED_AGENTS's value and order (("hermes", "pi"), with single-pick applying only between daemon-kind agents) now match src/hal0/agents/manager.py; the [email protected] unit's Documentation= now points at a tracked doc (docs/guides/run-agents.mdx) instead of a path that never existed; the "hal0 keeps no ADR tree" claim is replaced with the real rule (a public docs/adr/ plus a gitignored docs/internal/adr/), five ADRs are reconstructed from source + CHANGELOG history (docs/adr/0004, 0012, 0013, 0020, 0023) to close the largest "ghost citation" gaps — 0012 and 0013 carry notes on what the KB-1 key gate and v1.3.0 user-installed MCP servers changed since — and a mislabeled ADR link in docs/concepts/memory.mdx is fixed. The stale voice/ entry (the package was fully deleted in #620, not merely emptied) is removed from ARCHITECTURE.md's module tree, and the "auth was removed" claims now describe the optional KB-1 key gate. No behavior change. (#2244)
  • The pinned OpenWebUI image moves to upstream v0.12.0 (manifest-list digest sha256:156503890315…, linux/amd64 and linux/arm64). The pin lives in the same three places as before: hal0.openwebui.image_pin, the hal0-openwebui.service unit and installer/install.sh. The v0.12.0 release notes list no breaking changes. The port, data path and every environment variable hal0 writes into openwebui.env are unchanged. New upstream options such as ENABLE_MFA default to off, so existing boxes behave as before. Run hal0 update owui to move a running box.
  • The dashboard follows the profile-centric config (ADR-0029). A profile now holds the whole tune: the profile drawer gains context size (128 to 16,777,216 tokens), thinking (Auto, On, Off), vision (Auto, Off) and MTP (Auto, Off), and loses backend, device class and quant. The profile screen also rejects the model-fact flags (--jinja, --chat-template, --chat-template-file, --mmproj, --no-mmproj, --mmproj-auto), --spec-draft-device and --reasoning-format none. The model drawer keeps only file facts (chat template, jinja, MTP heads) and shows the native context window read-only. Its flag editor, "Seed from profile", divergence diff, context input and Thinking and Vision overrides are gone. The slot drawer drops the context ceiling, shows the effective context and where it came from, and adds "Edit profile" and "Duplicate & edit" next to the profile picker. The stacks editor drops its per-row MTP control, and the Updates page drops the pending-migrations panel. A slot the conversion could not convert gets a "Conversion blocked" badge on its card and in its drawer, with the reason, the fix, and a note when it is still running its pre-conversion tune. This needs a server with the matching API change.
  • ADR-0027: Runner.tier (default / optional / frozen) replaces Runner.is_default as the one record of whether a runtime is a default. Default: ROCmFPX, CPU, NPU (FastFlowLM), Kokoro speech, Moonshine transcription, ComfyUI. Optional: Strix Halo Vulkan, Qwen3 TTS, NVIDIA CUDA, PromptForge (legacy). GET /api/system-info backends[] gains tier, and its is_default now reads tier == "default" (so CPU, FLM, Kokoro, Moonshine and ComfyUI also report true) until it is removed in v2.0.0. GET /api/runner-images rows gain runner, title, blurb and tier, and families gain title and tier. The slot and profile drawers list default runtimes first.
  • +7 more on GitHub ↗

Removed

  • Two agent-session planning files and the standalone HTML migration guide are no longer tracked. docs/superpowers/plans/2026-08-29-specialty-distributions.md and docs/superpowers/specs/2026-08-29-specialty-distributions-design.md were still committed although .gitignore has excluded docs/superpowers/ since #1988. docs/hal0-install-migration-guide.html, the v1.0-era quick start and migration walkthrough, sat outside the .mdx docs tree; docs/getting-started/ is the published path. Earlier CHANGELOG entries that cite these files describe history and are left as written. No behavior change.
  • hal0 no longer builds runner or toolbox images. Those images are built only in Hal0ai/hal0-runner-images. The in-repo builder (the toolbox.yml workflow, scripts/update-toolbox-digests.sh, packaging/toolbox/, packaging/runner/ and their tests) is gone. The workflow had re-run on a dependency bump and moved the published hal0-toolbox-qwen3tts:v1 tag to an image that had not passed the gate.
  • The container launch plan no longer has a free-form extra_args field (ADR-0029 phase 4b). ComfyUI's host IPC and FLM's unlimited memlock are now typed fields (ipc, ulimits) and render the same PodmanArgs= lines as before, so slot units are unchanged. Every ComfyUI and FLM load used to log a container.extra_args_deprecated warning; that warning is gone. No slot, model or API setting ever reached this field, so no configuration changes. The ContainerSpec alias and launch-plan mounts given as (source, target) tuples are removed as well.

Fixed

  • hal0 doctor bundle and the MCP audit log no longer keep secrets in clear. The bundle's journal captures and system probes were scrubbed only for Bearer tokens and JWTs, so API keys and other credentials in the journal ended up in a file meant to be attached to public bug reports. Every free-text capture now gets the same shareable-text pass as the install-log copy. The MCP audit row (mcp.tool.invoked) now masks secret arguments before they reach journald: provider_credential_write's value, every value in mcp_server_config_write's env block, and any secret-named key, including header-style names such as x-api-key. Audit rows written before this fix are masked when the bundle is exported. (#2434)
  • Rotating the client key no longer stops memory writes. When hal0 auth rotate client refreshed hindsight-api's LLM key, the engine kept the old key until someone restarted it, so every memory extraction call failed with 401. The rotate now restarts hindsight-api in the background through the existing privileged helper; if that restart fails, the rotate still succeeds and its note says how to restart by hand. (#2448)
  • NPU models load after a fresh install. The installer created .config/flm as root, so hal0-api, which runs as the hal0 user, could not point FLM's hardcoded cache at [models].flm_store. Pulls then landed in ~/.config/flm/models, reported success with a path that did not exist, and the NPU slot never saw the weights. The installer now gives those directories to hal0, a pull whose store link cannot be made fails with model.flm_store_unlinked before downloading, and the reported path is checked on disk. sudo hal0 doctor perms --fix repairs existing boxes: it fixes the ownership, moves stranded models into the store (it stops and reports a name that exists in both places, deleting nothing) and relinks the cache. Re-running the installer does the same. (#2446)
  • The voice TTS picker offers Qwen3-TTS only where it can run. The gpu-rocm Qwen3-TTS row was listed on every host, including GPU-less boxes and containers with /dev/kfd but no render node, where the slot can never start. It now needs the full ROCm lane, the same check as the gpu-rocm badge and ComfyUI. A saved Qwen3-TTS selection on a host without the lane can still be disabled. (#2447)
  • The dashboard log view and the agent's logs_tail tool show logs again. hal0-api runs as the hal0 user, which could not read the journal, so /api/logs returned an empty list on every box and read as "no logs". The installer now gives the hal0-api unit, and only that unit, the systemd-journal group; hal0 itself is not added to the group, so the agent units do not get it. In exchange, /api/logs and its stream accept only hal0's own units (hal0-*, hal0.target, hindsight-api, hermes-gateway) and refuse anything else with a 400. Every API route that reads the journal, including slot and ComfyUI logs and the agent and MCP activity feeds, now masks secrets in what it returns. When journalctl still cannot read the journal, the response carries a hint saying why instead of an empty list, and a new hal0 doctor all row warns when the running hal0-api lacks the group. Existing boxes pick this up from the installer re-run under Migrations. (#2435)
  • A slot that was still loading when hal0-api started now becomes ready. hal0-api adopts a running slot at startup; if its model server was still loading, the slot was left warming for good, never registered for routing, and hal0/<name> requests fell through to the fallback slot. Adopted slots are now polled for health and promoted to ready as soon as the server answers, and a slot that was recorded as warming before a restart is adopted the same way. (#2442)
  • +104 more on GitHub ↗

Security

  • hal0's own loopback calls (Hindsight memory, the Hermes gateway and kanban, brain and realtime self-calls, MCP admin, profile generation, health probes and the CLI) no longer go through HTTP_PROXY/HTTPS_PROXY/ ALL_PROXY when NO_PROXY does not cover loopback. Async clients use the shared client's direct loopback route; sync clients turn the proxy environment off for loopback URLs (#2526).
  • The /v1 dispatcher no longer passes the caller's credentials to the upstream it picks (#2538). It used to copy every request header except Authorization and the hop-by-hop set, so a dashboard request routed to a remote cloud provider sent that provider the operator's hal0_session cookie, which hal0 accepts as an admin login, along with any X-API-Key and X-hal0-* header. Forwarding is now an allowlist in hal0.forwarded_headers: content-type, accept, user-agent, anthropic-version, anthropic-beta, openai-organization, openai-project and openai-beta. The upstream's own key from its auth_value_env is still added, and multipart audio keeps its boundary. The dispatcher now asks upstreams for an unencoded body (accept-encoding: identity), because it relays streams byte for byte without a content-encoding header. The Hermes dashboard plugin proxy uses the same allowlist, plus If-None-Match and If-Modified-Since; it already stripped cookies and Authorization, and now also drops X-API-Key and any client X-hal0-* header.
  • The REST Origin gate no longer accepts a request just because its Origin matches its Host (#2327). On a DNS name that match proves nothing: a page on an attacker's domain can rebind its own name to the box and send both headers (DNS rebinding). The fallback now accepts only the request's own origin on an IP-literal Host (v4 or v6), the same rule the agent-chat WebSocket gate already used (#2326); a named origin passes only through the allowlist. http://localhost:8080 joins the built-in default allowlist, since browsers resolve localhost locally and no remote page can own it.
  • Log, Sentry and failure-report redaction now mask a second secret packed after a ; or , (#2529). In X_KEY=abc;Bearer tok or HAL0_BEARER_TOKEN=x,HF_TOKEN= hf_v the first value used to run on to the next space and take the second secret's name with it, so tok and hf_v were left visible. A value now ends before a ; or , that starts another secret, and each secret is masked under its own name. A ; or , followed by anything else stays inside the masked value. The same rule applies to the dashboard's Sentry scrubber, the doctor bundle and the installer failure report.
  • Log, Sentry and failure-report redaction no longer leave a secret's value visible when the value before it takes in its name (#2593, #2594, #2595): after an empty value (KEY= X_KEY= v), glued on with no separator (Bearer a.Authorization: Token b, or concatenated headers such as Bearer abcX-Api-Key: def), or past a quote that does not close where it should (--api-key="v, db-password": w). Where the second name begins is unknown (abc may be part of the token), so the first mask now runs on over the second secret's value instead of cutting the name out: KEY= ***REDACTED***. A quoted secret value that never closes is masked to the end of its line, a secret after a space in a raw Authorization value is masked with it, and a value of a name that is not secret, such as max_tokens=, ends before a secret inside it. The same applies to the dashboard's Sentry scrubber, the doctor bundle and the installer failure report, which now also masks a raw Authorization value on a line that holds another header with a known scheme.
  • Log and Sentry redaction now mask the whole quoted value of a *_KEY=, HAL0_BEARER_TOKEN= or Authorization: Bearer field. A value that held spaces was masked only up to the first one, so api_key='a b' rendered as api_key=***REDACTED*** b' and the rest of the secret stayed visible (#2598). The value now runs to its closing quote on the same line, or to the end of its line if it never closes; a quote left open no longer pairs with one on a later line, so the next line is not swallowed. The doctor bundle and the installer failure report already masked a quoted *_KEY= value whole.
  • Log, Sentry, doctor-bundle and installer failure-report redaction no longer end a quoted secret at a backslash-escaped quote. api_key="\"a b\"" z rendered as api_key=***REDACTED*** b\"" z, and a value such as 'it\'s a b' leaked everything after the escape (#2604). A backslash and the character after it now count as one unit in both kinds of quote, so an escaped quote does not close the value and an escaped backslash does not escape the quote after it. A shell's single quotes have no escapes, but a log or JSON dump of a value does, and reading one as an escape can only mask more of the line.
  • Doctor-bundle and installer failure-report redaction now mask an Authorization value that opens with a quote after a known scheme, such as Authorization: Bearer "abc def" or Authorization: Basic 'abc def' (Proxy-Authorization too). Their scheme rule needed a first character that was no quote, so the line came out unchanged and the credential shipped in clear (#2605). The quoted text is masked whole with its quotes kept, an escaped quote does not close it, and one that never closes is masked to the end of its line. The log pass and the dashboard's Sentry scrubber already masked a quoted Bearer value; they now also mask a quoted Basic, Token or other scheme value, which they left visible.
  • The doctor bundle's redaction no longer takes quadratic time on a long line that holds one long secret in text that repeats its own start: 4.5 s for 320 KB of X_KEY=a. units and 4.7 s for a 120 KB password="aaa… that never closes (#2600). Masking each harvested secret everywhere it appears scanned for all of them at every position, and each try ran far into a long one. A secret longer than 128 characters is now masked with one plain replace, ahead of the scan, which is linear for one such secret; the output is unchanged. The log redaction and the dashboard's Sentry scrubber were already linear.
  • Log, Sentry, doctor-bundle and installer failure-report redaction now mask a secret whose value opens with a backslash-escaped quote, as in a JSON value inside a log message or a command line inside a JSON field: password=\"abc def\" leaked abc def\" after the first space or quote, and {\"password\": \"a b\"} was not masked at all (#2616). The value is read as quoted and closed by the same delimiter, the quote after exactly as many backslashes, so \\" and \\\" are delimiters of their own and a longer run inside the value does not close it. It is masked whole in every place a value can start: NAME=, NAME": , --flag value, *_KEY=, HAL0_BEARER_TOKEN= and an Authorization or Proxy-Authorization scheme (the header's own quotes may be escaped too). A value that never closes is masked to the end of its line. A plain quoted value after a --secret flag and a space, such as --token "abc def", is now masked to its closing quote too, instead of to the first space. The installer report drops the escaped delimiters and the backslashes in front of a secret name's closing quote when it masks.
  • The log redaction and the dashboard's Sentry scrubber now start a *_KEY= name at the same place. The server tested a Unicode word boundary and the browser an ASCII one, so a name that follows or starts with ı, İ, ſ (long s) or the Kelvin sign was masked by one and not the other: the browser left İprivate_key=&secret visible, and masked ıapi_key='x y' with its quotes kept where the server drops them (#2599). Both now use the class the other name rules already use: the ASCII word characters and those four letters, which re.I folds onto i, s and k. A name after any other character starts there, so éapi_key=,secret and ٣api_key=,secret are masked by both, where neither masked them. The browser also finds names once per run now: a long run of ıa took quadratic time.
  • The installer failure report no longer takes quadratic time on a long line of glued secrets: 1.2 s for 320 KB of X_KEY=a. units, 12 s for 1 MB, and 6 s for the whole report at 640 KB (#2618). Reading a harvested value took its trailing carriage return off with a ${line%$'\r'} suffix match, and bash tries every suffix length against that, so a value as long as the line cost time quadratic in its length whenever it did not end in a CR. It now checks the last character and cuts it with a substring, which is linear; the report is unchanged.
  • The installer failure report no longer takes quadratic time on a long value of plain characters either: 1.3 s for 320 KB of a after X_KEY= and 12 s for 1 MB (#2626). The check that a harvested value ends in a name and its separator (api_key=) was a regex that bash backtracks over at every position. A value longer than 8192 characters now goes to grep -E with the same pattern, which runs in time linear in the value; shorter ones keep the bash test, so the report is unchanged.
  • Local inference traffic no longer goes through your HTTP proxy. With HTTP_PROXY, HTTPS_PROXY or ALL_PROXY set and NO_PROXY not covering loopback, hal0-api sent every /v1 request for a local slot to the proxy in cleartext: prompts, completions and uploaded audio, although none of it needs to leave the box. The same happened to slot health and readiness probes, the omni router's call back into hal0's own /v1, the NPU speech-to-text and embedding route, the ComfyUI, Kokoro, Moonshine and Qwen3-TTS clients, and the memory reranker. Requests to 127.0.0.1, localhost and [::1] now go direct. Remote providers still use the proxy, and the dispatcher's connection limits are unchanged. (#2585)
  • The installer no longer writes to guessable file names. Running as root, it wrote the install log, the failure report, the NodeSource setup script and the FastFlowLM .deb to timestamped or fixed names in /tmp or in the hal0-owned /var/log/hal0, and a plain redirect or curl -o followed any symlink a local user had planted there, so a root install could overwrite any file. The log and the report now get a random part in their names (install-<ts>-<random>.log, hal0-install-<random>.log, hal0-install-report-<ts>-<random>.txt), are created owner-only with O_EXCL and are written only through the open file. The downloads come from mktemp and are removed when the installer exits, including on an abort. hal0 doctor bundle still finds the log and the report. (#2407)
  • The hal0-agent@hermes service no longer sends a loopback MCP server's [secrets] headers to an HTTP proxy, and hal0 warns when a header would follow a redirect. Hermes's own MCP client honours HTTP_PROXY and follows redirects, so on a box with a proxy set a server exposed at 127.0.0.2 (say) had its header values sent to the proxy in clear text, and every header but Authorization went on to wherever an endpoint redirected. hal0 now writes NO_PROXY and no_proxy to /etc/hal0/agents/hermes.env, which only that service loads, covering localhost, 127.0.0.1, ::1 and every loopback host an exposed server uses. It keeps the operator's own entries from hal0-api's environment and /etc/hal0/api.env (set them there, not by hand in hermes.env), writes an operator's * alone, and re-renders the file when the host set changes (the agent picks it up on restart). This extends the 1.4.0 wrapper fix (#2371), which covered only interactive hermes runs. Hermes has no setting to stop following redirects, so PATCH /api/mcp/{id}/exposure, POST /api/mcp/{id}/test, hal0 mcp expose and hal0 mcp test return or print a warnings entry for an exposed server with a header value other than Authorization; the connect-mcp guide says exposed endpoints must not redirect. (#2330)

Migrations

  • After hal0 update to 1.4.0, re-run the installer once: curl -fsSL https://hal0.dev/install.sh | sudo bash. It is an upgrade in place, not a reinstall: /etc/hal0, /var/lib/hal0 and your update channel are kept. hal0 update swaps the release, re-installs the venv and refreshes the sudo wrappers in /usr/lib/hal0/bin, but only the installer rewrites hal0-api.service, hindsight-api.service, the /usr/local/bin/hermes wrapper and /etc/hal0/api.env, and four 1.4.0 fixes live there (next entry).
  • What the re-run picks up. The memory extraction limits (#1834) are baked into hindsight-api.service; until the installer runs, hindsight-api keeps its own defaults (32 concurrent calls, 64000 completion tokens), the failure this release fixes. Saving Settings ▸ Memory once also applies them. Only the installer mints HAL0_CLIENT_KEY (#2314), so until it runs Open WebUI still sends its placeholder and gets 401 on an auth-on box; hal0 auth rotate client also mints the key and re-points Open WebUI, and neither turns auth on. The hermes and hal0-hermes wrappers that bypass the proxy for loopback (#2371) live in /usr/local/bin, which only the installer writes. The journal read that brings back the dashboard log view (#2435) is a line in hal0-api.service; until the installer runs, logs stay empty and hal0 doctor all warns.
  • Before re-running, note any HAL0_ALLOWED_ORIGINS line you added to /etc/hal0/api.env by hand (for a reverse proxy, say). The installer re-appends its network block at the end of the file on every run and the last assignment wins, so your value stops applying. Afterwards, add it again at the end of api.env and run sudo systemctl restart hal0-api. A lasting fix is tracked in #2382.
  • Seed utility/agent now --parallel 1 (#2692). Seeds are code-shipped, so slots on the plain utility/agent profile pick this up at their next restart (sudo systemctl restart hal0-slot@utility hal0-slot@agent). A slot the installer clamped to a small box runs a utility-ctx<N>/agent-ctx<N> profile that copied the old flags; add --parallel 1 to that profile's flags, or re-run the installer. Profiles you edited yourself are never rewritten.
  • Upgraded boxes with a root:hal0 2755 backups directory (#2657). If hal0 update showed "Migration incomplete" with Permission denied on /var/lib/hal0/backups, run sudo hal0 doctor perms --fix (or sudo chmod 2775 /var/lib/hal0/backups), then sudo systemctl restart hal0-api; the runner-system and profile-centric conversions run again at that start.
  • A slot that lost its model in the runner-system conversion (#2694). A box already upgraded before this fix was not told. To find such a slot, run grep -l '^default = ""' /etc/hal0/slots/*.toml, or look for migrate.runner_system.applied lines with "unassigned it" in journalctl -u hal0-api. The container keeps serving the old model until its next restart. Repair each slot with hal0 slot edit <slot> --model <id>, using a plain GGUF build (for the brain slot, lfm2.5-2.6b), then hal0 update --restart-slots.
  • Profile-centric conversion (hal0.config.migrations.profile_centric_apply, ADR-0029). It runs automatically on hal0 update after the runner-system conversion, and when hal0 serve starts hal0-api, before config is validated.

    Preview it with hal0 profile migrate. A rerun converts nothing that is already in the new shape. Downgrading: hal0 update --rollback to a release before this one puts every conversion backup back before the swap (the files, the model columns and migration 012's bookkeeping), in one command; see "Rolling back past the profile-centric conversion" in docs/guides/update-and-rollback.mdx. hal0 profile migrate --restore <archive> (with hal0-api stopped) does it by hand.

  • Runner-system conversion (hal0.config.migrations.runner_system). Runs automatically on hal0 update, on an install.sh re-run and when hal0 serve starts hal0-api, before config is validated. It never runs on import or from a read-only command. It rewrites slot runtimes, profile runtimes and model preferred_runner values from the old default keys (rocmfpx, vulkanfpx, vulkan, rocm) to standard. Image overrides ([slots].default_images, HAL0_TOOLBOX_IMAGE_*) carry over to standard only from rocmfpx and vulkanfpx; vulkan and rocm overrides were already inert and are dropped with a warning. Settings for the removed optional runners (strix, promptforge, upstream) are dropped with a warning, never moved onto standard. Slots that name a removed profile move to its replacement (chadrock-moe to moe, chadrock-dense and promptforge to dense), and those definitions are dropped from profiles.toml. It removes image pins that name an image hal0 shipped and retired (ghcr.io/hal0ai/ hal0-combined*, hal0-rocmfpx (and localhost/hal0-rocmfpx), hal0-strix-vulkan, hal0-promptforge, hal0-toolbox-*, hal0-comfyui and amd-strix-halo-toolboxes, the two kyuz0 Strix Halo images (amd-strix-halo-toolboxes, amd-strix-halo-comfyui), and the floating ghcr.io/ggml-org/llama.cpp:server-cuda tag) and keeps and reports pins to any other image, such as your own build. It renames HAL0_TOOLBOX_IMAGE_* lines in api.env, keeping each value's quoting, without duplicating a HAL0_RUNNER_IMAGE_* line already there. For a slot whose model is a ROCmFPX/IU4/ActiveFPX build, it keeps the slot's settings but unassigns the model. Every change and every dropped pin is logged. A file that does not parse is skipped with a warning and the rest still converts. Before writing, it saves each file it changes, plus the old preferred_runner values, to /var/lib/hal0/backups/runners-<timestamp>.tar.gz (mode 0600; the database itself is never copied). If a write fails it rolls back every write except hal0.toml, which stays converted so hal0-api can start, and hal0 update reports the failure; a file it could not put back is named in the error, with the backup to restore from. When it converts at hal0-api startup it also re-renders the slot units, so restarted slots run the converted image. Preview it with hal0 runner-images migrate and run it with --apply. To downgrade, stop hal0-api and run hal0 runner-images migrate --restore <backup>. The restore leaves a marker that keeps this release's hal0-api from converting again on boot; it holds only while the same hal0 version runs, and the next hal0 update converts again.
  • Bundled agent skills hal0 no longer ships (hal0-quantize) are removed from /usr/share/hal0/skills by install.sh and unlinked from /etc/hal0/agent-skills on update. Only names on hal0's retired-skills list are touched; your own skills are not.
  • The runner-image catalogue table is recreated (database migration 011) and refilled by the next sync. Images already pulled into podman are not touched; old packages stay in podman's store until you remove them.
  • DELETE /api/models/{id} now deletes the model's files by default: the model file, any shards, the mmproj sidecar, and a pulled model's file set. Pass delete_files=false to remove only the registry entry, which was the old behaviour. hal0 model rm deletes files too unless you pass --keep-files. The dashboard's Delete dialog has an "Also delete files from disk" checkbox, ticked by default. hal0 never removes files outside the model roots and the store, files another model uses, directories, or its own config and state files. Each kept file is listed in the response with its reason (ADR-0026).
  • The model registry is SQLite only. hal0 model import-backup (v0.1.x backup restore) and the whole hal0 registry group (registry import, registry export, registry import-sqlite) are removed. hal0 model list --json shows the catalog. To keep a copy, take a consistent snapshot with SQLite's online backup, not a plain copy of the live WAL database: sqlite3 /var/lib/hal0/hal0.db ".backup '/root/hal0-db-backup.db'" (the Pull and register models guide has a Python equivalent for boxes without the sqlite3 CLI). A registry.toml left over from before the SQLite registry is retired on update (see Migrations).
  • Removed the deprecated CLI aliases and no-op flags. Use the replacement instead: hal0 probe -> hal0 config hardware --refresh; hal0 model register -> hal0 model add; hal0 model assign -> hal0 slot edit --model; hal0 slot add -> hal0 slot create; hal0 slot remove -> hal0 slot delete; hal0 upstream set-credentials -> hal0 upstream credentials set; hal0 doctor --verify -> hal0 doctor verify. The --backend/-b flag on slot create and slot edit (a stale alias for --provider) is gone, and so are the no-op --dry-run flags on capabilities migrate and slot migrate-id-keying (both already dry-run unless you pass --apply).
  • Removed dead dashboard surfaces. The flag-migration banner and resolution view (their GET /api/migrations/flag-report endpoint was never built) are gone, along with the unreachable old dashboard grid, the ConnectionsView wrapper and the #connections, #profiles, #slots/profiles, #peers, #memory/graph and #memory/tools hash redirects. Legacy #settings/<id> section ids (general, health, library, backend, runtimes, hwtuning, about, voice, imagegen, npu, oauth) no longer resolve and fall back to Overview; use #settings/capabilities, #settings/accounts and so on. GET /api/user/dashboard-layout now answers {} for a pre-#1061 (v2) layout file left on disk instead of returning it reconciled; the dashboard shows its default bands until the next save.
  • Removed deprecated API fields and aliases. The dashboard and the bundled agents are updated in the same release; external clients must follow:
  • Removed dead and misleading code paths:
  • A leftover /var/lib/hal0/registry/registry.toml is retired, not imported. Every box at the 1.3.0 upgrade floor already runs the SQLite registry and already imported that file on its first boot, so the file holds nothing the database needs. The first update or hal0-api start on this release copies it to /var/lib/hal0/backups/registry-toml-<UTC>/, renames it to registry.toml.retired-<UTC> and deletes the registry.toml.lock sidecar. hal0.db is not touched. Nothing reads the file any more, so this step never blocks hal0 update or hal0-api start: if it cannot back up or rename the file (for example a root-owned 0600 file left by a sudo hal0 registry export), it logs a warning, hal0 update lists it among its pass warnings, and hal0 doctor all reports a registry-toml warning until you delete the file.
  • --reasoning-format none is stripped from existing config (#2545). It runs by itself on hal0 update, on an install.sh re-run and at hal0-api start, with nothing for you to run. It removes the flag from the flags of every profile in /etc/hal0/profiles.toml, from the [server].extra_args of each slot file under /etc/hal0/slots/, and from each model's defaults.extra_args. --reasoning-format=none is caught too; --reasoning-format deepseek and every other value are left alone. Before it rewrites anything it copies the file to /var/lib/hal0/backups/ (profiles-<time>.toml, slot-<name>-<time>.toml) and writes the old model values to model-extra-args-<time>.json; backups are readable by their owner only. Running slots keep their old command line until their next restart.
  • The Hindsight memory engine's database migrates one way to 1.0.0. The first start of hindsight-api 1.0.0 runs the engine's schema migrations for 0.10.0 through 1.0.0 on /var/lib/hal0/memory/hindsight/.pg0. Among other changes they add bank aliases and attachments, and they drop the unused document_attachments table and memory_units_bm25 view. Before the new engine starts, the upgrade stops the old engine and copies .pg0 to .pg0.pre-0.9.2, and it needs 1.5 times the size of .pg0 free to do so. If 1.0.0 does not answer /health and report its version, the old venv and that copy are both restored. The copy is kept after a successful upgrade; the next run that finds the engine on 1.0.0 deletes only older copies such as .pg0.pre-0.8.4. Memories, documents, directives, mental models and bank settings are carried over unchanged. A bank disposition set through the old profile endpoint still applies. The embedded PostgreSQL stays on 18.1, so the data directory itself is not upgraded. hal0 update --rollback leaves the engine on 1.0.0, as it did for 0.9.2. Memory keeps working on the older hal0, but two things the older hal0 calls changed in the engine: its /api/memory/banks/{bank}/profile route and hal0 memory bank profile commands fail with 410 Gone, and the dashboard's mental-model rows lose their content preview.

1.3.0

2026-09-16User-installed MCP servers can now actually reach an agentstable

Highlights

  • User-installed MCP servers can now actually reach an agent. An installed streamable-http/sse server gains secrets, a ToolPolicy, and an exposure flag; flipping exposure.hermes joins it into Hermes's config.yaml and mirrors its tool policy into the agent seed, driven by hal0 mcp test|allow|gate|block|expose and matching REST. stdio servers install and configure, but wait on a process supervisor (409 mcp.exposure_needs_supervisor). (#305)
  • Hermes skills that need OAuth are connected with a consent link. The provider's redirect lands on GET /api/oauth/{provider}/callback and hal0 exchanges the code itself (PKCE where supported), so the operator never copy-pastes an authorization code and the agent never handles a raw code or client secret. The new hal0 oauth CLI manages the accounts; tokens go through the secrets store, never into TOML.
  • Settings are schema-driven, and every save previews first. GET /api/settings/fields returns one documented row per operator-editable config key — including the previously unreachable [brain_chat].tool_model and a new Realtime page for [realtime] — and POST /api/settings/preview computes the exact diff PUT /api/settings would apply from the same function, so a preview cannot promise something the apply does not keep. (#2108, #1967, #2195, #2203, #1511)
  • Hardware truth stays fresh, and the ROCm lane no longer depends on rocm-smi. A missing or stale /etc/hal0/hardware.json now triggers a live re-probe instead of booking a real GPU box's resident slot memory as ram_mb; /dev/kfd is enough on its own to put a box on the ROCm lane, so a fresh LXC with the device forwarded no longer seeds every llama.cpp slot onto the slower Vulkan lane; and freshly seeded slots clamp context_size to a host memory envelope instead of shipping the seed files' fixed values (up to 65536). (#1862, #2216, #1966, #1868)
  • A slot load, unload or restart can no longer hang forever. Every systemctl/podman seam call is now bounded, and a timeout surfaces as a typed slot.seam_timeout (HTTP 504) naming the command, its budget and whatever the child printed before being killed. hal0 slot load|unload|restart|swap shows an elapsed counter and the slot's live state while it waits, instead of blocking silently for up to ~40 minutes. (#1869, #1870)
  • hal0 update re-asserts the /usr/local/bin/hal0 and /usr/local/bin/hal0-agent PATH symlinks on every activation, so a box upgraded exclusively through the updater can no longer end up with a hal0 on PATH pointing at a stale venv shim. /api/status also gained a build_sha field naming the git tree the running process imports from (null on a normal release install, which has no git checkout), which scripts/deploy.sh now polls before reporting success. (#1550, #1844, #2019)

Breaking

  • ADMIN-class routes now need an admin credential from off-box callers whenever the box is bound past loopback — even with require_auth off. Until this release require_auth = false meant the enforcement middleware waved every request through untouched. It now classifies the request first and enforces ADMIN-class routes anyway whenever all three hold: an admin key is configured (HAL0_ADMIN_KEY), the listener is not loopback-bound (install.sh seeds HAL0_BIND_HOST=0.0.0.0, so that is the shipped default), and this request's own peer did not arrive over loopback. Such a request carrying no admin session cookie, Authorization: Bearer or ?api_key= is answered 401 auth.required; one carrying a client-tier key is answered 403 auth.forbidden, and a WebSocket upgrade closes with code 4403. ADMIN covers every mutating route plus GET /api/docs, /api/openapi.json and /api/auth/exposure. OPEN and CLIENT reads — /v1 inference, GET /api/slots, GET /api/models, the health endpoints — are untouched, as is anything arriving over loopback, so the CLI, the operator at the console and every on-box service stay exactly as frictionless as before. A box with no admin key configured is not affected at all: the gate cannot arm where the requirement would be unsatisfiable, the same carve-out AuthClass.BOOTSTRAP already makes for first run — hal0 doctor warns about that posture rather than passing it. To restore off-box access, sign in from the dashboard (a refused mutation raises an admin-key challenge drawer instead of a dead-end error) or send the admin key on the request; hal0 auth require on makes the posture explicit, and HAL0_BIND_HOST=127.0.0.1 in /etc/hal0/api.env returns the box to loopback-only. One further consequence on the same boxes: the cross-site Origin check that previously ran only under require_auth now also runs on these requests, so a browser-driven state-changing call from an origin outside HAL0_ALLOWED_ORIGINS is answered 403 auth.origin_forbidden. (#1822)
  • A ComfyUI slot's image_pin is now honoured, so a pinned img slot can start a different container image after the upgrade. ComfyUIProvider.image_ref resolved only the legacy image key and then the runner-registry default, so a slot that persisted and displayed an image_pin silently launched the resolver default anyway. Resolution now matches every other provider: image_pin (top-level or [slot]-nested, honoured verbatim) → the legacy image string → the resolved runner image. Because hal0 slot migrate-flags folds an old image value into image_pin, a box may be carrying a pin that has never actually taken effect. Check /etc/hal0/slots/img.toml before upgrading and clear image_pin if you want the resolver default. (#2172, #2233)
  • A capability apply naming weights that are not on disk is refused instead of accepted. POST /api/capabilities/{slot}/{child} with enabled: true and a model whose weights are absent now returns 409 capability.model_not_downloaded, naming the POST /api/models/{id}/pull remediation, before anything is persisted and before any container is spawned. It previously returned 200 "warming" after blocking for the full health wait while llama-server crash-looped on the bare model id. Automation that applied a selection and then started the pull must pull first and apply afterwards, or stage the selection with enabled: false — which remains legal. NPU-trio selections are exempt. (#2026, #2232)
  • ctx_max is no longer reported for slots that have no context window. GET /api/slots and GET /api/slots/{name} ran the llama-only effective-context resolver against every slot with a bound model, so an embedding, reranking, transcription, TTS or image slot was handed the resolver's 8192-token safe fallback — a window it never runs with. The resolver is now gated on type == "llm". A bound img, tts or transcription slot omits the ctx_max key unless its own TOML sets a context_size, and embed and rerank slots report the raw ceiling from their own TOML. Clients that read ctx_max unconditionally must tolerate its absence. (#1859)
  • PUT /api/user/dashboard-layout accepts only the v3 body. The pre-#1061 v2 schema (order/enabled/spans/pinned), kept accepted since 1.0.0-rc.1 so a cached older dashboard bundle would not start failing its saves, is removed with the v1.3.0 sunset tranche: v must equal 3, and any other body is rejected 422 with code: "layout.invalid". Only a browser still running a pre-#1061 bundle is affected — hard-refresh the dashboard and its saves work again. Reads are unchanged: a v2 layout file already on disk still round-trips on GET, reconciled under the v2 rules. (#2168, #2225)

Added

  • User-installed MCP servers can now actually reach an agent. ADR-0015 extends InstalledServer with secrets (a reference into hal0's own /etc/hal0/api.env store, never a literal), tool_policy (the same ToolPolicy allow/gated/blocked scheme bundled agents use, disjoint and empty-by-default), and exposure (hermes/brain honoured; openwebui/ opencode reserved, rejected with 501 mcp.exposure_unsupported). Flipping exposure.hermes on an enabled streamable-http/sse server joins it into Hermes's config.yaml and mirrors its tool policy into the /etc/hal0/agents/hermes.toml seed so classify() governs it exactly like the two bundled servers — the join recomputes and prunes on every registry mutation, never touching an operator's own hand-added mcp_servers block. New CLI: hal0 mcp test <id> (probe + per-tool allow/gated/blocked/unknown verdicts), hal0 mcp allow|gate|block <id> <tool>, hal0 mcp expose <id> --hermes/--brain, and add/remove as aliases of install/uninstall. New REST: POST /api/mcp/{id}/test, PATCH /api/mcp/{id}/tools, PATCH /api/mcp/{id}/exposure; GET /api/mcp/servers now reports real reachability for installed streamable-http/sse servers instead of a hard-coded "stopped". A stdio-transport server's process supervisor is deferred (see docs/adr/0015-mcp-supervisor-and-exposure.md) — install/configure work, exposure.hermes/.brain reject with 409 mcp.exposure_needs_supervisor until it ships. (#305)
  • Agent-driven OAuth passthrough for Hermes skills that need OAuth (Google Calendar, Spotify, GitHub). A skill is connected by sending the operator a consent link — the provider's redirect lands directly on GET /api/oauth/{provider}/callback and hal0 exchanges the code for a token itself (PKCE where the provider supports it), so the operator never copy-pastes an authorization code and the agent never handles a raw code or client secret. New hal0 oauth {list,connect,disconnect, status,set-client-secret} CLI and a Hermes persona addendum that walks the agent through the connect → poll → confirm flow (the addendum drives hal0 oauth through the agent's terminal tool, which is off by default). A "Connected accounts" dashboard panel exists but is not reachable from the dashboard navigation in this release (#2267); use the CLI. The provider registry (/etc/hal0/oauth-providers.toml) is seeded from a shipped default covering the common skill providers; tokens are stored through the secrets store, never in TOML, never logged. Ported from ODS's OAuth passthrough (Osmantic/ODS, Apache-2.0; permission to copy granted by its author).
  • Schema-driven settings: GET /api/settings/fields returns one labelled row per operator-editable Hal0Config key — group, label, a consequence-first description, type/enum/range, default, current value, reload class, secret flag, and (for a hal0/<slot>-shaped value) whether it currently resolves to a loaded slot. Every leaf's description is a hard requirement, enforced by a completeness ratchet (tests/api/test_settings_fields.py) the same shape as the exposure ratchet: a new config field ships with no dashboard row until it's documented. Settings → Integrations gains a new Realtime page for the previously entirely unexposed [realtime] WS voice-endpoint config (#2108).
  • One ChangeSet for settings preview and apply: POST /api/settings/preview computes the exact diff a PUT /api/settings with the same body would apply — before/after per key, added/changed/removed, reload class, and services affected — without writing anything. PUT /api/settings now returns the same payload under _hal0.changeset (additive alongside the existing _hal0.apply_plan), since both routes call the one compute_settings_changeset function. Closes the shape of four related bugs (a hardcoded changed-fields list that lies on a no-op, a preview that bills additions but not removals, a round-trip that can silently drop a key, and a preview whose promise the apply doesn't keep) as regression fixtures against the general settings surface (#1967, #2195, #2203, #1511).

Changed

  • hal0.services.registry.ServiceDef gains category, source (builtin/extension), modalities, and a probe_tcp field for a future "tcp" probe kind — additive, no builtin service's behavior changes. This is the one shape a future extension-manifest-provided service row is meant to reuse, so the registry never grows a second, parallel service shape. (#2028)
  • The Inference pane's slot cards get the drawer's rich dropdowns. The card model picker is no longer a bare <select> of model names: each row carries the model's quantisation and modality tags, its size, which other slots are bound to it, and a GTT fit chip (fits / tight / won't fit) from one batched POST /api/models/feasibility fired the first time the menu opens — advisory only, so an unprobed or over-budget model stays selectable. Picking a model still swaps it immediately, as before. The [ device | PROFILE ] pill, which previously did nothing but open the slot editor, is now a real profile picker filtered to the slot's type: a pick writes nothing by itself, it opens a confirm that states the consequences first — the runtime, a lane move, how many launch flags the profile's tune replaces, and whether applying restarts the slot or, when it is stopped, starts it and loads its model — and only Apply performs the same two writes the drawer's Save does, PUT /api/slots/{name}/config {profile} followed by a background POST /api/slots/{name}/restart. The pill's old gesture lives on as the picker's last row ("✎ Edit slot…"), which also remains the only way to clear a slot's profile. (#2219)

Removed

  • The v1.3.0 sunset tranche (#2168) is executed — three internal compat shims re-stamped to v1.3.0 at the 1.2.0 cut are deleted ahead of the bump:

Fixed

  • A deliberate stop of a slot no longer reads as a red error in hal0 slot list (#2130). systemctl stop sends SIGTERM and podman propagates the container's graceful shutdown as exit code 143, which the generated unit — having no SuccessExitStatus — recorded as Failed with result 'exit-code'; the state probe then painted every slot the documented migrate-flags --apply --stop-services path stopped as an error on a healthy mid-upgrade box. The rendered unit now declares SuccessExitStatus=143, the systemd probe recognises the plain SIGTERM-stop signature on units that predate the directive, and a cached error converges back to offline once the unit's own properties show it was stopped on purpose (a clean stop or systemctl reset-failed) — while a genuinely crashed or crash-looping unit keeps its error verdict, breaker bookkeeping, and last_crash_line evidence untouched.
  • make release-test tears down the slots it creates again. remote_slot_create recorded each slot in CREATED_SLOTS, but every row captured its result with SLOT="$(remote_slot_create …)"; command substitution ran the append in a subshell, so the EXIT-trap cleanup saw an empty list and every tier-gamma sweep left the slots it created behind, still loaded, on the test box. The function now returns the name in a global and is called directly, and a contract test drives the real script against a stubbed ssh to pin that cleanup unloads and deletes each created slot on both passing and failing runs. (#2262)
  • make release-test resolves the installed hal0 CLI, not a stale /opt/hal0 path. The remote binary fell back to /opt/hal0/.venv/bin/hal0, which no current install has; it now prefers the installer's FHS venv binary /usr/lib/hal0/venv/bin/hal0 (the one hal0-api.service runs), then hal0 on the remote PATH, and a new HAL0_TEST_BIN variable (also a make release-test knob) overrides both. Pre-flight logs the resolved binary's --version and stops with exit 2 when it cannot run, instead of failing every row at its first CLI call. (#2263)
  • ADMIN-class routes are gated on a box that has an admin key configured and binds past loopback, even with require_auth off. Previously require_auth = false meant the middleware waved every request through untouched, so on such a box any device on the LAN could drive every ADMIN route — model pulls, slot deletes, config writes, approval execution — with no credential. An ADMIN request now needs an admin session or key exactly as if enforcement were on, but only when all three hold: an admin key is configured, the listener is not loopback-bound, and this request's own peer did not arrive over loopback. A box with no admin key configured is not covered by this — the gate deliberately cannot arm where the requirement would be unsatisfiable, the same first-run carve-out AuthClass.BOOTSTRAP already makes, and the installer mints no key — so the shipped keyless default remains open to the LAN and hal0 doctor now warns about that posture rather than passing it. A loopback-bound box, and the operator at the console of a LAN-bound one, stay exactly as frictionless as before; OPEN/CLIENT reads are untouched. The dashboard answers a resulting 401 with an admin-key challenge drawer rather than a dead-end error. (#1822)
  • Every systemctl/podman seam call a slot load/unload/restart makes is now bounded. ContainerProvider._run's callers (the Quadlet write, daemon-reload, reset-failed, and — the one that actually wedged in the field — systemctl restart, which spawns the container) used to pass no timeout at all, so a stuck sudo hal0-systemctl or a wedged podman/netavark call blocked the executor thread forever with nothing bounding it server-side (#1869). A new hal0.system.seam.bounded_call() wraps every such call and turns a subprocess.TimeoutExpired into a typed SeamTimeout (slot.seam_timeout, HTTP 504) carrying the command, its budget, and whatever the child had already printed before being killed; the error propagates to the slot state machine as error with that message, same as any other load failure. hal0 slot load|unload|restart| swap and hal0 update --restart-slots now show an elapsed counter and the slot's live state while they wait (refreshed every ~2s on a TTY; one summary line otherwise) and print a timeout remedy instead of a bare read-timeout error (hal0 slot logs <name> / journalctl -u hal0-slot@<name> for the slot verbs; hal0 slot list / journalctl -u 'hal0-slot@*' for --restart-slots); the slot verbs also gained a --json flag — instead of blocking silently for up to ~40 minutes with no output (#1870). (#1869, #1870)
  • scripts/deploy.sh now verifies the served build before printing success, instead of trusting git rev-parse HEAD against the checkout's files alone. /api/status gained a build_sha field — the short git SHA of the tree the running process actually imports hal0 from, or null on a normal release install with no .git (hal0.build_info.build_sha, cached once at process start so it reflects what was true when the worker booted, not a live re-read) — and the deploy script's health-check step now polls it after the service restart, failing loudly with a journalctl hint on a mismatch rather than reporting a deploy complete that a stuck-on-old-code worker never picked up. (#1550)
  • +18 more on GitHub ↗

Migrations

  • Upgrading from 1.2.0 or earlier leaves the /usr/local/bin/hal0 PATH entry stale — run sudo hal0 doctor wrappers --fix once afterwards. This release makes hal0 update re-assert that symlink on every activation, but the re-assert lives in the updater itself, and the activation that installs 1.3.0 is still executed by the outgoing version's code. On a box coming from a release that predates the fix there is nothing to run it, so a hal0 on PATH left pointing at an old venv shim by an earlier install.sh stays pointed there — hal0 --version keeps reporting the stale version while the API and the dashboard correctly report 1.3.0. sudo hal0 doctor wrappers --fix re-installs the link from the active release immediately; a later hal0 update also fixes it, because by then the re-assert is live. Boxes already on 1.3.0 or newer never hit this. (#1844, #2019)
  • Nothing to run by hand. The config schema version is unchanged ([meta] schema_version stays 1), no database migration is added, and neither capabilities.toml nor profiles.toml changes shape. The one thing this upgrade rewrites on disk is each slot's generated systemd unit: hal0 update re-installs the hal0-systemctl seam wrapper and then re-renders every unit through the new code in the same activation, so the SuccessExitStatus=143 fix lands with no migrate-flags-style pass. Slots stopped before the upgrade need no rewrite either — the state probe recognises a clean SIGTERM stop on a unit that predates the directive, so a deliberately stopped slot reads as offline immediately rather than after its next load.
  • Upgrading from 1.1.0 and skipping 1.2.0 still takes 1.2.0's profiles.toml migration. The file gains legacy_seeds_migrated and legacy_seeds_adopted on the first load after the upgrade — automatic, nothing to run — and ProfilesConfig rejects unknown keys on 1.1.0, so the migrated file will not parse there. Back up /etc/hal0/profiles.toml before upgrading if you may downgrade to 1.1.0.
  • A rolled-back box does not read MCP server records that 1.3.0 rewrote. An installed server's record gains secrets, tool_policy and exposure, and serialises its policy under a [tools] table while the old integer count moves to tools_count. 1.3.0 still reads a 1.2.0 record, but the reverse does not hold: a record rewritten by 1.3.0 fails validation on 1.2.0, where the server disappears from hal0 mcp list and a direct read answers 400 mcp.record_malformed. Any MCP write under 1.3.0 rewrites the record — installing a server, changing its config or enabled state, its tool policy or its exposure (hal0 mcp test only reads) — but nothing is rewritten automatically on load, so a box that upgrades and rolls back without changing its MCP servers is unaffected.
  • Hermes needs reprovisioning before it can drive the new OAuth flow. The agent-facing half of the feature lives in the persona file, which only the provisioning pipeline writes — hal0 update never invokes it. On an already-provisioned box, run hal0 agent reprovision hermes so the agent knows the connect-poll-confirm sequence; the persona drives hal0 oauth through the agent's terminal tool, so that tool must be enabled. Every shipped provider also ships an empty client_id, so each provider needs its own app credentials configured before a connection can be made at all.

Archive