Single source of truth for Hex consumer dependency shapes and tarball wiring.
Exports adopter-facing Hex dep snippets, version policy, GitHub fallback tuples, and CI tarball path tuples. Non-runtime SSOT — tests and Mix tasks import these helpers; the running application does not depend on them.
Summary
Functions
Adopter doc surfaces for executable drift guards — README and adoption lanes only.
Application atom for Scoria Hex package identity.
Git SHA for the v0.1.0 tag recorded in the baseline fixture stamp.
Content hash of the committed v0.1.0 baseline fixture package inventory.
Relative path to the baseline drift stamp file.
Resolve the committed v0.1.0 baseline unpack root for upgrade smoke proof.
Baseline upgrade version hook for Phase 80 committed fixture (0.1.0).
Resolve or build the current unpack root for tarball consumer proof.
GitHub fallback dep snippet for README commented fallback line.
GitHub fallback dep tuple for forks or pinned patches.
Adopter-facing Hex dep snippet — byte-match README active dep line.
Adopter-facing Hex dep tuple for generated host mix.exs or README guards.
Explicit Hex semver requirement policy (not auto-derived from patch).
Content hash of packaged file inventory plus published version (12-char hex suffix).
Previous live Hex registry release for a registry upgrade baseline pin.
Published version from Application spec — mirrors mix.exs @version.
Exact-pinned Hex registry dep snippet for generated host mix.exs patching.
Exact-pinned Hex registry dep tuple for post-publish attest paths.
Fallback previous-patch semver for versions without explicit live-registry lineage.
Baseline and target semver pair for a conditional registry upgrade leg.
True when HEAD tarball fingerprint differs from the committed v0.1.0 baseline.
True when a live registry semver upgrade leg is meaningful (published > 0.1.0).
CI tarball dep snippet for generated host mix.exs assertions.
CI tarball dep tuple — path to hex.build --unpack directory (no :hex key).
Discover the directory containing packaged mix.exs inside a hex.build --unpack output.
Functions
Adopter doc surfaces for executable drift guards — README and adoption lanes only.
Maintainer gate-map topology lives in ci_policy_contract_test, not here (D-96, D-98).
Application atom for Scoria Hex package identity.
Git SHA for the v0.1.0 tag recorded in the baseline fixture stamp.
Content hash of the committed v0.1.0 baseline fixture package inventory.
Mirrors package_fingerprint/0 but reads version and package files from the
frozen fixture tree. Phase 80 content-revision guard; Phase 81 uses registry semver.
Relative path to the baseline drift stamp file.
Resolve the committed v0.1.0 baseline unpack root for upgrade smoke proof.
Phase 80 content-revision upgrade uses this frozen fixture; Phase 81 covers
live registry semver bumps. Resolution order: SCORIA_HEX_BASELINE_UNPACK_ROOT
env override (maintainer only — never set in CI), else committed fixture path.
Baseline upgrade version hook for Phase 80 committed fixture (0.1.0).
Resolve or build the current unpack root for tarball consumer proof.
Resolution order: SCORIA_HEX_UNPACK_ROOT env override, fingerprint cache hit,
or exclusive-lock guarded mix hex.build --unpack.
GitHub fallback dep snippet for README commented fallback line.
GitHub fallback dep tuple for forks or pinned patches.
Adopter-facing Hex dep snippet — byte-match README active dep line.
Adopter-facing Hex dep tuple for generated host mix.exs or README guards.
Explicit Hex semver requirement policy (not auto-derived from patch).
Content hash of packaged file inventory plus published version (12-char hex suffix).
Previous live Hex registry release for a registry upgrade baseline pin.
Unit tests stay offline, so release lineage that differs from patch arithmetic
is encoded here explicitly from the live-registry preflight. Unknown versions
fall back to previous-patch semantics with a floor at "0.1.0".
Published version from Application spec — mirrors mix.exs @version.
Exact-pinned Hex registry dep snippet for generated host mix.exs patching.
Exact-pinned Hex registry dep tuple for post-publish attest paths.
Uses an exact semver string so the resolver cannot pick a stale index entry
during lag. Adopter docs keep hex_dep_tuple/0 (~> 0.1); pinned helpers are
attest-only.
Fallback previous-patch semver for versions without explicit live-registry lineage.
Baseline and target semver pair for a conditional registry upgrade leg.
True when HEAD tarball fingerprint differs from the committed v0.1.0 baseline.
Phase 80 same-semver content-revision upgrade signal. Phase 81 covers registry
semver bumps when 0.1.x+1 publishes.
True when a live registry semver upgrade leg is meaningful (published > 0.1.0).
CI tarball dep snippet for generated host mix.exs assertions.
CI tarball dep tuple — path to hex.build --unpack directory (no :hex key).
Discover the directory containing packaged mix.exs inside a hex.build --unpack output.