Repository navigation
Description
Parent epic: #6401
Problem
Brev prebuilds the OpenClaw, Hermes, and Deep Code sandbox images into its GCE image to remove the normal first-onboard Docker build. Today the fast path can only consume those images by bypassing nemoclaw onboard and calling openshell sandbox create directly.
NemoClaw needs a supported way for canonical onboarding to discover and reuse a compatible prebuilt artifact without bypassing its provider, policy, registry, readiness, recovery, and lifecycle logic.
Proposed direction
Introduce a first-class prebuilt-artifact input to onboarding. The exact interface requires design, but it should support a local Docker image and leave room for a registry digest or packaged artifact.
The artifact must carry or be checked against enough provenance to prevent silently combining incompatible components, including:
- NemoClaw release/build fingerprint
- agent and image variant
- architecture/platform
- expected base-image digest
- required OpenShell/runtime capabilities
- configuration schema/version
- whether configuration is safely deferred to runtime
Canonical onboarding should own the decision to reuse, rebuild, or fail.
Requirements
- Reuse is opt-in through a documented CLI/environment/API contract; downstreams do not import internal modules.
- Compatibility is verified before sandbox creation.
- Agent/provider/model/policy/integration choices still flow through canonical onboarding.
- The provider credential remains in the OpenShell host-side provider boundary.
- Registry metadata is identical in shape and meaning to a normally built sandbox.
- The image fingerprint participates in stale-sandbox and upgrade detection.
- A missing or incompatible artifact produces an explicit fallback build or actionable error.
- OpenClaw, Hermes, and Deep Code behavior is defined separately where their build/configuration contracts differ.
Acceptance criteria
- A documented
nemoclaw onboardinvocation can create a sandbox from a compatible local prebuilt image. - No direct downstream
openshell sandbox createcall is required. - Tests cover compatible reuse, stale release, wrong agent, wrong architecture, missing image, and fallback behavior.
- The created sandbox passes normal status, rebuild, upgrade, backup, policy, and registry checks.
- Reuse materially reduces onboarding latency and emits whether the prebuilt or build path was selected.
Dependencies
Blocks the downstream Brev migration in the parent epic.
Coordination with lifecycle stabilization
Prebuilt artifacts must declare whether provider/model routing is runtime-configurable or build-bound. A provider/model mismatch must not implicitly mean --fresh or unconditional sandbox recreation.
Additional requirements:
- Resolve artifact compatibility and the reuse/build/fail decision before destructive effects, using the intent boundary from refactor(onboard): capture sandbox create intent before destructive effects #6226.
- If rebuilding is required, use canonical confirmation, backup/restore, compensation, and checkpoint semantics.
- Revalidate artifact identity and runtime bindings on resume through refactor(onboard): add versioned checkpoints and resumable create replay #6228 rather than persisting an effectful build plan.
- Deep Code artifacts must distinguish user-restorable preferences from NemoClaw-managed routing, coordinated with Add key-level state ownership to agent manifests #6334.
Activity
jyaunches commentedon Sep 9, 2026
Closed as superseded for the demonstrated Brev fast-path need: #9140 and merged PR #9323 activated exact-digest buildless managed onboarding for the shipped agents. If a current consumer requires an arbitrary user-supplied prebuilt artifact, scope that separately under the accepted #10904 configuration architecture with explicit provenance, ownership, compatibility, fallback, and validation requirements.