Immutable attested source-bearing projection of one compiled environment.
In frozen dependency order each entry binds a component ID to its direct
dependencies, declared namespaces, qualified sha256:<64-hex> source hash,
and exact effective source bytes. The catalog is built from the same
%PtcRunner.Kernel.Component{} values passed to the bundle compiler and is
validated against the resulting %PtcRunner.Kernel.FrozenBundle{} before
attestation, so source cannot be paired with a different compiled graph.
This projection is setup memory for the selected workflow or mission
environment. It is not prelude metadata, is not copied into result stamps,
canonical traces, telemetry, or host logs, and is absent from direct
PtcRunner.Lisp.run/2 unless a Kernel evaluation threads the selected
environment's catalog into the evaluation context.
Summary
Functions
Accepts a catalog for environment assembly against bundle.
Builds an attested catalog from compiled components and their bundle.
Returns the attested empty catalog.
Returns true when catalog has no entries.
Looks up one catalog entry by exact component ID.
Component IDs in frozen dependency order.
Types
Functions
@spec bind(t() | nil, PtcRunner.Kernel.FrozenBundle.t() | nil) :: {:ok, t()} | {:error, atom()}
Accepts a catalog for environment assembly against bundle.
An omitted or empty catalog is allowed even when a bundle is present, so inspection remains opt-in at construction. A non-empty catalog must be attested and match the bundle's frozen graph and source hashes.
@spec build( [PtcRunner.Kernel.Component.t()], PtcRunner.Kernel.FrozenBundle.t() | nil, PtcRunner.Kernel.SourceIntern.t() ) :: {:ok, PtcRunner.Kernel.SourceIntern.t(), t()} | {:error, atom()}
Builds an attested catalog from compiled components and their bundle.
Source binaries are interned through intern so identical bytes stay one
BEAM binary across catalogs. A nil bundle is valid only for an empty
component list.
@spec empty() :: t()
Returns the attested empty catalog.
Returns true when catalog has no entries.
Looks up one catalog entry by exact component ID.
Component IDs in frozen dependency order.