Three r20260929-06 rollouts sat in PAUSED_INFRA although their stage had
finished (status DONE/FAIL, no process left): the completion replay in
stageworker._validate_recovered_receipt raised ValueError, so the operation
stayed DISPATCHED and the execution was quarantined (one-way).
- Nested scopes: a deadline kill of the outer stage leaves the inner reaper
with owner_lost=True although both levels reaped via waitpid(ECHILD).
owned_processes() already accepted that when the enclosing verified receipt
names the exact supervisor; receipt validation demanded VERIFIED. Both now
share execution.scope_cleaned().
- Board stages killed by QUEUE_DEADLINE_EXCEEDED never held a board slot
(phase_running fires only under the board lock) and so have no board
receipt; that missing receipt no longer counts as unconfirmed cleanup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cancellation can end a compiler parent before its nested reaper. The nested
receipt then reports owner loss even when both reapers reached waitpid(ECHILD).
Recognize the verified enclosing receipt only when execution, epoch, immediate
parent, and full supervisor birth identity match and the nested children were
fully reaped. Preserve the original receipts and fail closed without that proof.
Add eight regression tests, including identity mismatch, incomplete cleanup,
missing parent proof, and live-process preservation. The positive regression
fails on the previous code and passes on the patch; recorded incident receipts
also distinguish the two implementations without changing the cancelled outcome.