(sigil build secure-inputs)

Private source/header snapshots for fixed secure compilation.

Exports

Capture explicit owner/root/file rows in a fresh private directory. Each original file is read once, at most 4 MiB; the set is at most 4096 files and 64 MiB. Ownership, duplicate and root-alias checks precede reads. Snapshots preserve relative include paths and are mode 0444. The deterministic manifest hashes captured bytes, excluding host/staging paths and timestamps. Callers compile the returned snapshot paths and must separately prove complete include/toolchain/dependency coverage.