Skip to content
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
c398452
fix(security): bind sandbox mutation authority
apurvvkumaria Aug 26, 2026
f9286b6
test(onboard): remove disconnected rollback assertions
apurvvkumaria Aug 26, 2026
9bf87da
fix(security): serialize rebuild authority publication
apurvvkumaria Aug 26, 2026
ba6a21f
fix(onboard): reject unsafe deferred provider plans
apurvvkumaria Aug 26, 2026
d5e9cf7
merge: resolve conflicts with main
github-actions[bot] Aug 26, 2026
a3572fb
Merge branch 'main' into codex/9833-advisor-identity-bound-mutations
cv Aug 26, 2026
32c74ca
test(onboard): align APF provider refusal
apurvvkumaria Aug 26, 2026
7965569
merge: resolve conflicts with main
github-actions[bot] Aug 26, 2026
374ebe4
merge: sync main into #10396
apurvvkumaria Aug 26, 2026
e3f7cd2
merge: sync main into #10396
apurvvkumaria Aug 26, 2026
12e4729
merge(main): reconcile #10396 with current main
apurvvkumaria Aug 26, 2026
cd15b07
fix(onboard): limit APF creation to providerless plans
apurvvkumaria Aug 26, 2026
ec88d7c
fix(onboard): refuse interceptor provider effects early
apurvvkumaria Aug 26, 2026
cd4fa24
merge: sync main into #10396
apurvvkumaria Aug 26, 2026
e70815f
merge: sync main into #10396
apurvvkumaria Aug 27, 2026
1686ccb
merge: sync main into #10396
apurvvkumaria Aug 27, 2026
665012e
fix(onboard): preserve non-tty cancellation recovery
apurvvkumaria Aug 27, 2026
6da68ad
test(onboard): cover cancellation recovery
apurvvkumaria Aug 27, 2026
5696a0a
fix(onboard): report missing identity recovery
apurvvkumaria Aug 27, 2026
568ead2
fix(onboard): reject deferred provider intent early
apurvvkumaria Aug 27, 2026
a68d8df
merge: synchronize main
apurvvkumaria Aug 27, 2026
e5794a1
merge: synchronize main
apurvvkumaria Aug 27, 2026
a8861a8
merge: synchronize main
apurvvkumaria Aug 27, 2026
2c87fe5
fix(onboard): retain managed image authority
apurvvkumaria Aug 27, 2026
acd47a2
merge: synchronize current main
apurvvkumaria Aug 27, 2026
9c96748
fix(onboard): reject staged provider intent early
apurvvkumaria Aug 27, 2026
6e892b6
merge: synchronize current main
apurvvkumaria Aug 27, 2026
06256df
fix(onboard): surface retained sandbox recovery
apurvvkumaria Aug 27, 2026
cd0d674
docs(onboard): complete cancellation recovery guidance
apurvvkumaria Aug 27, 2026
7ee4dc2
merge: resolve conflicts with main
github-actions[bot] Aug 27, 2026
e861eaf
fix(onboard): block cancelled sandbox reentry
apurvvkumaria Aug 27, 2026
8e3f82b
merge: synchronize published branch
apurvvkumaria Aug 27, 2026
ebb500d
merge: synchronize current main
apurvvkumaria Aug 27, 2026
ac6717e
fix(onboard): preserve deferred create integration
apurvvkumaria Aug 27, 2026
518c7ce
fix(onboard): persist recovery without sandbox identity
apurvvkumaria Aug 27, 2026
56fa746
test(onboard): align created sandbox identity fixtures
apurvvkumaria Aug 27, 2026
8b8903b
fix(onboard): retry recovery persistence on exit
apurvvkumaria Aug 27, 2026
62b1021
fix(onboard): reject provider plans before credential reads
apurvvkumaria Aug 27, 2026
6462409
fix(onboard): preserve cancellation recovery guidance
apurvvkumaria Aug 27, 2026
c7eea16
fix(onboard): persist retained create recovery
apurvvkumaria Aug 27, 2026
b30e100
fix(onboard): record post-create recovery
apurvvkumaria Aug 27, 2026
96a2f4b
fix(onboard): retain recovery through finalization
apurvvkumaria Aug 27, 2026
32fe3cc
merge: resolve main conflicts in PR #10396
sandl99 Aug 27, 2026
7cfed07
fix(onboard): preserve retained recovery records
apurvvkumaria Aug 27, 2026
13b15e4
merge: synchronize PR #10396 branch
apurvvkumaria Aug 27, 2026
1641b15
docs(onboard): scope retained recovery guidance
apurvvkumaria Aug 27, 2026
c508d66
fix(onboard): retain recovery persistence retries
apurvvkumaria Aug 27, 2026
2aeff9c
fix(security): close retained recovery state race
sandl99 Aug 27, 2026
10cfe13
fix(onboard): reject provider effects before create resolution
apurvvkumaria Aug 27, 2026
ffe9fa5
fix(onboard): retain recovery after create failures
apurvvkumaria Aug 27, 2026
a09264d
fix(onboard): keep retained recovery records unresolved
apurvvkumaria Aug 27, 2026
06e6070
fix(onboard): bind retained recovery evidence
apurvvkumaria Aug 27, 2026
9275324
fix(onboard): serialize retained recovery state
apurvvkumaria Aug 27, 2026
0966370
merge: resolve conflicts with main
github-actions[bot] Aug 27, 2026
3ae8f06
fix(onboard): reject unsupported interceptor agents early
apurvvkumaria Aug 27, 2026
14ff3b8
fix(onboard): refuse unsupported agent routes early
apurvvkumaria Aug 27, 2026
d625e9d
fix(onboard): retain recovery on credential repair failure
apurvvkumaria Aug 27, 2026
dbae39f
docs(onboard): clarify fresh recovery selection
apurvvkumaria Aug 27, 2026
4625e45
fix(onboard): bind retained recovery evidence
apurvvkumaria Aug 27, 2026
eefb255
fix(onboard): use locked entry decision
apurvvkumaria Aug 27, 2026
310bfe7
fix(state): pin onboarding state writes
apurvvkumaria Aug 27, 2026
ddbea24
Merge branch 'main' into codex/9833-advisor-identity-bound-mutations
cjagwani Aug 27, 2026
66adb50
merge: resolve conflicts with main
github-actions[bot] Aug 27, 2026
c41c59d
merge: reconcile current main
apurvvkumaria Aug 27, 2026
0c2574c
merge: include current main
apurvvkumaria Aug 27, 2026
15ba460
merge: reconcile concurrent branch update
apurvvkumaria Aug 27, 2026
1346f90
test(onboard): keep verified recovery providerless
apurvvkumaria Aug 27, 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
14 changes: 12 additions & 2 deletions docs/reference/commands.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,16 @@ Use `$$nemoclaw <sandbox-name> rebuild` when you want NemoClaw to recreate the s
#### `--apf-interceptor`

