Enforce no NemoClaw-only agent restrictions beyond OpenShell
Parent: https://github.com/NVIDIA/NemoClaw/issues/11255
Maintainer direction
NemoClaw must not impose agent restrictions beyond the security posture provided by the selected OpenShell installation. The only retained NemoClaw security adaptation is the credential placement and projection required by OpenShell: credentials remain where OpenShell expects them, and agents receive only the references or non-secret values that contract exposes.
Problem
NemoClaw currently adds configuration guards, lifecycle gates, state allowlists, command interception, plugin reconciliation, package-layout overrides, and agent-specific policy beyond OpenShell containment. These controls make OpenClaw, Hermes, and other supported agents behave differently from their native installations and are a primary source of reports that agents are too constrained.
Scope
- Inventory every NemoClaw-owned restriction, rejection, reset, allowlist, integrity gate, lifecycle veto, path override, and command interception applied inside supported agent sandboxes.
- Classify each item as required by the selected OpenShell contract, required only for OpenShell credential placement, or NemoClaw-specific.
- Delete every NemoClaw-specific restriction and its restriction-only tests, warnings, compatibility state, and documentation.
- Turn the classification into a repository check so new NemoClaw-only restrictions require an explicit maintainer decision and cannot be introduced as incidental hardening.
- Coordinate the concrete removal slices under this epic; do not replace deleted restrictions with renamed wrappers.
Acceptance criteria
- A source inventory accounts for every runtime restriction across OpenClaw, Hermes, Deep Agents, Pi, and shared adapters.
- Every retained restriction cites the exact OpenShell interface or credential-placement requirement that owns it.
- Native agent conformance tests pass for configuration, tools, plugins, packages, updates, background work, persistence, and lifecycle behavior.
- NemoClaw-specific restrictions have zero production consumers and are deleted.
- Existing OpenShell isolation and credential custody continue to pass without duplicating enforcement in NemoClaw.
- Documentation states that NemoClaw follows the chosen OpenShell posture and does not add a second sandbox policy layer.
Related work
Coordinate with #11259, #11261, #11262, #11263, and #11357. This issue changes the governing direction where older issues proposed retaining NemoClaw-only controls beyond OpenShell credential placement.
Basic-onboarder end state and E2E amendments
This issue is part of the transition to a basic onboarder. NemoClaw's durable responsibility ends after it has selected the image, created the OpenShell sandbox, placed credentials according to OpenShell, attached the initial inference route, launched the native agent, and returned connection details. Do not build a replacement lifecycle, policy, repair, snapshot, or reconciliation framework while removing restrictions.
Amend the existing E2E inventory as follows:
test/e2e/live/full-e2e.test.ts(full-e2e): retain install/onboard/initial inference, then replace NemoClaw-owned lifecycle assertions with native agent capability checks for configuration, tools, subprocesses, plugins, packages, background work, and ordinary state.test/e2e/live/managed-image-activation-e2e.test.ts: prove each supported agent starts with its native interfaces available and no NemoClaw-only restriction layer; retain OpenShell credential-placement assertions.test/e2e/live/sandbox-operations.test.ts: move stop/start/delete ownership to OpenShell and delete cases that exist only to exercise NemoClaw lifecycle policy.test/e2e/live/registry-targets.test.ts,tools/e2e/target-catalogue.mts, andtest/e2e/support/workflow-plan.test.ts: remove or rename retired lifecycle targets and keep one native-conformance owner per behavior.test/e2e/live/openshell-credential-generation-window.test.tsandtest/e2e/live/openshell-gateway-auth-source-contract.test.ts: retain these as the credential-placement boundary; do not generalize them into agent-runtime restrictions.
Do not add a new broad E2E target. Amend the existing owners, delete obsolete assertions, and reduce the matrix when a NemoClaw lifecycle feature is removed.
Accepted removal: automatic pending-device probe
Maintainer decision (2026-09-24): accept retirement of NemoClaw's automatic post-exec pending-device inspection as part of this issue's basic-onboarder scope. Decline the expanded probe implementation in #10446. The report in #10070 remains tracked until this removal lands and the native approval path is verified. This is a planned removal, not a claim that #12120 or #12181 already implements it.
The owner is this issue, under #11255, with the existing NemoClaw maintainer team accountable for delivery.
Removal scope
- Remove
defaultProbePendingDevicesandmaybeEmitScopeUpgradeHintfromsrc/lib/actions/sandbox/exec-policy-hint-emission.ts, and remove the automatic call frompreparePolicyHintinexec-policy-hint-integration.ts. - Delete the probe-only dependency injection, timeout constants, rendering/parsing helpers, and tests once they have no remaining consumers. Do not replace the probe with a poller, cached pending state, platform-specific fallback, or another hint framework.
- Keep unrelated network-policy diagnostics and shared runtime-environment or process-timeout helpers that still have consumers outside this removal.
Acceptance and closure evidence
- Successful and failed user commands trigger no additional automatic
openclaw devices listquery for the scope-upgrade hint. Prove this at the existing exec/hint integration boundary with deterministic tests. - Preserve the native command's output and exit status. Native approval-required errors remain visible; operators can explicitly list requests, approve the recognized request, and retry successfully when the native agent requires approval.
- Removal neither grants device scopes nor changes native approval policy, OpenShell credential placement, or containment.
- Amend the existing
issue-4462-scope-upgrade-approvaltest and its support only where needed to verify the native user journey. Delete assertions whose sole purpose is requiring the retired NemoClaw hint; retain meaningful native approval and failure coverage. Do not add a broad E2E matrix. - Record the deleted production/test code and link the landed implementation and validation evidence in #10070. Keep #10070 open until both the retirement and native approval-path verification are complete.
Source: NVIDIA/NemoClaw