Background shell output can be relocated so another process adopting the task can still read it.
What's wrong with this entry?
Detached shell handoff accepts a root to re-anchor output files, so an adopting process can read outputs that would otherwise sit outside its tree.
- Takes a
rerootOutputsToroot; outputs resolving outside the task-output tree are dropped and the shell is killed. - Escaping but known outputs are hardlinked, or copied when linking fails, into
<root>/rerooted/<id>.output, with inode identity checks. - Task output paths and the handoff payload gained an adopt root plus
mergeShellOutputReadRoots.
mergeShellOutputReadRoots
Strings lifted out of the shipped bundle, so the claim above can be checked against them.