This is a semantic contract, not a frozen wire format. The eventual specification must select exact data types, canonical bytes, cryptographic suites, size bounds, critical-extension behavior, and test vectors.
record_contract: proposed_not_wire_frozen
public_authenticated_header:
version: selected-profile-version
channel_epoch: admitted-epoch
direction: client-to-server-or-server-to-client
stream_id: admitted-stream
sequence: unused-directional-position
record_kind: request-response-chunk-ack-rekey-close
ciphertext_length: bounded-by-profile
encrypted_content:
sender_instance: admitted-instance-reference
peer_identity: authenticated-recipient
root_receipt_ref: approved-origin-of-authority
lineage_ref: authenticated-delegation-chain
policy_digest: admitted-policy-commitment
operation_id: business-operation-identifier
request_reference: present-for-response
method_or_operation: canonical-operation
target_resource: canonical-resource
arguments_and_payload: canonical-protected-bytes
purpose_and_classification: trusted-policy-inputs
predecessor_reference: profile-defined-stream-state
protection:
authenticated_encryption: selected-reviewed-AEAD-profile
authorization_proof: bound-to-header-ciphertext-and-channel-state
Low-entropy payload hashes and sensitive lineage metadata are not exposed as unauthenticated or public confirmation handles by default. The profile inventories what remains observable, including sizes, endpoints, and timing. The enrollment commitment is not serialized into the record contract.
Conceptually, the record authenticator binds the public framing, ciphertext, and current authorization context:
is the canonical header; is the authenticated ciphertext; the key is separated by direction , epoch , and stream . This expression specifies binding requirements, not a complete security proof or a final selection of MAC and AEAD composition. Key generation, nonce uniqueness, traffic limits, erasure, and key-confirmation details belong to the reviewed cryptographic profile. Implementations reject mismatched direction, sender generation, policy, or retired state before exposing content.