Skip to main content

Crate phoxal_bundle

Crate phoxal_bundle 

Source
Expand description

The persisted runtime bundle boundary.

phoxal-manifest compiles authored YAML/URDF into canonical model facts; this crate owns the artifact that remains after that source tree is gone. A runtime process reads only runtime.json, the indexed files below assets/, and the selected binary below bin/. It never invokes the source compiler and never discovers a participant from a catalog.

<bundle>/
├── runtime.json
├── assets/
└── bin/

Structs§

AssetIndex
The integrity index for every participant-readable asset.
AssetRecord
One indexed asset and its expected bytes.
BinaryReference
A staged reusable executable and its canonical artifact contract.
BinarySource
One opened executable source. The writer hashes and copies the same open handle, so the digest it records and the bytes it stages come from one file.
BundlePath
A normalized bundle-relative path: forward slashes only, no leading slash, no empty, ., or .. component.
BundleWriter
A build-tool-facing writer for the explicit final assembly boundary.
DigestError
A digest that was not the canonical lowercase SHA-256 spelling.
ParticipantArtifactId
The stable identity of a reusable compiled participant artifact.
ParticipantAssets
Participant-readable, digest-checked asset access.
ParticipantBundle
The exact runtime record a participant process was launched to consume.
ParticipantRuntimeInputs
One selected participant and the immutable runtime inputs it consumes.
Runtime
The persisted final runtime graph and all framework-owned runtime facts.
RuntimeBundle
A loaded, integrity-checked runtime bundle.
RuntimeParticipant
One exact process entry in the final runtime graph.
RuntimeRouterConfig
A normalized reference to optional router configuration.
Sha256Digest
A SHA-256 digest rendered as exactly 64 lowercase hexadecimal characters.

Enums§

BundleError
Why reading or validating a bundle failed.
BundlePathError
Why a bundle-relative path was rejected.
DocumentError
Why a persisted runtime document is not a valid execution plan.
ParticipantClock
The scheduler policy persisted for one runtime participant instance.
RuntimeDocument
A schema-tagged persisted runtime document.
SelectionError
Why an exact participant selection failed.

Constants§

ASSETS_DIR
The participant-readable asset directory.
BIN_DIR
The supervisor-only binary directory.
MAX_RUNTIME_PARTICIPANTS
Maximum participant instances in one compiled runtime execution.
RUNTIME_FILE
The persisted document filename at the bundle root.
RUNTIME_SCHEMA
The only schema tag currently readable by this framework train.