Skip to content

fix(onboard): exclude Hermes Portable from managed activation - #9635

Merged
cv merged 1 commit into
feat/b3-e-buildless-onboarding-9140from
fix/hermes-portable-managed-activation-9634
Aug 20, 2026
Merged

cv merged 1 commit into
feat/b3-e-buildless-onboarding-9140from
fix/hermes-portable-managed-activation-9634

Conversation

@ericksoa

Copy link
Copy Markdown
Member

Summary

Stock managed-runtime activation accepted Hermes Portable because the decision input only carried the OpenClaw portable lifecycle flag. This PR carries the Hermes Portable lifecycle into that decision, preserving the shipped Hermes Dockerfile path while leaving normal shipped-agent managed activation and the fail-closed guard unchanged. The activation unit test now covers the separate Hermes Portable flag that prior coverage omitted.

Related Issue

Fixes #9634

Stacked on #9323. Supports #9140.

Changes

  • Pass the Hermes Portable lifecycle selection into the stock managed-runtime activation decision.
  • Exclude OpenClaw Portable and Hermes Portable while retaining managed activation for shipped non-Portable agents.
  • Add focused regression coverage for Hermes Portable activation selection.

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)

Quality Gates

  • Tests added or updated for changed behavior
  • Existing tests cover changed behavior — justification:
  • Tests not applicable — justification:
  • Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging)
  • Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification:
  • Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue:

DGX Station Hardware Evidence

  • Tested on DGX Station
  • Tested commit: Not applicable
  • Station profile/scenario: Not applicable
  • Result: Not applicable
  • Supporting evidence: Not applicable

Verification

  • PR description includes a Signed-off-by: line and every commit appears as Verified in GitHub
  • Normal pre-commit, commit-msg, and pre-push hooks passed, or npm run validate:pr passed after refreshing origin/main when hooks were skipped or unavailable
  • Targeted behavior tests pass for the current change set, or tests are marked not applicable above — npx vitest run --project cli src/lib/onboard/managed-workload/onboard-orchestration.test.ts (8 passed); npx vitest run --project cli src/lib/onboard/sandbox-gpu-create-flow-hermes-portable.test.ts (8 passed)
  • Applicable broad gate passed — npm test for broad runtime/test-harness changes; npm run check for repo-wide validation/coverage changes — command/result:
  • Quality Gates section completed with required justifications or waivers
  • No secrets, API keys, or credentials committed
  • 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: Aaron Erickson aerickson@nvidia.com

@ericksoa ericksoa self-assigned this Aug 19, 2026
@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: c40bc55e-9b79-4e69-8c18-346a8e58b904

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

@github-code-quality

github-code-quality Bot commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit bc62903 in the fix/hermes-portable-... branch remains at 96%, unchanged from commit b2fc1df in the feat/b3-e-buildless-... branch.

TypeScript / code-coverage/cli

The overall line coverage in commit bc62903 in the fix/hermes-portable-... branch remains at 83%, unchanged from commit a1cdcd2 in the feat/b3-e-buildless-... branch.

Show a line coverage summary of the most impacted files.
File feat/b3-e-buildless-... a1cdcd2 fix/hermes-portable-... bc62903 +/-
src/lib/inferen...er-lifecycle.ts 41% 6% -35%
src/lib/onboard...idge-process.ts 69% 47% -22%
src/lib/onboard...ivate-bridge.ts 81% 68% -13%
src/lib/onboard...model-router.ts 83% 73% -10%
src/lib/inferen.../vllm-models.ts 93% 85% -8%
src/lib/onboard...al-inference.ts 84% 80% -4%
src/lib/inference/vllm.ts 89% 87% -2%
src/lib/onboard...file-builder.ts 91% 95% +4%
src/lib/onboard...rtup/profile.ts 89% 95% +6%
src/lib/messagi...ams/contract.ts 0% 100% +100%

Updated August 20, 2026 10:55 UTC

@senthilr-nv senthilr-nv added bug-fix PR fixes a bug or regression area: onboarding Onboarding FSM, provider setup, sandbox launch, or first-run flow area: sandbox OpenShell sandbox lifecycle, runtime, config, or recovery integration: hermes Hermes integration behavior security v0.0.112 labels Aug 19, 2026

@cv cv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The change passes the Hermes Portable lifecycle flag into the stock managed-runtime decision and preserves managed activation for shipped non-Portable agents. Focused tests cover the regression and unchanged activation cases. The retried CLI run completed, and the remaining failed advisor lane published no findings.

@cv
cv merged commit 58ef958 into feat/b3-e-buildless-onboarding-9140 Aug 20, 2026
74 of 85 checks passed
@cv
cv deleted the fix/hermes-portable-managed-activation-9634 branch August 20, 2026 21:27
@wscurran wscurran added area: security Security controls, permissions, secrets, or hardening and removed security labels Oct 29, 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 area: sandbox OpenShell sandbox lifecycle, runtime, config, or recovery area: security Security controls, permissions, secrets, or hardening bug-fix PR fixes a bug or regression integration: hermes Hermes integration behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants