Repository navigation
Description
Superseded by #12603 (2026-11-18)
This pre-work epic is closed as superseded by the integrated OpenShell upgrade PR #12603, which now targets OpenShell 0.1.9.
Remaining native-inference migration, managed-route retirement, profile qualification, agent/platform parity, legacy cutover safety, and owned cleanup follow that PR. Closing these trackers does not establish passing qualification or approve merge or release. The accepted requirements and evidence below remain historical context; the delivery status dated 2026-11-16 is no longer the active work plan.
Related open trackers consolidated into #12603: #12636, #12940, #13197, #12975, and #13346. Completed children retain their existing closure records. Independent bugs, repair PRs, and the broader stability epic #13338 retain their own scope.
Problem
NemoClaw historically sent inference traffic through OpenShell's workspace-wide inference.local route. Most native-provider implementations have merged, but retained shared routes and qualification gates remain. OpenShell 0.1.x removes that route. Sandboxes must instead attach providers and call their native endpoints.
The upgrade also requires explicit provider-profile imports and image references in place of Dockerfile paths at openshell sandbox create --from. NemoClaw can prepare these behaviors on its current OpenShell pin before combining them with SDK, gateway-schema, artifact, and packaging changes. The separate dependency update, #12603, now targets OpenShell 0.1.7. This epic retains its pre-work scope and does not authorize the pin change.
Delivery status (2026-11-16)
Most implementation has merged. This epic remains open for retained-route disposition, route retirement, qualification evidence, and tracking reconciliation.
| Track | Recorded status | Remaining action |
|---|---|---|
| NVIDIA hosted | #12562 merged. | Include its supported paths in final parity evidence. |
| Fixed hosted providers | #12886 merged; #12589 closed. | Include distinct protocols and credential shapes in final parity evidence. |
| Custom hosted endpoints | #13201 merged; #13195 closed. Original tracker #12636 remains open. | Reconcile #12636 against merged behavior and recorded coverage limitations. Track the open DCode trusted-private credential repair in #13888. |
| Host-local agents | DCode #13203, OpenClaw #13293, Pi #13007, and Hermes #13292 all merged. | Reconcile per-agent runtime and cleanup evidence below. Do not start competing implementations. |
| Local NVIDIA NIM | #13116 preserves the shared route. | Resolve and qualify a native path under a separate accepted decision before retiring that route. |
| Provider-profile imports | Inventory and repairs #13345, #13558, #13353, and #13351 completed; Model Router native profile #14104 merged and #13560 closed. | Complete selected-release qualification #13346, then reconcile parent #12940. |
| Dockerfile image handoff | #13035 and #13077 merged; #12942 closed. | Retain the delivered engine and source admission boundaries in final compatibility evidence. |
| Managed-route retirement | Slice 5 is not recorded as complete. | Verify every retained selection, remove production shared-route dependencies, and prove operation with the old route disabled. |
Remaining closure gates
- Reconcile existing evidence before scheduling more qualification. Record tested commits, selectors, terminal results, and cleanup against Migrate Deep Agents Code local inference to native providers #13197, Defer Hermes native-local credential projection from Slice 4 #12921, Alternative Slice 4 plan: preserve local inference through three stacked PRs #12975, and Slice 3: Move user-supplied hosted endpoints to native inference #12636. Reuse valid results; do not infer full-matrix success from a merged PR.
- Resolve Local NIM's native path through Decide and preserve Local NVIDIA NIM routing through native inference migration #13116's separate decision boundary. Preserving its shared route does not satisfy Slice 5.
- Complete Slice 5 after every retained provider selection has a qualified native path. Keep compatible-endpoint, registered-provider, and routed-provider callers in the final inventory.
- Complete Qualify the import-only provider lifecycle on the selected OpenShell release #13346 on the selected OpenShell release: empty catalog, import/create/attach, matching-profile reuse, collision refusal before mutation, and terminal cleanup. Record the binary or image identity and tested NemoClaw commit.
- Reconcile Verify provider profile imports for the OpenShell upgrade #12940 and the remaining child trackers, then record the repository-defined parity evidence and handoff to chore(deps): upgrade OpenShell runtime and SDK to 0.1.10 #12603. The upgrade's runtime, platform, and release gates remain owned by that separate PR.
Product decision and outcome
Decision: Accept.
- Reason: Move inference to native provider access before the selected OpenShell upgrade combines it with dependency and runtime changes.
- Placement: Core NemoClaw onboarding, inference selection, provider integration, agent configuration, health, and model compatibility.
- Accountable maintainer: @rsliter.
- Validation: Preserve current user commands and the repository-defined provider, agent, and platform matrix for the completed epic. Host-local delivery is tracked per agent below. Retained OpenClaw, Pi, Hermes, and Local NIM selections remain available on their current routes until their own accepted native slices are qualified. Prove each native provider class through existing test owners.
The ownership model is:
- NemoClaw defines its supported provider profiles, endpoints, model configuration, and safe defaults.
- OpenShell stores credentials, attaches providers to sandboxes, and enforces endpoint and executable restrictions.
- Each sandbox receives only its selected provider access.
- Each agent calls the provider's native endpoint and owns the model, request format, and timeout.
NemoClaw will not recreate OpenShell's retired workspace-wide inference route.
This decision governs the native-inference slices below. #12940 checks the existing provider-profile ownership contract against the import-only catalog. #12942 records its own Accept decision for the local Dockerfile-to-image build handoff. Neither child authorizes the OpenShell pin change.
Desired behavior
- Existing NemoClaw onboarding and inference-selection commands remain unchanged.
- NemoClaw installs and maintains only its own provider profiles.
- NemoClaw attaches the selected provider to the selected sandbox.
- Agent configuration uses the provider's native endpoint.
- Status and health checks test the same native path that the agent uses.
- Credential values remain inside OpenShell's credential boundary.
- A failed native path does not silently fall back to
inference.local. - Supported provider paths import and verify their NemoClaw-owned profiles before provider creation or attachment.
- Generated Dockerfile paths build an image with the selected local Docker or Podman gateway engine, then pass its reference to OpenShell. The user-supplied Dockerfile path follows Build Dockerfile sources into images before OpenShell sandbox creation #12942's scope gate: support the same flow if it stays simple, or deprecate it. Report build and creation failures, and report success only after readiness.
Scope
Included
- Add NemoClaw-owned, workspace-scoped profiles for current supported providers.
- Create or reuse NemoClaw-owned provider instances without exposing credential values.
- Attach providers to the selected sandbox and wait for applied state where required.
- Configure each current agent with the native endpoint, model, API format, and timeout.
- Preserve required model-specific compatibility outside the retired hostname contract.
- Replace route-specific health, status, repair, DNS, and policy behavior.
- Remove managed-route dependencies after every supported provider selection has a native path.
- Audit and close import-only provider-profile gaps through Verify provider profile imports for the OpenShell upgrade #12940.
- Build generated Dockerfile sources into images for local gateways through Build Dockerfile sources into images before OpenShell sandbox creation #12942. Attempt the same for user-supplied Dockerfiles within that issue's scope gate, with clear phase and failure messages.
Excluded
- Updating the OpenShell CLI, SDK, gateway, image, supervisor, or driver pin.
- SDK request changes or gateway schema changes for the selected OpenShell release.
- GPU ownership changes, lifecycle fallback removal, or legacy sandbox handling beyond Build Dockerfile sources into images before OpenShell sandbox creation #12942's Dockerfile build handoff.
- New providers, agents, platforms, models, or support commitments beyond Build Dockerfile sources into images before OpenShell sandbox creation #12942's scoped local Docker/Podman Dockerfile work.
- A generic provider-profile editor, routing framework, or compatibility layer.
- Automatic fallback between native and managed inference.
- Automated migration for existing beta sandboxes.
- Remote-gateway image publication or registry support.
- A new E2E framework or a second platform matrix.
- The
gateway infotransport cleanup owned by Isolate the OpenShell integration and migrate eligible CLI operations to the SDK or gRPC #9802.
Profile and security rules
- Use NemoClaw-specific profile IDs. Do not overwrite a built-in or user-owned profile.
- Scope profiles to the NemoClaw workspace unless an accepted follow-up requires wider scope.
- Treat a conflicting profile ID or ownership mismatch as an error.
- Restrict each profile to required endpoints and executable paths.
- Keep existing URL and SSRF validation for user-supplied endpoints.
- Never put credential values in command arguments, logs, state, artifacts, or model-visible output.
- After an ambiguous create or attach result, observe OpenShell state before another mutation.
- Detach or delete only resources with proven NemoClaw ownership and sandbox identity.
OpenShell stores credentials for the provider lifetime. The sandbox receives opaque placeholders. OpenShell removes access when NemoClaw detaches the provider or deletes the owned sandbox or provider.
Capability slices
Slice 1: Use native NVIDIA hosted inference
Implementation PR: #12562 (merged).
Outcome: Fresh sandboxes that use the default NVIDIA hosted provider call its native endpoint without inference.local.
- Add the minimum profile ensure, provider ensure, attachment, and observation behavior.
- Configure each supported agent for the native NVIDIA endpoint.
- Move onboarding, inference selection, status, and health for this provider to the native path.
- Prove profile collision denial and credential redaction.
Do not create a standalone provider framework. Later slices may extend only the mechanism this outcome requires.
Slice 2: Move remaining fixed hosted providers
Implementation: #12886 merged; #12589 closed.
Outcome: Every current provider with a fixed public endpoint uses native provider access.
- Map each current fixed hosted selection to one NemoClaw-owned profile.
- Preserve current OpenAI-compatible, Anthropic, Gemini, and other existing protocol behavior.
- Preserve model-specific compatibility only where the native provider requires it.
- Test each distinct protocol and credential shape. Do not test every provider on every platform in this slice.
This slice depends only on Slice 1's minimum mechanism.
Slice 3: Move user-supplied hosted endpoints
Implementation: #13201 merged and closed retry tracker #13195. Original tracker #12636 remains open and needs reconciliation.
Evidence limits: #13338 records deferred real-request combinations for Hermes custom Anthropic-to-OpenAI, fresh public custom OpenAI onboarding, and Pi credential rewrite. These are coverage gaps, not established regressions. Open repair #13888 addresses DCode trusted-private compatible-endpoint credential selection.
Outcome: Existing compatible-endpoint workflows create an endpoint-specific profile and use the native endpoint.
- Validate the endpoint before profile creation.
- Bind credentials only to the validated endpoint and API surface.
- Never repoint a public vendor profile to another host.
- Fail without partial activation for malformed endpoints, profile collisions, or unsupported protocols.
This slice depends on Slice 1. It does not depend on Slice 2.
Slice 4: Move host-local providers
All four agent implementations merged. #12975 remains the local-inference tracking owner. Its October delivery plan is historical; use the merged PRs and later evidence below.
| Agent | Owning work | Recorded disposition and remaining action |
|---|---|---|
| Deep Agents Code | #13197, merged #13203 | #13197 still explicitly requires post-merge runtime outcomes and cleanup. Reconcile those records before closing it. |
| OpenClaw | Merged #13293; follow-up #13447 | Native target passed on main in two recorded runs. This qualifies that target, not the surrounding full workflows or every compatible-endpoint combination. |
| Pi | Merged #13007; follow-up #13367 | #13338 records run 38953506804 passing all Pi qualification phases. Reconcile the evidence and still-open #13364; do not treat its earlier failure text as the final result. |
| Hermes | #12921, merged #13292 | #13292 records a passing seven-case qualification, including switching and cleanup. Reconcile that selector's coverage with #12921's three credential slots and local startup/rebuild requirements before closing the issue. |
Local NVIDIA NIM retains its shared route under #13116; #13220 preserves that boundary for DCode. Do not infer native NIM approval from standalone vLLM support.
- Use the existing qualified host address and least-privilege authenticated or credentialless profile.
- Prove the actual agent's selected endpoint/model, scoped authentication, sibling denial, restart/rebuild, status, and owned cleanup.
- Preserve current runtime startup and GPU ownership.
- Fail visibly on a failed native operation. Do not fall back to the shared route.
- Keep manual backup and fresh recreation for legacy states that cannot safely resume or rebuild. Do not add automatic migration.
Earlier combined PRs #12777 and #12977 are closed without merge. Use merged main as the base; retain those PRs as historical references. Documentation catch-up #13308 merged; later routing guidance #13609 also merged.
This slice depends on Slice 1 and can proceed alongside hosted-provider work. A merged implementation is not a claim of completed runtime qualification.
Slice 5: Retire the managed inference route
Outcome: NemoClaw no longer calls OpenShell managed-inference commands or depends on inference.local.
- Remove production calls to
openshell inference getandopenshell inference set. - Remove obsolete route-specific DNS, policy, health, repair, and compatibility code.
- After every supported caller has a native path, remove the compatible-endpoint smoke check's
inference.localrequests and route-specific diagnostics. Keep its in-sandbox model-response proof, applicable direct-access denial checks, and fail-closed errors. - Update current guidance without changing NemoClaw's user-facing commands.
- Disable the old route on the current OpenShell release and run existing inference qualification.
Do not start this slice until every current provider selection has a working native path. Local NIM #13116 still retains the shared route. Reconcile the merged Hermes implementation and its evidence against #12921, plus all other retained selections, before claiming full-agent parity. Completing one agent or recording one passing target does not satisfy this gate.
Other upgrade-readiness tracks
- #12940: Verify provider profile imports. Inventory reconciliation Reconcile import-only profiles across supported provider creation paths #13345 and its repairs completed. docs(providers): reconcile import-only profile inventory (#13345) #13558 records the inventory, and fix(inference): attach a native Model Router provider #14104 supplies the Model Router native profile. Selected-release qualification Qualify the import-only provider lifecycle on the selected OpenShell release #13346 remains open. Reconcile these results before closing Verify provider profile imports for the OpenShell upgrade #12940.
- #12942: Build Dockerfile sources into images. Closed after generated-source fix(onboard): build generated Dockerfiles before sandbox create #13035 and custom-Dockerfile fix(onboard): build custom Dockerfiles before sandbox create #13077 merged. Generated recipes use their admitted local engine; custom Dockerfiles use local Docker BuildKit. Preserve native Podman's source admission limits and the existing Portable Hermes rootless-Podman flow. Remote gateways without image distribution fail before building.
Each child owns its detailed acceptance and validation. #12603 separately owns the selected OpenShell pin, gateway schema, SDK, runtime, and platform qualification.
Acceptance evidence
- A supported selection installs or reuses the NemoClaw-owned profile and provider.
- OpenShell attaches that provider only to the selected sandbox.
- A fresh agent process completes a native request with the selected model.
- Status and health assess the endpoint used by the agent.
- A user-owned profile collision causes no mutation.
- A rejected endpoint creates no profile or provider.
- Credential values remain absent from arguments, logs, state, artifacts, and model-visible output.
- An ambiguous mutation triggers observation instead of a second mutation.
- A failed native request does not become success or trigger managed-route fallback.
- Production code has no managed-route command or hostname dependency after Slice 5.
- The existing repository-defined platform matrix passes on the current OpenShell pin.
- Verify provider profile imports for the OpenShell upgrade #12940 proves profile import ordering, repeat setup, collision refusal, and a representative selected-release smoke run.
- Build Dockerfile sources into images before OpenShell sandbox creation #12942 proves that generated and any supported user-supplied Dockerfile paths pass an image reference, report build failures before sandbox creation, and report success only after readiness. If the user-supplied path exceeds its scope gate, Build Dockerfile sources into images before OpenShell sandbox creation #12942 proves its deprecation warning and early rejection. A remote gateway without image distribution fails before build.
Related work
- Isolate the OpenShell integration and migrate eligible CLI operations to the SDK or gRPC #9802 owns migration away from unstable OpenShell CLI interfaces. Its structured gateway-discovery slice may proceed in parallel.
- [Epic] Prepare NemoClaw ownership boundaries for OpenShell 0.1.0 #11944 established the OpenShell and native-agent ownership boundary. It does not own this inference migration.
- PR refactor(lifecycle): retire NemoClaw-owned container orchestration #11909 moved standard Docker and native Podman lifecycle to OpenShell.
- PR refactor(lifecycle): return gateway ownership to native agents #11792 returned gateway and background-process lifecycle to native agents.
- [DGX Spark][Onboard] onboard --from accepts a Dockerfile path for OpenClaw but refuses the same path for Hermes and Deep Agents Code #11888 records agent-dependent custom-Dockerfile admission; Build Dockerfile sources into images before OpenShell sandbox creation #12942 retains its input-validation boundary.
- [Ubuntu 26.04][Onboard] --fresh cannot reclaim a pre-create route reservation after a custom image build failure #11415 separately owns the retry failure after a pre-create image build failure. Build Dockerfile sources into images before OpenShell sandbox creation #12942 reports the failed phase and stops; it does not add retry or reservation recovery behavior.
Delivery order
- Reconcile the merged hosted and per-agent local slices against their acceptance evidence. Preserve explicit coverage gaps and retained routes.
- Resolve and qualify the remaining native selections, including Local NIM, before route retirement.
- Deliver Slice 5 and prove that the old route can be disabled without losing a retained selection.
- Complete Qualify the import-only provider lifecycle on the selected OpenShell release #13346 against the selected release and close Verify provider profile imports for the OpenShell upgrade #12940 after reconciling its completed inventory and repairs. Build Dockerfile sources into images before OpenShell sandbox creation #12942's implementation is already complete.
- Record final parity evidence and the pre-work handoff to chore(deps): upgrade OpenShell runtime and SDK to 0.1.10 #12603. Keep its OpenShell 0.1.7 dependency update and qualification outside this epic.
Stop conditions
- Stop if current OpenShell cannot attach a provider without weakening credential protection.
- Stop if a profile requires wildcard endpoint or executable access.
- Stop if a slice requires a new provider, agent, platform, migration guarantee, or user workflow.
- Stop if compatibility requires automatic fallback between native and managed routes.
- Stop if a pre-work change requires the selected OpenShell release's SDK or gateway schema.
- Stop route retirement until every current provider selection passes native-path evidence.
- Stop extending Build Dockerfile sources into images before OpenShell sandbox creation #12942's user-supplied Dockerfile path if it needs broader build access, changed context or credential boundaries, remote image publication, multiple agent or runtime exceptions, or new recovery protocols. Deprecate that path under Build Dockerfile sources into images before OpenShell sandbox creation #12942's scope gate while keeping generated-Dockerfile onboarding functional.
Checklist
- Product decision records reason, placement, owner, and validation.
- Scope excludes the selected OpenShell dependency update.
- Scope excludes Isolate the OpenShell integration and migrate eligible CLI operations to the SDK or gRPC #9802 transport work.
- Capability slices deliver user or maintainer value.
- Security and failure boundaries are explicit.
- Verify provider profile imports for the OpenShell upgrade #12940 and Build Dockerfile sources into images before OpenShell sandbox creation #12942 track import-only profiles and local Dockerfile image builds as separate readiness outcomes.
Activity
feat(inference): delegate NVIDIA hosted inference to OpenShell (#12562)
fix(inference): preserve native routing and cleanup authority
fix(messaging): validate managed Slack remediation boundaries (#12846)
ci(e2e): record approved Slice 4 assertion exception (#12838)
rsliter commentedon Oct 9, 2026
Proposed requirement for the separate OpenShell 0.1.2 upgrade
Epic #12558 migrates inference on the current OpenShell pin. Its accepted scope excludes the 0.1.2 pin change and legacy sandbox migration. The following is a dependency for that later upgrade, not an added acceptance criterion for this epic.
Cutover gate requirements
Readyphase, backup, or environment flag alone must not bypass it.This gate prevents an unsafe cutover. It does not authorize or implement sandbox migration or rollback.
12 remaining items
fix(inference): pin scoped hosted handles in native config (#13064)
feat(inference): attach Deep Agents Code local providers (#13203)
feat(inference): bind custom hosted endpoints to native providers (#1…
fix(messaging): reject unowned provider profile fallback (#13351)
fix(hermes): preserve issued native-local credential references (#13292)
docs(providers): reconcile import-only profile inventory (#13345) (#1…
fix(providers): retain inspected profile verification (#13557) (#13564)
fix(onboard): show native local policy fix and rerun inference on res…
fix(inference): attach a native Model Router provider (#14104)
fix(onboard): verify the selected native GPU inference route (#14098)
fix(messaging): correct channel readiness diagnostics (#14448)
fix(status): describe inference probe without route assumption (#14457)
[-][Epic] Complete pre-work for the OpenShell 0.1.2 upgrade[/-][+][Epic] Complete pre-work for the OpenShell 0.1.x upgrade[/+]rsliter commentedon Nov 18, 2026
Superseded by OpenShell upgrade PR #12603, per the maintainer decision to consolidate the remaining pre-work into that upgrade.
Closed the remaining related trackers #12636, #12940, #13197, #12975, and #13346 as superseded. Already-completed children retain their closure records.
The consolidated obligations on #12603 preserve native-inference migration, managed-route retirement, profile qualification, agent/platform parity, legacy cutover safety, and cleanup. Qualification remains incomplete; this closure does not approve merge or release.