Skip to content

Bootstrap sandbox OpenClaw config after launch and migrate#5

Closed
ericksoa wants to merge 7 commits intomainfrom
vincentkoc-openclaw-json-fix
Closed

Bootstrap sandbox OpenClaw config after launch and migrate#5
ericksoa wants to merge 7 commits intomainfrom
vincentkoc-openclaw-json-fix

Conversation

@ericksoa
Copy link
Copy Markdown
Contributor

Migrated from NVIDIA/openshell-openclaw-plugin#12 by @vincentkoc

Summary

  • run openclaw setup inside the sandbox after a fresh launch so NemoClaw creates openclaw.json, the default workspace, and session directories before first use
  • run the same sandbox bootstrap step after migrate copies host state so config-less installs still get a valid sandbox config
  • add a Docker E2E regression with a fake openshell harness that proves the bootstrap path invokes openclaw setup and materializes openclaw.json

Testing

  • cd nemoclaw && npm install
  • cd nemoclaw && npm run build
  • cd nemoclaw && npx eslint src/commands/launch.ts src/commands/migrate.ts src/commands/sandbox-bootstrap.ts
  • docker build -f test/Dockerfile.sandbox -t nemoclaw-e2e .
  • docker run --rm -v "$PWD/test/e2e-test.sh:/tmp/e2e-test.sh:ro" nemoclaw-e2e /tmp/e2e-test.sh

vincentkoc and others added 7 commits March 16, 2026 01:04
Signed-off-by: Vincent Koc <vincentkoc@ieee.org>
Signed-off-by: Vincent Koc <vincentkoc@ieee.org>
Signed-off-by: Vincent Koc <vincentkoc@ieee.org>
Signed-off-by: Vincent Koc <vincentkoc@ieee.org>
Signed-off-by: Vincent Koc <vincentkoc@ieee.org>
(cherry picked from commit 0662c8cc12ca42c6791a771be5d3e5f4fe14bbd9)
Signed-off-by: Vincent Koc <vincentkoc@ieee.org>
@wscurran
Copy link
Copy Markdown
Contributor

Thanks for enhancing the sandbox setup process by running openclaw setup after launch and migrate, ensuring that NemoClaw creates the necessary OpenClaw config and directories for a smooth user experience.

@wscurran wscurran added enhancement: feature Use this label to identify requests for new capabilities in NemoClaw. OpenClaw Plugin Integration: OpenClaw Support for OpenClaw Migration Use this label to identify issues with migrating to NemoClaw from another framework. priority: medium Issue that should be addressed in upcoming releases NemoClaw CLI Use this label to identify issues with the NemoClaw command-line interface (CLI). and removed OpenClaw Plugin labels Mar 20, 2026
@cv
Copy link
Copy Markdown
Contributor

cv commented Mar 21, 2026

Hey @ericksoa, wanted to touch base on this PR as well. I see you've been active with several contributions and we really appreciate that. The codebase has changed quite a bit since this was opened — we've landed CI checks and a number of new features that may affect the sandbox bootstrap flow. When you have a moment, a rebase onto main would help us review this with the current state of things in mind. No rush, just whenever you get a chance!

@ericksoa ericksoa closed this Mar 22, 2026
jessesanford pushed a commit to jessesanford/NemoClaw that referenced this pull request Mar 24, 2026
…migrate-hooks

Fix NemoClaw migrate state sync for hooks and local assets
jyaunches pushed a commit to jyaunches/NemoClaw that referenced this pull request Apr 14, 2026
- Guard runArgv/runArgvCapture against shell:true to prevent security
  bypass (finding NVIDIA#1) — throws if a caller attempts to re-enable shell
  interpretation. Added 2 tests.
- Document the intentional bash -c exception in getOllamaWarmupCommand
  explaining why it's safe (finding NVIDIA#2).
- Remove dead getOpenshellCommand() from policies.ts (finding NVIDIA#3).
- Remove unused shellQuote import from nim.ts (finding NVIDIA#4).
- Fix brittle indexOf assertion in onboard-readiness test (finding NVIDIA#5).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement: feature Use this label to identify requests for new capabilities in NemoClaw. Integration: OpenClaw Support for OpenClaw Migration Use this label to identify issues with migrating to NemoClaw from another framework. NemoClaw CLI Use this label to identify issues with the NemoClaw command-line interface (CLI). priority: medium Issue that should be addressed in upcoming releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants