Repository navigation
Description
Problem
The intended OpenShell upgrade uses an import-only provider-profile catalog. A fresh gateway starts with an empty catalog and requires an explicit profile import before a provider can use that profile. NemoClaw already imports and verifies several checked-in profiles, but an overlooked onboarding, credential, or sandbox path could still depend on an OpenShell built-in profile or alias.
Parent epic: #12558. This ticket prepares the existing provider workflows for the import-only catalog. The OpenShell pin change remains outside this ticket.
Outcome
Every supported NemoClaw provider path has an explicit, owned profile definition before it creates or attaches a provider. Repeated setup verifies the existing profile. A conflicting profile fails before provider or sandbox mutation.
Scope
- Inventory profile IDs used by supported onboarding, credential, inference-selection, restart, rebuild, and sandbox-creation paths. Include the paths delivered by Slice 2: Move remaining fixed hosted providers to native inference #12589 and Slice 3: Move user-supplied hosted endpoints to native inference #12636 when they land.
- Map each used ID to a NemoClaw-owned definition and its import point. Remove any reliance on built-in catalogs, implicit aliases, or command-based provider selection.
- Reuse the existing import, export, and contract-check mechanisms. Ensure import precedes provider creation or attachment for each path.
- Keep profiles in the accepted NemoClaw workspace scope. Preserve endpoint, executable, and credential restrictions.
- Report a missing or conflicting profile with a bounded action message. Do not replace an operator-owned profile or expose credential values.
- After provider creation or attachment, re-export the profile on a best-effort basis. If a successful export differs from the definition verified before mutation, warn that the catalog changed and NemoClaw cannot confirm which definition was used at bind time. If the export fails or times out, warn that post-mutation verification did not complete and ask the gateway operator to inspect the profile. Keep warnings free of credential values and continue setup without rollback solely because of a post-mutation warning. Keep pre-mutation mismatches blocking.
Acceptance evidence
- A fresh gateway with an empty profile catalog can set up one representative existing provider and attach it to the intended sandbox after importing its profile.
- A repeat setup with the same profile definition succeeds by checking the existing definition.
- A profile ID collision with different contents stops before provider or sandbox mutation and preserves the existing profile.
- A missing profile or failed import cannot be reported as successful provider setup.
- Focused tests cover the import ordering, repeat run, collision, and failure behavior. One disposable smoke run on the selected target OpenShell release verifies import, provider creation, and attachment without changing the repository pin.
- The inventory records each supported profile ID, its checked-in definition, the path that imports it, and any remaining gap.
- A focused test shows that a detected post-mutation mismatch produces the warning without changing the operation's result. The warning contains no credential values and does not claim atomic protection.
- A focused test shows that a failed or timed-out post-mutation export produces a credential-free recovery warning without changing the operation's result.
Boundaries
Use #12558's accepted provider scope and security rules. Coordinate with #12589 and #12636 so this ticket checks their completed paths rather than duplicating their profile implementation. Do not add providers, a bulk profile manager, an OpenShell dependency update, or automatic migration of existing beta sandboxes. If a required path lacks an owned profile or needs broader access, stop and resolve that scope decision before implementation.
OpenShell change: ai-openshell/openshell#3383
Delivery status
Merged work covers the fixed hosted profiles (#12886), runtime identity import verification (#12947), post-bind warnings in the shared provider adapter (#12985), the advisory attach timeout (#13033), and the owned Hermes tool gateway profile (#13102). #13102 also preserves reuse of an existing Hermes generic provider only when its non-secret binding matches the former setup. #13136 repaired the test-owned extra-provider fixtures, and #13189 covered direct sandbox creation profile checks and post-attachment warnings. The import-only inventory predates #13102 and remains a record of the paths that still need classification, not completion evidence.
Remaining work before closing this issue (status 2026-10-14)
- Pending; dependencies open. Reconcile the inventory after the custom-hosted provider path in feat(inference): [slice 3] bind custom hosted providers to native sandbox authority #12889 merges. Recheck any gateway provider paths delivered by the separate native-local work in feat(inference): attach native local providers for OpenClaw and DCode #12977 and feat(pi): support native local inference #13007 after those PRs merge. All three PRs are open as of this update. Record each supported profile ID, owned definition, import point, and remaining gap. Do not duplicate those PRs' provider implementations here.
- Partly complete. fix(hermes): import owned tool gateway profile #13102 covered the Hermes tool gateway broker's owned profile and narrow legacy-provider reuse. Classify the remaining uncovered create paths before changing the shared helper: the missing-provider create fallback in
config-rotate-token,credentials addtypes without a bundled profile, messaging'sgenericfallback, and other callers ofupsertProvider. For a supported NemoClaw path, import and verify its owned definition before creation. For an operator-supplied type, record its catalog dependency and resolve whether that path is supported before claiming import-only coverage. Do not invent a broadgenericoropenaiprofile. - Complete in fix(onboard): warn on direct create profile drift #13189. Direct sandbox creation now verifies attached NemoClaw-owned profiles before mutation. After verified creation and attachment, profile drift or a failed or timed-out export gives a credential-free warning without changing the completed result. Pre-mutation conflicts still block. Resume does not claim bind-time verification.
- Complete in test(e2e): import owned extra-provider fixture profile #13136. The
onboard-repairandonboard-resumefixtures now import and verify a test-owned profile before creating their extra provider. The experimental direct blueprint inference runner retains its existing behavior under the recorded parity decision; its catalog dependency remains an explicit gap outside supported provider setup.provider updateretains its existing behavior. - Partly complete. test(e2e): import owned extra-provider fixture profile #13136 adds focused fixture tests for import ordering, matching-profile reuse, collision, import and export failures, provider-create failure, and credential isolation. fix(onboard): warn on direct create profile drift #13189 adds focused direct-create tests for owned-profile verification, post-attachment drift and export warnings, conflict rejection, and resume. Add focused ordering, repeat-run, collision, import-failure, and warning evidence for each remaining repaired path. Run one disposable smoke on the selected OpenShell release with an empty catalog: import a representative owned profile, create and attach its provider, repeat setup, and confirm that a conflicting profile stops before provider or sandbox mutation. Link the results before closing this issue. The OpenShell pin change remains separate.
Separate follow-up
#13196 tracks shared Hermes tool gateway profile validation across broker registration and direct sandbox creation. Rebecca waived that maintainability finding for #13189. The follow-up does not replace the import-only acceptance evidence above.
Activity
[-]Verify provider profile import coverage for OpenShell 0.1.2[/-][+]Verify provider profile imports for the OpenShell upgrade[/+]fix(providers): warn when verified profiles change after binding (#12985
fix(provider): bound post-attach profile lookup timeout (#13033)
fix(blueprint): verify imported runtime identity profile (NVIDIA#12947)
rsliter commentedon Oct 13, 2026
Import-only provider inventory (main
19d994a0086c59e945a2456b1264ca1444a37fc7)This is a source inventory for #12940, not a claim that every path works with an empty OpenShell catalog. I found 16 checked-in profile definitions and one endpoint-bound profile generated from a checked-in definition.
nemoclaw-nvidia-inference-v1managed-inference/provider-profiles/nemoclaw-nvidia-inference-v1.yamlsrc/lib/inference/native-provider/index.tsvia the native NVIDIA lifecycle; alsocredentials addviasrc/lib/actions/credentials-add.tsnemoclaw-openai-inference-v1managed-inference/provider-profiles/nemoclaw-openai-inference-v1.yamlsrc/lib/inference/native-provider/index.tsnemoclaw-anthropic-inference-v1managed-inference/provider-profiles/nemoclaw-anthropic-inference-v1.yamlnemoclaw-gemini-inference-v1managed-inference/provider-profiles/nemoclaw-gemini-inference-v1.yamlnemoclaw-openrouter-inference-v1managed-inference/provider-profiles/nemoclaw-openrouter-inference-v1.yamlnemoclaw-hermes-inference-v1managed-inference/provider-profiles/nemoclaw-hermes-inference-v1.yamlnemoclaw-hermes-inference-<endpoint-hash>-v1managed-inference/provider-profiles/nemoclaw-hermes-inference-v1.yamlwith the validated endpoint binding insrc/lib/inference/native-provider/hosted.tsbravenemoclaw-blueprint/provider-profiles/brave.yamlsrc/lib/messaging/applier/openshell-provider.ts;credentials addalso imports the bundled definitiontavilynemoclaw-blueprint/provider-profiles/tavily.yamltavily-hermes-v1nemoclaw-blueprint/provider-profiles/tavily-hermes-v1.yamllangfuse-hermes-v1nemoclaw-blueprint/provider-profiles/langfuse-hermes-v1.yamlcredentials addimport insrc/lib/actions/credentials-add.tsnemoclaw-mcp-v1nemoclaw-blueprint/provider-profiles/nemoclaw-mcp-v1.yamlsrc/lib/actions/sandbox/mcp-bridge-provider-mutation.ts, and sandbox-create preparation insrc/lib/onboard/sandbox-create/provider-publication.tsgoogle-chat-bridgesrc/lib/messaging/channels/googlechat/provider-profile/openclaw.yamlgoogle-chat-hermes-bridgesrc/lib/messaging/channels/googlechat/provider-profile/hermes.yamldiscord-hermes-static-v1src/lib/messaging/channels/discord/provider-profile/hermes.yamlokta-runtime-v1nemoclaw-blueprint/provider-profiles/okta-runtime-v1.yamlis a reference templatenemoclaw/src/blueprint/runtime-identity.tsvalidates the configuredprofile_path, imports a private snapshot, exports and compares the registered profile, then creates the runtime providerentra-runtime-v1nemoclaw-blueprint/provider-profiles/entra-runtime-v1.yamlis a reference templateThe native lifecycle imports again before sandbox attachment (
src/lib/onboard/sandbox-create/provider-publication.ts, called byorchestration.ts). Onboarding and rebuild apply channel and search profiles through the messaging applier.credentials addimports only when the requested type resolves to a bundled definition. These paths use the existing import/export contract; the import and provider commands are separate, so post-mutation checks warn about observed drift without claiming an atomic bind.Remaining gaps on this main commit
src/lib/onboard/providers.tscan create via the sharedupsertProviderhelper without importing a profile. Callers include local Ollama/vLLM, routed and compatible inference, Bedrock/OpenRouter runtime adapters, Hermes inference registration, and the Hermes tool gateway broker. Their--typevalues includeopenai,anthropic, andgeneric; onboarding metadata also retainsnvidia. None has a checked-in profile with that ID. Classify each caller before changing the shared helper; the open custom hosted endpoint work is Slice 3: Move user-supplied hosted endpoints to native inference #12636 / PR feat(inference): [slice 3] bind custom hosted providers to native sandbox authority #12889.src/lib/sandbox/config-rotate-token.tstriesprovider update, then recreates a missing provider with its recordedproviderTypeand no profile import. The create fallback depends on a catalog entry for that type. A successful update does not create a provider and has different behavior.src/lib/actions/credentials-add.tsaccepts types without a bundled file.bundledProviderProfile()returnsnull,ensureBundledProviderProfile()then succeeds without import, and provider creation uses the requested catalog type. This is an operator-supplied catalog path, not evidence of a NemoClaw-owned definition.src/lib/messaging/applier/provider-application.tsdefaults a token definition withoutproviderTypetogeneric; unknown types also receive no profile path.prepareProfiles()imports only definitions that have a path. The normal prepared channel definitions have explicit types, but the fallback remains an unowned create path if reachable.nemoclaw/src/blueprint/runner.tsdefaults toopenaiand can create that provider without importing an inference profile. Its runtime-identity branch is separately covered by the two reference templates above.onboard-repairandonboard-resumefixtures useupsertGenericGatewayProviderwithgeneric. They are test fixtures, not a supported user path, but they must change before an import-only gateway can run those selectors.Disposition: The profile-ID mapping is complete for the checked-in definitions on this commit. #12940's broader import-only acceptance is still open: the create paths above need an owned definition or an explicit operator-supplied-profile contract, then focused ordering/collision tests and the selected OpenShell smoke. Do not add a broad
genericoropenaiprofile by inference; first decide ownership and restrictions for each active path. The OpenShell pin remains separate.fix(hermes): keep gateway profile host-only
test(hermes): exercise OAuth broker profile handoff
fix(hermes): import owned tool gateway profile (#13102)
test(e2e): import owned extra-provider fixture profile (#13136)
fix(onboard): warn on direct create profile drift (#13189)
fix(credentials): stop rotation after provider update failure
fix(credentials): inspect operator profiles before registration (#13353)
fix(providers): verify owned extra profiles before sandbox creation (#…
docs(providers): reconcile import-only profile inventory (#13345) (#1…
fix(providers): retain inspected profile verification (#13557) (#13564)
rsliter commentedon Nov 18, 2026
Superseded by OpenShell upgrade PR #12603, per the maintainer decision to consolidate epic #12558 and its remaining work into that PR.
Provider-profile import ordering, owned definitions, repeat setup, collision refusal, and selected-release qualification now follow #12603. Completed inventory and repair work remains recorded here.
Closing this tracker as superseded. Outstanding requirements and evidence remain obligations of #12603; this closure does not claim qualification passed or approve merge or release.
Consolidated obligations: #12603 (comment)