Require exclusive coordinator test temp ownership

This commit is contained in:
Meta Vens 2026-07-13 02:33:36 +01:00
commit 333fdfa537
5 changed files with 12 additions and 4 deletions

View file

@ -869,6 +869,11 @@ helpers now use `create_dir`, so cleanup authority exists only after exclusive
creation succeeds. Source search finds no remaining `env::temp_dir()` helper
that adopts its generated leaf with `create_dir_all`.
The same audit found three coordinator launch-context tests with the identical
UUID/adoption pattern. They also now claim their leaves with `create_dir`.
Generated temp ownership is consistent across the full Rust source tree, not
merely production binaries; tests do not receive imaginary cleanup authority.
## Unresolved: provider receipts without chronology
Bifrost body-change/GitHub publication receipts are externally owned and their

View file

@ -257,6 +257,9 @@ collision, removing their recursive-delete authority entirely.
Seven UUID-scoped temp helpers now use exclusive `create_dir`, not
`create_dir_all`; a pre-existing leaf is refused before work and can no longer
be adopted and later deleted.
Three coordinator launch-context test leaves were corrected as well. The full
Rust source search now contains no generated `temp_dir()` leaf adopted through
`create_dir_all`.
The latest structural count is 32 closure family branches, 744 remaining
substring assertions in the closure region, and 1,284 lines in