Use this option to request a policyless sandbox creation for an APF-interceptor flow.
This option currently supports providerless sandbox creation only.
APF onboarding with an inference provider and model is not yet supported.
APF onboarding with an OpenShell provider for a Model Context Protocol (MCP) server is also not yet supported.
OpenShell cannot bind provider attachment to the new sandbox's verified immutable ID.
If the prepared plan contains any provider, NemoClaw exits before it:

- Creates the sandbox.
- Registers or changes credentials.
- Creates, updates, or deletes providers.

The option requires these conditions:

- Start a new onboarding session.
Expand Down Expand Up @@ -885,8 +895,8 @@ Pairing and `TELEGRAM_ALLOWED_IDS` still govern direct messages.

</AgentOnly>

If you cancel a brand-new onboarding run at the policy preset step, NemoClaw rolls back the sandbox, registry entry, and onboarding session instead of leaving a default sandbox with unfinished policy state.
Existing live sandboxes are not deleted by this cancel rollback path.
If you cancel a brand-new onboarding run at the policy preset step, NemoClaw preserves the incomplete sandbox, registry entry, and onboarding session for identity-bound recovery.
NemoClaw reports the durable sandbox identity fingerprint when it is available and never deletes the sandbox by mutable name.

If you run onboarding again with the same sandbox name and choose a different inference provider or model, NemoClaw detects the drift and recreates the sandbox so the running agent config matches your selection.
In interactive mode, the wizard asks for confirmation before delete and recreate.
Expand Down
28 changes: 14 additions & 14 deletions src/lib/onboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ const {
}: typeof import("./onboard/cancel-rollback") = require("./onboard/cancel-rollback");
const {
createCoreOnboardFlowPhases,
isCoreFlowCompleteBeforeFinalization,
prepareCoreOnboardFlowContext,
prepareFinalOnboardFlowContext,
runCoreOnboardFlowSlice,
Expand Down Expand Up @@ -2635,11 +2636,7 @@ const onboardRuntimeBoundary = new OnboardRuntimeBoundary({
maybeForceE2eStepFailure,
});

const sandboxCancelRollback = installSandboxCancelRollback({
runOpenshell,
registry,
clearOnboardSession: onboardSession.clearSession,
}); // #4614
const sandboxCancelRollback = installSandboxCancelRollback({}); // #4614

const {
arePolicyPresetsApplied,
Expand Down Expand Up @@ -2969,13 +2966,7 @@ async function runOnboard(opts: OnboardOptions = {}): Promise<void> {
onboardSessionBootstrap.reportReadOnlyHostMounts(effectiveHostMounts, note);
const explicitSandboxGpuFlag = resolveSandboxGpuFlagFromOptions(opts);
const recordedGpuPassthroughBeforePreflight = session?.gpuPassthrough === true;
type InitialOnboardFlowContext =
import("./onboard/machine/initial-flow-composition").InitialOnboardFlowContext<
typeof agent,
ReturnType<typeof nim.detectGpu>,
ReturnType<typeof resolveSandboxGpuConfig>
>;
const initialFlowContext: InitialOnboardFlowContext = {
const initialFlowContext = {
resume,
fresh,
session,
Expand All @@ -2996,12 +2987,13 @@ async function runOnboard(opts: OnboardOptions = {}): Promise<void> {
webSearchConfig: session?.webSearchConfig || null,
webSearchSupported: false,
selectedMessagingChannels,
gpu: null,
sandboxGpuConfig: null,
gpu: null as ReturnType<typeof nim.detectGpu> | null,
sandboxGpuConfig: null as ReturnType<typeof resolveSandboxGpuConfig> | null,
gpuPassthrough: false,
resumeHasResolvedGpuIntent: false,
requestedGpuPassthrough: opts.gpu === true,
};
type InitialOnboardFlowContext = typeof initialFlowContext;
const policyAuthorityBindings =
sandboxCreateOrchestration.createOnboardPolicyAuthorityBindings(
sandboxCreateOrchestrationRuntime,
Expand Down Expand Up @@ -3127,6 +3119,7 @@ async function runOnboard(opts: OnboardOptions = {}): Promise<void> {
},
providerInference: {
gatewayName: GATEWAY_NAME,
inspectSandboxForCreate,
forceProviderSelection: forceProviderSelectionForAgentChange,
...authoritativeRebuildTarget.rebuildProviderFlowOptions(opts, coreFlowContext),
endpointProvenance,
Expand Down Expand Up @@ -3321,6 +3314,13 @@ async function runOnboard(opts: OnboardOptions = {}): Promise<void> {
resume,
recordRepairEvent,
});
if (isCoreFlowCompleteBeforeFinalization(coreFlowResult)) {
sandboxCancelRollback.disarm();
await portableRetirementEntry.supersede(lockedRuntime.checkpointProfile);
completed = true;
process.exitCode = 0;
return;
}
setupInferenceFactory.selectGatewayForFollowupOrExit(GATEWAY_NAME, runOpenshell);
const finalFlowContext = prepareFinalOnboardFlowContext(coreFlowResult);
let liveFinalFlowContext: InitialOnboardFlowContext = finalFlowContext;
Expand Down
Loading
Loading