pub fn prepare_staging_payload(
contract: &DistributionContract,
manifest: &ReleaseManifest,
finalized_root: &Path,
policy: &GitHubDraftPolicyV1,
install_policy: &BootstrapInstallPolicyV1,
output_dir: &Path,
) -> Result<StagingPayloadV1, GithubError>Expand description
Materialize a complete deterministic staging payload.
The finalized root is revalidated against the contract and manifest; exact
finalized assets are copied into a private staging directory alongside a
standalone release-manifest.json and deterministic bootstrap installers.
This is the generated-default installer presentation. It is the same
single implementation that serves
prepare_staging_payload_with_presentation, with the presentation
selected as an argument.