fix(sandbox): preserve name in host-side hints - #7896
Conversation
Propagate the validated sandbox name through managed startup and recovery commands. Channel guards can then render copyable host commands when OpenShell exposes only a boolean marker. Fixes NVIDIA#7292 Signed-off-by: Deepak Jain <deepujain@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughThe change forwards resolved sandbox names to managed sandbox environments and updates policy-denial hint rendering to prefer and validate ChangesSandbox name propagation and policy-denial hints
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Closing in favor of #7870, which already covers the same runtime name propagation and connect-shell hint path with live OpenShell evidence. |
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
Nemotron output stays in workflow artifacts and does not change the assessment above. E2E guidanceAdvisory only. E2E / PR Gate selects and runs jobs independently. Recommended E2E: 1 optional E2E recommendation
This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Summary
Preserve the validated sandbox name in managed startup commands so in-sandbox channel guards can print a copyable host command. This replaces the literal
<name>fallback when supported OpenShell versions exposeOPENSHELL_SANDBOXas a boolean marker.Related Issue
Fixes #7292
Changes
NEMOCLAW_SANDBOX_NAMEto every managed agent during sandbox creation and supervisor relaunch.Type of Change
Quality Gates
Documentation Writer Review
no-docs-neededDGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailablenpm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run build:cli,npm run typecheck:cli,npm run lint, andnpm run check:diffnpm run docsbuilds without warnings (doc changes only)Signed-off-by: Deepak Jain deepujain@gmail.com
Summary by CodeRabbit
Bug Fixes
Tests