Skip to main content

Crate phoxal_runtime_contract

Crate phoxal_runtime_contract 

Source
Expand description

Stable data crossing Phoxal process boundaries.

This crate deliberately contains no participant runner, bus transport, command-line parser, or project compiler. It is the shared vocabulary used by the framework runtime and phoxal-cli.

There is no crate-root facade: every public item is reached through the module that owns its contract, so a type has exactly one path and an import already says which process-boundary contract it belongs to.

  • identity - the execution, producer, and timeline identities that reach the wire.
  • version - the version identities two binaries compare to establish that they speak the same contracts.
  • metadata - the record every participant binary embeds at compile time, and its strict parser.
  • emit - the one sanctioned writer of that record, in both of its evaluation modes.
  • origin - the boot-anchored origin of one real execution.

Modules§

emit
The one sanctioned writer of the embedded participant-metadata document.
identity
The identity axes that reach the wire.
metadata
The read side of the embedded participant-metadata document.
origin
Where one real execution started: a host boot, an offset on that boot’s clock, and the timeline the execution runs on.
version
Every version identity that crosses a Phoxal process boundary.