(sigil build direct-graph)

Closed direct-WASM graph builds. Source planning is a hint; emitted descriptors own the interface edges and initialization order.

Exports

Return (absolute-source owning-package-dir producer-prefix-map). Resolve symlinks before finding the owner; a dependency link inside the consuming app does not make that app the provider's package. Read the manifest without executing its hooks or registering its build actions.

ROOTS are selected package/locked-dependency source roots, in lookup priority order. Compiled files never authorize a source substitution.

Read exactly one descriptor, checking section lengths before reads.

Declare each native contract's exact population from the final WASMs. No root-only flag can describe a graph with mixed unit capabilities.

Stable DFS over emitted, source-order import rows, exactly as the loader computes. Refuse closed-population drift before publication.

The selected target pair supplies the subprocess's initial macros. Regenerate core from source and require byte identity before any unit compilation. The seed itself never becomes a delivered graph unit.

COMPILE runs a fresh compiler process for each operation. Hashers and the freshly produced target core pair come from this build context.

(No description)

(No description)

(No description)

(No description)