Expand description
Stable JSON projection for the public OCLA contract.
Constants§
Functions§
- agent_
envelope_ schema - Source-generated public JSON Schema for the payload-free A2A admission
contract. Cross-field owner and content-derived identity checks remain in
decode_agent_envelope, where they can fail closed. - canonical_
envelope_ schema - Source-generated JSON Schema used by SDKs and checked against the committed public projection in CI. Keep this small and strict: compatibility changes require an intentional schema-version decision.
- decode_
agent_ envelope - Decodes an A2A admission contract and rejects schema, lineage, relay-ID, or budget drift before an adapter can observe it.
- decode_
envelope - encode_
agent_ envelope - Encodes a validated A2A admission contract. The budget remains an authorization ceiling; this projection never denotes delivered tokens.
- encode_
envelope