Expand description
Node contract data and validation for Pureflow.
§Fragment: contract-data-boundary
This crate keeps the contract layer thin: it owns typed contract metadata and validation against validated workflow topology plus existing capability descriptors. It does not add a second capability model, a parser, or a runtime.
§Fragment: contract-validation-boundary
Validation is intentionally staged. Workflow structure is still owned by
pureflow-workflow, capability descriptors remain in pureflow-core, and
this crate only verifies that the two line up with the contract metadata
supplied for inspection or execution planning.
Structs§
- Node
Contract - Contract metadata for one node.
- Port
Contract - Contract-side declaration for one node port.
- Schema
Ref - Opaque schema reference attached to a contract port.
Enums§
- Contract
Validation Error - Validation error for contract metadata.
- Determinism
- Contract-level determinism declaration.
- Execution
Mode - Declared execution mode for one node contract.
Functions§
- validate_
workflow_ contracts - Validate workflow topology, capability descriptors, and node contracts together.