System Readiness

View as Markdown

Use the system readiness report to inspect host prerequisites and OpenShell gateway authority before you run onboarding. The command works without a registered gateway or sandbox.

Run the readiness check

Run the human-readable check from the host:

nemohermes host probe

Use JSON when another tool consumes the result:

nemohermes host probe --json

Both presentations use the same structured report. The JSON report includes its schemaVersion, status, exitCode, observations, capabilities, qualifications, findings, evidence, and provenance. It also includes mutated: false.

Interpret exit codes

The command uses deterministic exit codes:

Exit codeStatusMeaning
0supportedRequired readiness checks passed, or the sole blocking finding is a Docker storage conflict with a supported remediation path.
2incompatibleA blocking or fatal finding prevents onboarding.
3inconclusiveNemoClaw could not determine a required capability.

The command writes a schema-valid JSON report for all three results. Read the report before you handle a nonzero exit.

Use the compatibility contract

The schemaVersion field uses major.minor.patch format. Consumers must reject an unknown major version. Consumers can ignore fields that they do not recognize within major version 1. Use stable capability and finding IDs instead of parsing human summaries. Treat bounded evidence as diagnostic context unless an observation, capability, or finding references that evidence ID.

Verify the Report Producer

Schema version 1.1.0 adds a required immutable identity for the CLI build that produced the report. The identity is present for supported, incompatible, and inconclusive reports.

FieldConsumer use
provenance.nemoclawVersionPublic version of the executing CLI build.
provenance.sourceRevisionFull immutable source revision of that build.
provenance.observedAtTime when the system observation started.

A Git-described version can use a value such as 0.0.96-35-g8bfff4526. The version must begin with three dot-separated digit groups. It can add an alphanumeric prerelease suffix after - and an alphanumeric build suffix after +; each suffix can also contain . and - separators. The revision after g must match the leading characters of sourceRevision. Packaged releases retain the full revision in their compiled build identity when Git metadata is unavailable at runtime.

A strict scenario must fail closed before it uses readiness facts. Apply these checks in order:

  1. Reject an unknown schema major version.
  2. Require schemaVersion 1.1.0 or later within schema major 1.
  3. Compare the leading X.Y.Z release identity in nemoclawVersion with the scenario minimum.
  4. If the scenario supplies an expected source revision, require a sourceRevision match.
  5. If nemoclawVersion has a Git revision suffix, require it to match sourceRevision.
  6. Require status: "supported" and retain the producer identity in the admission receipt.

An admission receipt can retain this bounded projection:

