mirror of
https://github.com/morluto/rea
synced 2026-10-26 06:16:17 -04:00
1f23e977b5
Give retained processes and runtime roots separate cleanup leases. Bind composed failures to their exact dependencies so process retirement removes only process labels and root deletion resolves the remaining markers. Retain local evidence while descriptor cleanup is unresolved. Preserve completed decoded facts and the original cancellation reason when final cleanup itself fails, then expose that primary after successful retry. Remove the superseded root-error composition branch after descriptor gating. Validation: 68 focused tests across nine files, including real retained file handles, late process handshakes, failed final cleanup, mixed child outcomes and cleanup retry. Static, docs (five checks) and discovery (1577 files) pass. The producer qualification scope is controlled Node/file fixtures with the real macOS inspector and a simulated availability gate, not native pwntools or GDB. Task tokens/CPU/process-family memory are unmeasured; no speed claim. Fixes #4945