Skip to content

[Epic] Qualify Hermes as an experimental portable agent on rootless Podman #9211

Closed as not planned
5 of 5 issues completed
Closed as not planned

Description

@senthilr-nv

Outcome

Hermes is an agent-specific experimental Portable capability on one defined Linux and rootless Podman matrix.

A qualifying run uses one durable current-user Podman authority and Hermes-specific startup, health, authentication, policy, state, recovery, and cleanup contracts. This Epic does not widen the OpenClaw Portable predicate or establish production Podman-provider support.

Product decision

  • This Epic owns experimental Hermes Portable qualification.
  • OpenClaw Epic [Epic] Complete the experimental portable OpenClaw golden path on rootless Podman #9200 remains independent and may close without this Epic.
  • [Epic] Support native Podman with buildless managed onboarding #7744 remains the authority for production Podman-provider architecture and support.
  • Hermes uses its own lifecycle strategy. Do not widen the OpenClaw predicate.
  • Passing deterministic tests or one field run is evidence. It is not a support decision.
  • Hermes must consume the shared Personal-profile policy owner and its mandatory personal-open-internet policy. Hermes must not duplicate the preset or policy composition.
  • ACP package and import availability in a Hermes image does not establish ACP support. This Epic does not qualify ACP sessions, editor compatibility, workspace mapping, transport, or authorization.

Accepted qualification matrix

Each implementation candidate and field result must bind to one commit SHA. Do not combine evidence from different revisions or matrices.

The accepted initial matrix is:

  • Ubuntu 22.04 x86_64 with cgroups v2;
  • CPU available through the current user's app.slice before NemoClaw starts;
  • rootless Podman 5.7.0 through the current-user socket;
  • Node.js 22.19.0 or newer within the repository's Node.js 22 contract;
  • the OpenShell and Hermes versions pinned by the tested NemoClaw commit;
  • local Ollama with qwen3-vl:4b for the first credential-free inference qualification;
  • one NVIDIA L40S GPU-enabled run and one separate --no-sandbox-gpu run.

A Docker client or daemon may exist as unrelated host state. Qualification must:

  • record the Docker socket authority and a credential-free inventory before NemoClaw changes the host;
  • reject any preexisting NemoClaw-managed or OpenShell-managed Docker artifact;
  • clear ambient Docker and Podman selectors before product commands;
  • bind all Hermes receipts and product containers to the qualified current-user Podman socket;
  • require Docker containers, images, volumes, and user-defined networks to remain unchanged;
  • compare built-in Docker networks by stable semantics across a verified reboot;
  • reject Docker fallback, a product-owned Docker artifact, authority ambiguity, or unexplained Docker mutation.

Do not stop, start, delete, reconfigure, or change permissions on an unrelated Docker service or socket.

Accountable ownership

Delivered foundation

Current status — 2026-08-24

GitHub-Verified main is ffb09d2596fb2658f8dff881d5e1e425dd1767d6 with verification reason valid at this update.

Experimental activation remains blocked. No complete field result exists for this main commit.

Merged PR #10006 removed --chmod from checksum-pinned remote ADD instructions. Historical Brev evidence at 0e9fd51c493679cdbd513e17e3f3dfa593aad46b failed on that exact instruction. That result remains historical evidence and does not qualify current main.

PR #10023 is the active implementation candidate. At latest PR commit bf852f6d3c97aaf77431d70009e19ae174bf2eed, it:

  • removes the remaining BuildKit-only RUN options from the Portable staged Dockerfile;
  • rejects unsupported remote ADD, local COPY, and RUN options before context reservation;
  • stages and builds the Hermes image in the protected rootless-Podman check;
  • binds builder child processes to the qualified rootless Podman socket;
  • settles OpenShell Ready publication under one total deadline;
  • adds UID-agnostic rootless regression coverage.

At this update, GitHub reports APPROVED review state and UNSTABLE merge state. The static-checks, build-typecheck, and cli-test-shards (8) checks fail. Other checks remain in progress. Exact-candidate admission has not passed.

