Skip to content

fix(hermes): surface upstream provider and clarify onboard menu - #5010

Merged
cv merged 7 commits into
mainfrom
fix/hermes-onboard-upstream-visibility
Jun 9, 2026
Merged

cv merged 7 commits into
mainfrom
fix/hermes-onboard-upstream-visibility

Conversation

@laitingsheng

@laitingsheng laitingsheng commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Two NemoHermes onboard/config visibility fixes. Record the upstream NemoClaw provider name and model as a _nemoclaw_upstream annotation block inside the Hermes sandbox config.yaml (with a matching YAML comment header) so cat config.yaml and the documented grep -E 'provider|model|api_mode' test pattern reveal the actual upstream route alongside Hermes' proxy-routing provider: custom tag. Rename the onboard inference-options header to Select your inference provider: and expand the Hermes Provider menu label to list the Nous portal model families, so QA scripts can match the documented header and discover the Hermes-only families without selecting the entry first.

Related Issue

Fixes #4972
Fixes #4973

Changes

Hermes config upstream visibility (#4972)

  • Emit _nemoclaw_upstream: { provider, model } from buildHermesConfig at image build time, sourced from NEMOCLAW_PROVIDER_KEY and NEMOCLAW_MODEL.
  • Set the same block from patchHermesInferenceConfig on every nemoclaw inference set so the annotation stays current after host-initiated routing changes.
  • Prepend a deterministic YAML comment header (# Managed by NemoClaw — Hermes configuration, upstream provider, upstream model, proxy-rewrite note) on both write paths via a shared buildHermesUpstreamHeader helper, mirrored in src/lib/sandbox/config.ts because tsconfig.src.json rootDir blocks an agents/ import and the Hermes Dockerfile context cannot reach src/.

Onboard provider menu clarity (#4973)

  • Replace the Inference options: header with Select your inference provider: so existing QA scripts (awk '/Select your inference provider:|Choose \[/,/^$/') match the documented contract.
  • Rename the Hermes Provider menu label to Hermes Provider (Moonshot, Z-AI, MiniMax, Qwen, Xiaomi, …) so the Nous portal model families are discoverable at the menu level rather than only inside the model picker.

Tests

  • Build-time generator: assert the _nemoclaw_upstream block and the raw YAML comment header on config.yaml.
  • Runtime patcher: assert the _nemoclaw_upstream block survives nemoclaw inference set.
  • Provider helpers: assert the renamed Hermes Provider label still starts with Hermes Provider and advertises all five named families.
  • Onboard selection sweep: assert every scenario emits the Select your inference provider: header.

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Verification

  • `npx prek run --all-files` passes
  • `npm test` passes
  • Tests added or updated for new or changed behavior
  • No secrets, API keys, or credentials committed
  • Docs updated for user-facing behavior changes
  • `npm run docs` builds without warnings (doc changes only)
  • Doc pages follow the style guide (doc changes only)
  • New doc pages include SPDX header and frontmatter (new pages only)

Signed-off-by: Tinson Lai [email protected]

Summary by CodeRabbit

  • New Features

    • Hermes configs now include upstream metadata and generated YAML sandbox/config files are prefixed with a “Managed by” upstream header when applicable.
  • UX Improvements

    • Onboarding prompt updated to “Select your inference provider:”.
    • Hermes provider menu label expanded to enumerate supported model-family names.
  • Tests

    • Added tests validating header content, sanitization, length limits, parity, and safe YAML/JSON output.

@coderabbitai

coderabbitai Bot commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: fe445d11-18dd-400b-9e82-eda108ec8807

📥 Commits

Reviewing files that changed from the base of the PR and between 46e64b4 and 0fe97b3.

📒 Files selected for processing (1)
  • src/lib/onboard/dockerfile-patch.test.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/lib/onboard/dockerfile-patch.test.ts

📝 Walkthrough

Walkthrough

This PR records the selected upstream inference provider and model in Hermes configs (_nemoclaw_upstream), generates a sanitized managed comment header for Hermes YAML outputs, and propagates the upstream provider through Docker build args and sandbox config writers.

Changes

Hermes Upstream Metadata and Header

Layer / File(s) Summary
Build environment setup for upstream provider
agents/hermes/Dockerfile, agents/hermes/config/build-env.ts, src/lib/onboard/dockerfile-patch.ts
Dockerfile adds NEMOCLAW_UPSTREAM_PROVIDER build arg and runtime env var; HermesBuildSettings reads it with fallbacks to NEMOCLAW_PROVIDER_KEY and "custom"; staged Dockerfile patch injects the computed upstream provider into generated Dockerfiles.
Metadata schema and config population
agents/hermes/config/hermes-config.ts, src/lib/actions/inference-set.ts
buildHermesConfig adds _nemoclaw_upstream object with provider and model; patchHermesInferenceConfig populates the upstream fields from the selected provider/model before applying model config updates.
Header generation with sanitization
agents/hermes/config/upstream-header.ts, src/lib/sandbox/hermes-upstream-header.ts
Two parallel implementations of buildHermesUpstreamHeader sanitize provider/model by stripping C0/C1 control characters and truncating to 128 characters, returning either empty string or a managed comment header with optional upstream provider/model lines; parity/security tests added.
Config writers prepend upstream header
agents/hermes/config/write-config.ts, src/lib/sandbox/config.ts
writeHermesConfig imports and prepends buildHermesUpstreamHeader output before YAML; sandbox writer routes through new composeSandboxConfigBody helper that conditionally prepends the header for hermes+yaml targets only; export list updated.
Validation, parity, and security testing
src/lib/actions/inference-set.test.ts, test/generate-hermes-config.test.ts, src/lib/sandbox/hermes-upstream-header.parity.test.ts, src/lib/onboard/dockerfile-patch.test.ts, src/lib/sandbox/compose-sandbox-config-body.test.ts
Tests verify _nemoclaw_upstream is populated in configs; generated config.yaml starts with managed header; agent and host header implementations return identical output; control-character injection attacks are prevented; output line lengths are bounded; dockerfile-patch correctly writes upstream provider; compose-sandbox-config-body prepends header only for hermes+yaml and parses back correctly.
Onboarding label and prompt updates
src/lib/onboard.ts, src/lib/onboard/providers.ts, src/lib/onboard/hermes-provider-label.test.ts
Inference provider selection prompt updated from "Inference options:" to "Select your inference provider:"; Hermes provider label expanded to enumerate supported model families (Moonshot, Z-AI, MiniMax, Qwen, Xiaomi, Tencent, StepFun, xAI, Arcee); new test validates Hermes provider menu contract.

Sequence Diagram:

sequenceDiagram
  participant Onboard as Onboard/BuildEnv
  participant ConfigBuilder as buildHermesConfig
  participant HeaderBuilder as buildHermesUpstreamHeader
  participant Writer as writeHermesConfig/composeSandboxConfigBody
  Onboard->>ConfigBuilder: provide upstreamProvider + model
  ConfigBuilder->>HeaderBuilder: read config._nemoclaw_upstream
  HeaderBuilder->>Writer: return sanitized header string
  Writer->>Sandbox: write final config.yaml (header + body)
Loading

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly Related PRs

  • NVIDIA/NemoClaw#4854: Both PRs modify patchHermesInferenceConfig in src/lib/actions/inference-set.ts and associated tests—this PR adds _nemoclaw_upstream injection.
  • NVIDIA/NemoClaw#4847: Both PRs touch Hermes runtime inference configuration in src/lib/actions/inference-set.ts—this PR adds upstream metadata while the retrieved PR updates api_mode/route selection.
  • NVIDIA/NemoClaw#4402: Both PRs modify buildHermesConfig in agents/hermes/config/hermes-config.ts—this PR adds _nemoclaw_upstream metadata while the retrieved PR adjusts model api_mode handling.

Suggested Labels

area: inference

Suggested Reviewers

  • cv
  • prekshivyas

Poem

🐰 A tiny header hops on top,
Provider, model — no YAML drop,
Sanitized lines, short and neat,
No sneaky smuggled key to cheat,
From build to sandbox, truth takes flight.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 15.38% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately describes the main changes: surfacing the upstream provider in Hermes config and clarifying the onboard menu header and labels.
Linked Issues check ✅ Passed The PR successfully addresses both linked issues: #4972 (surface upstream provider/model in config.yaml via _nemoclaw_upstream annotation and YAML header) and #4973 (clarify onboard menu with 'Select your inference provider:' header and expanded Hermes Provider label listing supported families).
Out of Scope Changes check ✅ Passed All changes are directly scoped to the objectives: adding _nemoclaw_upstream tracking, building upstream headers, updating onboard prompts/labels, adding comprehensive tests, and Dockerfile/build-env configuration. No unrelated modifications detected.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/hermes-onboard-upstream-visibility

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

E2E Advisor Recommendation

Required E2E: hermes-e2e, hermes-inference-switch-e2e, hermes-anthropic-inference-switch-e2e, hermes-secret-boundary-e2e
Optional E2E: hermes-root-entrypoint-smoke-e2e, rebuild-hermes-e2e, ubuntu-repo-cloud-hermes

Dispatch hint: hermes-e2e,hermes-inference-switch-e2e,hermes-anthropic-inference-switch-e2e,hermes-secret-boundary-e2e

Auto-dispatched E2E: hermes-e2e, hermes-inference-switch-e2e, hermes-anthropic-inference-switch-e2e, hermes-secret-boundary-e2e via nightly-e2e.yaml at 0fe97b3a43d4fbbb1d38e55903fb99b682a4bd22 — nightly run

Workflow run

Full advisor summary

E2E Recommendation Advisor

Base: origin/main
Head: HEAD
Confidence: high

Required E2E

  • hermes-e2e (high; builds/onboards Hermes sandbox and uses NVIDIA_API_KEY): Validates the full install/onboard --agent hermes path, real Hermes sandbox startup, health checks, config generation, and live inference after the Dockerfile/config-generator/onboard-provider changes.
  • hermes-inference-switch-e2e (high; live Hermes sandbox with NVIDIA_API_KEY): Directly exercises nemohermes inference set against a running sandbox, including Hermes config.yaml mutation, OpenShell route update, config hash recomputation, and live requests after the switch.
  • hermes-anthropic-inference-switch-e2e (high; live Hermes sandbox with mocked compatible Anthropic switch): Covers the Anthropic Messages route/API-family branch touched by the Hermes inference config change, ensuring api_mode, base_url, route metadata, and agent traffic remain correct for compatible Anthropic providers.
  • hermes-secret-boundary-e2e (medium; Docker image build and hermetic secret-boundary checks): Builds the real Hermes image and validates that generated sandbox env/config do not expose raw secret-shaped values. This is required because the PR changes Hermes Dockerfile build args and config.yaml serialization near the credential boundary.

Optional E2E

  • hermes-root-entrypoint-smoke-e2e (medium; Docker image startup smoke): Useful focused confidence for the real Hermes image startup path after Dockerfile/config-copy changes, although hermes-e2e already covers a full onboarded sandbox.
  • rebuild-hermes-e2e (high; install plus Hermes rebuild flow with NVIDIA_API_KEY): Optional lifecycle coverage for Hermes rebuilds preserving/upgrading config after Dockerfile and generated config changes.
  • ubuntu-repo-cloud-hermes (high; scenario onboarding and live NVIDIA inference): Typed scenario-runner coverage for the canonical Ubuntu repo checkout Hermes cloud onboarding path; useful as an independent scenario harness check in addition to nightly hermes-e2e.

New E2E recommendations

  • Hermes upstream annotation/header (high): Existing E2E switch/onboard tests validate model/base_url/api_mode but do not appear to assert that config.yaml contains the new _nemoclaw_upstream object and grep-friendly header after initial onboard and after nemohermes inference set.
    • Suggested test: Extend test/e2e/test-hermes-inference-switch.sh and/or test/e2e/test-hermes-e2e.sh to assert that /sandbox/.hermes/config.yaml starts with the NemoClaw header and that header/provider/model plus _nemoclaw_upstream match the selected provider/model before and after inference switching.
  • Header injection hardening (medium): Unit tests cover control-character stripping, but a lightweight E2E/regression assertion would guard the host writeSandboxConfig path against future serialization drift when provider/model names come from registry/session state.
    • Suggested test: Add a hermetic E2E or regression script that seeds a Hermes sandbox/config fixture with malicious upstream provider/model values, runs the config write path, and verifies parsed YAML has no injected keys and all prepended lines remain comments.

Dispatch hint

  • Workflow: .github/workflows/nightly-e2e.yaml
  • jobs input: hermes-e2e,hermes-inference-switch-e2e,hermes-anthropic-inference-switch-e2e,hermes-secret-boundary-e2e

@github-actions

github-actions Bot commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

E2E Scenario Advisor Recommendation

Required scenario E2E: ubuntu-repo-cloud-hermes
Optional scenario E2E: ubuntu-repo-cloud-openclaw

Dispatch required scenario E2E:

  • gh workflow run e2e-scenarios.yaml --ref <pr-head-ref> --field scenarios=ubuntu-repo-cloud-hermes

Workflow run

Full scenario advisor summary

E2E Scenario Advisor

Base: origin/main
Head: HEAD
Confidence: high

Required scenario E2E

  • ubuntu-repo-cloud-hermes: Hermes Dockerfile/config generation, Hermes upstream annotation/header writing, host-side Hermes config serialization, onboarding provider metadata, and Hermes inference config mutation changed. This scenario builds/onboards Hermes from the repo and exercises Hermes smoke, cloud inference, and Hermes-specific runtime checks on the primary Ubuntu runner.
    • Dispatch: gh workflow run e2e-scenarios.yaml --ref <pr-head-ref> --field scenarios=ubuntu-repo-cloud-hermes

Optional scenario E2E

  • ubuntu-repo-cloud-openclaw: Optional regression coverage for shared onboarding and Dockerfile patch/provider-selection code paths used outside Hermes. The primary functional changes are Hermes-specific, so this OpenClaw baseline is adjacent rather than required.
    • Dispatch: gh workflow run e2e-scenarios.yaml --ref <pr-head-ref> --field scenarios=ubuntu-repo-cloud-openclaw

Relevant changed files

  • agents/hermes/Dockerfile
  • agents/hermes/config/build-env.ts
  • agents/hermes/config/hermes-config.ts
  • agents/hermes/config/upstream-header.ts
  • agents/hermes/config/write-config.ts
  • src/lib/actions/inference-set.ts
  • src/lib/onboard.ts
  • src/lib/onboard/dockerfile-patch.ts
  • src/lib/onboard/providers.ts
  • src/lib/sandbox/config.ts
  • src/lib/sandbox/hermes-upstream-header.ts
  • test/generate-hermes-config.test.ts

@laitingsheng laitingsheng changed the title fix(hermes): surface upstream provider in sandbox config.yaml fix(hermes): surface upstream provider and clarify onboard menu Jun 9, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/lib/sandbox/config.ts (1)

32-47: ⚡ Quick win

Consider adding a test to verify the mirror implementations stay in sync.

The comment acknowledges that this is a mirror of agents/hermes/config/upstream-header.ts and explains the tsconfig/Dockerfile constraints. However, there's no automated check ensuring the two implementations produce identical output. Adding a test that compares the output of both functions for the same inputs would catch drift and reduce maintenance risk.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/lib/sandbox/config.ts` around lines 32 - 47, Add a unit test that asserts
the sandbox mirror function buildHermesUpstreamHeader returns identical output
to the Hermes agent implementation in agents/hermes/config/upstream-header.ts
for a variety of inputs; call buildHermesUpstreamHeader and the Hermes-side
function with cases including no _nemoclaw_upstream, non-object
_nemoclaw_upstream, upstream with only provider, only model, both provider and
model, and empty strings, and fail the test if any outputs differ so any drift
between the two implementations is caught automatically.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@src/lib/sandbox/config.ts`:
- Around line 32-47: Add a unit test that asserts the sandbox mirror function
buildHermesUpstreamHeader returns identical output to the Hermes agent
implementation in agents/hermes/config/upstream-header.ts for a variety of
inputs; call buildHermesUpstreamHeader and the Hermes-side function with cases
including no _nemoclaw_upstream, non-object _nemoclaw_upstream, upstream with
only provider, only model, both provider and model, and empty strings, and fail
the test if any outputs differ so any drift between the two implementations is
caught automatically.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: ea6f7579-e5f2-4983-8bc7-cece81d165d5

📥 Commits

Reviewing files that changed from the base of the PR and between 6f7e11a and 9a81c82.

📒 Files selected for processing (7)
  • agents/hermes/config/hermes-config.ts
  • agents/hermes/config/upstream-header.ts
  • agents/hermes/config/write-config.ts
  • src/lib/actions/inference-set.test.ts
  • src/lib/actions/inference-set.ts
  • src/lib/sandbox/config.ts
  • test/generate-hermes-config.test.ts

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Selective E2E Results — ✅ All requested jobs passed

Run: 27180817415
Target ref: 9a81c821013026448d10eb5ad690888894387c2d
Workflow ref: main
Requested jobs: hermes-e2e,hermes-inference-switch-e2e
Summary: 1 passed, 0 failed, 0 skipped

Job Result
hermes-e2e ✅ success
hermes-inference-switch-e2e ⚠️ cancelled

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@test/onboard-selection.test.ts`:
- Around line 939-943: The added assertion using assert.match(menuOutput,
/Select your inference provider:/, `${scenario.name}: expected
provider-selection header in menu output`) increases the test file size past the
CI budget; reduce file length by either removing the custom message or
shortening it, or by compacting nearby assertions into a single assertion—e.g.,
replace the three-argument assert.match call with a two-argument
assert.match(menuOutput, /Select your inference provider:/) (removing the
`${scenario.name}` message) or consolidate adjacent assertions around menuOutput
into one combined regex check; update the test that references menuOutput and
scenario.name accordingly (function/variable names: assert.match, menuOutput,
scenario.name).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 72417cb4-9dc1-4d40-a760-bd028d03f242

📥 Commits

Reviewing files that changed from the base of the PR and between 9a81c82 and dafd9c8.

📒 Files selected for processing (4)
  • src/lib/onboard.ts
  • src/lib/onboard/providers.test.ts
  • src/lib/onboard/providers.ts
  • test/onboard-selection.test.ts
✅ Files skipped from review due to trivial changes (2)
  • src/lib/onboard/providers.ts
  • src/lib/onboard.ts

Comment thread test/onboard-selection.test.ts Resolved
@github-actions

github-actions Bot commented Jun 9, 2026 •

Copy link
Copy Markdown
Contributor

PR Review Advisor

Findings: 2 needs attention, 3 worth checking, 0 nice ideas
Since last review: 0 prior items resolved, 4 still apply, 1 new item found

Review findings

🛠️ Needs attention

  • Issue [All Platforms][Onboard] NemoHermes onboard provider menu shows only 10 options (no Hermes-only providers, no "Select your inference provider" block) #4973 still asks for distinct Hermes-only provider entries or explicit consolidation alignment (src/lib/onboard/providers.ts:89): The linked issue's expected behavior says the NemoHermes menu should include the nine Hermes-only providers as distinct numbered items, or, if consolidation is intentional, docs/internal test references should be updated to the 10-entry contract. This diff keeps a single consolidated `hermesProvider` entry and the new test explicitly asserts that there is only one Hermes Provider config. That improves discoverability through the label, but it does not satisfy the literal distinct-entry acceptance clause or add a visible docs/contract update for the consolidated behavior.
    • Recommendation: Either implement distinct numbered Hermes-only menu entries, or explicitly align the product/docs/test-plan contract to the consolidated menu and add a golden provider-menu rendering test that asserts `Select your inference provider:`, `Choose [1]:`, the intended numbered-entry count, and the collapsed Hermes Provider label with all nine families.
    • Evidence: [All Platforms][Onboard] NemoHermes onboard provider menu shows only 10 options (no Hermes-only providers, no "Select your inference provider" block) #4973 Expected Behavior: "The menu includes 13 providers: NVIDIA + OpenAI + Anthropic + Google + 9 Hermes-only providers (Moonshot, Z-AI, MiniMax, Qwen, Xiaomi, Tencent, StepFun, xAI, Arcee)" and "All 9 Hermes-only providers are present as distinct items". The diff keeps `hermesProvider` as one entry with label `Hermes Provider (Moonshot, Z-AI, MiniMax, Qwen, Xiaomi, Tencent, StepFun, xAI, Arcee)`, and `src/lib/onboard/hermes-provider-label.test.ts` asserts it is "a single menu entry, not nine distinct provider configs".
  • Dockerfile patch test hotspot grew further (src/lib/onboard/dockerfile-patch.test.ts:1): The new Dockerfile ARG regressions are useful, but they were added to an already large Dockerfile-patch test hotspot. The deterministic monolith check flags this file as growing by more than the 20-line threshold, which makes future onboarding/Dockerfile regressions harder to localize and maintain.
    • Recommendation: Move the new upstream-provider Dockerfile ARG coverage into a focused test file, or extract adjacent Dockerfile ARG cases to offset the growth while preserving the new behavior coverage.
    • Evidence: Deterministic monolith check: `src/lib/onboard/dockerfile-patch.test.ts` baseLines=1314, headLines=1375, delta=61, severity=blocker rationale: "Current monolith grew by 20 or more lines; extract or offset the growth before merge."

🔎 Worth checking

  • Issue [All Platforms][Sandbox] Hermes sandbox config.yaml only shows model.provider: custom (loses provider=nvidia + Nemotron model, no model.api_mode) #4972's literal model-block wording is only partially met by the upstream annotation (agents/hermes/config/hermes-config.ts:56): The PR improves in-sandbox visibility by adding `_nemoclaw_upstream` and a grep-friendly YAML header, which preserves Hermes proxy routing by keeping `model.provider: custom`. However, [All Platforms][Sandbox] Hermes sandbox config.yaml only shows model.provider: custom (loses provider=nvidia + Nemotron model, no model.api_mode) #4972 literally asks for a self-describing `model` block with provider/model fields, and this diff keeps the actual Hermes runtime `model` block in the proxy shape rather than documenting that `_nemoclaw_upstream` is the supported NemoClaw visibility contract.
    • Recommendation: If `_nemoclaw_upstream` is the intended source of truth, explicitly align the linked issue/docs with that contract so QA does not continue expecting `model.provider: nvidia` or `model.model` inside the Hermes runtime model block. If the literal issue contract is required, add the requested fields in a way that does not break Hermes proxy routing.
    • Evidence: [All Platforms][Sandbox] Hermes sandbox config.yaml only shows model.provider: custom (loses provider=nvidia + Nemotron model, no model.api_mode) #4972 Expected Behavior says `config.yaml` should retain `model: provider: "nvidia"` and `model: "nvidia/nemotron-3-super-120b-a12b"`. The diff adds `_nemoclaw_upstream: { provider, model }`, while `buildHermesConfig()` and `patchHermesInferenceConfig()` continue to write `model.provider = "custom"` for routing and do not add a `model.model` field.
  • Provider prompt header change lacks a real menu-rendering regression test (src/lib/onboard.ts:4140): The code changes the visible provider prompt header to `Select your inference provider:`, but the added tests cover provider metadata and labels rather than the actual rendered prompt block. That leaves the QA-facing contract from [All Platforms][Onboard] NemoHermes onboard provider menu shows only 10 options (no Hermes-only providers, no "Select your inference provider" block) #4973 unprotected: header text, numbered entries, default selection, and the consolidated-vs-distinct provider count.
  • Representative proxied NVIDIA ARG-to-generator path is not directly covered (test/generate-hermes-config.test.ts:123): The PR separately tests Dockerfile patching of `NEMOCLAW_UPSTREAM_PROVIDER` and generator handling of `_nemoclaw_upstream`, but the real managed NVIDIA route crosses both contracts: `NEMOCLAW_PROVIDER_KEY` is `inference` while `NEMOCLAW_UPSTREAM_PROVIDER` should remain `nvidia-prod`. Without a combined fixture, a regression could still generate `_nemoclaw_upstream.provider: inference` for the most important acceptance case.
    • Recommendation: Add a generator or patched-Dockerfile fixture that sets `NEMOCLAW_PROVIDER_KEY=inference`, `NEMOCLAW_UPSTREAM_PROVIDER=nvidia-prod`, and the Nemotron model, then asserts generated `config.yaml` contains `_nemoclaw_upstream.provider: nvidia-prod` and the header names `nvidia-prod`.
    • Evidence: `src/lib/onboard/dockerfile-patch.test.ts` asserts the patched ARG value, and `test/generate-hermes-config.test.ts` asserts annotation/header output when `NEMOCLAW_PROVIDER_KEY` itself is `nvidia-prod`. The combined proxied-route env shape is supported by `readHermesBuildSettings()` but not directly exercised in the visible tests.

🌱 Nice ideas

  • None.
Consider writing more tests for
  • **Runtime validation** — Add a Hermes onboard provider-menu rendering test that captures the prompt block and asserts `Select your inference provider:`, `Choose [1]:`, the expected numbered-entry count for the chosen contract, and the Hermes Provider family label.. Unit/helper coverage improved materially for Dockerfile ARG propagation, host serialization, header injection defense, parity, config generation, and inference switching. The remaining confidence gaps are cross-boundary acceptance contracts: actual onboarding menu rendering and patched Dockerfile ARGs flowing into generated Hermes config for the proxied NVIDIA route.
  • **Runtime validation** — Add a patched-ARG-to-generator fixture proving NVIDIA onboarding produces `_nemoclaw_upstream.provider: nvidia-prod` when `NEMOCLAW_PROVIDER_KEY=inference` and `NEMOCLAW_UPSTREAM_PROVIDER=nvidia-prod`.. Unit/helper coverage improved materially for Dockerfile ARG propagation, host serialization, header injection defense, parity, config generation, and inference switching. The remaining confidence gaps are cross-boundary acceptance contracts: actual onboarding menu rendering and patched Dockerfile ARGs flowing into generated Hermes config for the proxied NVIDIA route.
  • **Runtime validation** — If the consolidated Hermes Provider entry is intentional, add a docs/contract or golden-menu test that locks the 10-entry consolidated menu so QA scripts do not keep expecting 13 distinct providers.. Unit/helper coverage improved materially for Dockerfile ARG propagation, host serialization, header injection defense, parity, config generation, and inference switching. The remaining confidence gaps are cross-boundary acceptance contracts: actual onboarding menu rendering and patched Dockerfile ARGs flowing into generated Hermes config for the proxied NVIDIA route.
  • **Runtime validation** — If [All Platforms][Sandbox] Hermes sandbox config.yaml only shows model.provider: custom (loses provider=nvidia + Nemotron model, no model.api_mode) #4972's literal model-block contract is required, add a Hermes config generation/runtime test that verifies the exact `model` block fields requested by the issue without breaking proxy routing.. Unit/helper coverage improved materially for Dockerfile ARG propagation, host serialization, header injection defense, parity, config generation, and inference switching. The remaining confidence gaps are cross-boundary acceptance contracts: actual onboarding menu rendering and patched Dockerfile ARGs flowing into generated Hermes config for the proxied NVIDIA route.
  • **Runtime validation** — Add a host-side `nemoclaw inference set` config-write test that verifies the raw Hermes `config.yaml` body contains the sanitized upstream header and updated `_nemoclaw_upstream` after a provider-family switch.. Unit/helper coverage improved materially for Dockerfile ARG propagation, host serialization, header injection defense, parity, config generation, and inference switching. The remaining confidence gaps are cross-boundary acceptance contracts: actual onboarding menu rendering and patched Dockerfile ARGs flowing into generated Hermes config for the proxied NVIDIA route.
  • **Provider prompt header change lacks a real menu-rendering regression test** — Add an onboard provider-menu rendering test for Hermes that captures the prompt block and asserts `Select your inference provider:`, `Choose [1]:`, the expected count for the chosen product contract, and the Hermes Provider label/family names.
  • **Representative proxied NVIDIA ARG-to-generator path is not directly covered** — Add a generator or patched-Dockerfile fixture that sets `NEMOCLAW_PROVIDER_KEY=inference`, `NEMOCLAW_UPSTREAM_PROVIDER=nvidia-prod`, and the Nemotron model, then asserts generated `config.yaml` contains `_nemoclaw_upstream.provider: nvidia-prod` and the header names `nvidia-prod`.
  • **Acceptance clause:** [All Platforms][Sandbox] Hermes sandbox config.yaml only shows model.provider: custom (loses provider=nvidia + Nemotron model, no model.api_mode) #4972: "config.yaml should retain a full model section with at least: model: provider: \"nvidia\" model: \"nvidia/nemotron-3-super-120b-a12b\"" — add test evidence or identify existing coverage. The PR adds `_nemoclaw_upstream.provider` and `_nemoclaw_upstream.model` plus comment headers, but the Hermes `model` block still uses `provider: custom` for proxy routing and does not add a `model:` field under `model`.
Since last review details

Current findings:

  • Issue [All Platforms][Onboard] NemoHermes onboard provider menu shows only 10 options (no Hermes-only providers, no "Select your inference provider" block) #4973 still asks for distinct Hermes-only provider entries or explicit consolidation alignment (src/lib/onboard/providers.ts:89): The linked issue's expected behavior says the NemoHermes menu should include the nine Hermes-only providers as distinct numbered items, or, if consolidation is intentional, docs/internal test references should be updated to the 10-entry contract. This diff keeps a single consolidated `hermesProvider` entry and the new test explicitly asserts that there is only one Hermes Provider config. That improves discoverability through the label, but it does not satisfy the literal distinct-entry acceptance clause or add a visible docs/contract update for the consolidated behavior.
    • Recommendation: Either implement distinct numbered Hermes-only menu entries, or explicitly align the product/docs/test-plan contract to the consolidated menu and add a golden provider-menu rendering test that asserts `Select your inference provider:`, `Choose [1]:`, the intended numbered-entry count, and the collapsed Hermes Provider label with all nine families.
    • Evidence: [All Platforms][Onboard] NemoHermes onboard provider menu shows only 10 options (no Hermes-only providers, no "Select your inference provider" block) #4973 Expected Behavior: "The menu includes 13 providers: NVIDIA + OpenAI + Anthropic + Google + 9 Hermes-only providers (Moonshot, Z-AI, MiniMax, Qwen, Xiaomi, Tencent, StepFun, xAI, Arcee)" and "All 9 Hermes-only providers are present as distinct items". The diff keeps `hermesProvider` as one entry with label `Hermes Provider (Moonshot, Z-AI, MiniMax, Qwen, Xiaomi, Tencent, StepFun, xAI, Arcee)`, and `src/lib/onboard/hermes-provider-label.test.ts` asserts it is "a single menu entry, not nine distinct provider configs".
  • Dockerfile patch test hotspot grew further (src/lib/onboard/dockerfile-patch.test.ts:1): The new Dockerfile ARG regressions are useful, but they were added to an already large Dockerfile-patch test hotspot. The deterministic monolith check flags this file as growing by more than the 20-line threshold, which makes future onboarding/Dockerfile regressions harder to localize and maintain.
    • Recommendation: Move the new upstream-provider Dockerfile ARG coverage into a focused test file, or extract adjacent Dockerfile ARG cases to offset the growth while preserving the new behavior coverage.
    • Evidence: Deterministic monolith check: `src/lib/onboard/dockerfile-patch.test.ts` baseLines=1314, headLines=1375, delta=61, severity=blocker rationale: "Current monolith grew by 20 or more lines; extract or offset the growth before merge."
  • Issue [All Platforms][Sandbox] Hermes sandbox config.yaml only shows model.provider: custom (loses provider=nvidia + Nemotron model, no model.api_mode) #4972's literal model-block wording is only partially met by the upstream annotation (agents/hermes/config/hermes-config.ts:56): The PR improves in-sandbox visibility by adding `_nemoclaw_upstream` and a grep-friendly YAML header, which preserves Hermes proxy routing by keeping `model.provider: custom`. However, [All Platforms][Sandbox] Hermes sandbox config.yaml only shows model.provider: custom (loses provider=nvidia + Nemotron model, no model.api_mode) #4972 literally asks for a self-describing `model` block with provider/model fields, and this diff keeps the actual Hermes runtime `model` block in the proxy shape rather than documenting that `_nemoclaw_upstream` is the supported NemoClaw visibility contract.
    • Recommendation: If `_nemoclaw_upstream` is the intended source of truth, explicitly align the linked issue/docs with that contract so QA does not continue expecting `model.provider: nvidia` or `model.model` inside the Hermes runtime model block. If the literal issue contract is required, add the requested fields in a way that does not break Hermes proxy routing.
    • Evidence: [All Platforms][Sandbox] Hermes sandbox config.yaml only shows model.provider: custom (loses provider=nvidia + Nemotron model, no model.api_mode) #4972 Expected Behavior says `config.yaml` should retain `model: provider: "nvidia"` and `model: "nvidia/nemotron-3-super-120b-a12b"`. The diff adds `_nemoclaw_upstream: { provider, model }`, while `buildHermesConfig()` and `patchHermesInferenceConfig()` continue to write `model.provider = "custom"` for routing and do not add a `model.model` field.
  • Provider prompt header change lacks a real menu-rendering regression test (src/lib/onboard.ts:4140): The code changes the visible provider prompt header to `Select your inference provider:`, but the added tests cover provider metadata and labels rather than the actual rendered prompt block. That leaves the QA-facing contract from [All Platforms][Onboard] NemoHermes onboard provider menu shows only 10 options (no Hermes-only providers, no "Select your inference provider" block) #4973 unprotected: header text, numbered entries, default selection, and the consolidated-vs-distinct provider count.
  • Representative proxied NVIDIA ARG-to-generator path is not directly covered (test/generate-hermes-config.test.ts:123): The PR separately tests Dockerfile patching of `NEMOCLAW_UPSTREAM_PROVIDER` and generator handling of `_nemoclaw_upstream`, but the real managed NVIDIA route crosses both contracts: `NEMOCLAW_PROVIDER_KEY` is `inference` while `NEMOCLAW_UPSTREAM_PROVIDER` should remain `nvidia-prod`. Without a combined fixture, a regression could still generate `_nemoclaw_upstream.provider: inference` for the most important acceptance case.
    • Recommendation: Add a generator or patched-Dockerfile fixture that sets `NEMOCLAW_PROVIDER_KEY=inference`, `NEMOCLAW_UPSTREAM_PROVIDER=nvidia-prod`, and the Nemotron model, then asserts generated `config.yaml` contains `_nemoclaw_upstream.provider: nvidia-prod` and the header names `nvidia-prod`.
    • Evidence: `src/lib/onboard/dockerfile-patch.test.ts` asserts the patched ARG value, and `test/generate-hermes-config.test.ts` asserts annotation/header output when `NEMOCLAW_PROVIDER_KEY` itself is `nvidia-prod`. The combined proxied-route env shape is supported by `readHermesBuildSettings()` but not directly exercised in the visible tests.

Workflow run details

This is an automated advisory review. A human maintainer must make the final merge decision.

@wscurran wscurran added the bug-fix PR fixes a bug or regression label Jun 9, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Selective E2E Results — ✅ All requested jobs passed

Run: 27180934419
Target ref: dafd9c8614d87ac1ee28274abb900d5f58fcb788
Workflow ref: main
Requested jobs: hermes-inference-switch-e2e,hermes-e2e
Summary: 2 passed, 0 failed, 0 skipped

Job Result
hermes-e2e ✅ success
hermes-inference-switch-e2e ✅ success

@laitingsheng laitingsheng added integration: hermes Hermes integration behavior area: onboarding Onboarding FSM, provider setup, sandbox launch, or first-run flow labels Jun 9, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
src/lib/sandbox/hermes-upstream-header.parity.test.ts (1)

76-86: 💤 Low value

Consider clarifying the magic number 180.

The test asserts that each line is less than 180 characters, but the reasoning isn't documented. Based on the context snippet, HEADER_VALUE_MAX_LENGTH = 128 and the longest line prefix is # Upstream provider: (~21 chars), so the actual max line length is ~149 chars. A brief comment explaining this calculation would improve test maintainability.

📝 Proposed clarification
   it("length-caps each header value to keep the comment block bounded", () => {
     const header = buildHostHeader({
       _nemoclaw_upstream: {
         provider: "x".repeat(1024),
         model: "y".repeat(1024),
       },
     });
+    // Max line ~149 chars: "# Upstream provider: " (21) + HEADER_VALUE_MAX_LENGTH (128)
     for (const line of header.split("\n")) {
       expect(line.length).toBeLessThan(180);
     }
   });
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/lib/sandbox/hermes-upstream-header.parity.test.ts` around lines 76 - 86,
The test in hermes-upstream-header.parity.test.ts uses a magic number 180 for
max line length; update the test around the it("length-caps...") block (the
buildHostHeader call and subsequent loop) to include a short inline comment that
explains how 180 was derived (e.g., HEADER_VALUE_MAX_LENGTH + length of the
longest prefix like "# Upstream provider: " and any extra characters/spacing),
referencing the HEADER_VALUE_MAX_LENGTH constant and the "# Upstream provider: "
prefix so future readers can recompute the value if those parts change.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/lib/sandbox/hermes-upstream-header.parity.test.ts`:
- Around line 61-74: The test for buildHostHeader currently asserts no control
characters with a regex that omits CR, TAB and C1 controls; update the assertion
to match the actual sanitizer (/[\x00-\x1F\x7F-\x9F]/) so it verifies that all
characters the sanitizer removes (including \x09, \x0D and \x80-\x9F) are gone
from the header produced by buildHostHeader, i.e. replace the existing
expect(header).not.toMatch(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/) check with one
that asserts absence of /[\x00-\x1F\x7F-\x9F]/.

---

Nitpick comments:
In `@src/lib/sandbox/hermes-upstream-header.parity.test.ts`:
- Around line 76-86: The test in hermes-upstream-header.parity.test.ts uses a
magic number 180 for max line length; update the test around the
it("length-caps...") block (the buildHostHeader call and subsequent loop) to
include a short inline comment that explains how 180 was derived (e.g.,
HEADER_VALUE_MAX_LENGTH + length of the longest prefix like "# Upstream
provider: " and any extra characters/spacing), referencing the
HEADER_VALUE_MAX_LENGTH constant and the "# Upstream provider: " prefix so
future readers can recompute the value if those parts change.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: e5e6ba80-1172-47c6-a97f-fd0ac97ddebd

📥 Commits

Reviewing files that changed from the base of the PR and between dafd9c8 and 0cf3272.

📒 Files selected for processing (8)
  • agents/hermes/Dockerfile
  • agents/hermes/config/build-env.ts
  • agents/hermes/config/hermes-config.ts
  • agents/hermes/config/upstream-header.ts
  • src/lib/onboard/dockerfile-patch.ts
  • src/lib/sandbox/config.ts
  • src/lib/sandbox/hermes-upstream-header.parity.test.ts
  • src/lib/sandbox/hermes-upstream-header.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/lib/sandbox/config.ts

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Selective E2E Results — ❌ Some jobs failed

Run: 27182725493
Target ref: 0cf3272ec3f15eeba08e03061b11daa032c08e51
Workflow ref: main
Requested jobs: hermes-e2e,hermes-inference-switch-e2e,rebuild-hermes-e2e
Summary: 2 passed, 1 failed, 0 skipped

Job Result
hermes-e2e ❌ failure
hermes-inference-switch-e2e ✅ success
rebuild-hermes-e2e ✅ success

Failed jobs: hermes-e2e. Check run artifacts for logs.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Selective E2E Results — ❌ Some jobs failed

Run: 27183294248
Target ref: e42503e2623aa3271801db2d3e6485626040452e
Workflow ref: main
Requested jobs: hermes-e2e,hermes-inference-switch-e2e,hermes-secret-boundary-e2e
Summary: 2 passed, 1 failed, 0 skipped

Job Result
hermes-e2e ✅ success
hermes-inference-switch-e2e ❌ failure
hermes-secret-boundary-e2e ✅ success

Failed jobs: hermes-inference-switch-e2e. Check run artifacts for logs.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/lib/onboard/dockerfile-patch.test.ts (1)

280-281: ⚡ Quick win

Assert fallback matches NEMOCLAW_PROVIDER_KEY exactly.

At Line 280 and Line 281, this test can still pass if fallback writes the wrong upstream value (as long as it isn’t old). Please assert the equality contract directly (upstreamProvider === providerKey) so regressions in fallback mapping are caught.

Suggested test tightening
     const patched = fs.readFileSync(dockerfilePath, "utf-8");
-    expect(patched).toMatch(/^ARG NEMOCLAW_UPSTREAM_PROVIDER=.+$/m);
-    expect(patched).not.toContain("ARG NEMOCLAW_UPSTREAM_PROVIDER=old");
+    const providerKey = patched.match(/^ARG NEMOCLAW_PROVIDER_KEY=(.+)$/m)?.[1];
+    const upstreamProvider = patched.match(/^ARG NEMOCLAW_UPSTREAM_PROVIDER=(.+)$/m)?.[1];
+    expect(providerKey).toBeDefined();
+    expect(upstreamProvider).toBeDefined();
+    expect(upstreamProvider).toBe(providerKey);
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/lib/onboard/dockerfile-patch.test.ts` around lines 280 - 281, The test
currently only checks that the patched Dockerfile contains an ARG
NEMOCLAW_UPSTREAM_PROVIDER line and that it is not "old", which allows incorrect
fallbacks to slip through; update the assertions to assert exact equality
between the produced upstream value and the expected provider key: locate the
variable holding the patched output (patched) and the expected key constant
(NEMOCLAW_PROVIDER_KEY or providerKey used in the test), then replace the loose
regex/negation with an assertion that the ARG line equals `ARG
NEMOCLAW_UPSTREAM_PROVIDER=${expectedKey}` (and you can keep the negative check
for "old" if desired) so the fallback mapping is validated precisely.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In `@src/lib/onboard/dockerfile-patch.test.ts`:
- Around line 280-281: The test currently only checks that the patched
Dockerfile contains an ARG NEMOCLAW_UPSTREAM_PROVIDER line and that it is not
"old", which allows incorrect fallbacks to slip through; update the assertions
to assert exact equality between the produced upstream value and the expected
provider key: locate the variable holding the patched output (patched) and the
expected key constant (NEMOCLAW_PROVIDER_KEY or providerKey used in the test),
then replace the loose regex/negation with an assertion that the ARG line equals
`ARG NEMOCLAW_UPSTREAM_PROVIDER=${expectedKey}` (and you can keep the negative
check for "old" if desired) so the fallback mapping is validated precisely.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 682986c9-4a86-46a6-990f-b20498205efe

📥 Commits

Reviewing files that changed from the base of the PR and between e42503e and 46e64b4.

📒 Files selected for processing (6)
  • src/lib/actions/inference-set.test.ts
  • src/lib/onboard/dockerfile-patch.test.ts
  • src/lib/onboard/hermes-provider-label.test.ts
  • src/lib/onboard/providers.ts
  • src/lib/sandbox/compose-sandbox-config-body.test.ts
  • src/lib/sandbox/config.ts
✅ Files skipped from review due to trivial changes (2)
  • src/lib/onboard/hermes-provider-label.test.ts
  • src/lib/onboard/providers.ts
🚧 Files skipped from review as they are similar to previous changes (2)
  • src/lib/actions/inference-set.test.ts
  • src/lib/sandbox/config.ts

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Selective E2E Results — ✅ All requested jobs passed

Run: 27184255190
Target ref: 46e64b4a39f4978a2dab75b9cb0376dc29913877
Workflow ref: main
Requested jobs: hermes-e2e,hermes-inference-switch-e2e,hermes-anthropic-inference-switch-e2e,hermes-secret-boundary-e2e,hermes-root-entrypoint-smoke-e2e
Summary: 5 passed, 0 failed, 0 skipped

Job Result
hermes-anthropic-inference-switch-e2e ✅ success
hermes-e2e ✅ success
hermes-inference-switch-e2e ✅ success
hermes-root-entrypoint-smoke-e2e ✅ success
hermes-secret-boundary-e2e ✅ success

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Selective E2E Results — ❌ Some jobs failed

Run: 27184674469
Target ref: 0fe97b3a43d4fbbb1d38e55903fb99b682a4bd22
Workflow ref: main
Requested jobs: hermes-e2e,hermes-inference-switch-e2e,hermes-anthropic-inference-switch-e2e,hermes-secret-boundary-e2e
Summary: 2 passed, 2 failed, 0 skipped

Job Result
hermes-anthropic-inference-switch-e2e ❌ failure
hermes-e2e ❌ failure
hermes-inference-switch-e2e ✅ success
hermes-secret-boundary-e2e ✅ success

Failed jobs: hermes-anthropic-inference-switch-e2e, hermes-e2e. Check run artifacts for logs.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Selective E2E Results — ✅ All requested jobs passed

Run: 27184674469
Target ref: 0fe97b3a43d4fbbb1d38e55903fb99b682a4bd22
Workflow ref: main
Requested jobs: hermes-e2e,hermes-inference-switch-e2e,hermes-anthropic-inference-switch-e2e,hermes-secret-boundary-e2e
Summary: 4 passed, 0 failed, 0 skipped

Job Result
hermes-anthropic-inference-switch-e2e ✅ success
hermes-e2e ✅ success
hermes-inference-switch-e2e ✅ success
hermes-secret-boundary-e2e ✅ success

@cv
cv merged commit 3048632 into main Jun 9, 2026
43 checks passed
@cv
cv deleted the fix/hermes-onboard-upstream-visibility branch June 9, 2026 06:22
jyaunches pushed a commit that referenced this pull request Jun 10, 2026
## Summary
- Add v0.0.62 release notes from Discussion #5100 and link release
highlights to the relevant docs pages.
- Document the release's GPU sandbox recreation, sandbox-side local
inference verification, and Hermes dashboard port guard in the command
and inference references.
- Refresh generated NemoClaw user skills for the release-prep docs set.

## Source Summary
- #4956 -> `docs/reference/commands.mdx`: Document CDI-first Docker GPU
recreation behavior for Linux Docker-driver sandboxes.
- #5024 -> `docs/inference/use-local-inference.mdx`: Document
sandbox-runtime verification of the `inference.local` local inference
route.
- #5018 -> `docs/reference/commands.mdx`: Document Jetson/Tegra
device-node group propagation for sandbox CUDA initialization.
- #5012, #4763, #4706, #5030, #5015 -> `docs/about/release-notes.mdx`:
Summarize onboarding and recovery reliability fixes, including the
reserved Hermes API port guard.
- #5017 and #5043 -> `docs/about/release-notes.mdx`,
`docs/reference/commands.mdx`: Summarize mutable OpenClaw config
recovery and host-side `agents list` coverage.
- #5010 and #5016 -> `docs/about/release-notes.mdx`: Summarize Hermes
upstream metadata visibility and WhatsApp QR rendering reliability.
- #5045 and prior source docs in the v0.0.62 range -> `.agents/skills/`:
Refresh generated user-skill references from the current docs source.

## Skipped
- #5019 -> skipped for new prose because it touched
`openclaw-sandbox-permissive.yaml`, which matches `docs/.docs-skip`.
Existing source docs remain the source for generated skill
synchronization.

## Verification
- `python3 scripts/docs-to-skills.py docs/ .agents/skills/ --prefix
nemoclaw-user --doc-platform fern-mdx`
- `npm run docs` (passes; Fern reports 0 errors and 1 hidden warning)
- Pre-commit hooks passed during commit, including docs-to-skills
verification, markdown lint, gitleaks, and skills YAML tests.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **New Features**
  * Added `nemoclaw <name> agents list` command.
* v0.0.62 release notes added summarizing onboarding and recovery
improvements.

* **Bug Fixes**
* Improved GPU sandbox onboarding reliability (NVIDIA CDI path,
Jetson/Tegra device handling).
* Better local inference verification and recovery for Linux
Docker-driver GPU sandboxes.
  * Quieter/earlier handling of onboarding drift and port collisions.

* **Documentation**
* Expanded GPU passthrough, inference verification, writable paths
(`/dev/pts`), port 8642 restriction, and command examples.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Prekshi Vyas <[email protected]>
@wscurran wscurran added the NV QA Bugs found by the NVIDIA QA Team label Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: onboarding Onboarding FSM, provider setup, sandbox launch, or first-run flow bug-fix PR fixes a bug or regression integration: hermes Hermes integration behavior NV QA Bugs found by the NVIDIA QA Team

Projects

None yet

3 participants