(sigil build secure-selection)

Manifest-owned inputs for a fixed secure native candidate.

Exports

Validate the resolved manifest config for the initial fixed profile. This does not admit source code, qualify an ELF, or publish an output. Callers must separately bind command-line overrides and actual commands.

Select explicit final-package static contracts without running C code. SOURCE-MODULES names every selected Scheme provider, including unused declarations, so a native contract cannot silently replace its source.

Select C hook inputs from the final application's own library records. This proves path ownership and records observed bytes, not symbol or compiler-input authority. Final object/ELF provenance remains mandatory.

Select a source-only import closure from explicit manifest-owned rows. Each row is (owner package-root source-path), all nonempty strings. The entry must belong to FINAL-OWNER. No library paths or bytecode are consulted. FEATURES is the explicit effective target feature set. Compiler admission and final qualification remain mandatory.