The next field activity is one non-qualifying diagnostic rehearsal on at most one new diagnostic VM after exact-candidate admission passes. It must exercise every applicable lifecycle checkpoint, group reachable sibling failures by root cause, and produce no qualification or support claim. Retained failed VMs remain evidence only and must not be reused.

Fresh GPU-enabled and --no-sandbox-gpu qualification runs may start only after the diagnostic rehearsal passes, the accepted correction merges, and both runs bind to one GitHub-Verified main commit.

Current implementation boundary

Current source owners include:

  • src/lib/onboard/experimental/hermes-portable-receipt.ts for schema-5 receipt parsing and publication;
  • src/lib/onboard/experimental/hermes-portable-onboarding.ts for the enrollment transaction;
  • src/lib/onboard/experimental/hermes-portable-lifecycle.ts and portable-agent-lifecycle.ts for receipt-owned lifecycle operations;
  • src/lib/onboard/experimental/hermes-portable-podman-authority.ts for current-user rootless Podman authority;
  • src/lib/onboard/experimental/hermes-portable-policy-authority.ts for effective-policy evidence;
  • src/lib/onboard/experimental/hermes-portable-build-context.ts and hermes-portable-build-context-files.ts for build-context custody;
  • src/lib/onboard/experimental/hermes-portable-ollama-inference.ts and its runtime-provider owners for managed Ollama startup and recovery;
  • src/lib/actions/uninstall/portable-runtime-cleanup.ts and src/lib/state/portable-uninstall-retirement.ts for shared retirement admission;
  • the schema-5 uninstall transaction delivered through PR fix(uninstall): retire Hermes Portable schema-5 authority #9903 for Hermes-owned sandbox, provider, inference, receipt, and registry retirement.

The implementation supports the complete schema-5 lifecycle. The accepted matrix still requires protected field evidence before activation.

Architecture and security boundaries

  • Preserve schemas 1 through 4 as OpenClaw receipts. Schema 5 is agent-discriminated Hermes authority.
  • Bind agent=hermes, phase, socket identity, full container ID, required OpenShell labels, lifecycle generation, source and image fingerprints, startup descriptor, health descriptor, effective policy identity, and sandbox registry identity.
  • Treat sandbox names as metadata. Never use a name alone as mutation authority.
  • Reject an unknown schema, agent, or phase; duplicate receipts; short IDs; replaced sockets; duplicate or missing containers; label or generation drift; and receipt-registry-live disagreement before mutation.
  • Do not use Docker discovery, Docker GPU patching, Docker orphan cleanup, ambient DOCKER_HOST, or Docker fallback for a Podman-owned Hermes container.
  • Use the manifest-owned startup command, port 8642 authenticated /health, device_pairing=false, and /sandbox/.hermes state.
  • Hold one lifecycle lock across each authorized state transition. Revalidate authority before every mutation.
  • Publish receipt and policy files with bounded UTF-8, private ownership and mode, no symlinks, no hard links, O_NOFOLLOW, durable replacement, and crash-safe recovery.
  • Keep credentials, Bearer tokens, pairing state, command output, and raw policy material out of logs and artifacts.
  • Keep dashboard observations separate from probe, health, TUI, chat, and inference acceptance.
  • Do not edit administrator-owned systemd or cgroup configuration, invoke automatic sudo remediation, weaken CPU limits, or write cgroup files.

Remaining capability slices

Slice 2: Schema-5 receipt-owned retirement and uninstall — delivered

Owner: #9608, delivered through PR #9903.

Outcome: NemoClaw has deterministic schema-5 uninstall and recovery coverage. PR #9870 separately preserves Bedrock adapter evidence when shutdown fails.

Remaining evidence: exercise the delivered transaction in the protected field journey. Prove interruption recovery, a second no-op uninstall, final absence, and preservation of unrelated Docker and Podman resources.

Slice 3: Current-main Hermes proof of life

Outcome: fresh dedicated Brev VMs verify the public Hermes Portable path on one GitHub-Verified main commit.

