Skip to content

Export managed Hermes dashboard, TUI, and API configuration #11433

Description

@cv

Parent: #10904
Planning priority: P1, next batch. Dependencies: #11286 / #11323 and the agent-neutral interface schema from the OpenClaw dashboard export branch.

Problem Statement

Canonical Hermes export excludes enabled or nondefault interfaces. The managed startup profile already retains dashboard intent, while the registry records the allocated API port. These settings need one coherent export projection.

Desired Behavior

Export one managed Hermes sandbox with hosted inference, a loopback-forwarded dashboard on public port 19000, internal port 19120, the in-browser TUI enabled, and API port 8643.

Input First covered value Semantic destination
NEMOCLAW_HERMES_DASHBOARD 1 agents[].interfaces.dashboard.enabled
NEMOCLAW_HERMES_DASHBOARD_PORT 19000 agents[].interfaces.dashboard.port
NEMOCLAW_HERMES_DASHBOARD_INTERNAL_PORT 19120 agents[].interfaces.dashboard.internalPort
NEMOCLAW_HERMES_DASHBOARD_TUI 1 agents[].interfaces.dashboard.tui.enabled
NEMOCLAW_HERMES_API_PORT 8643 agents[].interfaces.api.port

NEMOCLAW_DASHBOARD_PORT=19000 must agree with the Hermes public-port alias when supplied. It is an already-covered input name, not a sixth new name.

Reuse the agent-neutral interfaces destination. Confirm the added Hermes-specific optional fields during acceptance. Export retained interface intent, not copied dashboard URLs or a claim that a host tunnel is currently running.

Scope and Exclusions

Include one primary managed Hermes agent and the bounded interface configuration above. Preserve the default disabled-dashboard export from #11323. The existing API range remains 8642–8652. Dashboard ports remain outside that reserved range and must differ from one another.

Exclude remote/all-interface Hermes exposure, WSL-specific exposure, custom URLs, dashboard authentication changes, credential files, local inference, messaging, tool gateways, and new forwarding behavior.

This issue can use the hosted-inference profile accepted by #11323. It does not require the sibling Nous API-key extension.

Ongoing Ownership

Proposed maintainers: NemoClaw CLI, Hermes dashboard/API, and onboarding maintainers.

Placement and Support Expectations

The epic's Accept decision establishes the shared architecture. This child is a proposed bounded export extension; a child-specific Accept decision is still required before implementation.

Proposed placement: core NemoClaw CLI and the shared configuration-export domain. Proposed accountable maintainer: the NemoClaw team, including the component maintainers named below. Implementation assignee: unassigned.

The accepting decision must confirm the reason, placement, accountable maintainer, bounded supported configuration, and validation plan. Publishing this issue does not assert implementation approval or completed qualification.

Reason for the proposal: preserve five existing Hermes interface inputs using one useful configuration and the shared agent-neutral interface model.

Validation Plan

Case Required result Shortest stable evidence
Allowed Enabled dashboard, public/internal ports, TUI, and allocated API port survive export Real dashboard parser/profile builder, registry evidence, verifier, document, and action tests
Defaults Canonical disabled dashboard and default API keep their existing export semantics Canonical Hermes regression tests
Alias agreement General and Hermes dashboard ports agree; conflicting recorded values reject Parser, profile, and verifier tests
Denied Equal dashboard ports, reserved API-range dashboard ports, invalid API port, wrong-agent fields, or unsupported exposure reject before output Schema and action rejection tests
Ambiguous Missing allocated API authority, route-only reservation, or profile/registry disagreement does not yield a guessed interface Registry/observation and verifier tests
Changing source Sandbox replacement or a changed dashboard/API record between snapshots rejects publication Stable-observation/action tests
Secrets Dashboard/API credentials, runtime credential-file paths, and synthetic secret values never enter exported fields Adapter boundary and redaction tests
Failure/cleanup Observation or publication failure leaves runtime forwards, registry, and prior destination unchanged Complete export action tests

The API port is not a dashboard startup-profile leaf. Use explicit durable allocation evidence bound to the current sandbox identity. If existing evidence cannot distinguish a stale or substituted allocation, define the smallest bounded observation before implementing support.

The missing live dimension is export fidelity for enabled Hermes dashboard/TUI and a nondefault API allocation. Extend the owning existing Hermes dashboard/runtime target after checking the typed E2E registry. On a GitHub runner, verify the configured listeners and TUI capability, export twice, validate the public schema, and compare independently observed interface values. Exercise identity/allocation mismatch rejection at the real boundary where required. Retain redacted evidence and preserve existing lifecycle, installed-CLI, authentication, and cleanup assertions.

Run focused parser, profile, schema, verifier, observation, action, and packaged-schema checks, followed by required PR validation. Prove the shared schema still rejects unsupported OpenClaw/Hermes combinations.

Compatibility Requirements

This is an additive, read-only extension of nemoclaw.nvidia.com/v1. Existing valid documents and canonical default exports retain their meaning and serialization. No existing environment input, flag, onboarding behavior, credential resolver, or lifecycle operation changes.

Use the maintained managed images and repository-pinned OpenShell version. The first qualification is native Linux with a NemoClaw-managed gateway and Docker runtime. Other platforms and runtimes need separate evidence. This slice does not establish config apply support.

Include implementation, schema generation, behavioral tests, and owning repository guidance in one PR. User documentation follows the repository's post-merge catch-up workflow where permitted.

No tunnel health claim is part of the retained configuration contract. A stopped host forward alone does not erase or invalidate verified desired interface settings.

Security or Privacy Impact

Existing Hermes dashboard/API credentials remain in their current host/OpenShell/runtime custody for the existing service lifetime. Export reads neither their values nor credential-file contents and performs no rotation or deletion. It must not publish generated URLs containing authentication material.

Use two stable observations containing every new authority field. Reject unsupported, missing, foreign, stale, contradictory, or changing evidence before publication. Substitute only validated supported profile leaves, then retain the complete residual-profile comparison.

A read failure is an infrastructure failure: stop without output. Inconclusive identity or ownership is not success: stop with a redacted diagnostic. On publication failure, preserve the prior destination and remove only exporter-owned temporary output. Export never repairs, starts, stops, enrolls, adopts, or deletes a runtime resource. No new retry policy is introduced.

Preserve URL/SSRF restrictions, effective policy, immutable workload identity, strict unknown-field rejection, and private atomic file publication. Add no dependency, broad environment reader, arbitrary settings dictionary, second export engine, or custom cryptography.

Implementation Idea

Current behavior owners:

Sibling paths checked: disabled/enabled Hermes dashboards, general/Hermes port aliases, API reservations versus durable allocations, and the OpenClaw dashboard extension. Preserve agent-specific validation and residual-profile rejection.

Extend the existing configuration model/schema, export evidence, verifier, document builder, and complete export action. Add a narrow adapter observation only where the capability requires new evidence. Regenerate the public JSON schema from its source.

Coordinate edits to src/lib/config/model.ts, src/lib/config/schema.ts, src/lib/domain/config/export-evidence.ts, src/lib/domain/config/verify-export-source.ts, and src/lib/domain/config/export-document.ts. Keep one owner for each behavior and reuse existing validators and fixtures. Do not hand-merge generated schema output.

Stop for an unsupported schema combination, absent API allocation authority, or a proposed exposure/authentication change. Do not silently drop TUI or API fields to make a dashboard-only document export.

Category

Feature

Checklist

  • Searched the epic's sub-issues and related export issues; no duplicate of this bounded capability was found.
  • Described the problem, desired behavior, scope, and acceptance evidence.
  • Record the child-specific Accept decision before implementation.

YAML requirements — v1 scan (2026-09-21)

Target: v1 at 88c6600c06b0. The document version is nemoclaw.nvidia.com/v1alpha1, with kind: NemoClawConfig.

Format: Available. YAML availability does not establish exporter completion or live compatibility.

This is the current target reference. Earlier examples describe their original revision; this update does not change issue status.

At spec.sandboxes[].harness (illustrative port values; preserve observed values):

kind: hermes
interfaces:
  dashboard:
    enabled: true
    port: 18800
    internalPort: 19120
    tui:
      enabled: true
  api:
    port: 8643
  • Dashboard port and internalPort must differ. Omitted ports default to 18789 and 19119.
  • A disabled dashboard is exactly dashboard: {enabled: false}; omit its port, internalPort and tui fields.
  • api.port is 8642–8652. TUI uses nested dashboard.tui.enabled.
  • These fields belong to the harness. Do not emit an agent-level interfaces object or reuse OpenClaw bind fields.

Acceptance for this mapping: Parse enabled and disabled dashboard cases, preserve explicit port/TUI values, and retain the installed Hermes interface checks.

Sources: hermes-interfaces.yaml, interfaces.rs.

Exporter acceptance scope

Apply these requirements to the feature or regression covered by this issue and its accepted scope.

  1. Define v1-compatible YAML. Document the required fields and an example using apiVersion: nemoclaw.nvidia.com/v1alpha1 and kind: NemoClawConfig. Record the target v1 revision and verify compatibility with its parser. If a required format does not exist, mark it N/A and link the schema dependency. N/A does not satisfy this requirement.
  2. Export the target feature. The real configuration exporter must export the feature from a representative, admitted v0 deployment. Preserve the issue's required settings in the generated YAML. The raw output must pass the target v1 parser without manual field rewriting or a compatibility translator.
  3. Provide manual or E2E proof with the real exporter. Attach a manual reproduction or an E2E run using the installed or built exporter CLI against a real source deployment. Record the source feature setup, exporter version/commit, target v1 commit, command, output artifact or run link, and result. Show that export succeeds, the required feature settings are preserved, and the raw YAML passes target validation. A handwritten example or mocked builder test alone does not satisfy this requirement.

For E2E proof, identify the owning feature or migration scenario and reuse it where possible. Deterministic mapping tests remain responsible for field and refusal cases; the live proof covers the real source-to-exporter boundary.

This section defines acceptance requirements; it does not assert that the evidence is already complete.

Activity

  1. added
    needs: triage
    on Sep 10, 2026
  2. added theissue type on Sep 10, 2026
  3. self-assigned this
    on Sep 10, 2026
  4. cv commented on Sep 10, 2026

    @cv
    CollaboratorAuthor

    Implementation design is ready for a child-specific decision. Proposed disposition: Accept; not yet recorded as accepted scope.

    Reason: preserve the five existing Hermes interface inputs through one useful export configuration. Placement: core configuration model and shared export domain. Proposed accountable maintainer: Carlos Villela (cv).

    The first qualification uses a managed Hermes sandbox with hosted inference, dashboard public port 19000, internal port 19120, TUI enabled, and API port 8643:

    interfaces:
      dashboard:
        enabled: true
        port: 19000
        internalPort: 19120
        tui:
          enabled: true
      api:
        port: 8643

    Reuse agents[].interfaces from #11431 with closed per-agent schemas. Preserve OpenClaw fields and reject Hermes-only fields there. Preserve canonical Hermes output by omitting the disabled dashboard, default leaves, and default API port. Resolve omitted defaults before checking port conflicts. Existing Hermes dashboard restrictions also exclude internal API port 18642, in addition to 8642–8652.

    The completed registry allocation, its lifecycle generation, and its match to the live sandbox establish retained API-port intent. Registration publishes these together after successful creation. Require an explicit valid allocation for the new interface export; reject pending reservations, missing nondefault allocation, stale identity, contradictory aliases, and changing evidence. This export records retained intent, not whether a host tunnel is running. No new process, environment, or credential reader is required.

    Keep schema, evidence, and publication in their current owners. Extract the existing OpenClaw and new Hermes interface verification into one focused domain module if needed to keep the orchestrating verifier small. This replaces existing blocks; it does not add an interface framework.

    Validation will cover the actual parser/profile/registry path, schema and cross-agent restrictions, complete export, stability, redaction, and packaged-schema equivalence. Extend the existing Hermes dashboard E2E owner to exercise export with API 8643 and both CLI names; it currently exercises export only in the security-posture lane. Preserve installation, authentication, lifecycle, and cleanup checks. GitHub native Linux/Docker workflows will provide runtime evidence, with minimal focused local validation.

    This additive, read-only v1 extension changes no input precedence, forwarding, authentication, or credential lifecycle. It depends on the shared dashboard schema from #11431, but not the separately owned Nous-auth extension. Remote/WSL exposure, custom URLs, local inference, messaging, tool gateways, and config apply remain deferred. Implementation awaits the recorded child decision.

  5. cv commented on Sep 10, 2026

    @cv
    CollaboratorAuthor

    Product and engineering decision: Accept

    Decision: Accept. Carlos Villela approved implementation of this reviewed design on September 10, 2026.

    Reason: Preserve the five existing Hermes interface inputs using completed registry allocation and existing sandbox identity evidence.

    Placement: Core NemoClaw CLI configuration and shared export domain, with changes to the existing behavior owners described in the reviewed design.

    Accountable maintainer and implementation owner: Carlos Villela (cv).

    Accepted scope: Hermes dashboard, TUI, and API-port export. The linked design establishes the supported configuration, ownership, compatibility, exclusions, and implementation boundaries. This is an additive read-only v1 export extension; existing input precedence, authentication and credential lifecycle, and config-apply behavior remain unchanged.

    Validation plan: Existing parser/profile/registry, closed-schema, verifier, stability and complete export tests; extend the existing Hermes dashboard GitHub qualification for nondefault ports, both CLI names, identity mismatch, authentication, lifecycle and cleanup. GitHub workflows own broad and runtime validation; local checks remain focused. Include owning repository guidance and retain existing security and publication controls.

  6. added
    integration: hermes
    integration: openclaw
    and removed
    needs: triage
    on Sep 10, 2026
  7. cv commented on Sep 10, 2026

    @cv
    CollaboratorAuthor

    Draft #11477 is published at 0eb6dc1087d6d876f529a86c59cc840e3fd43005, synchronized with main 9e07bcfa2bd944c84582ed787a7c1d15a5d6e4b7 and its Hermes API-key authentication support.

    The accepted dashboard, browser TUI and allocated API-port behavior uses the shared export pipeline and existing registry/lifecycle evidence. Main integration preserves telemetry, authentication and the existing closed agent schemas. Independent review found no actionable issue; focused integration/repair tests, fresh CLI/plugin builds and all canonical routine publication checks pass. GitHub verifies all 11 outgoing commits.

    GitHub aggregate/coverage validation, automated evaluation and managed runtime qualification are pending. The PR remains draft; installed export still depends on SDK repair #11472. No ready-for-human-review or merge claim is made.

  8. added a commit that references this issue on Sep 10, 2026
    dab48f5
  9. added
    area: cli
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: cliintegration: hermesintegration: openclaw

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions