Repository navigation
Description
Parent: #11255
Problem
NemoClaw adds a second lifecycle controller around native agent gateways and background work. Managed restart protocols, respawn gates, health authorization, crash quarantines, and host recovery transactions can prevent behavior the native agent supports inside the OpenShell sandbox.
Desired behavior
The agent owns its normal gateway, cron, child-agent, background-process, and restart behavior. OpenShell owns sandbox process containment and lifecycle. NemoClaw performs only the launch/attachment mechanics required by the OpenShell runtime contract and must not add a separate permission or authorization layer.
Scope
- Inventory and remove NemoClaw-only gateway restart authorization, respawn vetoes, configuration-based quarantine, and background-process restrictions.
- Use native OpenClaw and Hermes lifecycle interfaces for ordinary operations.
- Keep only startup wiring and health reporting required to integrate the agent process with OpenShell.
- Preserve exact OpenShell sandbox targeting and OpenShell-required credential projection.
- Remove lifecycle compatibility machinery whose sole purpose is enforcing NemoClaw policy.
Acceptance criteria
- Native cron, spawned agents, hooks, subprocesses, gateway restarts, and supported background work behave as in the pinned native agent.
- Valid agent-owned changes cannot trigger a NemoClaw quarantine or rebuild requirement.
- OpenShell stop/start/delete and containment remain authoritative.
- Failures are reported as native agent or OpenShell failures without a NemoClaw authorization verdict.
- Retired lifecycle restrictions and restriction-only tests are deleted.
Basic-onboarder end state and E2E amendments
NemoClaw should launch the native agent and exit the control path. OpenShell owns sandbox lifecycle; OpenClaw and Hermes own gateways, cron, subprocesses, child agents, and background work. Any upgrade compatibility must be temporary migration code with a removal condition, not a new supervisor.
Amend the existing E2E inventory as follows:
test/e2e/live/sandbox-survival.test.ts(sandbox-survival): replacenemoclaw recoverand NemoClaw supervisor expectations with OpenShell stop/start plus native agent readiness and state survival.test/e2e/live/gateway-guard-recovery.test.ts(gateway-guard-recovery): retire the managed gateway recovery transaction; keep only native agent/OpenShell behavior still owned after onboarding, otherwise remove the target.test/e2e/live/issue-2478-crash-loop-recovery.test.ts: remove NemoClaw respawn budgets and quarantine assertions; rely on native agent behavior and OpenShell process reporting.test/e2e/live/sandbox-operations.test.ts: make OpenShell the lifecycle actor and remove duplicated NemoClaw stop/start/restart behavior.test/e2e/live/channels-stop-start.test.ts: preserve channel behavior across native agent/OpenShell lifecycle without invoking a NemoClaw repair controller.test/e2e/live/rebuild-openclaw.test.tsandtest/e2e/live/rebuild-hermes.test.ts: retire or sharply reduce NemoClaw lifecycle orchestration as ownership moves out of the product.test/e2e/live/cron-preflight-inference-local.test.tsandtest/e2e/live/managed-image-activation-e2e.test.ts: prove native cron, spawned work, and child-agent execution without NemoClaw lifecycle authorization.
Delete target-catalogue and workflow wiring for targets whose only purpose was validating removed lifecycle machinery.
Activity
refactor(lifecycle): return gateway ownership to native agents (NVIDI…