Required evidence:

  • reviewed host preparation, real reboot, and post-reboot admission;
  • current-user Podman authority and unchanged unrelated Docker state;
  • onboarding 8/8 and OpenShell Ready;
  • schema-5 receipt, registry, socket, container, labels, lifecycle generation, and fingerprints agree;
  • nemohermes <name> connect --probe-only exits 0;
  • nemohermes launch <name> reaches the reviewed Hermes TUI marker;
  • authenticated /health, one prompt-correlated response, and one real inference request pass as separate facts;
  • repeated launch timing is recorded as measurement only;
  • stop and start preserve the full container ID and Hermes state;
  • a real host reboot requalifies the socket and recovers the same receipt-owned container;
  • full uninstall removes only receipt-owned Hermes resources;
  • a second completed uninstall performs no mutation and exits successfully;
  • final absence checks preserve unrelated Docker and Podman resources;
  • one L40S GPU-enabled run and one separate --no-sandbox-gpu run pass.

Slice 4: Activation decision

Outcome: maintainers review the complete evidence and record whether the experimental capability can be activated.

Required evidence:

  • independent nine-category security review binds to the tested implementation;
  • documentation writer review binds to the final user-facing wording;
  • CI, image provenance, Portable Profile, and protected field evidence are accepted or have recorded dispositions;
  • maintainers record the final experimental wording and activation decision on this Epic.

Delivery order

  1. Resolve the failing and pending checks on the exact latest PR commit for fix(hermes): remove BuildKit-only Portable runs #10023, or accept a replacement correction.
  2. Run one non-qualifying diagnostic rehearsal through every applicable lifecycle checkpoint. Do not use a retained failed qualification VM.
  3. If the rehearsal finds a defect, inspect all sibling paths in the same state transition. Use one coherent correction for each root-cause group. Do not open one PR for each field symptom.
  4. Merge fix(hermes): remove BuildKit-only Portable runs #10023 and any accepted diagnostic correction. Reread GitHub-Verified main and complete the narrow composition review.
  5. Obtain acceptable current-main CI, Hermes image, and Portable Profile evidence. Record separate dispositions for unrelated platform failures.
  6. Run the complete L40S GPU-enabled journey on one fresh dedicated VM.
  7. Run the separate --no-sandbox-gpu journey on another fresh evidence identity.
  8. Record security, documentation, and maintainer activation decisions.

A new main commit invalidates an unstarted evidence identity. A latest PR commit change invalidates unstarted diagnostic evidence. A semantic overlap requires a new narrow review before mutation.

Activation gates

Constraints and non-goals

Work tracking

Category

Platform

Sub-issues

Sub-issues

5 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. self-assigned this
    on Aug 15, 2026
  2. added
    integration: hermes
    area: onboarding
    area: sandbox
    platform: container
    on Aug 15, 2026
  3. added theissue type on Aug 15, 2026
  4. senthilr-nv commented on Aug 19, 2026

    @senthilr-nv
    CollaboratorAuthor

    Portable Hermes live qualification update — local inference startup

    A clean Ubuntu 22.04 L40S run reached provider selection after the #9577 network-collision and #9587 gateway-overlap markers were absent. The run then stopped before sandbox creation.

    Fresh Portable onboarding selected ollama with qwen3-vl:4b and disabled host Ollama autostart. The production provider flow supplied no host-local Podman inference selection, so the legacy localhost Ollama readiness gate exited. The rootless Podman registry was the only product container. The default Docker daemon remained unchanged and contained no NemoClaw or OpenShell artifacts.

    Bug #9596 now owns the provider-startup defect. Live qualification remains paused until a reviewed #9596 correction is available. The next run will test one exact revision with the separate #9577 and #9587 corrections and will preserve Podman-only authority.

  5. 9 remaining items

  6. added
    area: security
    and removed on Oct 29, 2026
  7. wscurran commented on Nov 17, 2026

    @wscurran
    Contributor

    Hi @senthilr-nv, thanks for organizing the Portable Hermes work. We’re planning an updated architecture for NemoClaw, so we’re closing this experimental rootless Podman activation plan for the earlier implementation as not planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: onboardingarea: sandboxarea: securityintegration: hermesplatform: container

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions