Skip to content

feat(image): package what Hermes's API server, dashboard and browser chat need - #13971

Merged
cv merged 2 commits into
v1from
feat/hermes-interface-deps
Oct 29, 2026
Merged

cv merged 2 commits into
v1from
feat/hermes-interface-deps

Conversation

@cv

@cv cv commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Failure

NemoClaw can't offer Hermes's API server, dashboard, or browser chat (#13321). Fabric's Hermes adapter is to gain them as a service (NVIDIA/NeMo-Fabric#540), but the Hermes image couldn't serve them even then:

  • The API server needs aiohttp; the image installs Hermes's lock with only its mcp extra.
  • The dashboard needs Hermes's built web assets; the image had only the web/ source, so hermes dashboard tried to build them and stopped: Could not lock the web UI build: [Errno 30] Read-only file system.
  • Browser chat runs Hermes's built TUI bundle with Node.js; the image had no bundle, and Hermes resolves Node.js through its own package manager, which refused because lazy installs are disabled.

Decision

Package only what those interfaces need, without enabling any of them:

  • Python: install aiohttp and its six dependencies from Hermes's lock, through its messaging extra with the platform clients pruned, so hashes still come from the lock.
  • Frontends: copy only hermes_cli/web_dist and hermes_cli/tui_dist, the paths Hermes reads at runtime, from Hermes's published release image, pinned by digest in HERMES_IMAGE, as the OpenClaw image copies /app. The build mounts that image's /opt/hermes and stops unless every file it shares with the pinned release source matches, apart from the README.md its build empties. Comparing the whole tree avoids a list of source paths that changes between Hermes releases; copying the whole tree would bring its 2.3 GB of interpreters, browsers and toolchains, and replace the checksum-verified source.
  • Environment: HERMES_WEB_DIST and HERMES_NODE point Hermes at these assets and the image's Node.js instead of building or installing its own.
  • Qualification: cargo images qualify fails a Hermes image without aiohttp, the dashboard at HERMES_WEB_DIST, or the TUI bundle and Node.js at HERMES_NODE.

Unchanged: no interface is enabled, the adapter declaration still lists no binaries, and NemoClaw's configuration is untouched; #13969 tracks enabling them after Fabric#540. Building the frontends from Hermes's npm lock was the alternative; it adds about 1,400 npm packages to the build for the same output.

Costs and open points:

  • The image grows by about 5 MB; the build pulls Hermes's image, about 1.1 GB compressed.
  • The dashboard's minified bundle doesn't carry license texts for the npm packages compiled into it; the TUI bundle keeps 12 @license comments, and Hermes's own image ships no notices for either. A maintainer should decide whether release needs notices generated from package-lock.json.
  • With aiohttp present, Hermes's messaging senders no longer fail for lack of it; they still need platform credentials and network policy.

Refs #13969.

Validation

  • Test first: cargo test -p nemoclaw-build --no-default-features --test integration qualify. The new test failed before the qualifier change and passes after it.
  • IMAGE_PREFIX=nc-hidep cargo images build --platform linux/arm64 hermes builds, including the whole-tree comparison. Run against a copy of the release source with one changed file, the comparison rejects it; against the unchanged source, it accepts. cargo images qualify nc-hidep:hermes passes; the previous Hermes image fails with all three problems, and a build without the two environment variables failed the dashboard and TUI checks.
  • In the built image, offline, read-only, as 10001 with only /sandbox writable: Hermes's API server module reports AIOHTTP_AVAILABLE True; hermes dashboard serves /api/health, /, a script asset and /chat with status 200 from HERMES_WEB_DIST; Hermes's TUI launcher selects /usr/local/bin/node with hermes_cli/tui_dist/entry.js, and the bundle renders in a PTY. Fabric's Hermes adapter imports.
  • cargo ci passed: formatting, Clippy, build, tests, schema, bundle and lifecycle.
  • cargo ci live-docker passed; its suites don't run the Hermes image.
  • cargo run --locked -p nemoclaw-build -- fern check: 0 errors, 1 warning, with Node.js 25.9 locally rather than 24.22.1.
  • Deferred to CI: the AMD64 image build; only ARM64 was built locally.
  • Not run: a live Hermes invocation, which needs a hosted credential; no live suite runs the Hermes image without one.

…chat need

The Hermes image now installs aiohttp from Hermes's lock and copies Hermes's built dashboard and TUI bundle from its release image, after checking their sources match the pinned release. cargo images qualify checks a Hermes image carries them.

Refs #13969
@cv

cv commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator Author
Authoring session — opening
Field Status Value Evidence or limit
Harness recorded Pi coding agent Session metadata
Skills recorded nemoclaw-contributor-create-pr (complete read) Skill reads to cutoff
Instruction files recorded AGENTS.md (injected); WRITING.md (complete read) Startup injection and reads to cutoff
Tool calls recorded typescript: 141 Includes 7 failed calls; each call wraps nested host calls the count doesn't show
Session window recorded 2026-10-29T09:53Z to 2026-10-29T11:15Z; 82 min First event to cutoff, including idle time and the investigation before the change
Compactions recorded 0 Complete record to cutoff; 41 tool results were elided, not compacted
Models recorded claude-opus-5-5 Model change events; no changes
Reasoning levels recorded high Thinking-level events; no changes

@github-actions

Copy link
Copy Markdown
Contributor

@wscurran wscurran added area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance integration: hermes Hermes integration behavior v1 NemoClaw v1 branch labels Oct 29, 2026
… built directories

Instead of comparing listed frontend source paths, the build mounts Hermes's release image and requires every file it shares with the pinned source to match, apart from the README.md its build empties. It copies hermes_cli/web_dist and hermes_cli/tui_dist, the paths Hermes reads at runtime.
@cv
cv merged commit 1cc1d1d into v1 Oct 29, 2026
58 of 60 checks passed
@cv
cv deleted the feat/hermes-interface-deps branch October 29, 2026 18:26
cv added a commit that referenced this pull request Nov 11, 2026
…ms (#14413)

The release notes now list every user-visible change on `v1` since the
`v0.1.0-rc9` tag, including the breaking ones, and four example pages
drop claims that later changes made false.

## Problem

`docs/about/release-notes.md` listed three breaking changes and none of
the features, fixes, and onboarding changes that reached `v1` after
`v0.1.0-rc9`; it didn't name the configuration shapes the parser now
rejects or the intent record version `v0.1.0-rc9` writes.
Some example claims went stale:

- `examples/spark/README.md` said the pinned OpenShell has the Podman
TLS initialization blocker, ai-openshell/openshell#3427; its fix merged before
OpenShell 0.1.0, and `v1` pins 0.1.7.
- `examples/station/README.md` and `examples/gtc-dc/README.md` required
exactly one visible GPU on the host; since #13929,
`container.gpuDevices` lets a service on a host with more GPUs request
one.
- `examples/hcl/travel-team` said Fabric's Deep Agents adapter can't
turn reasoning off, NVIDIA/NeMo-Fabric#433; NVIDIA/NeMo-Fabric#439 fixed
that, and the pinned catalog's Deep Agents `reasoning_effort` accepts
`none`.
- The travel team cited #13313 for the booking key its service doesn't
receive, but #13313 closed when `openshell_api` landed.

## Change

- `docs/about/release-notes.md` gains "Changes Since v0.1.0-rc9",
grouped by area, from the commits in `v0.1.0-rc9..origin/v1`; where a
later commit changed an earlier one, the entry describes the current
code, and changes added and removed after the tag aren't listed:
- Agents and interfaces: #14037, #14038, #14269, #13981, #14024, #14186,
#14052, #14385, #13971, #13858, #13947, #14039, #14042, #14044, #14343.
- Inference: #13929, #14391, #14396, #14398, #14400, #13963, #13912,
#13964, #14388, #14390, #14397.
- Gateways and Kubernetes: #13909, #13970, #13922 (an existing
namespace, refused at plan by #13756, is now bound; cluster-wide reads
dropped), #14014, #14169, #13921.
- Plan, apply, and diagnostics: #14224, #13756, #14141, #14133, #14135,
#13775, #13744, #13701.
- Onboarding: #13693, #13695, #13741, #13757, #13851, #13978, #14228,
#14233, #14334, #14336.
- Examples and builds: #14166, #14184, #14188, #14191, #14192, #14200,
#13889, #14267, #14312, #14315, #14355, b30e9b4, #13781, #13813,
#14246, and the pins in `versions.json` and `image/fabric/Dockerfile`.
- Its breaking changes since the tag:
- the intent record moving from 15, which `v0.1.0-rc9` writes, through
16 (#14266), 17 (#14343), 18 (#13929), 19 (#14391) and 20 (#14394);
  - name-keyed `sandboxes` and `inferenceProviders` (#13703, #13705);
- a recipe `compatibility.gpu` outside every hardware profile (#13912);
- model tuning the adapter doesn't accept (#14111), and Hermes's
`max_tokens` losing its default (#14296);
  - `skills.paths` resolution (#14296);
  - endpoint and `networkCIDR` validation (#13847, #14081);
- the HCL `gateway_values` attribute (#14014), and Kubernetes ownership
receipts from before #13922 and #14014.
  The two earlier items stay, under their own heading.
- `examples/spark/README.md` replaces the closed OpenShell#3427 blocker
with the Podman and remote-model limits in `docs/resources/limits.md`.
- `examples/station/README.md` and `examples/gtc-dc/README.md` require
one GPU visible in the model container, and point to
`container.gpuDevices` for a host with more.
- `examples/hcl/travel-team/README.md` and `WALKTHROUGH.md` drop the
NeMo-Fabric#433 limitation, and the travel team's booking-key statements
link #14417 instead of #13313.

Not listed, because both changes landed after the tag: Deep Agents Code
(#14043, #14250), `compatibility.gpuCount` (#14391, #14394), and the
"Creating infrastructure state" progress step (#14169, #14248).

Checked and left unchanged: the root `README.md`,
`crates/nemoclaw-onboarding/README.md`,
`crates/nemoclaw-cli/assets/README.md`, `internal-docs/README.md`, the
other example READMEs, and every example YAML header comment. The GPU
autoscaling README and `load.sh` read the JSON fields `OperationResult`
serializes, and ai-openshell/openshell#4287 is fixed only after the pinned
0.1.7. The two pre-tag release-note items still match the schema and
SDK. `docs/README.md` is left to #14412, which retires the stale field
reference snapshot it describes.

Not verified: whether Hermes sends the booking key's placeholder to MCP
servers; #14417 tracks the live check.

## Beyond CI

Each relative link and anchor in the changed files resolves to an
existing file and heading.
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: packaging Packages, images, registries, installers, or distribution chore Build, CI, dependency, or tooling maintenance integration: hermes Hermes integration behavior v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants