# Magnus: agent guide

> Magnus operates Linux fleets and the agents that run on them: inventory and health, commands, cron jobs, files, logs, skills, rollouts, incidents and an append-only audit log.

[Agent index](https://hivemagnus.com/llms.txt) · [Repository](https://github.com/ChefTaco/magnus) · [Tag 4.4.0](https://github.com/ChefTaco/magnus/tree/v4.4.0) · [Tag 4.2.2](https://github.com/ChefTaco/magnus/tree/v4.2.2) · [Tag 4.2.1](https://github.com/ChefTaco/magnus/tree/v4.2.1) · [Tag 4.2.0](https://github.com/ChefTaco/magnus/tree/v4.2.0) · [Release 4.1.2](https://github.com/ChefTaco/magnus/releases/tag/v4.1.2) · [Tag 4.1.1](https://github.com/ChefTaco/magnus/tree/v4.1.1) · [Tag 4.1.0](https://github.com/ChefTaco/magnus/tree/v4.1.0) · [Release 4.0.0](https://github.com/ChefTaco/magnus/releases/tag/v4.0.0) · [Release 3.7.0](https://github.com/ChefTaco/magnus/releases/tag/v3.7.0) · [Release 3.6.0](https://github.com/ChefTaco/magnus/releases/tag/v3.6.0) · [Release 3.5.1](https://github.com/ChefTaco/magnus/releases/tag/v3.5.1) · [Release 3.5.0](https://github.com/ChefTaco/magnus/releases/tag/v3.5.0) · [Tag 3.4.1](https://github.com/ChefTaco/magnus/tree/v3.4.1) · [Tag 3.4.0](https://github.com/ChefTaco/magnus/tree/v3.4.0) · [Tag 3.3.6](https://github.com/ChefTaco/magnus/releases/tag/v3.3.6) · [Tag 3.3.5](https://github.com/ChefTaco/magnus/releases/tag/v3.3.5) · [Tag 3.3.4](https://github.com/ChefTaco/magnus/releases/tag/v3.3.4) · [Tag 3.3.3](https://github.com/ChefTaco/magnus/releases/tag/v3.3.3) · [Tag 3.3.2](https://github.com/ChefTaco/magnus/releases/tag/v3.3.2) · [Tag 3.3.1](https://github.com/ChefTaco/magnus/releases/tag/v3.3.1) · [Release 3.3.0](https://github.com/ChefTaco/magnus/releases/tag/v3.3.0) · [Release 3.2.1](https://github.com/ChefTaco/magnus/releases/tag/v3.2.1) · [Release 3.2.0](https://github.com/ChefTaco/magnus/releases/tag/v3.2.0) · [Release 3.1.6](https://github.com/ChefTaco/magnus/releases/tag/v3.1.6) · [Release 3.1.5](https://github.com/ChefTaco/magnus/releases/tag/v3.1.5) · [Release 3.1.4](https://github.com/ChefTaco/magnus/releases/tag/v3.1.4) · [Release 3.1.3](https://github.com/ChefTaco/magnus/releases/tag/v3.1.3) · [Release 3.1.2](https://github.com/ChefTaco/magnus/releases/tag/v3.1.2) · [Release 3.1.1](https://github.com/ChefTaco/magnus/releases/tag/v3.1.1) · [Release 3.1.0](https://github.com/ChefTaco/magnus/releases/tag/v3.1.0) · [Release 3.0.1](https://github.com/ChefTaco/magnus/releases/tag/v3.0.1) · [Changelog](https://github.com/ChefTaco/magnus/blob/v4.4.0/CHANGELOG.md) · [Per-node credentials](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/NODE_CREDENTIALS.md) · [Current standalone instructions](https://github.com/ChefTaco/magnus#quick-start-standalone) · [Ardent guide](https://hivemagnus.com/guides/ardent.md) · [Lucent guide](https://hivemagnus.com/guides/lucent.md)

## New in 4.4.0

The host agent stages Ardent 3.9.0. Managed previews carry the variation lineage and evaluation settings. Run the suite post-upgrade step to update existing host agents.

## Choose an entry point

Use Magnus for fleet inventory, health, jobs, skills, rollouts and audit. A small agent on each host reports to a central API server. Magnus can also manage the AI agents on those hosts: Hermes Agent, the Codex CLI and [Ardent](https://hivemagnus.com/guides/ardent.md), a separate product with its own repository. From 4.1.0, New Agent can enable [Lucent](https://hivemagnus.com/guides/lucent.md), an optional Ardent extension, on the Ardent profile it creates, and from 4.2.0 Magnus relays a fixed list of Lucent's operator routes (see [Lucent for Ardent agents](#lucent-for-ardent-agents)). Oathweave sign-in, HiveMem memory, HiveSkills distribution and Emberpath model routing are optional integrations.

There are two ways to run Magnus. Through [Hive](https://hivemagnus.com/guides/hive.md) 3.22.0, the full profile adds Magnus 4.4.0 and its browser pages are the Magnus section of [HiveXUI](https://hivemagnus.com/guides/hivexui.md) at `/fleet`, reaching the API through an allowlist of browser routes with a short-lived Oathweave token. Agents and services keep using the Magnus endpoint directly. The standalone installer below is for Magnus without Hive, and installs the Next.js UI that Magnus's README documents for standalone installs.

Cindertrace is the separate security product for correlated cases, evidence, investigations and approvals. Magnus can export observations and provide fleet context and approved host execution; the embedded security runtime was retired in Magnus 2.0. See the [Cindertrace guide](https://hivemagnus.com/guides/cindertrace.md) and the repository migration guidance before upgrading an existing local-security installation.

## Reviewed release: 3.0.1

Magnus 3.0.0 is a major release: per-node credentials reach their last phase, and nodes authenticate with their own Ed25519 keys only. 3.0.1 adds the supported way to move existing agents across the major version. Neither release adds a datastore migration, a new environment variable or a removed one. Both upgrade from 2.10.2 only (`minUpgradeFrom`).

- **`enforce` by default.** `NODE_AUTH_MODE` defaults to `enforce` on the server and on the agent (it was `compat`). The shared node secret (`x-node-token`) is refused on every node route and no longer sent, in both directions. Evidence that carries only the shared `RESULT_SIGNING_SECRET` HMAC is refused, and decisions the server makes for a node are signed with the server key only. A 2.10.2 agent with a key keeps working: the server goes by its signature and ignores the secret it also sends.
- **Start-up guard.** A server whose `NODE_AUTH_MODE` is unset refuses to start (exit 1) while any real node has no active key (`NODES_WITHOUT_KEY`), only revoked keys (`NODES_REVOKED`), an agent that does not sign its evidence (`NODES_NOT_SIGNING_EVIDENCE`), or an agent 2.10.0 or 2.10.1 (`AGENTS_NEED_UPGRADE`), whose managed requests enforce cannot reach. The message names the nodes and the two ways out: enroll or upgrade them, or set `NODE_AUTH_MODE=compat` explicitly. Decommissioned nodes and the internal `__control-api__` and `__dashboard__` log sources never count. An explicit mode is never checked.
- **`compat` and `warn` are deprecated.** Set explicitly, either keeps working for this major and logs `DEPRECATED` at start; the fleet summary reports `modeDeprecated` with a `deprecationNotice`. Both are removed in the next major, with `NODE_MANAGER_SECRET`, `RESULT_SIGNING_SECRET` and `COMMAND_RECONCILIATION_SECRET`.
- **Automatic binding closed.** `POST /api/v1/node-enrollment/legacy-upgrade` answers `410 LEGACY_UPGRADE_CLOSED` in enforce mode, whatever `NODE_AUTH_LEGACY_UPGRADE_UNTIL` says, and a binding refused for its address can no longer be approved. New nodes enroll with a one-time token.
- **`NODE_AUTO_REGISTER` off.** In enforce mode unknown agents are no longer added to the inventory on their first heartbeat: register the node first.
- **Shared secrets optional.** The server and the agent no longer require `NODE_MANAGER_SECRET` or `RESULT_SIGNING_SECRET` outside an explicit `compat` or `warn`, and still honour them when set. `magnus init` of 3.0.0 or later no longer generates them.
- **New in 3.0.0:** server-key rotation (stage, promote, retire) and a two-ADMIN approval for scheduler-source settlements in place of the reviewer's `COMMAND_RECONCILIATION_SECRET` signature. Agents MAC their own records with node-local keys when the shared keys are absent.
- **New in 3.0.1:** `magnus-server agents upgrade --allow-major`, a server-signed path that moves agents from 2.10.x to 3.0.x by way of the 2.10.3 stepping stone.
- **New in 3.1.0:** `magnus-agent native-snapshot` (root only, a local command line, not an HTTP route) discovers every managed Ardent profile and captures, verifies, restores and resumes a stopped snapshot of its profile and runtime state; Hive 3.9.6 uses it to back up the profiles of its installer-owned agent. `GET /api/v1/nodes/:nodeId/software` reads software versions and cached package-update counts from a read-only agent route instead of a shell command (agents before 3.1.0 answer `SOFTWARE_STATUS_UNAVAILABLE` and nothing runs), and the agent signs managed terminal completion receipts with its node key. No migrations, no new settings, `minUpgradeFrom` 2.10.2; 3.0.x and 3.1.0 mix in both directions, so move agents with `magnus-server agents upgrade --to 3.1.0`. See the [3.1.0 changelog](https://github.com/ChefTaco/magnus/blob/v3.1.0/CHANGELOG.md) and [native snapshots](https://github.com/ChefTaco/magnus/blob/v3.1.0/docs/NATIVE_SNAPSHOTS.md).
- **New in 3.1.1:** quick commands refuse unsupported operations with `QUICK_COMMAND_UNAVAILABLE` before registering or dispatching work, and the fixed **magnus status** action runs a registered read-only service diagnostic with supervised completion evidence; it needs the server and the node agent on 3.1.1. Earlier uptime receipts keep their authority, and uncertain commands still need signed reconciliation; nothing is replayed. Dependency updates only otherwise: no migrations, no new settings, `minUpgradeFrom` 2.10.2, Ardent still pinned at 3.1.3. See the [3.1.1 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.1.1/UPGRADING.md#version-311).
- **New in 3.1.2:** fixes only. `docker/compose.yml` defaults `MAGNUS_VERSION` to `3`, the current major, instead of `1` (a Compose `.env` that sets it is unaffected); `magnus-server --help` names `--allow-major` in the `agents upgrade` summary; and `magnus-server env-schema` no longer lists the retired Security Fusion local-mode settings, while `SECURITY_FUSION_MODE=local` is still refused at startup. No migrations, no new settings, no browser contract or protocol changes, `minUpgradeFrom` 2.10.2, Ardent still pinned at 3.1.3. See the [3.1.2 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.1.2/UPGRADING.md#version-312).
- **New in 3.1.3:** pins `@hivemagnus/ardent` 3.1.4 (`@hono/node-server` 2.1.6 or later) for the server, the node agent and its standalone lock; the Ardent management API is unchanged, so the generated client and the node agent's route allowlists are too. Upgrade the node agents to 3.1.3 to stage it for managed Ardent installations. The server no longer validates `SECURITY_FUSION_RECEIPT_SIGNING_KEY`, a retired, unused Security Fusion local-mode setting: a leftover value, like the other retired local-mode settings, is ignored at startup and can be deleted, while `SECURITY_FUSION_MODE=local` is still refused. No migrations, no new settings, no browser contract or protocol changes, `minUpgradeFrom` 2.10.2. See the [3.1.3 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.1.3/UPGRADING.md#version-313).
- **New in 3.1.4:** a security patch. The server and the console move to `ws` 8.23.0 (GHSA-37g9-w4hg-h9qr, memory exhaustion in 8.22.2 and earlier); the reachable path is the console's Hermes Agent WebSocket bridge, which is off unless `MAGNUS_HERMES_ENABLED=true`, so upgrade the server and console promptly where it is on and otherwise in the next routine window. The node agent's standalone lock moves to 8.23.0 too, where `ws` is a development-only dependency that is not installed with the published agent; agents have no runtime change, but upgrade them to 3.1.4 to stay on the server's version. Development tooling moves to Vite 8.3.8 and Rolldown 1.2.19, and `@hivemagnus/hive-common` is `^0.5.1`. No migrations, no new settings, no browser contract or protocol changes, `minUpgradeFrom` 2.10.2, Ardent still pinned at 3.1.4. See the [3.1.4 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.1.4/UPGRADING.md#version-314).
- **New in 3.1.5:** a security patch. The `magnus-server` image forces `effect` 3.22.1 with an npm override, fixing a high-severity ReDoS in `Schema.TemplateLiteral` (CVE-2026-121707) in 3.20.0. `effect` comes only through Prisma's config loader (`@prisma/config` pins 3.20.0 exactly), which the Prisma CLI uses to read the server's own `prisma.config.ts`, so it is not reachable from network input; upgrade in the next routine window. Overrides do not reach installs of the published package, so a native install (`npm install @hivemagnus/magnus-server` or `magnus upgrade`) still resolves 3.20.0 unless its own `package.json` adds `"overrides": { "@prisma/config": { "effect": "3.22.1" } }`. The agent, console and fleet gateway do not depend on `effect`; agents have no runtime change, but upgrade them to 3.1.5 to stay on the server's version. No migrations, no new settings, no browser contract or protocol changes, `minUpgradeFrom` 2.10.2, Ardent still pinned at 3.1.4. See the [3.1.5 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.1.5/UPGRADING.md#version-315).
- **New in 3.1.6:** a security patch, which no suite release pins on its own; 3.2.0 and later include it. The server no longer registers an HTTP `upgrade` listener: the retired Control API terminal kept one only to answer `/api/v1/terminal` upgrades with `410 Gone`, and each upgrade request to any other path stayed open until the client went away, while a malformed `Host` header on an upgrade request stopped the server. Upgrade requests are now ordinary HTTP requests with the usual timeouts (`401` without credentials), and the server no longer depends on `ws`. The standalone console answers every upgrade request: `404` outside the Hermes bridge, `400` for an unparsable target. `@hono/node-server` is 2.1.11 (`^2.1.11` in the server, fleet gateway and agent). Upgrade the server and console promptly where untrusted clients can reach their ports; agents have no runtime change beyond `@hono/node-server`, but upgrade them to stay on the server's version. No migrations, no new settings, no browser contract or protocol changes, `minUpgradeFrom` 2.10.2. See the [3.1.6 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.1.6/UPGRADING.md#version-316).
- **New in 3.2.0:** `@hivemagnus/magnus-server` and `@hivemagnus/magnus-ui` ship a standalone `npm-shrinkwrap.json`, so a native `npm install` (and `magnus upgrade`) gets exactly the dependency graph the release images run, nested under each package, instead of resolving every range again; an install no longer needs its own `effect` override (one added for 3.1.5 does no harm). The new `GET /api/v1/system/installation` (ADMIN only, `Cache-Control: no-store`) reports the server version, the Node.js version, whether it runs from an npm install or an image or source build, and every runtime dependency whose installed version differs from the shipped lock; `resolution.differences` is empty when the install matches. npm honours the lock only for installs from a registry, so an install from local tarballs (`magnus upgrade --source DIR`) resolves the ranges again and the report lists what differs. The browser contract publishes the report as `systemInstallationResponseSchema`. Commands and bin paths are unchanged. No migrations, no new settings, `minUpgradeFrom` 2.10.2, Ardent still pinned at 3.1.4. See the [3.2.0 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.2.0/UPGRADING.md#version-320-shrinkwrapped-server-and-console).
- **New in 3.2.1:** the server and console shrinkwraps hold only the production graph. In 3.2.0 npm installed each dependency's whole shrinkwrap, so a native install recorded the packages' development tooling as `extraneous` lock entries (never loaded) and `npm audit` reported moderate `minimatch` findings in the console's eslint; after 3.2.1 the install's lock has no such entries and `npm audit --omit=dev` reports no findings in them. The installed packages and versions are the same as 3.2.0. Nothing to do; no migrations, no new settings, no protocol changes, `minUpgradeFrom` 2.10.2, Ardent still pinned at 3.1.4. See the [3.2.1 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.2.1/UPGRADING.md#version-321-production-only-shrinkwraps).

- **New in 3.3.0:** pins `@hivemagnus/ardent` 3.2.0 (the root and agent pins and the agent shrinkwrap) and carries its runtime contracts through management (node agent `studio` level 4): the profile reads `tasks/:id/recovery`, `tasks/:id/lineage`, `artifacts/:sha256/renditions`, `artifacts/:sha256/manifest/v2` and `artifacts/imports`, the actions `task-recovery` (resolve a task Ardent holds for a decision) and `artifact-import` (pull an artifact from an A2A peer), and an unbuffered relay of artifact transfer v2 on `…/artifacts/:sha256/content` with `Range` and `If-Range`. Each profile in the Ardent inventory reports its Ardent version and `capabilities` (`recovery`, `lineage`, `artifact_transfer`); a profile older than Ardent 3.2.0 answers the new reads and actions with `409 unsupported_capability` and keeps its other operations. `task-submit`, `mission-submit` and `preview-submit` pass an optional execution context to profiles that support lineage and never refuse a request for it. Portable agent definitions (`hive-agent-definition/1`): `GET /api/v1/ardent/installations/:nodeId/profiles/:name/definition` exports a profile (persona, runtime, reviewed extensions, enabled HiveSkills releases, portable configuration, and the names of the bindings and secrets a target needs), `POST /api/v1/ardent/agent-definitions/validate` answers a preflight, and `POST /api/v1/ardent/agent-definitions/install` runs New Agent for the definition only once the preflight passes; a credential-like value anywhere is refused with `422 DEFINITION_CONTAINS_CREDENTIAL`. `skill-install` takes `pinned: true` to install an exact HiveSkills release that is not promoted, as Magnus's enrolled HiveSkills target. `GET /api/v1/ardent/dependencies` reports HiveMem, HiveSkills and Emberpath as `usable`, `missing`, `unsupported` or `awaiting_configuration`, with their source: an explicit `MAGNUS_ARDENT_*` setting wins, otherwise the Hive Registry when `MAGNUS_HIVE_REGISTRY_URL` and `MAGNUS_HIVE_REGISTRY_TOKEN_FILE` are set; Magnus sends its own credentials only to explicitly configured endpoints, and discovery never enrolls, installs or enables anything. `@hivemagnus/hive-common` is 0.6.0. Release any extension package that pins an exact Ardent peer for 3.2.0 before upgrading managed agents: a managed upgrade holds the runtime when a peer differs. No migrations, five new optional server settings (`MAGNUS_HIVE_REGISTRY_URL`, `MAGNUS_HIVE_REGISTRY_TOKEN_FILE`, `MAGNUS_HIVE_REGISTRY_ALLOW_HTTP`, `MAGNUS_ARDENT_HIVESKILLS_TARGET` and `MAGNUS_ARDENT_HIVESKILLS_TARGET_TOKEN_FILE`), `minUpgradeFrom` 2.10.2. See the [3.3.0 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.3.0/UPGRADING.md#version-330-ardent-320-runtime-contracts) and [Ardent agents](https://github.com/ChefTaco/magnus/blob/v3.3.0/docs/ARDENT.md).
- **New in 3.3.1 to 3.3.3:** fixes only, each with no migrations, no settings changes and `minUpgradeFrom` 2.10.2; the agent still pins Ardent 3.2.0. **3.3.1:** the agent dependency report checks Emberpath at its model API. It probed the root `health/live` of the endpoint, which behind a console that serves Emberpath only under `/v1` (a Hive console) belongs to another service, so Emberpath was reported usable without being reached. It now requires `GET <endpoint>/models` to answer (200, or a JSON 401 or 403 without a key) and takes the version and capabilities from root health only when that health does not name another service; a model API that does not answer reports `missing` with its reason. **3.3.2:** an empty or blank `Last-Event-ID` (or `after`) on an Ardent task stream means no cursor, so the stream starts from the beginning; a Hive console's ingress forwards the header on every Magnus request, empty when the client sent none, so a stream opened through it failed with 400. A malformed cursor is still refused. **3.3.3:** the agent's offline journal check for `native-snapshot` knows the ten tables Ardent 3.2.0 added: `tool_invocations`, `task_recovery` and `artifact_transfers` by state, execution checkpoints, ancestry, renditions, hook failures and catch-up gaps as passive, and catch-up runs and recovery publications as ledgers; a channel post that catch-up recorded as `skipped_stale` is not pending. Before, every Ardent 3.2.0 profile counted as unsupported work, so a Hive native backup or upgrade captured it and then refused to start it again, holding the suite. Unknown tables and states still hold. See the [changelog](https://github.com/ChefTaco/magnus/blob/v3.3.3/CHANGELOG.md).
- **New in 3.3.4:** portable agent-definition installs work. Magnus 3.3.0 records a definition install as an Ardent operation of kind `definition`, but the operations table's check constraint allowed only `deploy` and `hivemem`, so every `POST /api/v1/ardent/agent-definitions/install` failed with 500 after its preflight passed, before anything was created on the node. The migration `20261124190000_ardent_agent_operation_definition_kind` widens the constraint; existing rows already satisfy it. No settings change, `minUpgradeFrom` 2.10.2.
- **New in 3.3.5:** the node agent and New Agent stage `@hivemagnus/ardent` 3.2.1 (the root and agent `package.json` pins and the agent `npm-shrinkwrap.json`). The runtime, its management API and its dependencies are unchanged from 3.2.0; the release fixes `@hivemagnus/ardent-client`, whose `viaMagnus` now takes `apiBase` to reach Magnus through a Hive console (`https://<console>/api/magnus`, which the suite ingress maps to `/api/v1`). No migrations, no route, action or settings change, `minUpgradeFrom` 2.10.2. See the [changelog](https://github.com/ChefTaco/magnus/blob/v3.3.5/CHANGELOG.md).
- **New in 3.3.6:** a security patch for the node agent. Its standalone dependency lock ships `fast-xml-parser` 5.12.1 and `fast-xml-builder` 1.3.2, which include the upstream fixes for the denial-of-service advisories [GHSA-7cfw-w2rf-f3jc](https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-7cfw-w2rf-f3jc) and [GHSA-g62r-xqpr-7fwx](https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-g62r-xqpr-7fwx). The agent still stages Ardent 3.2.1. No migrations, no new settings, no route or contract change, `minUpgradeFrom` 2.10.2; upgrade the agents to 3.3.6 to pick up the fix. See the [changelog](https://github.com/ChefTaco/magnus/blob/v3.3.6/CHANGELOG.md).
- **New in 3.4.0 and 3.4.1:** a hardening release that pins Ardent 3.5.1. 3.4.1 is the code of 3.4.0 published with container images: 3.4.0's npm packages exist, but its images were never tagged, so use `3.4.1`. Upgrade the node agents first, then the server and console, then the managed Ardent profiles. A 3.4.x server writes files (file pushes, role applications, library skill deploys) only through an agent that advertises `restrictedFileWrite` 2 and refuses an older agent with `409 AGENT_FILE_WRITE_UNSUPPORTED`, writing nothing; a 3.4.x agent refuses system-path writes until the server sends `adminWrite`, so finish the server soon after the agents. Writing system paths (`/etc`, `/root`, `/var/lib`, `/var/spool`, `/boot`, `/usr`, `/bin`, `/sbin`, `/lib`, `/lib64`, any `.ssh` directory) needs the ADMIN role, judged on the requested and the symlink-resolved path (`403 SENSITIVE_PATH_ADMIN_ONLY`); `/dev` is refused, paths must be absolute, and a write replaces the file, so hard links to it are not updated. Each entry of a command's `args` is one literal argument: move pipes, redirects and `&&` into `command`. Agents answer `413 PAYLOAD_TOO_LARGE` above `MAGNUS_AGENT_BODY_LIMIT_BYTES` (default 16 MiB). `POST /hermes/install` runs only the hash-checked installer of one pinned Hermes Agent commit, and Hermes discovery no longer searches other accounts: set `HERMES_USER` where Hermes lives in another account's home. Re-run `sudo magnus-agent install-service` on each node for the tighter systemd unit. On the server, `IAM_CORE_URL` must use HTTPS unless its host is loopback (the server refuses to start otherwise) and Hive IAM tokens need `exp` and `iat` and a lifetime of at most 24 hours; AI tools that need approval pause on every chat path, and scheduled AI operations stop at them; `MAGNUS_BACKUP_KEEP` and `keepBackups` now delete older dumps; alert rule node filters match exactly or as a `*` glob. The standalone console requires `SESSION_SECRET`, drops `ALLOW_LEGACY_SESSION_SECRET`, `DASHBOARD_LOGIN_USERNAME` and `DASHBOARD_LOGIN_PASSWORD`, refuses cross-site non-GET `/api/*` requests and reads `DASHBOARD_TRUSTED_PROXIES` behind a reverse proxy; `docker/compose.yml` runs the server and console read-only with `cap_drop: [ALL]` and pins PostgreSQL and Redis by digest. New opt-in settings: `MAGNUS_HISTORY_RETENTION_DAYS`, `MAGNUS_AI_SCHEDULER_ENABLED`, `MAGNUS_API_SECRET_BYPASS` (`loopback` or `off` when HiveXUI with Oathweave is the browser client) and, on agents, `MAGNUS_AGENT_FILE_ROOTS`. Ardent 3.4.0 and later accept the management token only with the `Bearer` scheme, which the 3.4.x node agent always sends, so move a profile to the new Ardent only after its node agent; Ardent 3.4.0's operations (task pages and filters, metrics, peer credential reload, management token rotation) need node agents at `studio` level 5, and native snapshots classify journals with the pinned Ardent's own journal policy. Two fast migrations (`20261126120000_remote_command_status_index` and `20261126120100_remediation_execution_restrict`), both safe under a 3.3.x server after a downgrade; `minUpgradeFrom` 2.10.2. See the [3.4.0 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.4.1/UPGRADING.md#version-340-hardening-ardent-351-and-two-fast-migrations), [Ardent 3.4.0 operations](https://github.com/ChefTaco/magnus/blob/v3.4.1/docs/ARDENT.md#ardent-340-operations-studio-5) and the [changelog](https://github.com/ChefTaco/magnus/blob/v3.4.1/CHANGELOG.md).
- **New in 3.5.0:** New Agent and agent-definition installs deliver the Emberpath client key that an agent with an Emberpath model alias needs. `POST /api/v1/ardent/agents` and the definition validate and install routes take `emberpath_client_key`, the key an operator creates in Emberpath (Emberpath lets only a recently signed-in person create one, never a service token, so Magnus does not issue keys), and answer `400 EMBERPATH_KEY_REQUIRED` for an alias without one (a definition's preflight reports `SECRET_UNBOUND`). Magnus checks the key against Emberpath's model list first (`422 EMBERPATH_KEY_INVALID`, `EMBERPATH_KEY_FORBIDDEN` or `EMBERPATH_ALIAS_UNAVAILABLE`), sends it only to an explicitly configured `MAGNUS_ARDENT_EMBERPATH_URL` (`409 EMBERPATH_NOT_EXPLICIT` for an Emberpath only the Hive Registry named), holds it in memory only and writes it to the new profile's `.env` as `ARDENT_LLAMA_API_KEY` through the node agent action `model-credential-set` (`studio` level 6; an older agent answers `409 AGENT_UPGRADE_REQUIRED`); it is never stored in the operation, audited, logged or returned. `POST /api/v1/ardent/installations/:nodeId/profiles/:name/model-credential` (ADMIN, or a linked service identity acting for one) sets or rotates the key of a running alias agent, as an operation of the new kind `model-credential` that restarts the profile; HiveXUI offers it as **Set Emberpath key**, and it repairs alias agents an earlier Magnus created without a key, whose model requests Emberpath refused with 401. Upgrade the node agents first, then the server and console, then HiveXUI; the agents still stage Ardent 3.5.1. One fast migration (`20261127120000_ardent_agent_operation_model_credential_kind`) widens the operation kind check and is safe under a 3.4.1 server after a downgrade; no new settings, `minUpgradeFrom` 2.10.2. See the [3.5.0 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.5.1/UPGRADING.md#version-350-emberpath-client-keys-for-new-agent-and-one-fast-migration) and [the Emberpath client key](https://github.com/ChefTaco/magnus/blob/v3.5.1/docs/ARDENT.md#the-emberpath-client-key).
- **New in 3.5.1:** pins `@hivemagnus/ardent` 3.6.0 (the root and agent pins and the agent shrinkwrap), so node agents stage Ardent 3.6.0 for the profiles they install from now on; existing profiles keep their Ardent until an operator updates them, and a 3.5.1 agent still manages Ardent 3.5.1 profiles. From Ardent 3.6.0 a profile's `GET /health/ready` answers `status: not_ready` with its 503 instead of `degraded` (status codes are unchanged, and `GET /api/v1/memory/status` still says `degraded`); the generated Ardent client types in `@hivemagnus/magnus-contracts` follow, and an external monitor that matched the word should match the status code. Ardent 3.6.0's retention options are profile configuration only, so the node agent's Ardent allowlists are unchanged. No Magnus code, route, setting or migration change, `minUpgradeFrom` 2.10.2. See the [3.5.1 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.5.1/UPGRADING.md#version-351-ardent-360).
- **New in 3.6.0:** the server adopts `@hivemagnus/hive-common` 0.11.1 for rate limits, request IDs, service tokens and redaction (the fleet gateway moves with it). Rate limits keep their budgets, keys, Redis store and `429` body, but when Redis is unavailable, routes that are not fail-closed are limited per process with the same budget instead of not at all, and an error reply from Redis counts as Redis unavailable (`503` on fail-closed routes) instead of as allowed. The new optional `MAGNUS_TRUSTED_PROXIES` (addresses, CIDR ranges, `loopback`, `private`, `linklocal`) names the proxies whose `X-Forwarded-For` the rate limiter believes; unset, the socket peer is the client, and an invalid entry stops startup. An inbound `x-request-id` (or `x-hive-request-id`, `x-correlation-id`) is reused only when it is 1 to 128 characters of `A-Z a-z 0-9 . _ : @ / + = -`; otherwise Magnus generates a UUID, and generated IDs are UUIDs. Redaction keeps a secret's name while it masks the value (`NODE_TOKEN=[REDACTED]`); everything masked before is still masked. Hive IAM mode (`IAM_CORE_URL`) is deprecated and removed in 4.0.0: move to Oathweave mode (`OATHWEAVE_ISSUER`); until then its tokens need a `jti` and an `aud` that is exactly `IAM_TOKEN_AUDIENCE`, which Oathweave's tokens already have. The agents still stage Ardent 3.6.0. No migration, no required setting, no route or browser contract change, `minUpgradeFrom` 2.10.2. See the [3.6.0 upgrade notes](https://github.com/ChefTaco/magnus/blob/v3.6.0/UPGRADING.md#version-360-hivecommon-0111-trusted-proxies-and-hive-iam-deprecation) and the [changelog](https://github.com/ChefTaco/magnus/blob/v3.6.0/CHANGELOG.md).
- **New in 3.7.0:** the bridge to Magnus 4. The standalone console re-encrypts control-node credentials still under the legacy `JWT_SECRET`-derived key under `CONTROL_NODE_CREDENTIAL_KEY` when it starts (after a `0600` backup of `.magnus/control-nodes.json`), `magnus-ui credentials --reencrypt` does it on demand, and `magnus-ui credentials --check` passes only when every stored credential opens under `CONTROL_NODE_CREDENTIAL_KEY`, the only key Magnus 4 reads: run it with the console stopped, as the account the console runs as, against the real state. A supervised agent (`MAGNUS_EXECUTION_SUPERVISOR_ENABLED=true`, as a full-node install sets it) refuses a command outside its completion registry with `409 UNREGISTERED_COMMAND` before anything starts, instead of holding it as an unknown outcome, and an ADMIN settles an unknown non-Ardent command with `POST /api/v1/commands/:commandId/reconcile-resource`. The HiveSkills executor routes also accept an Oathweave service token from a client linked with the new role `HIVESKILLS_SERVICE` (the static bearer is deprecated); add that link only once the server and the fleet gateway both run 3.7.0. The console's Hermes counts come from the new ADMIN route `GET /api/v1/hermes/summary`, so upgrade the server before the console, and the embedded Hermes dashboard and router admin UI run sandboxed. Several routes now answer errors in the standard `{ success: false, error: { code, message } }` envelope. Upgrade the node agents, then the server and console; the agents still stage Ardent 3.6.0. No migration, no new setting, `minUpgradeFrom` 2.10.2. See the [3.7.0 upgrade notes](https://github.com/ChefTaco/magnus/blob/v4.0.0/UPGRADING.md#version-370-the-bridge-to-magnus-4).
- **New in 4.0.0:** a major release that removes what 3.x announced, and upgrades from 3.7.0 only (`minUpgradeFrom`). The standalone console reads control-node credentials only with `CONTROL_NODE_CREDENTIAL_KEY` and refuses to start while any value under the legacy key remains; the server's external IAM mode is gone, and the server refuses to start while `IAM_CORE_URL` is set (`IAM_TOKEN_ISSUER` and `IAM_TOKEN_AUDIENCE` go with it, `JWT_SECRET` is always required, and named OIDC sign-in to the standalone console needs the server in Oathweave mode with `HIVE_OAUTH_API_AUDIENCE=magnus`); and the console's embedded Emberpath admin proxy (`/api/hive-router/dashboard`, `HIVE_ROUTER_ADMIN_URL`, `HIVE_ROUTER_CA_PATH`) is removed, while `MAGNUS_ROUTER_URL` and its `HIVE_ROUTER_*` aliases are unchanged. Dump pruning also keeps every dump younger than seven days and the newest good one (`keepBackupDays`, `MAGNUS_BACKUP_KEEP_DAYS`, `magnus backups prune --dry-run`), `MAGNUS_HISTORY_RETENTION_DAYS` covers more tables, the audit log gets an opt-in `MAGNUS_AUDIT_RETENTION_DAYS` (at least 90), the Hermes dashboard proxy is bounded, and `magnus init` works again for releases from 3.2.0 on. `docker/compose.yml` defaults to the `4` image tags. The agents still stage Ardent 3.6.0. No migration, three new optional settings (`MAGNUS_BACKUP_KEEP_DAYS`, `MAGNUS_BACKUP_PRUNE`, `MAGNUS_AUDIT_RETENTION_DAYS`), five removed. See [Upgrade to 4.0.0](#upgrade-to-400) and the [4.0.0 upgrade notes](https://github.com/ChefTaco/magnus/blob/v4.0.0/UPGRADING.md#version-400-magnus-4).
- **New in 4.1.0 to 4.1.2:** Lucent in New Agent. Each release upgrades from 4.0.0 (`minUpgradeFrom`) with no migration and no settings change. **4.1.0:** New Agent can enable the reviewed Lucent 0.1.0 extension for the profile it creates (**Enable Lucent**). Managed nodes install Ardent 3.7.0 with the verified extension archive and keep their other reviewed packages: the installer checks the Lucent archive and the installed tree against their reviewed digests, and a conflicting Lucent installation already on the node needs operator review. Existing agents keep their configured plugins. Upgrade the node agent and stage Ardent 3.7.0 before the package install, quiesce the profiles before the shared runtime is replaced, then restart the ones that were running. `systemctl stop` no longer leaves the standalone console unit failed: on SIGTERM or SIGINT the console drains and exits 0, units written by `magnus init` list `SuccessExitStatus=143`, and `magnus upgrade` adds it to existing console units. **4.1.1:** native snapshots verify retained extensions in privileged copies and restore the original file ownership, and a stopped profile with the reviewed Lucent 0.1.0 on Ardent 3.7.0 can resume when its journal proves there is no pending study, projection or uncertain work; use the 4.1.1 node agent or later for native backups with Lucent. Reloading the console's Hermes dashboard frame no longer goes blank. **4.1.2:** New Agent and the other Ardent actions use node-wide managed leases on fully enrolled nodes; Ardent-only nodes still need their separately reviewed scope, and every action needs signed managed admission. The console's Hermes dashboard proxy reuses SSH connections from a small per-installation pool, verifying the pinned host key on every new connection. Restart the server and console after upgrading. See the [4.1.x upgrade notes](https://github.com/ChefTaco/magnus/blob/v4.4.0/UPGRADING.md#version-410) and the [changelog](https://github.com/ChefTaco/magnus/blob/v4.4.0/CHANGELOG.md).
- **New in 4.2.0 to 4.2.3:** the Lucent operator relay, Ardent 3.8.x and the reviewed Lucent 0.2.2. Each release upgrades from 4.0.0 or later with no migration and no settings change. **4.2.0:** with a node agent at `studio` level 7 (this release's agent), Magnus relays a fixed set of an Ardent profile's Lucent routes, and no other plugin route: the reads `plugins/lucent/status`, `runs/:id`, `beliefs`, `beliefs/:revision`, `strategies`, `reviews`, `projections/:revision`, `discrepancies`, `fidelity` and `study-requests`, and the actions `lucent-mode`, `lucent-rollback`, `lucent-review`, `lucent-challenge`, `lucent-strategy` and `lucent-feedback`. An older agent answers them with `409 AGENT_UPGRADE_REQUIRED`. Managed nodes install Ardent 3.8.1, New Agent's reviewed Lucent is 0.2.0, and an Ardent upgrade replaces a retained, previously reviewed Lucent 0.1.0 archive in its own slot; any other Lucent archive still stops the upgrade for review. The contracts export the relay's patterns, action lists and body schemas and `ARDENT_STUDIO_CAPABILITY.lucent`, and the generated Ardent contract adds `capabilities.cognitive_hooks` to the status response. Restart the server and console after upgrading. **4.2.1:** New Agent's reviewed Lucent is 0.2.2, which gives reasoning models enough output tokens to answer studies, calibration and side calls and keeps the answer instruction out of forecast prompts; a managed Ardent install replaces a retained reviewed 0.2.0 or 0.1.0 archive in place. **4.2.2:** managed nodes install Ardent 3.8.2, which adds the llama.cpp `thinking` setting. **4.2.3:** managed nodes install Ardent 3.8.3, whose journal policy classifies Lucent 0.2's status tables as settled: with Ardent 3.8.1 or 3.8.2 a stopped profile with Lucent 0.2 was never idle, so its native backups and upgrades were refused. The reviewed Lucent stays 0.2.2 and is staged with Ardent 3.8.3, and the node agent writes its Ardent package receipt as mode 0600 explicitly. Stop a node's running managed Ardent profiles before **Install package**. See the [4.2.x upgrade notes](https://github.com/ChefTaco/magnus/blob/v4.4.0/UPGRADING.md#version-423), [Lucent operator routes](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/ARDENT.md#lucent-operator-routes-studio-7) and [Lucent for Ardent agents](#lucent-for-ardent-agents).

## In a Hive installation

Hive 3.22.0 pins the Magnus server and fleet gateway 4.4.0 by image digest and the host agent `@hivemagnus/magnus-agent` 4.4.0 by npm integrity (both since 3.22.0; the [compatibility matrix](https://hivemagnus.com/compatibility.md) lists the Magnus each earlier release pinned), with HiveXUI 0.21.0. HiveXUI's vendored Magnus browser contract follows Magnus 4: per HiveXUI's changelog and README it has the routes Magnus 3.7.0 added, which HiveXUI does not call (`GET /hermes/summary`, `GET /heartbeat/stream/stats` and `POST /discovery/scan`), the 15000 ms cap on a topology scan's `probeTimeoutMs`, reviewed Lucent provisioning for New Agent and the Emberpath client key routes (New Agent and resume, Set Emberpath key and the `model-credential` operation kind). The Cognitive Lab does not use that contract for Lucent's operator routes: Ardent Project Studio calls Magnus's Lucent relay as its own service identity. HiveXUI's Magnus Ardent overview shows the agent dependency report, its **Installed software** page reads Magnus's installation report through `GET /api/magnus/system/installation`, which the suite ingress forwards, and its UI reads node software status through the read-only software endpoint and offers **Allow major upgrade** in Upgrade agents. Magnus 3.0.3 changes only the agent: installing or updating the Ardent package no longer fails on a fresh owner account without `~/.local/share`, because the agent now creates the missing parents of the install prefix as the owner, one level at a time inside the owner home; it adds no migrations or settings, and a failed **Update package** can be retried once the node's agent runs 3.0.3. Magnus 3.0.2 adds no migrations and lets an operator retire the last shared keys: on the server, move `RESULT_SIGNING_SECRET` to the verify-only `RESULT_SIGNING_PREVIOUS_SECRET`; on each agent, move `COMMAND_RECONCILIATION_SECRET` to `COMMAND_RECONCILIATION_PREVIOUS_SECRET`, re-seal stored settlements with `magnus-agent historical-settlements reseal --apply` and check with `list --check`; see [Retiring the shared keys](https://github.com/ChefTaco/magnus/blob/v3.0.2/docs/NODE_CREDENTIALS.md#retiring-the-shared-keys). With a port for host agents, `hive.sh magnus-agent install` installs the agent on a fleet host and stages the Ardent 3.9.0 package the agent's lock pins; `hive.sh magnus-agent enroll` then reviews and enables full node capabilities on an installer-owned single host: commands, managed cron and a selected restricted web terminal. Guided setup offers both after installation. From 3.9.0 `magnus-agent install` copies no `NODE_MANAGER_SECRET`, `RESULT_SIGNING_SECRET` or `COMMAND_RECONCILIATION_SECRET` to an agent: a new agent, and an existing agent without a key, is enrolled with a one-time token read by `magnus-agent enroll --token-file -`, and without a token the install stops before changing anything. An agent with a key keeps it. A fresh installation generates none of those three secrets for Magnus. After a suite upgrade, `hive.sh post-upgrade` or `hive.sh magnus-agent install` updates an existing agent while keeping its enrollment scope. Magnus 3.4.0 and later need their host agents upgraded first: on an installation whose host agent the suite installed, run `./hive.sh magnus-agent install --release 3.22.0` before the suite upgrade, or `./hive.sh post-upgrade --yes` straight after it; until that agent runs 3.4.0 or later, the server refuses file pushes, role applications and library skill deploys to it with `409 AGENT_FILE_WRITE_UNSUPPORTED`, and New Agent with an Emberpath alias and Set Emberpath key need it at 3.5.0 or later (`studio` level 6). Hive 3.16.0 (Magnus 3.6.0) adds no setting: `MAGNUS_TRUSTED_PROXIES` is optional and the suite does not set it, so a suite-managed Magnus keeps limiting by the connecting address. Hive 3.17.1 (Magnus 3.7.0; 3.17.0 is withdrawn) and 3.18.0 (Magnus 4.0.0) add no Magnus migration either; install the target release's host agent first in the same way. Nor do Hive 3.19.1 (Magnus 4.1.1), 3.20.0 (Magnus 4.2.1), 3.20.1 (Magnus 4.2.2) and 3.20.2 (Magnus 4.2.3): a suite-managed Magnus must already be on 4.0.0 or later, the upgrade needs no `--allow-migrations` from 3.18.0 or later, and the target release's host agent goes on first; after the upgrade, `./hive.sh post-upgrade` from the new release's checkout installs the pinned agent where you skipped it. The Cognitive Lab's operator parts need the host agent at `studio` level 7, which the agent of Magnus 4.2.0 and later reports; without it the Lab says which upgrade it needs, and older agents keep working otherwise. Then, on each node with managed Ardent profiles, stop the running profiles, install the staged Ardent 3.9.0 with **Install package** and start them again: a profile that carries the reviewed Lucent 0.1.0 or 0.2.0 has that archive replaced by the reviewed 0.2.2 in place, any other Lucent archive stops the Ardent upgrade for review, and a node still on Ardent 3.8.1 or 3.8.2 with Lucent 0.2 profiles refuses native backups until Ardent 3.8.3 is installed. Before a backup or upgrade on a suite-managed Ardent node, the agent's `native-snapshot inspect --json`, run with its service environment, counts unfinished studies, pending memory projections and uncertain tasks under `safety`; a nonzero count can keep the native services stopped after capture. A suite-managed Magnus moves to 3.18.0 from 3.17.1 only: before the plan, `hive.sh upgrade` refuses a running Magnus older than 3.7.0, an `IAM_CORE_URL` that is set, a missing `OATHWEAVE_ISSUER`, and a `JWT_SECRET` that is missing, shorter than 32 characters, shared with another Magnus secret or changed without a restart; after the pre-change backup it removes the five settings Magnus 4 dropped from Magnus's environment file. A suite installation runs no standalone console, so there are no control-node credentials to check, and Hive installs the agent from the signed manifest, so Magnus's `--allow-major` does not apply. A rollback to 3.17.1 is code-only. On an installation coming from Hive 3.14.0, updating the agent first also lets its native snapshot resume an Ardent 3.2.0 profile during the upgrade's backup instead of holding it. Update other fleet agents from Magnus, then re-run `sudo magnus-agent install-service` on each node. An external Magnus in Hive IAM mode (`IAM_CORE_URL`) refuses to start on 4.0.0, so move it to Oathweave mode before that upgrade (on 3.4.0 to 3.7.0 its `IAM_CORE_URL` must use HTTPS unless its host is loopback, and from 3.6.0 its tokens need a `jti` and an exact single audience), and it needs `MAGNUS_ARDENT_EMBERPATH_URL` set explicitly before HiveXUI can create Emberpath alias agents through it; a suite-managed Magnus trusts Oathweave through `OATHWEAVE_ISSUER` and is unaffected. An external Magnus is upgraded on its own host, agents first, when you choose (see [Upgrade](https://hivemagnus.com/guides/hive.md#upgrade)): Hive's 3.18.0 notes say the suite works with one on 3.x, and for Lucent in New Agent and the Cognitive Lab its notes ask you to update that Magnus and the node agents that will host Lucent profiles separately (New Agent's Lucent needs Magnus 4.1.0 or later, and the Lucent operator routes Magnus 4.2.0 or later with node agents at `studio` level 7). From Hive 3.17.0, copy the `SECURITY_INVENTORY_TOKEN_SHA256` line the upgrade writes to `config/.initializer/external-magnus.env` into that Magnus's environment and restart it, or Cindertrace reports its inventory sync as failing. Moving it to 4.0.0 takes 3.7.0 first, a passing `magnus-ui credentials --check` on its standalone console, Oathweave mode without the removed settings, and a `JWT_SECRET` of at least 32 characters; see [Upgrade to 4.0.0](#upgrade-to-400). See the [Hive guide](https://hivemagnus.com/guides/hive.md#fleet-hosts-and-security-events) and [Upgrade to 3.0.1](#upgrade-to-301) below.

In HiveXUI, **Magnus > Ardent > Installations** installs and updates the staged Ardent package, and **New Agent** creates, configures and starts an Ardent profile with its own HiveMem identity; from Magnus 3.5.0, for an Emberpath model alias it asks for the Emberpath client key, and **Set Emberpath key** on the agent's page sets or rotates it. From Magnus 4.1.0, New Agent also offers **Enable Lucent** when the selected node reports the reviewed Lucent package; see [Lucent for Ardent agents](#lucent-for-ardent-agents). [Ardent Project Studio](https://hivemagnus.com/guides/ardent-studio.md) uses the same Magnus Ardent bridge through its own Oathweave service identity, and from Studio 0.11.0 its Cognitive Lab uses the Lucent relay of Magnus 4.2.0 and later. Since the reviewed 2.4.2, Magnus added an agent identity lookup that HiveXUI's Agent 360 uses (2.7.0), an event feed for the HiveXUI inbox (2.8.0), an opt-in Emberpath model provider for the fleet assistant (2.9.0), per-node credentials (2.10.0) and node keys only (3.0.0). An external Magnus, managed and upgraded separately, can serve an installation's Magnus pages and Studio instead of the `magnus` component.

## Install Magnus on its own

Prerequisites: Linux with systemd, npm, Node.js 24.22.3+ in the 24 series or 26.13.1+ in the 26 series, and Docker Compose or existing PostgreSQL and Redis. The docs recommend PostgreSQL 17 (15+ works) and Redis 7, and TLS certificates for the server, the standalone UI and each agent.

```bash
npx @hivemagnus/magnus init
```

Expected result: the installer creates `~/.magnus`, installs the server and the standalone UI, generates credentials and a self-signed certificate, prepares PostgreSQL/Redis through Compose (or uses `--database-url` and `--redis-url`), and starts systemd user services. Use the printed URL and login. Save the generated password privately; the self-signed certificate is for evaluation. From 3.0.0 the generated server settings include no shared node secret: agents enroll with their own keys.

Inspect options before choosing an installation mode:

```bash
npx @hivemagnus/magnus init --help
```

`--system --service-user magnus` installs system units under `/opt/magnus` instead. For user services to survive logout and start at boot, the setup may require `loginctl enable-linger $USER`. Installing the server alone does not enroll other hosts.

### Add a host

Register the node in the standalone UI or through the API with the host's FQDN. `POST /api/v1/nodes/register` returns a one-time `enrollmentToken`, valid for one hour; for an existing node an ADMIN issues one with `POST /api/v1/nodes/<nodeId>/enrollment-token`. Issuing a token stays with the API and the command line, never a browser route, because its response is a secret. On the host, install the agent, set `CONTROL_API_URL` and the TLS paths in `/opt/magnus-agent/.env`, enroll once with the token on standard input, then validate and enable the service:

```bash
sudo npm install --prefix /opt/magnus-agent @hivemagnus/magnus-agent
sudo install -m 0600 /opt/magnus-agent/node_modules/@hivemagnus/magnus-agent/.env.example /opt/magnus-agent/.env
# set CONTROL_API_URL, TLS_CERT_PATH and TLS_KEY_PATH in /opt/magnus-agent/.env
cd /opt/magnus-agent
printf '%s' "$ENROLLMENT_TOKEN" | sudo node node_modules/@hivemagnus/magnus-agent/dist/index.js enroll --token-file -
sudo node node_modules/@hivemagnus/magnus-agent/dist/index.js check
sudo cp node_modules/@hivemagnus/magnus-agent/deploy/magnus-agent.service /etc/systemd/system/
sudo systemctl daemon-reload && sudo systemctl enable --now magnus-agent
```

Expected result: the agent creates its key, proves possession, and stores its node id and the server's public key; the host shows as online within one heartbeat interval (30 seconds). The server stores only the SHA-256 of a token; a token works once, issuing a new one withdraws the previous one, and enrolling with a token replaces whatever key the node had. `--token-file PATH` reads the token from a file instead; `--token` still works but puts it on the process table. No `NODE_MANAGER_SECRET` or `RESULT_SIGNING_SECRET` is needed. By default the agent runs as root; the [agent README](https://github.com/ChefTaco/magnus/blob/v4.4.0/packages/agent/README.md) covers both modes, the file API rules and `MAGNUS_AGENT_FILE_ROOTS`.

## Upgrade to 4.0.0

Magnus 4 upgrades from 3.7.0 only, the bridge release: `magnus upgrade` from an earlier release refuses and names 3.7.0 as the step to take first. Before the upgrade, on 3.7.0:

1. With the standalone console stopped and as the account it runs as, make `magnus-ui credentials --check` pass against the real state file, running `magnus-ui credentials --reencrypt` first if it names legacy values. 4.0.0 cannot re-encrypt them.
2. If the server runs in external IAM mode, move it to Oathweave mode (`OATHWEAVE_ISSUER`, `OATHWEAVE_JWKS_URL`, `OATHWEAVE_USERINFO_URL` and `MAGNUS_OATHWEAVE_IDENTITIES_JSON`) and remove `IAM_CORE_URL`, `IAM_TOKEN_ISSUER` and `IAM_TOKEN_AUDIENCE`; give the server a dedicated `JWT_SECRET` of 32 or more characters if it ran without one.
3. Remove `HIVE_ROUTER_ADMIN_URL` and `HIVE_ROUTER_CA_PATH` from the console's environment.

Then upgrade the node agents first, then the server and console; both cross a major version:

```bash
magnus-server agents upgrade --to 4.0.0 --allow-major
magnus upgrade --to 4.0.0 --allow-major
```

`magnus upgrade` checks 4.0.0 against the environment before it changes anything and, if the console does not come up healthy, switches back to 3.7.0. A Compose install sets `MAGNUS_VERSION=4` (or `4.0.0`) in `docker/.env` after the same preparation. Rolling back to 3.7.0 needs nothing restored: there is no migration and 3.7.0 reads the same credentials under the same `CONTROL_NODE_CREDENTIAL_KEY`; agents already on 4.0.0 stay there unless reinstalled on the node. In a Hive installation, the suite release does this instead: see [In a Hive installation](#in-a-hive-installation). See the [4.0.0 upgrade notes](https://github.com/ChefTaco/magnus/blob/v4.0.0/UPGRADING.md#version-400-magnus-4) and the [3.7.0 operator path](https://github.com/ChefTaco/magnus/blob/v4.0.0/UPGRADING.md#operator-path-to-400).

**After 4.0.0.** Releases 4.1.0 to 4.3.0 upgrade from 4.0.0 or later (`minUpgradeFrom` 4.0.0) with no migration, no settings change and no `--allow-major`, agents first as usual: `magnus-server agents upgrade --to 4.4.0`, then `magnus upgrade --to 4.4.0` (without `--to`, the newest release of the current major), for the release Hive 3.22.0 pins. A Compose install on `MAGNUS_VERSION=4` follows every 4.x release with `docker compose pull && docker compose up -d`. Afterwards, stop each node's running managed Ardent profiles, install the staged Ardent with **Install package** and start them again. See the [4.x upgrade notes](https://github.com/ChefTaco/magnus/blob/v4.4.0/UPGRADING.md#version-423).

## Upgrade to 3.0.1

Magnus 3 upgrades from 2.10.2 only, server first. Nothing crosses a major version by itself: `magnus upgrade` and the agent upgrade action stay on the current major unless asked with `--allow-major`.

**Prepare on 2.10.2.** Every agent runs 2.10.2 or later with a bound key (`nodeCredential.state: active`); agents 2.10.0 and 2.10.1 move to 2.10.2 with **Upgrade agents** or `magnus-server agents upgrade`. Optionally set `NODE_AUTH_MODE=warn` on the 2.10.2 server, restart it and use the fleet for a day, so remaining uses of the shared secret show up before they are refused. Then confirm `GET /api/v1/node-credentials/summary` reports `enforceReady: true`, and remove `NODE_AUTH_MODE` from the server's environment (or set `enforce`).

**The server, 2.10.2 to 3.0.1.** On a managed install, straight to 3.0.1:

```bash
magnus upgrade --to 3.0.1 --allow-major --dry-run
magnus upgrade --to 3.0.1 --allow-major
```

There is no migration to apply. The start-up guard reads the inventory first: if a node would be locked out, the server does not start, names the nodes, and `magnus upgrade` switches back to 2.10.2 by itself. A 3.0.0 server upgrades to 3.0.1 in place with `magnus upgrade`.

**The agents, 2.10.2 to 2.10.3 to 3.0.1.** There is no hurry: a 2.10.2 agent with a key keeps working with a 3.0.x server in enforce mode. An agent before 2.10.3 cannot verify a major-upgrade authorization, so the fleet takes the 2.10.3 patch first (on npm under the dist-tag `maintenance-2.10`; `latest` is 3.0.1). On the server host, dry runs first:

```bash
magnus-server agents upgrade --to 3.0.1 --allow-major --dry-run
magnus-server agents upgrade --to 2.10.3 --dry-run
magnus-server agents upgrade --to 2.10.3
magnus-server agents upgrade --to 3.0.1 --allow-major --dry-run
magnus-server agents upgrade --to 3.0.1 --allow-major
```

The first dry run lists who needs which step: agents 2.10.0 to 2.10.2 as `MAJOR_NEEDS_STEPPING_STONE`, a node without an active key as `MAJOR_NEEDS_NODE_KEY` (enroll it, or let it bind its key). Without `--allow-major` such nodes stay `MAJOR_VERSION`. With it, each request that crosses the major carries an authorization signed with the server key for that node, the version it runs, the target and the tarball integrity, valid for one hour; the agent verifies it against the server key it pins, and the shared node secret never authorizes a major. Once accepted it is an ordinary upgrade with its trial: a node whose trial fails switches back to 2.10.3 by itself. Without `--integrity` the server reads each version's integrity from the registry (`MAGNUS_UPDATE_REGISTRY`); pass it explicitly for offline installs. New nodes install 3.0.x directly and enroll with a token.

Two things wait for a 3.0 agent on the node: the two-ADMIN [scheduler-source settlement](#settling-a-scheduler-source) and pinning a staged server key from the heartbeat, so rotate the server key only after the agents are on 3.0.x.

**In a Hive installation,** follow Hive's [UPGRADING](https://github.com/ChefTaco/hive/blob/v3.22.0/UPGRADING.md#suite-390-magnus-301-node-keys-only): upgrade to suite 3.8.1 (Magnus 2.10.2) first, prepare the fleet there, then `./hive.sh upgrade --config FILE --release 3.22.0 --allow-migrations`: every upgrade to 3.15.x from 3.14.x or earlier needs the flag, for Oathweave's managed format 2 and, on a suite-managed Magnus, Magnus 3.4.x's two fast migrations among others, and on a suite-managed Magnus so does an upgrade from 3.15.0 or 3.15.1 to 3.15.2 or later, for Magnus 3.5.0's fast migration (see the [Hive guide](https://hivemagnus.com/guides/hive.md#upgrade)). Before it confirms the plan or changes anything, it checks the running Magnus as Magnus 3's guard will and refuses, naming the blockers. After the upgrade, `./hive.sh post-upgrade` moves the Magnus host's own agent to the pinned version (4.4.0 in Hive 3.22.0, which Magnus 3.4.0 and later need before they push files to the agent), and `./hive.sh magnus-agent install --config FILE --host HOST` does the same for each fleet host the suite installed; agents that Magnus manages take the commands above inside Magnus's container (`docker compose -f DIRECTORY/compose.json exec magnus ...`). A Hive installation moves to Magnus 3 through the suite release, not by hand.

## Per-node keys

Each host agent has its own Ed25519 node key, in `$AGENT_INSTALL_DIR/identity/node.key` (mode 0600), and the server has a signing key, in `$MAGNUS_HOME/state/node-auth/server-signing-key.json` (`NODE_AUTH_SERVER_KEY_PATH`, mode 0600). Requests in both directions are signed for exactly one node, with a timestamp, a single-use nonce and the hash of the body; the server stores only public keys. Back up the server key file with the database. To check a key, compare `magnus-agent identity show` on the host with the fingerprint the server lists for the node.

**The summary.** `GET /api/v1/node-credentials/summary` (ADMIN, OPERATOR) counts real nodes by credential state, sums the use of the shared credentials over the last 24 hours and lists what blocks `enforce`: `SERVER_KEY_UNAVAILABLE`, `NODES_WITHOUT_KEY`, `NODES_REVOKED`, `NODES_NOT_SIGNING_EVIDENCE`, `AGENTS_NEED_UPGRADE`, `RECENT_SHARED_SECRET_USE` and `PENDING_BINDINGS`. From 3.0.0 it also carries `modeExplicit`, `modeDeprecated` with a `deprecationNotice`, and `serverKeyRotation`.

**Rotate, revoke, re-enroll.** `magnus-agent identity rotate` on the node makes a new key signed for by the old one, which stays valid for 24 hours. A revoke (`POST /api/v1/nodes/<nodeId>/credentials/revoke`, ADMIN, optionally with a `reason`) leaves the agent refused with `401 NODE_CREDENTIAL_REVOKED` once no active key is left, and the node stays closed to the shared secret: re-enroll it with a new token, which replaces the old keys. A reset, which lets a node use the shared secret again, answers `409 NODE_AUTH_ENFORCED` in enforce mode; it needs an explicit `compat` or `warn` on the server and the same in the agent's `.env`. In HiveXUI, **Magnus > Fleet > Nodes** shows each node's key, the fleet's progress and what blocks enforcing keys; an administrator can list and revoke a node's keys there, and Magnus refuses a reset while the mode is `enforce`. The server checks the ADMIN role on each request.

**Rotating the server key.** Each step changes the key file, so back it up with the database afterwards:

```bash
magnus-server node-auth server-key status
magnus-server node-auth server-key stage
magnus-server node-auth server-key promote --force --grace-hours 168
magnus-server node-auth server-key retire
```

Stage creates the next key, which agents pin from their next heartbeats; the server signs nothing with it yet. Promote once the summary shows `serverKeyRotation.agents.pinningNext` equal to `keyedNodes`: `POST /api/v1/node-credentials/server-key/promote` refuses earlier with `409 SERVER_KEY_NOT_PINNED` unless `force`, and the command line cannot see the pins, so it always needs `--force`. The replaced key stays accepted for the grace period (default 7 days). Retire then destroys its private part and keeps its public key, so decisions it signed keep verifying. An agent that missed a promotion is refused once and pins the new key by itself. The rotation routes are not browser routes. See [per-node credentials](https://github.com/ChefTaco/magnus/blob/v3.0.1/docs/NODE_CREDENTIALS.md#rotating-the-server-key).

## Settling a scheduler source

The reviewer-signed `POST /api/v1/cron/scheduler-sources/reconcile` took an assertion signed with `COMMAND_RECONCILIATION_SECRET`, a key that agents held too, so a copy from any node could sign a settlement. In enforce mode it answers `409 NODE_AUTH_ENFORCED`. Its replacement is a two-ADMIN approval: one ADMIN person requests the settlement with a reason (`POST /api/v1/cron/scheduler-sources/reconcile-requests`), a different ADMIN person approves it within 15 minutes (`.../reconcile-requests/<id>/approve`, or `.../reject` to withdraw it), and only then does the server sign it for that node with its server key. The API secret and service identities can take neither step; each step is audited. It needs a 3.0 agent on the node (`features.schedulerSourceAuthorizations`): an older agent gets `409 AGENT_UPGRADE_REQUIRED` in enforce mode. Open requests live in the server process and do not survive a restart. These are API routes with no browser caller yet. See [settling a scheduler source](https://github.com/ChefTaco/magnus/blob/v3.0.1/docs/NODE_CREDENTIALS.md#settling-a-scheduler-source).

## Retiring the shared secrets

On the server, `NODE_MANAGER_SECRET` and `RESULT_SIGNING_SECRET` are required only under an explicit `compat` or `warn`. An agent upgraded from 2.10.x keeps its shared keys in `.env` and keeps MACing its own records (command ledger, mutation observations, receipts and decisions) with `RESULT_SIGNING_SECRET`, so a downgrade to 2.10.x still reads every record. Without the shared key a 3.0 agent uses node-local keys, `local-result.key` and `local-reconciliation.key` in its `identity` directory, separate from the node key. It reads a record signed with any key it may have used: the shared key, its previous value `RESULT_SIGNING_PREVIOUS_SECRET`, or the node-local key.

To retire the shared key from an upgraded agent, move its value from `RESULT_SIGNING_SECRET` to `RESULT_SIGNING_PREVIOUS_SECRET`, and keep it there while those records matter: new records are MACed with the node-local key and old ones keep verifying. Removing the value outright makes records signed with it unreadable. This makes a downgrade lossy: an agent that wrote records with a node-local key cannot be downgraded to 2.10.x without losing them. Hive's `magnus-agent install` never removes the secret lines an existing agent's `.env` has, for the same reason. Log forwarding (`LOG_INGEST_TOKEN`) and the Hermes registry token are separate credentials and are unchanged.

## Rollback

- **Back to the shared secret, same release.** Set `NODE_AUTH_MODE=compat` on the 3.0.x server and restart it: the shared node secret is accepted, and sent where needed, again, and the automatic binding reopens while its window lasts. An agent that should accept the shared secret again needs `NODE_AUTH_MODE=compat` in its `.env`. In a Hive installation, set it in `config/magnus.env` and restart Magnus, with no change of release; remove it again once the summary has no blockers.
- **Back to 2.10.2.** `magnus rollback`: there is no migration to undo, and 2.10.2 reads the same database and server key file (of a rotated file, it uses the active and next keys). 3.0 agents keep working with it: they sign, it verifies.
- **An agent below 3.0.0.** Keep `RESULT_SIGNING_SECRET` in its `.env` first: records it MACed with its node-local key cannot be read by 2.10.x.
- **An agent below 2.10.0.** It knows only the shared secret, which the server refuses for a node with a key. `GET /api/v1/node-credentials/downgrade-check?nodeId=<id>&to=<version>` names the reset to post first; in enforce mode there is none (`enroll-instead`), so keep such nodes on 2.10.0 or later.
- **A lost server key file** (a database restored without `$MAGNUS_HOME/state`): the server creates a new key, and agents re-pin it over verified TLS on their next refused request. A database that lost a node's credential leaves that node refused in enforce mode (`401 NODE_CREDENTIAL_UNKNOWN`) until it is enrolled with a token.

## Web terminal

The browser terminal runs through a separate [fleet gateway](https://github.com/ChefTaco/magnus/tree/v4.4.0/services/fleet-gateway) that holds the restricted SSH key, so neither the browser nor the Magnus API does. It is off by default: HiveXUI offers a terminal only when a gateway is deployed and configured on the server, and the person holds an `ADMIN` link and the `magnus:terminal` permission. Opening one also needs identity verified within the last five minutes, otherwise `STEP_UP_REQUIRED`, and an operator-approved host key for that node; unknown keys are refused and nothing is learned on first use. The audit log records metadata only. The gateway ships as the container image `ghcr.io/cheftaco/magnus-fleet-gateway`; Hive offers it in every release but never selects it in a profile.

## Ardent with bundled Emberfold

Ardent now has [its own guide](https://hivemagnus.com/guides/ardent.md): standalone installation with `npm i -g @hivemagnus/ardent`, model configuration, the gateway, the 3.x storage change and management through Magnus. Ardent imports its pinned Emberfold library directly; no separate Emberfold account or HTTP server is needed.

## Lucent for Ardent agents

[Lucent](https://hivemagnus.com/guides/lucent.md) (`@hivemagnus/lucent`) is an optional Ardent cognitive extension with its own repository. Magnus provisions reviewed Lucent packages with Ardent on managed nodes and relays a fixed list of Lucent operator routes. A profile without Lucent behaves as before.

**The reviewed package.** Each Magnus release names the Lucent release its node agent accepts: 0.1.0 in Magnus 4.1.0 to 4.1.2 (with Ardent 3.7.0), 0.2.0 in 4.2.0 and 0.2.2 in 4.2.1 to 4.2.3, and 0.3.0 with Ardent 3.8.4 in Magnus 4.3.0. When **Install package** installs the staged Ardent on a node, the agent installs the published Lucent archive with it, checks the archive and the installed tree against their reviewed digests, and keeps it beside the node's other reviewed extension packages. A retained, previously reviewed Lucent archive is replaced in its own slot; any other Lucent archive stops the Ardent upgrade for review. Stop the node's running managed profiles before the install and start them again afterwards. Magnus grants a plugin no additional authority.

**Signed reviewed-extension list.** From Magnus 4.3.0, a verified list signed by the Hive publisher can add reviewed Lucent versions alongside the compiled pins. The agent selects the newest reviewed release for its Ardent version and ignores a list that fails verification. See [Signed reviewed-extension list](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/ARDENT.md#signed-reviewed-extension-list).

**New Agent.** Select **Enable Lucent** in New Agent to enable it for the profile being created; existing agents keep their configured plugins. HiveXUI offers the choice when the selected node reports the reviewed package. Lucent starts in `off` mode: enable a study mode on the profile before starting a study or a challenge.

**Native backups.** For the reviewed Lucent bound to the package receipt, the agent's native snapshot uses the Ardent journal policy to check study runs, queued study requests and pending memory projections before it starts a profile again; other external plugins still need independent startup review. Lucent 0.2 profiles need Ardent 3.8.3 for this: on Ardent 3.8.1 or 3.8.2 a stopped Lucent 0.2 profile is never idle, and its native backups and upgrades are refused.

**The operator relay (`studio` level 7).** From Magnus 4.2.0, with a node agent that reports `studio` level 7, Magnus relays these routes of a profile that runs Lucent, so an operator, or a linked service acting for one, can read the agent's self-model and decide its safety reviews without shell access:

- Reads, `GET …/profiles/:name/plugins/lucent/<path>`, for ADMIN people and linked service identities: `status`, `runs/:id`, `beliefs`, `beliefs/:revision`, `strategies`, `reviews`, `projections/:revision` and, from Lucent 0.2.0, `discrepancies`, `fidelity` and `study-requests`. The node agent drops any query parameter outside each read's list, and a value outside its pattern answers 400.
- Actions, through `POST …/profiles/:name/action`: `lucent-mode` (`off`, `observe`, `advise` or `automatic-within-policy`), `lucent-rollback`, `lucent-review` (`approve` or `reject`), `lucent-challenge`, `lucent-strategy` and `lucent-feedback`. A linked service runs them only for a linked `ADMIN` named in `x-acting-subject`, otherwise `403 ACTING_ADMIN_REQUIRED` or `ACTING_SUBJECT_UNLINKED`.

Nothing else under Ardent's `/api/v1/plugins/` is relayed: no other plugin, and no Lucent route outside these lists (`projections/retry` stays on the profile CLI). An agent below level 7 answers `409 AGENT_UPGRADE_REQUIRED`, and a profile without Lucent 404. Lucent's own 400, 404 and 409 come back with that status and Lucent's reason in `error.message`, such as `Review is already decided` or `Cognition is off`. Approving a review only lets that strategy revision enter experiments; promotion still needs Lucent's study gate. The audit records the mode, the rolled-back revision, the review decision, the challenge task and revision, the feedback task and verdict, or the strategy's scope, never a review or feedback note or a strategy's text. [Ardent Project Studio](https://hivemagnus.com/guides/ardent-studio.md)'s Cognitive Lab is the browser caller of these routes. See [Lucent operator routes](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/ARDENT.md#lucent-operator-routes-studio-7), [reviewed extension packages](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/ARDENT.md#reviewed-extension-packages-on-managed-installations) and [native snapshots](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/NATIVE_SNAPSHOTS.md).

## Full instructions

- [Magnus installer](https://github.com/ChefTaco/magnus/tree/v4.4.0/packages/magnus)
- [Upgrading, including agents across a major version](https://github.com/ChefTaco/magnus/blob/v4.4.0/UPGRADING.md)
- [Per-node credentials](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/NODE_CREDENTIALS.md)
- [Node agent setup](https://github.com/ChefTaco/magnus/tree/v4.4.0/packages/agent)
- [Ardent agents, New Agent and the service bridge](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/ARDENT.md)
- [Lucent operator routes](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/ARDENT.md#lucent-operator-routes-studio-7)
- [Native snapshots](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/NATIVE_SNAPSHOTS.md)
- [Browser route inventory](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/console-api.md)
- [Cindertrace migration](https://github.com/ChefTaco/magnus/blob/v4.4.0/docs/CINDERTRACE_MIGRATION.md)
- [Repository instructions](https://github.com/ChefTaco/magnus/blob/v4.4.0/AGENTS.md)

## Source review

Reviewed 2026-11-14 against tag `v3.0.1`, commit `17331cff15b9d3de5010b56807ff72ad88acd03f`, the version Hive `v3.9.0` pins: the [README](https://github.com/ChefTaco/magnus/blob/v3.0.1/README.md), [per-node credentials](https://github.com/ChefTaco/magnus/blob/v3.0.1/docs/NODE_CREDENTIALS.md), [UPGRADING](https://github.com/ChefTaco/magnus/blob/v3.0.1/UPGRADING.md) (major-version rules, agent upgrades and problem codes), the [agent README](https://github.com/ChefTaco/magnus/blob/v3.0.1/packages/agent/README.md), the node key section of the [browser route inventory](https://github.com/ChefTaco/magnus/blob/v3.0.1/docs/console-api.md#node-key-administration), the [changelog](https://github.com/ChefTaco/magnus/blob/v3.0.1/CHANGELOG.md) from 2.10.0 to 3.0.1, `release/3.0.0.json` and `release/3.0.1.json` (no migrations, no new or removed settings, `minUpgradeFrom` 2.10.2), and the host agent's `npm-shrinkwrap.json`, which pins Ardent `3.1.3`. The installer README, fleet gateway README, `docs/ARDENT.md` and `docs/HERMES_REGISTRY.md` are unchanged from `v2.10.0`. Suite behavior follows Hive `v3.9.0` [UPGRADING](https://github.com/ChefTaco/hive/blob/v3.9.0/UPGRADING.md#magnus-300-node-keys-only), sections "Suite 3.9.0" and "Magnus 3.0.0: node keys only". The [3.0.1 release](https://github.com/ChefTaco/magnus/releases/tag/v3.0.1) is published; npm publishes `@hivemagnus/magnus` and `@hivemagnus/magnus-agent` 3.0.1 as `latest` and 2.10.3 as `maintenance-2.10`. The earlier review of 2.10.0, on the same date, is superseded. No installation command was run for this review. The standalone commands are unpinned: npm resolves `@hivemagnus/magnus` to its current `latest`, which may be newer than the suite pin. Follow current instructions for upgrades. License: Apache-2.0.

Release update, 2026-12-02: [Hive 3.22.0](https://github.com/ChefTaco/hive/releases/tag/v3.22.0). The host agent stages Ardent 3.9.0. Managed previews carry the variation lineage and evaluation settings. Run the suite post-upgrade step to update existing host agents. [Tagged release notes](https://github.com/ChefTaco/magnus/blob/v4.4.0/CHANGELOG.md)

Earlier release records for this guide are kept in the site repository's [magnus release records](https://github.com/ChefTaco/HiveMagnus/blob/main/docs/release-records/magnus.md); what each Magnus release changed is in its [changelog](https://github.com/ChefTaco/magnus/blob/main/CHANGELOG.md).