{
"readinessStatus": "supported",
"readinessProducer": {
"schemaVersion": "1.1.0",
"nemoclawVersion": "0.0.96-35-g8bfff4526",
"sourceRevision": "8bfff4526aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
}

Retain the full sourceRevision even when the scenario accepts every build above a minimum release. Do not use observedAt as build identity.

Interpret Docker storage

The report rejects an unsupported explicit DOCKER_HOST before it uses Docker daemon evidence. host.docker.host_invalid records whether the configured endpoint is invalid, host.docker.endpoint_supported is absent when a configured endpoint is not an absolute local unix:// socket, and the blocking host.docker.host_invalid finding identifies that condition. TCP, SSH, relative Unix socket, and unsafe path values do not fall back to the default Docker socket. When DOCKER_HOST is unset, NemoClaw first probes the Docker CLI’s selected authority, including DOCKER_CONTEXT and its DOCKER_CONFIG directory when set, without a host override. If that authority completes with an unreachable result, NemoClaw probes a bounded set of local Unix sockets and accepts only an endpoint with valid server-version evidence. On Linux, the set includes the rootless Docker socket at /run/user/<UID>/docker.sock. If the probe times out or cannot start, NemoClaw keeps the selected authority. host probe reports host.docker.probe_inconclusive; onboarding reports the docker_probe_inconclusive advisory with a command to verify that authority. When it selects a fallback socket, NemoClaw clears the unreachable DOCKER_CONTEXT so later Docker commands use the selected DOCKER_HOST. A mixed set of reachable Docker and Podman fallbacks, or a fallback with an unknown server identity, produces no automatic DOCKER_HOST override. When two reachable fallbacks identify as different engines, onboarding reports the blocking docker_authority_conflict advisory. The advisory names both sockets and their engines and provides a DOCKER_HOST command for the Docker socket. A reachable Podman endpoint remains classified as Podman and does not satisfy the standard Docker runtime requirement. For native rootless Podman on a qualified Linux host, set NEMOCLAW_GATEWAY_RUNTIME=podman before onboarding. Review the native Podman requirements before selecting that path.

The Docker storage capabilities separate the current host configuration from NemoClaw’s supported remediation path.

Capability IDResult represented
host.docker.storage_compatibleThe current Docker storage configuration supports nested overlay mounts without remediation.
host.docker.storage_remediation_availableNemoClaw can build a patched cluster image for a non-WSL Linux host using Docker with an overlayfs containerd-snapshotter conflict.

Use host.docker.storage_compatible when a consumer requires compatibility before mutation. The strict internal readiness report remains incompatible with exit code 2 until a consumer applies its operation-specific admission policy. Public NemoClaw lifecycle admission can accept either host.docker.storage_compatible or host.docker.storage_remediation_available. When remediation is available, host.docker.storage_compatible remains absent. If host.docker.storage_incompatible is the sole blocking finding and host.docker.storage_remediation_available is present, host probe publishes status supported and exit code 0. The public report retains host.docker.storage_incompatible as a warning. Any other blocking or fatal finding prevents this public projection. The public status indicates a supported remediation path, not that the current Docker storage configuration is compatible. The remediation capability does not prove that a later image build or gateway attachment succeeds. Use these storage capabilities when the lifecycle may create or recreate a gateway. Gateway attachment is a separate readiness decision.

Interpret platform qualification

Platform checks report stable capabilities and qualifications for the detected host. Each capability uses present, absent, or unknown.

Capability IDResult represented
host.platform.supportedThe combined host platform result.
host.platform.identity_consistentFirmware fields do not identify conflicting NVIDIA platform families or Station generations.
host.platform.linux_supportedLinux on x64 or arm64.
host.platform.macos_apple_siliconApple silicon with reachable Docker Desktop or Colima.
host.platform.wsl_runtime_availableReachable Docker Desktop or a qualification-backed provider that owns WSL runtime readiness.
host.platform.wsl_docker_desktopDocker Desktop integration in WSL.
host.platform.wsl_native_dockerNative Docker Engine inside WSL.
host.platform.wsl_gpu_passthroughA bounded CUDA proof from the selected Docker or provider-owned runtime.
host.platform.n1x_wslA proof-backed accepted N1x WSL GPU identity qualified through WSL on Linux ARM64 with an available NVIDIA GPU and a matching selected-provider CUDA proof. The accepted identities are listed below.
host.platform.dgx_sparkDGX Spark identity from firmware or a trusted FastOS marker on ARM64 with an available NVIDIA GPU.
host.platform.n1xN1x identity from the trusted FastOS marker and NVIDIA display PCI device on Linux ARM64 with an available NVIDIA GPU. This capability does not promote the Deferred platform status.
host.platform.dgx_station_hardwareStation GB300 firmware identity and an exact NVIDIA GB300 display-class PCI device.
host.platform.dgx_station_softwareA qualified Station software profile.
host.platform.dgx_station_runtimeLinux ARM64, Ubuntu 24.04, and an effective NVIDIA GPU.
host.platform.dgx_stationThe combined Station GB300 hardware, software-handling, and runtime result.

If the combined platform capability is absent and no more specific platform qualification finding applies, the blocking host.platform.unsupported finding identifies an unsupported host and runtime combination.

When firmware does not identify DGX Spark, NemoClaw can use a trusted /etc/fastos-release marker. The marker must be a regular file of 1 through 4,096 bytes, owned by UID and GID 0, and not a symbolic link. It must grant no group or world write access and contain no NUL or carriage-return byte. Its only NAME= line must be NAME="DGX SPARK FASTOS". A matching marker identifies DGX Spark; the ARM64 and available NVIDIA GPU requirements still apply. This identity check does not establish hardware qualification for an OEM system.

The report adds host.platform.wsl, host.platform.n1x_wsl, host.platform.dgx_spark, or host.platform.n1x qualifications when those platforms apply. For Station, it adds separate hardware, software, runtime, and combined qualifications. For WSL, Docker Desktop and a qualification-backed provider that owns host readiness are qualified, native Docker is unqualified, and an unrecognized reachable runtime is unknown. The host.platform.wsl_gpu_passthrough capability is present only after the selected provider’s bounded CUDA proof passes. It is absent when the proof fails or the host has no NVIDIA GPU, and unknown when the proof cannot run conclusively. The read-only host probe command does not pull or start the container-backed WSL GPU proof, so a host that needs that proof reports this capability as unknown. Onboarding can run the bounded proof only after its current host and gateway readiness checks admit the run.

The host.platform.n1x_wsl qualification applies when the bounded CUDA proof validates one GPU whose normalized NVIDIA identity is either NVIDIA RTX Spark N1X or NVIDIA RTX Spark N1X (6144-core Blackwell RTX GPU). It is qualified only for Linux ARM64 WSL with an available NVIDIA GPU and a successful proof whose provider identity matches Docker Desktop or the selected provider-owned runtime. The capability is present only when that qualification passes. Managed llama.cpp admission also requires host.platform.wsl_gpu_passthrough to be present, remains Docker Desktop-only, and cannot reuse an unproved GPU name. Windows-host Ollama also remains Docker Desktop-only; the provider-owned Podman path applies to WSL-local Ollama. The Windows chassis model is bounded diagnostic evidence only and does not establish N1x WSL identity.

DGX Station qualification separates hardware identity from software and runtime handling. The hardware capability requires a bounded firmware product, product-family, board, or device-tree value with separate Station and GB300 tokens. It also requires a display-class PCI device with NVIDIA vendor ID 0x10de and GB300 device ID 0x31c2 or 0x31c3. Conflicting recognized firmware fields make host.platform.identity_consistent absent and block platform support. The runtime capability requires Linux ARM64, Ubuntu 24.04, and an effective NVIDIA GPU. If /etc/dgx-release is absent, NemoClaw uses the qualified generic-ubuntu profile. If the marker exists, NemoClaw reads it only when it is a nonempty regular non-symlink file of at most 4096 bytes, owned by UID and GID 0, and not writable by group or other users. An unrecognized software profile leaves host.platform.dgx_station_hardware present but makes the software and combined Station qualifications unqualified. Invalid marker metadata, malformed or partial contents, an unrecognized version or build, or a conflicting DGX platform produce an unqualified qualification and the blocking host.platform.dgx_station_unqualified finding. An unreadable marker or missing required OS or PCI evidence produces an unknown qualification and the blocking host.platform.dgx_station_inconclusive finding. Both outcomes prevent host.platform.supported from becoming present. When available, host.platform.identity includes bounded firmware, CPU count, host memory, GPU count and memory, OS, release-name, build, OTA, and software-profile evidence. These capacity and display values are diagnostic evidence and do not replace the firmware and PCI hardware requirements.

Native N1x FASTOS identity qualification also fails closed. The host.platform.n1x capability is present only when the host runs Linux ARM64, reports an effective NVIDIA GPU, and both identity sources qualify. /etc/fastos-release must be a regular file of 1 through 4,096 bytes that is owned by UID and GID 0, is not a symbolic link, grants no group or world write access, contains no NUL or carriage-return byte, and contains exactly one NAME="N1x FASTOS" line. NemoClaw parses the marker as inert text and does not pin its VERSION value. A display-class PCI device must report NVIDIA vendor ID 0x10de. Generic DMI values do not satisfy either requirement.

A matching identity produces a qualified host.platform.n1x qualification, but host.platform.supported remains absent while N1x is Deferred. The blocking host.platform.n1x_validation_pending finding records the remaining physical NemoClaw Express E2E gate. After host.platform.n1x is present, accepting Express lets onboarding waive only that finding. Declining or disabling Express can apply the same waiver when no provider is preselected or the explicit provider is recognized and is not Local NVIDIA NIM. An invalid or Local NVIDIA NIM provider remains blocked. The read-only host probe report remains incompatible and does not apply that onboarding exception.

Invalid marker metadata, invalid or ambiguous contents, the wrong PCI identity, the wrong architecture, or an unavailable NVIDIA GPU produces an unqualified qualification and the blocking host.platform.n1x_unqualified finding. Unreadable marker or PCI evidence produces an unknown qualification and the blocking host.platform.n1x_inconclusive finding. Neither finding can be waived by onboarding intent. Bounded evidence appears under host.platform.identity with product, nvidiaPlatform, n1xCandidate, n1xFastOsMarker, and n1xPciGpu fields.

Interpret NVIDIA GPU Integration

GPU readiness distinguishes Jetson/Tegra Docker runtime integration from CDI-based NVIDIA GPU integration on other Linux hosts.

Stable IDKindResult represented
host.gpu.nvidia_runtimeObservationWhether Docker advertises an NVIDIA runtime when the detected GPU platform is Jetson/Tegra. It is present when advertised, absent when missing or when the check does not apply, and unknown when an applicable check lacks enough evidence. The host.gpu.nvidia_runtime_missing finding distinguishes a missing Jetson/Tegra runtime from an inapplicable check.
host.gpu.nvidia_availableCapabilitypresent when NemoClaw detects an NVIDIA GPU and absent otherwise.
host.gpu.container_toolkit_availableCapabilityNVIDIA container integration is available. On Jetson/Tegra, this capability is derived from Docker NVIDIA runtime evidence rather than CDI files. It is present when container integration checks do not apply.
host.gpu.cdi_healthyCapabilityApplicable CDI specifications are present and current. It is present when CDI checks do not apply, including Jetson/Tegra and Docker Desktop GPU integration in WSL.
host.gpu.nvidia_runtime_missingFindingBlocking: Docker NVIDIA runtime support is missing for Jetson/Tegra sandbox GPU.
host.gpu.container_toolkit_missingFindingBlocking: NVIDIA Container Toolkit is missing where toolkit integration applies.
host.gpu.cdi_missingFindingBlocking: an applicable NVIDIA CDI specification is missing.
host.gpu.cdi_staleFindingBlocking: an applicable NVIDIA CDI specification is stale.

Jetson/Tegra detection can use platform firmware and device evidence even when nvidia-smi is unavailable. Its remediation configures the Docker NVIDIA runtime and does not instruct the user to generate CDI files. An explicit CPU-only onboarding run can waive GPU integration findings for that run; host probe still reports the observed host state.

Interpret Gateway Readiness

Gateway readiness establishes one lifecycle authority before onboarding can create or change managed resources. The report covers both NemoClaw-managed and externally supervised gateways.

The gateway observations use these stable IDs:

Observation IDValues and meaning
gateway.management.modenemoclaw-managed lets NemoClaw manage the gateway lifecycle. externally-supervised limits NemoClaw to attachment and validation.
gateway.owner.nameThe canonical OpenShell gateway registration for later operations.
gateway.owner.sourcedeclared, packaged-service, or standalone, according to how NemoClaw resolved the authority.
gateway.owner.portThe host gateway port paired with the resolved registration.
gateway.attachmentverified, rejected, or unknown for external supervision. NemoClaw-managed gateways report not-applicable.
gateway.reusehealthy, missing, stale, active-unnamed, foreign-active, or unknown for managed gateways. External supervision reports not-applicable.
gateway.version_driftdetected, not-detected, or unknown for managed gateways. External supervision reports not-applicable.
gateway.port_conflictnone, occupied, multiple-owners, owner-mismatch, or unknown.

Each gateway capability uses present, absent, or unknown:

Capability IDResult represented
gateway.authority.resolvedNemoClaw resolved one lifecycle authority for the run.
gateway.attachment.validThe external attachment passed, or attachment does not apply to the managed mode.
gateway.reuse.readyThe managed gateway is reusable, no gateway exists yet, or reuse does not apply. An absent value can require managed reconciliation.
gateway.version.compatibleA positively identified managed gateway has source-bound version evidence that matches the installed OpenShell version, no managed gateway is running, or the check does not apply. Missing or unbound version evidence is unknown.
gateway.port.uncontestedThe gateway port has no incompatible or ambiguous owner.

Use finding IDs to handle gateway failures without parsing summaries:

Finding IDSeverityMeaning
gateway.authority.invalidBlockingNemoClaw could not resolve one lifecycle authority.
gateway.probe.inconclusiveWarningRequired gateway observations could not be collected.
gateway.attachment.effect_forbiddenBlockingAn operation conflicts with external lifecycle authority.
gateway.attachment.unreachableBlockingThe declared external gateway did not answer its health probe.
gateway.supervisor.inactiveBlockingThe declared external supervisor was not active.
gateway.ownership.mismatchBlockingThe listener identity did not match the declared supervisor.
gateway.ownership.unverifiedBlockingNemoClaw could not verify the listener identity.
gateway.ownership.multipleBlockingMore than one process could own the declared gateway port.
gateway.endpoint.port_mismatchBlockingThe declared endpoint port did not match the configured gateway port.
gateway.registration.failedBlockingNemoClaw could not verify the required OpenShell registration.
gateway.capability.unsupportedBlockingThis NemoClaw build does not implement a capability required by the declaration.
gateway.attachment.inconclusiveWarningThe external attachment probe did not establish a result.
gateway.reuse.staleWarningManaged gateway metadata requires reconciliation before reuse.
gateway.reuse.active_unnamedWarningA managed gateway is active without the expected named registration.
gateway.reuse.foreign_activeBlockingA different active gateway conflicts with the configured gateway.
gateway.reuse.inconclusiveWarningNemoClaw could not determine managed gateway reuse state.
gateway.version.driftBlockingThe running gateway version does not match the installed OpenShell version.
gateway.version.inconclusiveWarningNemoClaw could not determine gateway version drift.
gateway.port.multiple_ownersBlockingMultiple listeners claim the managed gateway port.
gateway.port.owner_mismatchBlockingA listener on the managed gateway port failed identity verification.
gateway.port.occupiedBlockingAn incompatible listener occupies the managed gateway port.
gateway.port.inconclusiveWarningNemoClaw could not establish gateway port ownership.

The report includes bounded evidence for the resolved owner and applicable attachment, port, collection, or stale-observation failures. When NemoClaw resolves the complete listener set, port-conflict evidence lists every listener by process name and PID, or by PID when no name is available. A stop command targets only listeners that fail ownership verification. NemoClaw does not provide a stop command for a verified managed listener. If NemoClaw resolves no listener, the diagnostic provides an lsof inspection command. It omits the gateway state directory, removes process environments, redacts credential-shaped content, bounds diagnostic length, and renders control characters visibly.

Managed gateway metadata is reusable only when its endpoint is bound to loopback on the configured gateway port. A legacy Docker proxy is accepted only when the active cluster container and its published host port establish the same target. For a direct Linux host-process gateway, version comparison runs only against an independently resolved binary whose path matches the listener’s kernel-backed executable identity. For a package service, the validated systemd ExecStart or official Homebrew formula binary must match the live executable before NemoClaw runs that trusted binary’s version command. NemoClaw samples the listener executable on both sides of identity checks and samples an external listener on both sides of its health request. A PID, executable, service, or listener change during that interval makes the result inconclusive instead of combining evidence from different processes. A service PID with missing or ambiguous executable evidence produces unknown version compatibility instead of comparing an unrelated CLI sibling.

An externally supervised declaration is authoritative. NemoClaw validates its endpoint, supervisor, listener identity, port, and required capabilities. NemoClaw does not start, stop, replace, or use a standalone fallback for that gateway. An owner mismatch, multiple listeners, or missing identity evidence blocks onboarding before managed lifecycle effects.

Understand Onboarding Admission

Onboarding consumes the same stable host and gateway entities as host probe. It applies an onboarding policy instead of treating the public report status as the only decision.

Fresh onboarding and authoritative rebuilds use this order:

  1. Resolve and validate gateway authority.
  2. Collect canonical host and gateway facts and reject blocking findings or unknown required capabilities.
  3. On a resumed agent change, retain the old router and durable provider state until the full preflight phase succeeds; only then stop the old router and commit the projected agent state.
  4. Apply only an explicitly permitted host remediation, if required, and replace the earlier observations.
  5. Run a bounded WSL GPU proof when required, then revalidate live host and gateway facts.
  6. Validate the effective GPU configuration before Docker bridge and container DNS probes that can start a short-lived container.
  7. Install or upgrade OpenShell when required. A successful install can change gateway authority only from managed standalone to packaged-service. NemoClaw records that transition before later effects.
  8. Revalidate gateway authority immediately before gateway selection, recovery, reconciliation, or other lifecycle effects.

The readiness gate runs before model-router cleanup, provider selection, credential registration, policy changes, image builds, or sandbox lifecycle effects. Host and gateway observations have a 30-second reuse window that starts when collection finishes. The readiness gate does not reject a collection for the time its own probes take. The gateway.owner evidence records the gateway collection duration as collectionMs. The readiness gate rejects an observation set that waits past the window for another collection. Onboarding then collects that set again instead of assigning a fresh timestamp to old facts. Bounded evidence for a rejected set appears under host.probe.stale or gateway.probe.stale with the applied windowMs and the measured ageMs. ageMs is null when the recorded time cannot be parsed or is later than the current time.

The policy permits only these narrow exceptions:

  • An explicit CPU-only sandbox mode makes NVIDIA GPU passthrough findings irrelevant to that run.
  • The experimental portable profile can prepare its rootless runtime after an initial admission check.
  • A NemoClaw-managed gateway can apply the documented Docker storage remediation when the report says it is available.
  • A NemoClaw-managed gateway can reconcile version drift after its ownership and port checks pass.
  • An explicit runtime path that does not use the standard Docker driver can admit its documented runtime exception.

The portable profile discards its earlier host and gateway observations after preparation. It collects both again before the runtime probes or later lifecycle effects. No other blocking finding or unknown required capability is waived.

Resume does not trust a cached preflight result for live host or gateway facts. It collects both again before a container-backed WSL GPU proof, GPU validation, or bridge and DNS probes. Explicit CPU-only intent skips the WSL GPU proof. The gateway phase validates authority again immediately before managed reconciliation or external attachment.

Authoritative rebuild preflight pins read-only probes to the recorded gateway without selecting, starting, or recovering it. Immediately before source deletion, the rebuild journal requires the complete gateway authority to match that preflight handoff. It accepts only one managed lifecycle change: a recorded package-managed service that now resolves as the standalone gateway. It carries the journaled authority into replacement onboarding. Refer to Declare the OpenShell Gateway Lifecycle Authority for the complete exception contract. Gateway recovery remains after the canonical readiness gate.

For external supervision, onboarding skips managed gateway selection, reuse refresh, cleanup, start, stop, replace, and standalone fallback paths. It attaches only after the current external authority passes the readiness checks.

Distinguish Sandbox Doctor

nemohermes <name> doctor remains a separate diagnostic workflow for an existing sandbox and its dependencies. Its report and exit behavior are not the system readiness JSON contract. An agent runtime can expose an explicit doctor --fix repair mode, while host probe cannot change state.

The Docker host check in doctor and the system readiness report share the same daemon-reachability semantics. Both require positive server-version evidence from JSON docker info output. They reject an exit-zero response that contains empty or error-only daemon data.

Understand the Read-Only Boundary

host probe observes the host and does not run remediation. Repeated runs do not change filesystem, service, Docker image or container, gateway, provider, credential, policy, or sandbox state. Read-only child processes receive a replacement environment containing only system variables, the selected OpenShell gateway, its validated local TLS directory when present, and a supported local Unix Docker socket when configured. Ambient provider, OpenShell, sandbox, and gateway credentials are not forwarded to those children. A future command that changes the host must use a separate mutating mode. That mode cannot run with --json probing.

The public report removes process environments and unrecognized fields from internal probe results. It redacts token-shaped values and credential-bearing URLs. It also limits finding summaries and command evidence before either presentation receives the report. It rejects a report that claims mutation and retains every blocking or fatal finding at the bounded public-report boundary.