Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
13c61ca
feat(inference): attach Deep Agents Code local providers
rsliter Oct 14, 2026
386c020
merge: sync main for Deep Agents Code native providers
rsliter Oct 14, 2026
0b3afb7
fix(inference): contain DCode native local migration
rsliter Oct 14, 2026
a521781
fix(inference): validate native local lifecycle repairs
rsliter Oct 15, 2026
0f2934f
test(inference): construct export observation immutably
rsliter Oct 15, 2026
6a6f0a2
test(inference): repair native local validation boundaries
rsliter Oct 15, 2026
26474e1
test(inference): type consolidated provider mocks
rsliter Oct 15, 2026
08e5c4b
fix(inference): carry native local identity through finalization
rsliter Oct 15, 2026
5111b16
fix(inference): verify native local rebuild preflights
rsliter Oct 15, 2026
b3f89d2
test(inference): verify native local DCode restart
rsliter Oct 15, 2026
2e89fbe
test(inference): repair DCode routing fixtures and retain TUI diagnos…
rsliter Oct 15, 2026
ca0c544
fix(inference): reconcile DCode validation and recovery with main
rsliter Oct 15, 2026
d99dbc2
test(inference): align native recovery fixture with provider attachment
prekshivyas Oct 15, 2026
f754949
merge(main): integrate current base into DCode native route
prekshivyas Oct 15, 2026
81ee22d
fix(onboard): stage native local recreation until source backup
rsliter Oct 15, 2026
67686da
feat(inference): attach OpenClaw local providers
rsliter Oct 15, 2026
77d5486
fix(inference): repair OpenClaw native-local integration
rsliter Oct 16, 2026
d1ec009
fix(image): preserve OpenClaw patch copy contracts
rsliter Oct 16, 2026
88afa69
merge(main): resolve OpenClaw native local provider conflicts
prekshivyas Oct 16, 2026
3d3f45f
test(e2e): map native local proof to fast routing test
prekshivyas Oct 16, 2026
cf3d1bb
test(e2e): verify OpenClaw native local consumer boundaries
prekshivyas Oct 16, 2026
8f88040
test(e2e): remove duplicate llama.cpp attachment assertions
prekshivyas Oct 16, 2026
0e54077
test(e2e): qualify OpenClaw native model switching in bounded target
prekshivyas Oct 16, 2026
b67486f
docs(inference): state legacy OpenClaw recovery boundary
prekshivyas Oct 16, 2026
95c0164
Merge remote-tracking branch 'origin/main' into HEAD
prekshivyas Oct 16, 2026
e6476c1
test(e2e): select OpenClaw native evidence on source changes
prekshivyas Oct 16, 2026
421f44a
test(e2e): prove native OpenClaw route isolation
prekshivyas Oct 16, 2026
0074095
merge: resolve conflicts with main
github-actions[bot] Oct 16, 2026
7afa641
fix(inference): reconcile automated merge artifacts
prekshivyas Oct 16, 2026
afb2f29
fix(inference): preserve OpenClaw recreation and recovery contracts
prekshivyas Oct 16, 2026
9c4be6c
fix(inference): preserve native local provider switches
prekshivyas Oct 16, 2026
2bfd92e
fix(inference): unblock native local onboarding probes
prekshivyas Oct 16, 2026
1caff05
fix(inference): normalize host endpoint during native verification
prekshivyas Oct 16, 2026
7f11569
fix(inference): verify native attachment before rebuild deletion
prekshivyas Oct 16, 2026
798772c
fix(inference): restore native local access across lifecycle failures
prekshivyas Oct 16, 2026
b4bb31e
test(inference): handle optional authority lookup in rollback assertions
prekshivyas Oct 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -684,13 +684,8 @@ COPY scripts/verify-wechat-runtime-lock.mts /usr/local/lib/nemoclaw/verify-wecha

FROM scratch AS openclaw-runtime-payload

