phoxal-runtime-contract 0.59.1

Phoxal process-boundary identities, participant launch ABI, and embedded metadata contract.
Documentation

phoxal-runtime-contract

Shared, transport-neutral process-boundary contracts for the Phoxal runtime. Application participants normally use these contracts through the phoxal facade.

There is no crate-root facade here: each contract is a module and each public type has exactly one path.

  • identity - the execution, participant, producer, and timeline identities that reach process boundaries.
  • version - the framework train version 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.
  • launch - scheduler policy facts persisted in the compiled runtime bundle; participant process parsing is strict Clap argv in phoxal.
  • origin - the boot-anchored origin of one real execution.

Compatibility between a phoxal-cli and a built participant is one fact declared in one place: the framework train version in the ParticipantMetadata document each binary embeds at compile time. Two binaries speak the same contracts exactly when that version is equal. There is no Cargo package-metadata table and no version file anywhere in the contract. The schema tag on a persisted document is a format discriminator, not a second compatibility identity.

ParticipantId is the validated topology role selected from a persisted runtime.json; it is distinct from ProducerId, which is minted by the transport for one process-session incarnation.