Crosswake.ReleaseCandidate.Artifact (crosswake v0.2.3)

View Source

Validates candidate-local Hex tarball observations and derives normalized payload evidence.

The shell adapter owns official Hex build and unpack commands. This module is the fail-closed authority for the resulting package set, filesystem shape, metadata, and content digests.

Summary

Types

observation()

@type observation() :: %{
  candidate_ref: String.t(),
  package: String.t(),
  version: String.t(),
  outer_checksum: String.t(),
  metadata_digest: String.t(),
  payload_digest: String.t(),
  files: [map()],
  requirements: [map()],
  source: String.t(),
  unpacked_root: String.t()
}

Functions

inspect_family!(input)

@spec inspect_family!(map()) :: [observation()]

packages()

@spec packages() :: [String.t()]