Every process has an owner (task, generation, delegated run, test or installation). End it or transfer custody. Identity: ledger, OURO_{INSTALL,TASK,LAUNCH}_SCOPE_<hex>=1, recorded group or measured parent chain, never command line. Terminal paths settle, never provision/spawn/admit. Failed reads/signals mean unverified; retire only on recorded settled/no-census outcomes (test_task_scope_lifetime.py, test_exit_does_not_admit.py, test_launch_stop.py).
Delegated invocation order is the durable append ordinal, never a clock or run id (ARCHITECTURE §6 Nanny, transport and custody); a legacy fact that cannot prove the answer stays legacy_gap; bookkeeping never replays the event chain; a rebuild needs a quiescent root. invocation_record(rows=...) is the independent oracle (test_custody_invocation_record.py, test_custody_fold_equivalence.py).
Owned stop retires stale identity as not_ours only on a measured birth/command mismatch; an unavailable measurement, EPERM or a deadline alone never does (ARCHITECTURE §9). test_owned_stop_identity.py: a foreign leader without signal/wait, a matching live process, unreadable identity, a failed evidence write, racing PID re-registration; leaderless group evidence and the Panic census remain.
Spawn chokepoint. Unbounded Popen/mp.Process use process_custody.spawn_supervised; managers record_process at once. start_parent_lifeline applies lifeline_parent_env() last, excluding grandparent identity (test_pid1_parent_lifeline.py). Conversation carriers spawn as workers; pid-less inline slots are never ledgered/respawned. Worker kills use worker_pool_lifecycle.kill_worker_tree, sparing live_daemon_root_pids; cancel/timeout and idle retirement also keep retained services. Other supervisor kill_pid_tree calls are defects; exceptions: ARCHITECTURE §1. test_process_custody.py scans raw/contained births and fails a start's function with no stopper per door (unseen: its other starts, callers, library children); tracked producers use tracked_start → contained_popen → retire_tracked (test_tracked_command_publication.py); keep live/unknown trees after root exit. Root receipts settle separately; task-group records transfer no OS handle.
Daemon stop. OwnedClaudexorDaemon.stop_outcome (Quit, Panic, Restart Claudexor, pin changes) separates authenticated cooperative shutdown from forced signals (ARCHITECTURE §9). Read-only resolution never provisions a runtime/daemon, probes accounts or inherits another home's socket override. Stop uses the existing Node (resolve_cli_command(require_npm=False)), Windows/bundled installs too. RPC ack or lease release proves no exit; error codes grant no signal. Bound the manager lock; preparation/network/exit waits stay outside. Bounds: CLAUDEXOR_OPERATOR_STOP_TIMEOUT_SEC, CLAUDEXOR_STOP_EXIT_WAIT_SEC (runtime_limits).
Failed start. Only ExitFact.failed_without_control latches daemon spawning. claudexor_startup_failure.py diagnoses the child log, never sets policy. Harvest under the reap lock at spawn/attach/stop (_settle_exited_child); release through sweep, Refresh, Restart Claudexor, live attach or a new manager. No backoff/counter/cooldown, host heap sizing, writer-lease policy or third retrier; NODE_OPTIONS stays. Settlement alone cannot retire: still_continuable keeps open/unknown owner lines and Continue; review/persistent lifetimes stay separate. Under the retirement lock, a complete second custody read proving no unsettled project run lets typed project_has_threads discharge PROJECT_RETIRE_FAILED as PROJECT_RETIRED {project_kept:true}; other outcomes stay retryable. Body collection follows this and owns jobs until exit without delaying Panic (ARCHITECTURE §6/§9).
Platforms. Forced worker/server/stray cleanup spares the shared daemon subtree. Skill-companion reserved-port/service ancestry rules stay scoped; another port grants no kill authority. Re-prove recorded servers' birth/command identity before a signal. Windows birth, command, Job, restart-handle and prior-generation stops need native evidence; portable fixtures prove none (psutil: Windows-only; frozen imports: packaging proof). ARCHITECTURE §1 "Platform substrate".
Restart and Panic. Separate stop/next-start; never hot-swap pins. _stop_owned_daemon_for_new_pin: stop off-pin unless newer, after worker custody, before optional cleanup; no veto (test_planned_restart_engine_pin.py). Check all members before releasing writer fences (test_process_custody_liveness.py). Manual Restart: update/safe_restart precede transaction/_stop_owned_work. Reuse request_cancel, kill_workers(reconcile_delegate_custody=False), reconcile_orphaned_runs over read_owned_gateway; never ensure gateways or infer outcomes from private manager errors. Unknown cleanup keeps custody/critical diagnostics for startup sweep, never defers/vetoes Restart; add no state, drain, lease or event kind (test_manual_restart_execution.py). Panic is irrevocable: failed ingress spawning runs its executor synchronously; manager/diagnostic faults spare other requests; bounded writes precede exit (test_server_control_panic_daemon.py). test_planned_delegate_assignment.py: four continuations; saved-work/queue returns bind successors; undispatched owner-wait/planned carriers keep gates without interprocess once claims.
Agent Restart holds independent starts, not owner turns; need ACK, save drain input/refuse. Work/control/committed handoffs go on. Finalization starts drain; release only known failure/refusal, retry unknown preparation (test_agent_restart_intent.py).
Extension HTTP responses run in the child: the runner owns staging, registration and cleanup; extension_route_stream owns pipe frames and ASGI delivery; spawn, registration, pipe shutdown and termination stay off the ASGI loop; cancellation binds to the loaded bundle before spawn; no total or pre-header deadline applies (ARCHITECTURE §3).
Tests. Use ProcessContainer(lifeline=True, overload=True): POSIX pipe guardian survives owner death; Windows: kill-on-close Job. Release only on a clean first reap, guardian included. config.TEST_*/test_parallelism.py own budgets (shared memory reader/reserve: ARCHITECTURE §5/§7); nested runs default to 1 slot. overload_stop names its largest member, ending red past the admitted floor under reserve/macOS kernel pressure; unreadable samples disclose omission. No OS quota: sum RSS, find detached members by token every 5 s. Token-dropping children/simultaneous guardian death remain gaps (test_process_owner.py).