Repository navigation
hal0 v1.0.0-rc.6
Pre-releaseThe rc.5 validation sweep ran the whole fleet — fresh installs, in-place
updates, CPU-only and GPU boxes — and filed seventeen findings. rc.6 closes the
GA blocker that stopped a fresh install from chatting at all (#1827), plus
eleven more defects that each made hal0 report something untrue: a capability
slot that said ready and then 501'd, a slot command that printed a timeout
error on an operation that had succeeded, context windows and memory figures
that did not match reality, model ids that stayed advertised after their slot
was deleted, and a provisioning phase that reported ok while every one of its
five bundled skills had failed to link.
Two of these were the detectors rather than the defects: the post-install
smoke test skipped its chat probes on every install (#1831), which is why the
GA blocker shipped in the first place, and the skill-link phase reported success
unconditionally (#1828). Both now fail loudly.
Highlights
- A fresh install can chat again. The installer-pulled brain model was being
capped to a 32,768-token context regardless of what its own slot asked for,
which sits below Hermes' hard 64,000-token floor — so the agent refused to
answer on a box that had just finished installing successfully. The brain,
agent and utility slots now get the 65,536-token window their shipped
configuration asks for (#1827). - Capability slots serve their own endpoint on the first try. A slot created
for embedding or reranking — from the CLI, the New-slot modal, a stack apply
or the capability wizard — inherits the profile its type implies when nothing
else supplies one, so/v1/embeddingsand/v1/rerankstop returning 501
while the slot cheerfully reportsready. This also repairs the CPU-only
install path, where the guided installer's own embed and rerank slots were
affected the same way. Slots already on disk are repairable with
hal0 slot edit <name> --profile <profile>, andhal0 doctor profilesnow
names them (#1830). - Slot commands stop failing on success.
hal0 slot load,unload,
restartandswapgave up after 10 seconds against a server that budgets up
to 180, so any real model load printed aReadTimeoutand exited non-zero on
an operation that had actually worked. Scripts and CI that checked the exit
code were being told the wrong thing (#1832). - The bundled agent skills actually install. All five shipped skills failed
to link on every fresh install — the mirror they link into was root-owned and
the provisioning phase, running unprivileged, could not write to it. The phase
reportedokregardless, so the failure was invisible and the agent simply
came up without its skills. The mirror is now writable by thehal0group,
and a phase that could not link everything reports a warning instead of
success (#1828). - The agent's board tools work on a fresh install. Every board tool the
in-chat steward exposes returned 401, because it was still proxying to the
Hermes kanban while the dashboard, CLI and REST API had already moved to
hal0's own board store. The steward now reads and writes the same store as
every other board surface — so it answers about the board you are looking at,
rather than a different one (#1829). - Reported numbers match reality. Slot detail returns the effective context
window instead of the raw hardware ceiling (#1835),GET /v1/modelsstops
advertising model ids whose slot has been deleted (#1837),hal0 slot capacitybooks a GPU-declared slot's memory as RAM on a box with no usable
GPU and reads real container memory instead of silently under-reporting it by
roughly a third (#1839), andhal0 model addno longer claims high confidence
for a capability it guessed from the filename (#1838). - Hermes' terminal tool is off by default on a fresh install. A fresh
install — interactive (declined at the prompt), piped, headless, or run
withHAL0_NONINTERACTIVE=1— no longer hands the bundled agent a local
shell running as thehal0service user — root-equivalent on this box —
without the operator saying so. Opt in at the installer prompt, with
sudo hal0 agent install hermes --terminal-tool, or via
HAL0_HERMES_TERMINAL=1. This governs only a fresh provision: a bare
hal0 updatenever touches Hermes' config, and re-running the installer
against a box that already has Hermes provisioned skips the prompt and
any environment answer entirely, so an already-provisioned box's terminal
posture is untouched either way. The new default-off rule is evaluated
the next time Hermes is actually reprovisioned — where aconfig.yaml
already carrying a non-localbackend, orlocalwith a non-default
cwd(hal0-provisioned or hand-set), still reads as consent and keeps it
enabled, whilelocalwith nocwdor the defaultcwd: "."does not
and comes back off. Off also disables thecode_executionand
delegationtoolsets, since both reach a shell one hop away from
terminal(#1882).
Breaking
- Hermes' terminal tool now defaults off on a fresh install. Every
prior release wroteterminal.backend: localunconditionally, handing
the bundled agent a shell running as thehal0service user —
root-equivalent on this box — without asking. A fresh install —
interactive (declined), piped (curl … | bash), headless, or run with
HAL0_NONINTERACTIVE=1— now leaves the terminal tool disabled unless
the operator opts in: the installer's interactive prompt (fresh installs
only),sudo hal0 agent install hermes --terminal-tool, or
HAL0_HERMES_TERMINAL=1. Turning it off also disables the
code_executionanddelegationtoolsets —execute_coderuns
arbitrary code as the same user, anddelegate_taskcould otherwise hand
a subagent theterminaltoolset directly. Skills that stop working with
it off:hal0-service-management,hal0-bench,hal0-bench-autopilot,
hal0-tuneandhal0-quantize. This default only governs what a fresh
Hermes provision writes — a barehal0 updatenever reprovisions Hermes,
and re-running the installer against a box that already has Hermes
provisioned skips the prompt and any environment answer entirely, so
neither touches an existing box's terminal posture at all. At the next
ACTUAL reprovision or bootstrap, aconfig.yamlthat already carries a
backend other thanlocal, orlocaltogether with a non-default
cwd— anything hal0's own provisioning has ever written, or a path the
operator set by hand — is read as a prior opt-in
and keeps the terminal enabled.localwith nocwd, or the default
cwd: "."thathermes config migratecan materialise on its own, is
NOT read as consent: that box comes back off at the next reprovision,
same as a fresh install, and needs
sudo hal0 agent install hermes --terminal-toolto opt back in (#1882).
Added
hal0 slot create --profile <profile>andhal0 slot edit --profile <profile>— pin a slot's runtime profile explicitly instead of relying on
inference, and repair a profile-less slot that already exists (#1830).hal0 doctor profilesgains a drift row that names any embedding or reranking
slot running without a profile and prints the exacthal0 slot editcommand
that fixes it (#1830).
Fixed
- A fresh install's brain, agent and utility slots resolve to the 65,536-token
context window their shipped configuration asks for, instead of being capped
at 32,768 by a blanket dense-model limit. Below Hermes' hard 64,000-token
floor the agent refuses to chat, so a brand-new box that installed cleanly
could not hold a conversation. A slot's own configured ceiling now wins over
the blanket cap, and a hand-edited ceiling that is not a number degrades
gracefully instead of aborting the launch (#1827). - Embedding and reranking slots created without an explicit profile no longer
loadreadyand then return 501 from their own endpoint. Slot creation falls
back to the profile the slot's type implies whenever neither the operator nor
the model's stamped defaults supply one — covering every creation path (CLI,
dashboard, API, stack apply, capability wizard). The same defect broke the
guided installer's embed and rerank slots on CPU-only boxes, because the
profile rule required a GPU; it no longer does (#1830). - The installer's post-install smoke test actually exercises chat. Its preflight
looked for the shipped default modelhal0/agentin theGET /v1/models
list, which never advertises virtual ids, so thechat_completionsand
memory_roundtripprobes were skipped on every install and a genuinely broken
chat path went unreported. The preflight now resolves the model through the
by-id route that serves the request, and the memory probe — which has no chat
dependency — always runs (#1831). hal0 slot load,hal0 slot unload,hal0 slot restartandhal0 slot swap
wait for the server's full lifecycle budget instead of timing out after 10
seconds. Any model load slower than that printed aReadTimeoutand exited 1
on an operation the server had completed successfully.slot createand
slot rename, which never block on a health poll, keep the short client
timeout. The client budget is now derived from the server's own health-poll
and terminate timeouts rather than hardcoded, so a server-side retune carries
through instead of silently invalidating the client.hal0 capability set,
the MCP bridge's lifecycle tools andupdate --restart-slotsall get the same
treatment, and connect stays bounded at 5s so a half-open daemon still fails
fast rather than consuming the whole multi-minute budget (#1832).GET /api/slots/{name}returns the effective context window inctx_max
rather than the raw ceiling from the slot's config file. The slot list and
/v1/modelswere corrected in rc.5; the single-slot detail route — what the
dashboard slot page andhal0 slot showread — was still reporting a
potentially larger number that llama-server never launched with (#1835).GET /v1/modelsstops advertising a deleted slot's model id. The cached
listing merged each refresh into the previous one instead of replacing it, so
any id ever bound to an LLM slot stayed listed for the life of the API process
— clients discovered it, routed to it, and got a hard 404. Eviction now
happens on the mutation itself: deleting a slot, rewriting its config, or
changing its default model all refresh the catalogue, and the listing
re-reads and self-heals rather than waiting for an unrelated slot to become
ready. A failed or partial enumeration no longer overwrites a known-good
catalogue with an empty one (#1837).hal0 model addand the add-from-path API tell the truth about how a model's
capability was determined. When a GGUF header carried no pooling type, the
capability was guessed from the filename but still reported as high
confidence — two byte-identical files could be classified differently purely
by name, both claiming certainty. The header is now consulted for further
evidence before any filename fallback, a genuine filename-only guess is
reported as medium confidence, and a.gguffile with no valid GGUF magic
still registers (recoverable withhal0 model rm) but now surfaces a warning
instead of a silent, confident-looking success (#1838).hal0 slot capacityreports real memory. A slot configured for a GPU on a box
with no usable GPU booked its memory as VRAM that does not exist; it is now
booked as RAM, decided by the host's actual GPU capability rather than the
slot's declared device. The per-slot memory probe also falls back to the
slot's systemd unit when the container runtime probe is unavailable — which it
always was from the API process — so figures no longer under-report real usage
by roughly 28%. That probe is keyed off how the slot's artefacts are actually
named on disk rather than whether it happens to carry an id, which is what
made it miss on a standard install. NPU slots keep their existing
unified-memory accounting (#1839).- All five bundled agent skills link on a fresh install. The mirror at
/etc/hal0/agent-skillswas root-owned while the provisioning phase runs as
the service user, so every link failed withEACCES— and the phase returned
OKunconditionally, so nothing reported it. The mirror is now group-writable
byhal0(setgid, so links planted by any group member keep the shared
group), and a phase that recorded link warnings reportsWARNrather than
success (#1828). - The brain's board tools no longer return 401 for every call. They were still
proxying to the Hermes kanban, which the pinned wheel serves no session token
for, while/api/board/*,hal0 board list, the board page and the event
stream had all moved to hal0's ownBoardStore. All four reads and eleven
mutations now resolve the same store as the REST routes — fixing the 401 and,
more importantly, removing the divergence where the steward would have
answered from a different board than the one on screen (#1829). - The dashboard Overview's Services widget lists the companion services that are
actually running instead of always claiming there are none. Theui/unit
test suite existed but no workflow ran it, so it gated nothing; CI now runs it
(#1836). - The operator-migration callout in
hal0 updatefires at all.release.json's
migrationslist — the panel shown before an update is confirmed — has been
empty for every release ever cut, because the extractor matched the heading
Migrationswhile every release section writesOperator migrations. rc.4
and rc.5 both documented mandatory manual steps that no operator was ever
shown. Wrapped bullets are also joined now, so each entry keeps its
remediation commands instead of being cut at the first line break (#1874). hal0 doctorchecks the context window behind Hermes' anchor model, and names
the slot actually serving it, its ceiling, Hermes' required floor and the
command that repairs it. Previously a box whose anchor resolved below the
floor simply refused every turn with no explanation. The window is read
throughGET /v1/models/{id}, so a slot reached via the routing fallback
chain is measured and named correctly rather than guessed from the model's
spelling, and a window hal0 cannot read reports as skipped rather than as a
pass (#1867).- A missing
hal0.toml,upstreams.tomlorproviders.tomlseeded by
hal0 config editnow lands at its canonical mode (0600,0640,0600
respectively) instead of the umask-mediated0644a bare file write
produced, and is chowned to thehal0service owner on a real install so
hal0-api.servicecan still read what it seeded. An operator who can
create the file — in thehal0group, on a box where/etc/hal0is
group-writable — but is neitherhal0nor root now gets a loud failure
pointing atsudoinstead of a filehal0-apicannot open. An operator
outside thehal0group entirely still fails earlier, at file creation,
with a raw permission error rather than that same clean message — tracked
separately (#1881).
Security
/etc/hal0/agents/hermes.envcarriesHAL0_MCP_TOKENand was left mode 0644,
world-readable, on every box provisioned unprivileged — in practice every
box upgraded rather than freshly installed. The mode self-heal was gated on
running as root, but provisioning runs as thehal0service user, so the one
case that needed repair silently did nothing on every reprovision. Fresh
installs were always 0600. Existing boxes are repaired on the next
reprovision, not by the update itself — check with
stat -c '%a' /etc/hal0/agents/hermes.env, expect600(#1876).hal0 doctor allgains an Agent UID split row that warns — never
fails, since sharing a UID is the shipped 1.0 default — when ahal0-agent@*unit
resolves to the sameUser=ashal0-api.service. Same UID means the
bundled agent'slocalterminal backend can read the API process's
/proc/<pid>/environ, and therefore every credential the API holds;
kernel.yama.ptrace_scopedoes not stop it, since that setting gates
PTRACE_MODE_ATTACH, not same-UID reads.SECURITY.mdgains a new
"Bundled agent trust boundary" section laying out the posture
control-by-control, with a status of accepted, documented risk for 1.0 —
the agent/API UID split is tracked for 1.1 under ADR-0002 (#1881).upstreams.toml's canonical mode drops from world-readable0644to
0640whenhal0 config edit upstreamsseeds a missing file, and on
every write through the API'ssave_upstreams_configwriter (provider
create/patch/delete). Opening an EXISTINGupstreams.tomlin
hal0 config edit upstreamsonly launches$EDITOR— it never touches
the file's mode. The file carries no credential values —auth_value_env
only names an environment variable the registry resolves from the process
environment at request time — but its provider/endpoint inventory was
readable by every local account; every real consumer (hal0-api,
hal0-agent@*, the CLI) runs ashal0or root, grouphal0.
A barehal0 updatedoes not touch the file either, so an existing
upstreams.tomlalready on disk at0644stays0644until an actual
provider write happens or an operator converges it directly with
sudo hal0 doctor perms --fix. CLI impact:hal0 config show upstreams
reads the file directly as the invoking user — no privilege drop — so once
a box is at0640, an ordinary login user who is neitherhal0nor root
and not in thehal0group gets a permission error and needssudoor
hal0-group membership to read it (#1881).
Docs
- The installation guide's Requirements section now lists
curland
ca-certificates, with theapt-getcommand to install them. The documented
bootstrap one-liner pipescurlintosudo bash, so on a minimal image the
documented first step died with a barecurl: command not found(#1843).
Audience
Preview-channel operators validating the 1.0 line ahead of GA, and fresh
installs that want the current build. rc.6 supersedes rc.5 for everyone: rc.5
cannot chat out of the box on a fresh install (#1827), and its capability slots
501 their own endpoints unless a profile was supplied by hand (#1830). Boxes on
the stable channel are not offered this tag.
Supported upgrades
1.0.0-rc.5→1.0.0-rc.6viahal0 update(preview channel). The GitHub
release asset URL (https://github.com/Hal0ai/hal0/releases/download/v1.0.0-rc.6/preview.json)
works end-to-end for install and update.1.0.0-rc.4/1.0.0-rc.3/1.0.0-rc.2/1.0.0-rc.1→1.0.0-rc.6
directly, same mechanism.0.9.8→1.0.0-rc.6in place — re-run the installer orhal0 updateon the
preview channel; the R5 migration set applies (see the
1.0.0 changelog section).- Older than 0.9.8: step through 0.9.8 first.
Known issues
An upgraded box can still refuse to chat (#1867). The #1827 fix makes a
slot's configured ceiling win over the blanket cap, which repairs a fresh
install with no migration step. It does not reconcile a slot seed the operator
never chose: a box upgraded from an earlier release whose agent slot carries a
ceiling below Hermes' 64,000-token floor will keep refusing, even though its
model advertises a large enough window. hal0 doctor now preflights the
anchor window and names the serving slot, both limits, and the repair
command — but the update itself does not raise the ceiling; the operator
still has to run that command. If chat refuses after an in-place upgrade,
run hal0 doctor first.
The brain's board tools are fixed but the underlying credential is not
(#1829). The steward now reads hal0's own board store, so the 401s are gone.
The pinned hermes-agent wheel still ships no web_dist, so any surface that
depends on harvesting a session token from it remains unavailable.
hal0 update does not refresh the hal0 launcher on PATH, so after an
in-place upgrade a shell that resolves /usr/local/bin/hal0 can keep running
the previous release — check with hal0 --version and re-run the installer if
it disagrees with the installed tag (#1844). The remaining rc.5 sweep polish
items are tracked on #1840 (CLI/API) and #1841 (dashboard). Three defects found
while reviewing this wave's own fixes are deferred: the brain's self-call HTTP
clients carry the bare-float timeout defect fixed elsewhere here, and one of
them truncates slot lifecycle waits at 60s (#1873); a stale or missing
hardware.json still makes a real GPU box book VRAM as RAM (#1862); and the
systemd/podman start subprocesses behind a lifecycle wait are unbounded
server-side (#1869).
Installing by the documented one-liner still does not work for this channel
(#1883). The preview.json channel manifest now serves the real signed
release manifest — the proxy 404 tracked as #1531 is fixed. But the
channel-URL path still fails at mandatory manifest verification for every
channel: releases.hal0.dev does not proxy the manifest's sibling cosign
bundle (<channel>.json.bundle, 404), and there is no bypass for signature
verification. Install and update from the GitHub release asset URL below,
which remains the working path (#1530, still open, flips at GA). The 0.9.8
CLI's spurious end-of-update ConnectError carries forward, as does the
rc.1/rc.2 venv case where the passive check does not offer a newer tag and
hal0 update --target <version> is the recovery path (#1715).
Memory retention on CPU-only installs remains unreliable (#1833, #1834).
hal0 memory status can report Writes landing on a store that has never
landed a fact, and the hindsight extraction queue has no concurrency cap or
max_tokens, so it can fail to drain on a CPU-only box. Both remain open,
targeted at the 1.0.x line.
Operator migrations
- Profile-less capability slots (#1830): a slot created under rc.5 or
earlier may have been written without a profile and will keep 501ing after
the update, because the fix applies at creation time. Runhal0 doctor profiles— it names each affected slot and prints the exact
hal0 slot edit <name> --profile <profile>command to run, then follow with
hal0 slot restart <name>. Use the command doctor prints, not a guess: an
NPU embedding slot repairs to--profile flm, not--profile embedding—
--profile embedding(orreranking) is only representative of the
common case. - Context windows widen on update (#1827): brain, agent and utility slots
relaunch with a 65,536-token window instead of 32,768 and therefore reserve
more memory. A barehal0 updatedoes not relaunch slots, so the wider
window only takes effect once the operator restarts them — run
hal0 update --restart-slotsorhal0 slot restart <name>after updating.
On a tightly provisioned box, checkhal0 slot capacityonce slots are
restarted. If chat still refuses after the update, the box is carrying an
agent slot ceiling below Hermes' 64,000-token floor that this fix does not
reconcile — runhal0 doctor, which now names the slot and prints the exact
hal0 slot editcommand to raise it (#1867). - World-readable agent token on upgraded boxes (#1876): the agent env file
/etc/hal0/agents/hermes.envholdsHAL0_MCP_TOKENand was left mode 0644
on every box that
was provisioned unprivileged, which in practice means every box upgraded
rather than freshly installed. Runstat -c '%a' /etc/hal0/agents/hermes.env
— if it reads644, either reprovision the agent
(hal0 agent bootstrap hermes) or fix it directly: the file is root:root in
a root-owned directory, so a non-root operator needs
sudo chmod 600 /etc/hal0/agents/hermes.env. The update alone does not
repair it, because the repair happens during provisioning. - Bundled agent skills on an already-installed box (#1828): the permission
fix and the skill-link phase both live in the installer and the agent
provisioning path, not inhal0 update— an update alone does not re-run
either. Re-run the installer, or reprovision the agent
(hal0 agent bootstrap hermes), and confirm the skill-link phase reports
okrather thanwarn. A box whose skills never linked shows them absent
under/etc/hal0/agent-skills. - Stale DNAT rules (#1819) from rc.5, and the deprecated
extra_argsat
the seam (#1759) / releases-URL override (#1750) migrations from rc.4,
still apply to boxes coming from an older tag; see the
1.0.0-rc.5 section. - Terminal tool off by default on new installs (#1882): a box freshly
provisioned — interactive (declined), piped (curl … | bash), headless,
or run withHAL0_NONINTERACTIVE=1— no longer
enables Hermes'localterminal backend automatically —code_execution
anddelegationcome off with it. Nothing to run if that is what you want.
To enable it, answer yes at the installer's prompt on an interactive
install, or runsudo hal0 agent install hermes --terminal-tool(add
HAL0_HERMES_TERMINAL=1for an unattended install). A barehal0 update
never touches Hermes' config — Hermes is only (re)provisioned by the
installer or byhal0 agent install|bootstrap|reprovision hermes— so an
existing box's terminal posture is untouched by the update itself and
stays exactly as it was. The default-off behaviour only applies at the
NEXT reprovision or bootstrap: at that point,config.yamlreading as a
real prior choice (a backend other thanlocal, orlocalwith acwd
hal0's own provisioning has ever written, or one the operator set by hand)
keeps the terminal enabled, whilelocalwith nocwdor the default
cwd: "."is NOT read as consent and comes back off. An operator with
that shape who wants the terminal to stay on should re-opt-in explicitly —
sudo hal0 agent install hermes --terminal-toolor
HAL0_HERMES_TERMINAL=1before reprovisioning — rather than relying on
the default. Since this is a root-equivalent shell, an operator who wants
it off right now, without waiting for a reprovision, can run
sudo hal0 agent install hermes --no-terminal-toolat any time — note
this alsosystemctl enable --nows the agent unit, so it starts Hermes
if it was deliberately stopped. To change only the posture, without that
side effect, runsudo env HAL0_HERMES_TERMINAL=0 hal0 agent reprovision hermesinstead:reprovisiononlytry-restarts an already-running
unit, a no-op on a stopped one. Either command only works on the CLI that
is actually rc.6: on an in-place upgrade,/usr/local/bin/hal0can still
resolve the previous release (#1844) — check withhal0 --versionand
re-run the installer if it disagrees with the installed tag before
relying on either opt-out.
Rollback
Release tarballs are immutable and cosign-signed; roll back by re-installing the
previous tag (v1.0.0-rc.5) from its GitHub release. No rc.6 change writes a
state shape rc.5 cannot read — the new profile key on a slot config is one
rc.5 already understands, and every other fix is re-derived at launch or read
time. A slot repaired with hal0 slot edit --profile keeps working after a
rollback.