COPY scripts/lib/sandbox-init.sh /usr/local/lib/nemoclaw/sandbox-init.sh
COPY scripts/lib/sandbox-init.sh scripts/lib/entrypoint-env-wrapper.sh scripts/lib/sandbox-rlimits.sh scripts/lib/openclaw_device_approval_policy.py scripts/lib/openclaw_pairing_state.py scripts/lib/refresh-openclaw-wechat-placeholder.py /usr/local/lib/nemoclaw/
COPY --chmod=0444 scripts/lib/corporate-ca-runtime.sh /usr/local/lib/nemoclaw/corporate-ca-runtime.sh
COPY scripts/lib/entrypoint-env-wrapper.sh /usr/local/lib/nemoclaw/entrypoint-env-wrapper.sh
COPY scripts/lib/sandbox-rlimits.sh /usr/local/lib/nemoclaw/sandbox-rlimits.sh
COPY scripts/lib/openclaw_device_approval_policy.py /usr/local/lib/nemoclaw/openclaw_device_approval_policy.py
COPY scripts/lib/openclaw_pairing_state.py /usr/local/lib/nemoclaw/openclaw_pairing_state.py
COPY scripts/lib/refresh-openclaw-wechat-placeholder.py /usr/local/lib/nemoclaw/refresh-openclaw-wechat-placeholder.py
COPY scripts/nemoclaw-start.sh /usr/local/bin/nemoclaw-start
COPY scripts/managed-startup-hold.sh /usr/local/bin/nemoclaw-managed-startup-hold
COPY nemoclaw-blueprint/scripts/*.js /usr/local/lib/nemoclaw/preloads/
Expand All @@ -699,6 +694,8 @@ COPY scripts/codex-acp-wrapper.sh /usr/local/bin/nemoclaw-codex-acp
COPY scripts/generate-openclaw-config.mts scripts/validate-openclaw-tool-search.mts /scripts/
COPY --from=managed-startup-runtime-builder /out/managed-startup-image-runtime.cjs /usr/local/lib/nemoclaw/managed-startup-image-runtime.cjs
COPY src/lib/extra-agents-validation.ts src/lib/tool-disclosure.ts src/lib/providerless-inference.ts src/lib/inference-credential.ts /src/lib/
COPY src/lib/core/endpoint-url-safety.ts /src/lib/core/
COPY src/lib/inference/native-local/agent-config.ts /src/lib/inference/native-local/
COPY src/lib/inference/native-provider/agent-config.ts src/lib/inference/native-provider/hosted.ts src/lib/inference/native-provider/contract.ts /src/lib/inference/native-provider/
COPY nemoclaw-blueprint/openclaw-plugins/ /usr/local/share/nemoclaw/openclaw-plugins/
COPY --from=mcp-tool-discovery-runtime /opt/mcp-tool-discovery-runtime/dist/ /usr/local/lib/nemoclaw/mcp-tool-discovery-runtime/
Expand Down
24 changes: 12 additions & 12 deletions ci/e2e-assertion-budget.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$comment": "SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0\n\nInitial no-growth baseline for issue #10934 and Epic #10920. The epic reference remains fixed at fe18b2f004e2304c52db33cf7bb5895828197f9a. Current main is lower because #10722 removed the live Shields assertion suites before this ratchet landed. PR #10341 adds the accepted public deferred-install and same-home credential continuation boundary for Hermes and Deep Agents Code; existing per-file budgets remain unchanged. PR #13055 adds five explicitly approved assertions for the native Deep Agents Code OpenRouter request in the existing hosted OpenRouter target.",
"$comment": "SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0\n\nInitial no-growth baseline for issue #10934 and Epic #10920. The epic reference remains fixed at fe18b2f004e2304c52db33cf7bb5895828197f9a. Current main is lower because #10722 removed the live Shields assertion suites before this ratchet landed. PR #10341 adds the accepted public deferred-install and same-home credential continuation boundary for Hermes and Deep Agents Code; existing per-file budgets remain unchanged. PR #13055 adds five explicitly approved assertions for the native Deep Agents Code OpenRouter request in the existing hosted OpenRouter target. PR #13293 consolidates native-local cases into the existing OpenClaw switching owner. Removing duplicated deterministic metadata and direct mock requests lowers suite totals while retaining real authenticated and sentinel agent turns, lifecycle, model switching, credential isolation and sibling denial. Per-file transitive counts include existing imported helpers; no live files or suite assertion points are added.",
"schemaVersion": 1,
"issue": 10934,
"epic": 10920,
Expand All @@ -15,26 +15,26 @@
"testFileCount": 77,
"liveFileCount": 186,
"direct": {
"expectCalls": 1272,
"matcherAssertions": 1251,
"expectCalls": 1256,
"matcherAssertions": 1236,
"nodeAssertions": 104,
"namedAssertionHelpers": 420,
"namedAssertionHelpers": 422,
"failCalls": 0,
"throwGuards": 50,
"objectFieldAssertions": 181,
"assertionPoints": 2006,
"objectFieldAssertions": 184,
"assertionPoints": 1996,
"generatedProbeBlocks": 86,
"generatedProbeConditions": 215
},
"unique": {
"expectCalls": 1694,
"matcherAssertions": 1668,
"expectCalls": 1678,
"matcherAssertions": 1653,
"nodeAssertions": 127,
"namedAssertionHelpers": 664,
"namedAssertionHelpers": 666,
"failCalls": 1,
"throwGuards": 526,
"objectFieldAssertions": 258,
"assertionPoints": 3244,
"objectFieldAssertions": 261,
"assertionPoints": 3234,
"generatedProbeBlocks": 209,
"generatedProbeConditions": 721
},
Expand Down Expand Up @@ -95,7 +95,7 @@
"test/e2e/live/onboard-repair.test.ts": [22,26,22,26,0],
"test/e2e/live/onboard-resume.test.ts": [59,63,59,63,0],
"test/e2e/live/openclaw-discord-pairing.test.ts": [13,20,28,86,10],
"test/e2e/live/openclaw-inference-switch.test.ts": [44,50,45,51,1],
"test/e2e/live/openclaw-inference-switch.test.ts": [28,40,55,85,3],
"test/e2e/live/openclaw-skill-cli.test.ts": [10,14,10,14,1],
"test/e2e/live/openclaw-slack-pairing.test.ts": [11,18,26,84,10],
"test/e2e/live/openshell-credential-generation-window.test.ts": [42,92,43,112,18],
Expand Down
6 changes: 5 additions & 1 deletion ci/e2e-assertion-growth-exceptions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$comment": "SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0\n\nMaintainer-approved exception for the exact PR #10341 budget transition. Adds only deferred-onboarding.test.ts with [12,14,12,14,0]; existing per-file budgets remain unchanged. Approval: https://github.com/NVIDIA/NemoClaw/pull/10341#issuecomment-5799263232. Local hooks and candidate CI may use this branch policy. The independent PR check reads only trusted base policy, so its expected growth failure is explicitly waived for #10341. A changed base or candidate budget invalidates this exception. Remove after #10341 merges.\n\nPR #12305 adds 19 live assertion points for the approved stopped-container recovery proof while retaining healthy-rebuild coverage. Exact budget-transition approval: https://github.com/NVIDIA/NemoClaw/pull/12305#issuecomment-5803852010. No other budget transition is accepted by this entry.\n\nThe same 19-assertion helper is also exercised by rebuild-openclaw, independently of the inherited private-MCP failure. Unique assertion counts are unchanged; one helper file is extracted. Revised exact-transition approval: https://github.com/NVIDIA/NemoClaw/pull/12305#issuecomment-5807159038.\n\nProposed exact budget transition for PR #12591: replace a restart progress-message check with a native gateway-owner observation before and after inference switching. Adds one generated probe and five probe conditions; direct and unique expectation counts do not exceed main. The imported helper also appears in the full-e2e transitive inventory. This entry requires maintainer review before landing on main. Remove it after #12591 merges.\n\nPR #12718 is the prerequisite for the PR #12382 budget transition recorded below. The exception matches only PR #12382 and both budget digests. A changed base or candidate budget invalidates it. The independent check reads trusted base policy, so this prerequisite must land on main before #12382 uses the exception. Remove after #12382 merges.\n\nMaintainer Prekshi Vyas (@prekshivyas) approved this exact refreshed PR #12382 transition on 2026-10-08: base budget SHA-256 53c51c4229d387633165771730f8f1a8373f84e9f3303b2144280027a56e3441 to candidate budget SHA-256 8162408384d7a6b97ef0062042c73d4bc9486f54d2dfa6c0c5732e42d1060e2a. Acceptance record: https://github.com/NVIDIA/NemoClaw/pull/12840#issuecomment-6066319444. It includes one additional unique assertion point and one generated probe condition. This refresh preserves the #12608 concurrent-gateway-ports reduction and the previously reviewed runtime assertion changes. The independent check is not waived: the refreshed exception must land on main before enforcement can accept it. A different PR or budget digest remains rejected. Remove after #12382 merges.\n\nPR #12777 adds exactly two approved live assertions for native host-local inference success and sibling provider isolation. Deterministic behavior remains in unit/integration tests. Approval transcription: https://github.com/NVIDIA/NemoClaw/pull/12777#issuecomment-6048385152. The independent check reads trusted base policy; this entry does not disable it. Remove after #12777 merges.\n\nThe #12777 budget digests account for main #12608 removing seven assertions from concurrent-gateway-ports. The candidate preserves that reduction and adds only the same two approved inference-routing assertions. No other file budget increases.\n\nPR #12886 approved the provider-smoke transition extracted by #12955. Approval: https://github.com/NVIDIA/NemoClaw/pull/12886#issuecomment-6083839176. The unchanged change digest binds the same nine assertion points and companion inventory. This entry supports local preliminary validation and the Slice 2 consumer. Independent CI for the prerequisite requires its own maintainer approval record; this entry does not approve that PR.\n\nPR #12958 extracts the same approved provider-smoke budget transition for #12955. Its exact, unedited maintainer approval is https://github.com/NVIDIA/NemoClaw/pull/12958#issuecomment-6093851571. This candidate entry supports static hooks; the independent check continues to verify the PR-specific approval on GitHub. Remove after #12958 merges.\n\nPR #13203 adds the approved 19 assertion points for real authenticated and credentialless DCode native-local requests, credential isolation and sibling denial. Approval: https://github.com/NVIDIA/NemoClaw/pull/13203#issuecomment-6180239679. This exact change digest supports local hooks and candidate CI. Independent enforcement still verifies the PR-specific maintainer approval on GitHub. Remove after #13203 merges.\n\nPR #13201 adds one generated probe block and one counted probe condition in the existing full E2E owner to verify the selected sandbox agent endpoint, API, model and credential reference. Rebecca Sliter approved this exact delta: https://github.com/NVIDIA/NemoClaw/pull/13201#issuecomment-6180464605. This entry supports local validation; the independent check must verify the maintainer record. Remove after #13201 merges.",
"$comment": "SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.\nSPDX-License-Identifier: Apache-2.0\n\nMaintainer-approved exception for the exact PR #10341 budget transition. Adds only deferred-onboarding.test.ts with [12,14,12,14,0]; existing per-file budgets remain unchanged. Approval: https://github.com/NVIDIA/NemoClaw/pull/10341#issuecomment-5799263232. Local hooks and candidate CI may use this branch policy. The independent PR check reads only trusted base policy, so its expected growth failure is explicitly waived for #10341. A changed base or candidate budget invalidates this exception. Remove after #10341 merges.\n\nPR #12305 adds 19 live assertion points for the approved stopped-container recovery proof while retaining healthy-rebuild coverage. Exact budget-transition approval: https://github.com/NVIDIA/NemoClaw/pull/12305#issuecomment-5803852010. No other budget transition is accepted by this entry.\n\nThe same 19-assertion helper is also exercised by rebuild-openclaw, independently of the inherited private-MCP failure. Unique assertion counts are unchanged; one helper file is extracted. Revised exact-transition approval: https://github.com/NVIDIA/NemoClaw/pull/12305#issuecomment-5807159038.\n\nProposed exact budget transition for PR #12591: replace a restart progress-message check with a native gateway-owner observation before and after inference switching. Adds one generated probe and five probe conditions; direct and unique expectation counts do not exceed main. The imported helper also appears in the full-e2e transitive inventory. This entry requires maintainer review before landing on main. Remove it after #12591 merges.\n\nPR #12718 is the prerequisite for the PR #12382 budget transition recorded below. The exception matches only PR #12382 and both budget digests. A changed base or candidate budget invalidates it. The independent check reads trusted base policy, so this prerequisite must land on main before #12382 uses the exception. Remove after #12382 merges.\n\nMaintainer Prekshi Vyas (@prekshivyas) approved this exact refreshed PR #12382 transition on 2026-10-08: base budget SHA-256 53c51c4229d387633165771730f8f1a8373f84e9f3303b2144280027a56e3441 to candidate budget SHA-256 8162408384d7a6b97ef0062042c73d4bc9486f54d2dfa6c0c5732e42d1060e2a. Acceptance record: https://github.com/NVIDIA/NemoClaw/pull/12840#issuecomment-6066319444. It includes one additional unique assertion point and one generated probe condition. This refresh preserves the #12608 concurrent-gateway-ports reduction and the previously reviewed runtime assertion changes. The independent check is not waived: the refreshed exception must land on main before enforcement can accept it. A different PR or budget digest remains rejected. Remove after #12382 merges.\n\nPR #12777 adds exactly two approved live assertions for native host-local inference success and sibling provider isolation. Deterministic behavior remains in unit/integration tests. Approval transcription: https://github.com/NVIDIA/NemoClaw/pull/12777#issuecomment-6048385152. The independent check reads trusted base policy; this entry does not disable it. Remove after #12777 merges.\n\nThe #12777 budget digests account for main #12608 removing seven assertions from concurrent-gateway-ports. The candidate preserves that reduction and adds only the same two approved inference-routing assertions. No other file budget increases.\n\nPR #12886 approved the provider-smoke transition extracted by #12955. Approval: https://github.com/NVIDIA/NemoClaw/pull/12886#issuecomment-6083839176. The unchanged change digest binds the same nine assertion points and companion inventory. This entry supports local preliminary validation and the Slice 2 consumer. Independent CI for the prerequisite requires its own maintainer approval record; this entry does not approve that PR.\n\nPR #12958 extracts the same approved provider-smoke budget transition for #12955. Its exact, unedited maintainer approval is https://github.com/NVIDIA/NemoClaw/pull/12958#issuecomment-6093851571. This candidate entry supports static hooks; the independent check continues to verify the PR-specific approval on GitHub. Remove after #12958 merges.\n\nPR #13203 adds the approved 19 assertion points for real authenticated and credentialless DCode native-local requests, credential isolation and sibling denial. Approval: https://github.com/NVIDIA/NemoClaw/pull/13203#issuecomment-6180239679. This exact change digest supports local hooks and candidate CI. Independent enforcement still verifies the PR-specific maintainer approval on GitHub. Remove after #13203 merges.\n\nPR #13201 adds one generated probe block and one counted probe condition in the existing full E2E owner to verify the selected sandbox agent endpoint, API, model and credential reference. Rebecca Sliter approved this exact delta: https://github.com/NVIDIA/NemoClaw/pull/13201#issuecomment-6180464605. This entry supports local validation; the independent check must verify the maintainer record. Remove after #13201 merges.\n\nPR #13293 consolidates OpenClaw native-local scenarios into the existing switching owner and removes duplicated deterministic metadata checks and the redundant mock curl probe. Suite totals fall by 16 expect calls and 10 assertion points without adding live files. Only the owning file transitive allocation grows because it now imports existing live helpers. Maintainer authorization: https://github.com/NVIDIA/NemoClaw/pull/13293#issuecomment-6211036786. This exact transition supports candidate CI; independent enforcement still verifies the maintainer record.",
"schemaVersion": 1,
"exceptions": [
{
Expand Down Expand Up @@ -54,6 +54,10 @@
{
"pullRequest": 13203,
"changeSha256": "2648bafc4ce603c32746db6488c8d32ae5ad2d05c0414cb9ec5593f55e6a06b9"
},
{
"pullRequest": 13293,
"changeSha256": "0466cf6b71d851c759490e4142ab6c20f9eec07dfa1787a2d8332ab5696cf154"
}
]
}
2 changes: 1 addition & 1 deletion ci/source-architecture-budget.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"fanOut": {
"defaultMax": 20,
"maxByFile": {
"src/lib/actions/inference-set.ts": 31,
"src/lib/actions/inference-set.ts": 30,
"src/lib/actions/sandbox/connect.ts": 41,
"src/lib/actions/sandbox/destroy.ts": 27,
"src/lib/actions/sandbox/doctor.ts": 26,
Expand Down
5 changes: 3 additions & 2 deletions docs/about/how-it-works.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,9 @@ Refer to [Recover and Rebuild Sandboxes](../manage-sandboxes/operate-sandboxes/r
New NVIDIA Endpoints, OpenAI, Anthropic, Google Gemini, OpenRouter, and Hermes Provider selections use sandbox-attached OpenShell providers.
The agent calls the selected provider API hostname, and OpenShell permits only the approved destination and request paths.
New Deep Agents Code selections also use native providers for Ollama, standalone vLLM, llama.cpp, and qualifying local compatible endpoints.
Owned Local NVIDIA NIM, other custom endpoints, local providers for other agents, and Model Router retain `inference.local`.
Legacy Deep Agents Code standalone local sandboxes require backup and fresh recreation before native-provider onboarding; NemoClaw blocks their resume and rebuild. Owned Local NIM sandboxes retain the shared route and can resume or rebuild without a native attachment.
New OpenClaw Ollama, standalone vLLM, and llama.cpp selections also use sandbox-attached native providers.
Owned Local NVIDIA NIM, user-supplied compatible endpoints, Pi and Hermes local selections, retained OpenClaw shared local selections, and Model Router retain `inference.local`.
Legacy Deep Agents Code standalone local sandboxes require backup and fresh recreation before native-provider onboarding; NemoClaw blocks their resume and rebuild. An older OpenClaw Ollama, standalone vLLM, or llama.cpp sandbox without an attachment can retain its supported shared-route model switches, but cannot resume or rebuild. Back it up and re-onboard with `--fresh --name <sandbox-name> --recreate-sandbox`. Owned Local NIM sandboxes retain the shared route and can resume or rebuild without a native attachment.
Refer to [About Inference Routing](../inference/about-inference-routing) for endpoints and route inspection.
During onboarding, NemoClaw validates the selected provider and model, configures the applicable OpenShell route or provider attachment, and writes the matching model reference into the managed agent configuration.
In both paths, OpenShell keeps the provider credential outside the sandbox and sends only approved requests to the upstream endpoint.
Expand Down
Loading