FGP Protocol Contract
3,333 words2 listingsA design document: it describes the 1.0 target, not what runs today.
Connection state is exactly TransportEstablished -> VersionNegotiated -> Authenticated{AuthContext} -> Ready{ReadyBinding} -> Draining -> Closed. DatabasePosture is exactly Local|Sharded. HELLO/HELLO_ACK negotiate protocol mechanics only; they contain no database selector, namespace, incarnation, service epoch, posture, promotion receipt, topology, existence signal, or database-specific limit. AUTH/AUTH_OK establish a transport-authenticated principal and immutable session binding. SELECT_DATABASE/READY then select one authorized database and independently reread its current Operational role root, continuity state, service-promotion receipt when required, and catalog entry. Nonexistent and unauthorized selectors have the same authenticated failure surface. Changing database, posture, incarnation, service epoch, or promotion receipt drains the Ready binding and requires a fresh selection; it is never an in-band refresh.
The three headers are distinct. TransportHeader={frame_len,protocol_version,frame_type,flags,request_id,stream_id} is used through AUTH. SessionHeader=TransportHeader+{session_binding,auth_context_generation} is legal after AUTH_OK. ReadyHeader=SessionHeader+{database_security_namespace_id,cluster_incarnation,service_visibility_epoch,database_posture,promotion_receipt_digest_or_direct_authority_commitment} is mandatory for database work. A stale, mixed, or missing binding fails before allocation, routing, authorization, schema/status/error disclosure, or timing-distinct lookup. session_binding is derived from the completed HELLO/HELLO_ACK/AUTH transcript and a server secret before AUTH_OK is encoded; no frame hashes itself.
AUTH_REFRESH/AUTH_REFRESHED is a self-transition in Authenticated or Ready. It cannot change the selected database or ReadyBinding and cannot widen beyond the original non-widenable ceiling. New authority applies only to subsequently created children; narrowing or revocation fences every unsent protected byte of existing children while an already admitted semantic decision still completes under its durable rules. A posture or service-epoch change forces Draining and fresh selection/authentication.
Ready owns typed children. A transaction child is Idle -> BeginStaging -> Begun{OwnershipGeneration,StatementIdle|StatementOpen} -> Closing{ReadClose|WritePrepare|Rollback} -> Terminal -> Idle; ordered reattach/renew rotates OwnershipGeneration and fences the old session. A query result is Accepted -> Bound -> Registered -> Executing -> Buffered -> PublicationSubmitted -> PendingVisibility|Deliverable -> SenderAttached|SenderPaused -> IndependentlyRetained -> Acknowledged|ReleasedUnacked; sender state is not durable disposition. Subscription and durable artifact-output children use their own exact registries; replay execution uses the query-result machine. Draining{cause,cutoff_child_generation} admits no later child. Each existing child must become exactly EphemeralCancelledBeforeRegistration|TransactionOwnershipDetached|SemanticTerminalDurable|AdmittedRecoveryRooted|ResultDurablyDetached|ArtifactOutputDurablyDetached|SubscriptionDurablyDetached|ProtectedErrorDurablyOwned, and every transport obligation must become Sent, CancelledBeforeWrite, or Failed. Drain never fabricates ACK/release/expiry and never waits for an offline client; independent result/output/cursor owners remain rooted after connection/process close. GOODBYE is emitted only after durable handoff; transport failure closes without another protected frame.
Every role-sensitive public identity is a closed opaque posture union: begin reservation, attempt, statement registration/publication, result owner, snapshot, marker outcome, logical position, delivery position, cancellation lineage, and audit release. A client never receives a Local ObjectId, Meta/shard reference, raw Raft index, or untagged integer from which posture must be inferred.
AuditReleaseEvidence is exactly NotRequired{release_subject_commitment,nonrequired_evidence_projection,visibility:Opaque{visibility_commitment}|Declassified{authorized_position_projection,declassification_decision_digest}}|RequiredVisible{release_subject_commitment,audit_outcome_and_visibility_commitment,visibility:Opaque{visibility_commitment}|Declassified{authorized_position_projection,declassification_decision_digest}}. It contains no nullable fields, raw ticket/event/root references, or default logical/commit/audit positions; a raw position is legal only in the explicit authorized declassification arm. ReadReleaseAuthorizationEvidence is {posture,release_subject_commitment,public_result_or_output_digest:PublicResultDigestProjection|PublicOutputDigestProjection,release_decision_commitment,authority_binding_public_commitment,security_state_binding_public_commitment,disclosure_contract_digest,portable_disclosure_receipt?} and is the portable projection of the exact Local/Global release decision. It never serializes an internal policy epoch, revocation index, authority digest, root identity, or decision-record reference.
The socket-write boundary uses two nested linear guards without holding an ordinary lock across await. AuthGenerationUseGuard<Role:AuthorityOwningRole> {ready_binding,session_binding,auth_context_generation,current_authority_binding:AuthorityBindingFor<Role>,release_subject_commitment,intended_frame_digest_or_range} is acquired while linearizing against the session authority generation and proves that the complete current policy/revocation/credential/service/principal/purpose/ceiling binding still covers the release subject. Those internal roots/counters never enter the frame; only their registered public commitments may appear in authorized projection evidence.
Time legality is a generated set, never a singular ambient guard. FrameTimeRequirement is the closed union RequiredUsableNow{subject:TimeBoundSubject,intended_use_digest,subject_body_digest}|RequiredDurableExpired{subject:TimeBoundSubject,intended_terminal_use_digest,expired_evidence_ref:StrongRef<TimeValidationEvidence>}|NoTimeNeeded{registered_public_mechanics_class}. NoTimeNeeded is inhabitable only for a finite registry of payload-free protocol-mechanics frames whose truth does not depend on a capability, lease, freshness, expiry, or time-based disclosure. FrameTimeRequirementSet {frame_class,frame_subject_version,canonical_requirements[],requirement_subject_bijection_commitment,minimum_required_remaining_guard_ticks,body_digest} is generated from frame_time_requirements.toml; it lists every and only time-bearing subject needed to authorize that exact frame/range. FrameTimeUseGuardSet is the nonserializable bijection from each RequiredUsableNow row to one fresh TimeUseGuard and each RequiredDurableExpired row to its exact durable evidence; it records the minimum remaining monotonic use budget. Missing, duplicate, extra, cross-subject, or NoTimeNeeded substitution fails before queue admission.
CapabilityStatusAuthorizationRef is the exact u16 union 0x0001 LocalTxn{ref:StrongRef<LifecycleAuthorizationDecisionRecord<Local>>,required_operation:StatusLookup<TxnOutcome>}|0x0002 MetaTxn{ref:StrongRef<LifecycleAuthorizationDecisionRecord<Meta>>,required_operation:StatusLookup<TxnOutcome>}|0x0003 LocalMerge{ref:StrongRef<MergeCapabilityOperationAuthorizationRecord<Local>>,required_authority:StatusLookup}|0x0004 MetaMerge{ref:StrongRef<MergeCapabilityOperationAuthorizationRecord<Meta>>,required_authority:StatusLookup}|0x0005 LocalUniformUnknown{session_authorization_ref:StrongRef<SessionAuthorizationRecord<Local>>,canonical_status_request_digest}|0x0006 MetaUniformUnknown{session_authorization_ref:StrongRef<SessionAuthorizationRecord<Meta>>,canonical_status_request_digest}; every other tag is reserved-invalid. The UniformUnknown arms are legal only after invalid/unclassifiable capability input and authorize exactly NotVisibleOrUnknown, no index lookup or other status class. AuditReceiptStatusAuthorizationRecord<Role> is the same-group immutable {authority_bound_header:AuthorityBoundHeader<Role>,validation_ref:StrongRef<DurableCapabilityValidationEvidence>,audit_subject:0x0001 TxnOutcome|0x0002 ResumeSubscriptionCursor|0x0003 ResumeBufferedResult|0x0004 ResumeDurableArtifactOutput,audit_subject_handle_commitment,expected_receipt_index_leaf_digest,canonical_audit_receipt_request_digest,request_nonce,body_digest}; all other subject tags are reserved-invalid, and the validation selects only AuditReceiptStatus, ReadyChannel presentation, Current lineage, and the matching subject. AuditReceiptStatusAuthorizationRef is the exact u16 union 0x0001 Local{ref:StrongRef<AuditReceiptStatusAuthorizationRecord<Local>>}|0x0002 Meta{ref:StrongRef<AuditReceiptStatusAuthorizationRecord<Meta>>}; every other tag is reserved-invalid, and the selected ref is rooted through receipt resolution and frame completion. PendingOutcomeStatusAuthority is the exact u16 union 0x0001 Authenticated{status_authorization_ref:CapabilityStatusAuthorizationRef,validated_outcome_capability_commitment}|0x0002 UniformUnknown{status_authorization_ref:CapabilityStatusAuthorizationRef}; every other tag is reserved-invalid, and this is the normative type of PublicFrameSendGuard::PendingOutcomeStatus.authority even where the later compact rendering elides its type name.
FrameSubjectVersion is the closed type-specific union PreparedStatement{statement_handle:PublicHandle<PreparedStatement>,state_token:PublicStateToken<PreparedStatement>}|ResultDelivery{delivery_handle:PublicResultDeliveryHandle,state_token:PublicStateToken<ResultDelivery>}|ArtifactDelivery{delivery_handle:PublicArtifactOutputHandle,state_token:PublicStateToken<ArtifactDelivery>}|CursorOutput{cursor_handle:PublicCursorHandle,output_handle:PublicHandle<CursorOutput>,state_token:PublicStateToken<CursorOutput>}|ProtectedError{delivery_handle:PublicErrorDeliveryHandle,state_token:PublicStateToken<ProtectedErrorDelivery>}|TxnStatus{txn_handle:PublicTxnHandle,state_token:PublicStateToken<TxnProgress>}|MergeStatus{merge_handle:PublicMergeHandle,state_token:PublicStateToken<MergeProgress>}|AuditStatus{subject_handle:PublicAuditSubjectHandle,state_token:PublicStateToken<AuditStatus>}|SnapshotStream{admission_commitment:OpaquePublicCommitment<SnapshotQueryAdmission>,stream_ordinal}; a naked numeric version or cross-kind token cannot decode. PublicFrameSendGuard is the closed queue-admission union PreparedMetadata{prepare_authorization_digest,catalog_compatibility_digest}|DataOutput{read_release_authorization_digest,audit_release_digest,active_delivery_authorization_digest}|SnapshotEphemeralOutput{admission_record_commitment,visible_endpoint_binding_commitment,read_release_authorization_digest}|CapabilityTerminalOutcome{status_authorization_ref:CapabilityStatusAuthorizationRef,validated_capability_commitment,terminal_projection_authorization_digest,audit_release_digest}|PendingOutcomeStatus{authority:Authenticated{status_authorization_ref:CapabilityStatusAuthorizationRef,validated_outcome_capability_commitment}|UniformUnknown{status_authorization_ref:CapabilityStatusAuthorizationRef},opaque_status_projection_digest}|ProtectedOutputManagementStatus{validated_management_handle_commitment,output_kind:Result|SubscriptionInitial|SubscriptionDelta|SubscriptionReset|Artifact|ProtectedError,released_state_token,release_authorization_digest}|AuditReceiptStatus{authorization_ref:AuditReceiptStatusAuthorizationRef,audit_subject_handle_commitment,current_scoped_audit_authority_digest,receipt_status_projection_digest}|ProtectedError{error_delivery_authorization_digest,audit_release_digest} plus common {auth_generation_use_guard,ready_binding,session_binding,stream_id,frame_subject_version:FrameSubjectVersion,exact_frame_class_and_digest_or_byte_range,frame_time_requirement_set_ref:StrongRef<FrameTimeRequirementSet>,queue_frame_time_guard_set:FrameTimeUseGuardSet}. PreparedMetadata queues only the frozen PREPARED parameter/schema contract after current catalog and authority revalidation. DataOutput queues bytes only from the exact ActiveDeliverable cursor/output arm. SnapshotEphemeralOutput is the sole arm that queues SNAPSHOT_RESULT_CHUNK/SNAPSHOT_RESULT_END bytes from a live LocalSnapshotQuery admission (Appendix A) under the SnapshotStream subject arm; it never queues a lease, resume capability, or durable-outcome projection. CapabilityTerminalOutcome alone queues NeverRegistered, TerminalVisiblePendingPostconditions, TerminalReady, or MERGE_STATUS_RESULT::{Committed,Rejected} after exact audit-visible terminal authorization and retains the Usable status source through send. PendingOutcomeStatus alone queues BeginStaging, InProgress, FinalizingOpaque, MERGE_STATUS_RESULT::InFlight, TokenNotYetValid, TokenExpired, TimeAuthorityUnavailable, or NotVisibleOrUnknown; none may encode a semantic terminal kind. Authenticated requires a non-UniformUnknown ref containing Usable for a state-bearing projection or the byte-matched negative classifier for the three public time classes. UniformUnknown requires exactly a LocalUniformUnknown or MetaUniformUnknown ref and can emit only NotVisibleOrUnknown; it carries no capability commitment. TokenExpired additionally requires the exact durable-expired requirement arm. ProtectedOutputManagementStatus queues only a frozen ACCEPTED/AwaitingActivation projection for a PendingVisibility or ReleasedAwaitingActivation owner and can never queue payload bytes, a lease, or a Resume capability. AuditReceiptStatus queues only the projection selected by its rooted authorization record, and ProtectedError uses its bounded owner lifecycle. The generated public-frame-class and time-requirement matrices assign every protected frame or byte range to exactly one arm/set and reject aliases or wildcard classes. OutputSendGuard is the legacy alias for DataOutput, not a generic escape hatch.
Queue-admission guard consumption atomically copies the exact authenticated frame bytes into a bounded TransportSendObligation {session_binding,queued_auth_context_generation,frame_subject_version,frame_digest,encoded_len,logical_row_charge,frame_time_requirement_set_commitment,required_release_and_audit_commitments,flow_reservation:FlowReservation{stream_key,internal_debit_generation,reserved_encoded_bytes,reserved_logical_rows,frame_cost_rule_id},state:Queued|Writing{write_start_generation,write_start_authority_commitment,write_start_frame_time_guard_set_commitment,minimum_remaining_guard_ticks_at_start,bytes_written}|Sent{committed_encoded_bytes,committed_logical_rows}|CancelledBeforeWrite{refunded_reservation_digest}|Failed{bytes_written,consumed_reservation_digest,transport_poisoned:true}} under the authority and FlowState CAS, then releases both queue-admission guard sets. The obligation retains the canonical requirement-set commitment, not an ephemeral guard.
Actual socket I/O has a second mandatory linearization point. SocketWriteStartGuard<Role:AuthorityOwningRole> {obligation_identity,ready_binding,session_binding,current_auth_context_generation,current_authority_binding:AuthorityBindingFor<Role>,frame_subject_version,exact_frame_digest,current_release_audit_and_active_owner_commitment,frame_time_requirement_set_ref:StrongRef<FrameTimeRequirementSet>,fresh_frame_time_guard_set:FrameTimeUseGuardSet,current_flow_generation,transport_write_generation} is acquired only while CASing the exact obligation Queued -> Writing. It reruns the complete arm-specific authority, subject-state, audit-release, every lease/capability/freshness/expiry requirement, service epoch, and flow check against current rooted state; queue admission never carries validity across backpressure. Failure before the CAS selects CancelledBeforeWrite and refunds the reservation without emitting bytes. The CAS commits the exact write-start authority and requirement-set commitments and their minimum remaining monotonic budget. Once Writing begins, the guard set is consumed into the one transport writer; the complete authenticated frame must reach Sent before that minimum budget expires. Authority refresh/revocation waits for that finite frame to reach Sent or Failed and cannot begin another old-generation frame. Sent means the complete authenticated frame was accepted by the transport within the committed budget and atomically moves that exact reservation to committed; CancelledBeforeWrite alone refunds it. Any write failure or budget overrun after the Writing CAS—including zero bytes or a partial prefix—selects Failed, consumes the reservation, permanently poisons that connection, and forces close without an AUTH_REFRESHED or later application frame. A peer can accept only a complete frame, so a partial prefix is never application-visible; the independently retained delivery/result/proof owner remains resumable on a fresh connection from its canonical boundary. Every durable END-send completion byte-matches the write-start authority and full requirement-set commitments.
A narrowing/revoking refresh cancels every still-Queued old-generation obligation and waits for every Writing obligation to become Sent or Failed; it emits AUTH_REFRESHED(new_generation) only if all such obligations reached Sent and the transport remains usable, otherwise it closes. Drain/close performs the same join. Backpressure cannot retain unbounded obligations because both queue memory and flow cost were reserved and capped before queue admission. Refresh/revocation, epoch/receipt drift, subject-version change, ACK/release, audit mismatch, lease/capability expiry, flow-generation drift, or authority-generation change before write start cancels the queued frame. No guard is serialized or retained as durable evidence; durable END-send records name the terminal Sent obligation and reconciled reservation. DPOR tests block and fail the socket while interleaving refresh/revocation/drain/credit/expiry at queue guard acquisition, byte-copy, reservation, queue admission, write-start guard acquisition, Queued-to-Writing CAS, every partial-write boundary, completion, and reconnect/resume.
ResumeCapabilityBody is the closed union SubscriptionCursor{cursor_handle:PublicCursorHandle,issuance_cursor_state_token:PublicStateToken<Cursor>,capability_lineage_token:PublicStateToken<ResumeLineage>,public_derived_identity_commitment,baseline_handle:PublicBaselineHandle,public_state_commitment}|BufferedResult{posture,owner_commitment,delivery_handle:PublicResultDeliveryHandle,issuance_lease_token:PublicStateToken<ResultLease>,issuance_delivery_state_token:PublicStateToken<ResultDelivery>,capability_lineage_token:PublicStateToken<ResumeLineage>,canonical_result_digest}|DurableArtifactOutput{posture,output_kind,request_key_commitment,delivery_handle:PublicArtifactOutputHandle,issuance_lease_token:PublicStateToken<ArtifactLease>,issuance_delivery_state_token:PublicStateToken<ArtifactDelivery>,capability_lineage_token:PublicStateToken<ResumeLineage>,canonical_output_digest}. It uses the common profiled DurableCapabilityHeader. No mutable state hint or numeric internal generation is encoded; the rooted Protocol index alone determines current/terminal state, and PendingVisibility/ReleasedAwaitingActivation cannot have a Resume capability at all. Current or immediate-predecessor retry returns the same prebuilt successor or compact consumption proof; older generations fail capability-safely. No arm exposes internal commit provenance, raw DerivedIdentity, or retention authority by itself; the corresponding active durable owner strongly retains the exact replay record bytes.
ExecutionScope is Autocommit{autocommit_idempotency_key,txn_operation_ceiling:ReadOnlyOnly|MayMutate,isolation,transaction_error_policy,default_snapshot_selector}|Transaction{txn_handle,ownership_generation,statement_seq,statement_idempotency_key,expected_prior_statement_frontier,expected_workspace_generation}. Clients declare only the ceiling needed for admission; after binding parameters and selectors, the server constructs the exact CanonicalStatementClassification and rejects any class above the ceiling. No client-supplied statement_class or mutation/read claim is authoritative. Before autocommit work, Local or Meta orders the exact reservation/registration mapping from scoped client key and canonical request digest/classification to one TxnOutcomeCapabilityFields, attempt, and eventual result capability. EXECUTE_ACCEPTED is emitted before result/outcome frames. Exact retry joins; any query/template, parameter, classification, authority, posture, epoch, snapshot, or option drift fails.
For Autocommit{ReadWrite,WriteReturning}, the buffered manifest owner is the distinct posture-valid AutocommitWriteTerminal. Prepared ownership retains it through prepare/commit/audit. No streamable result lease exists until the semantic commit is TerminalReady, the exact terminal audit outcome is released through the gap-free Protocol visibility advance, the Local/Global delta and durability postconditions are satisfied, and an exact independently retained delivery lease is installed by inline or independent activation. Commit completion never waits for client ACK; ACK/release only discharges that independent result promise.
The SnapshotQuery frame family (§13) adds no client verb: an eligible request rides the ordinary EXECUTE surface, and the negotiated class policy plus the server-constructed CanonicalStatementClassification — never a client-supplied class claim — decide the class. The response is a session-owned ephemeral stream: BEGIN-less SNAPSHOT_RESULT_CHUNK frames carrying the ordinary canonical-chunk encoding fields with no result owner projection, resume capability, delivery lease, or delivery state token, then SNAPSHOT_RESULT_END carrying effective_snapshots:PublicEffectiveSnapshotSet and no durable-outcome projection. Frames obey ordinary flow control and consume a fresh PublicFrameSendGuard::SnapshotEphemeralOutput immediately before each write; ineligibility, revocation, and security-barrier backpressure return the uniform NotVisibleOrUnknown/audit-backpressure classes with no data-dependent shape. After disconnect nothing is resumable and no durable record exists — this class has no ACK, release, retry-join, replay, or outcome lookup. wire_types.toml joins the family into the one normative frame inventory exactly once.
Authoritative v1 delivery and control corrections. QUERY_CANCEL controls computation and the current sender only. Before publication it may select the role-valid no-result/abort path; after independent retention it can only durably pause that session's sender after joining queued/writing transport obligations. It never ACKs/releases a result, changes capability lineage, or frees durable charge. ClientResultReleaseAuthority is the closed source union ReadyChannel{surface:NativeFgp|Http2|Grpc|WebSocket,presented_authority:ResumeCapability{validation_ref:StrongRef<DurableCapabilityValidationEvidence>,capability_commitment}|ManagementHandle{validated_management_handle_commitment},session_binding,auth_context_generation,surface_request_digest,canonical_fgp_request_digest}|Embedded{stream_release_token_commitment,host_session_generation,explicit_release_call_digest}|BoltV1{bolt_session_binding,qid,request_kind:DISCARD|RESET,request_message_digest}|BoltV2{bolt_session_binding,negotiated_profile_oid:BoltCompatProfileV2,qid,request_kind:DISCARD|RESET,request_message_digest}. Only ReadyChannel ResumeCapability validation selects the exact ResumeBufferedResult/ResultReleaseUnacked row and byte-matches the capability commitment, surface/canonical request pair, current result lineage, role, header, and session. The ReadyChannel management-handle arm, embedded stream token, and Bolt V1/V2 authenticated DISCARD/RESET arms cannot populate a capability-validation ref. AuthenticatedClientResultReleaseReceipt<Role> binds the complete role/domain/service/principal/authority/result ID/state version/digest/release nonce/source/authentication attestation and thereby strongly retains validation evidence only in the ReadyChannel ResumeCapability source arm. ResultReleaseEvidence is exactly ClientRelease{receipt_ref:StrongRef<AuthenticatedClientResultReleaseReceipt<Role>>}|LeaseExpired{expiry_evidence_ref}. Rust Drop, transport loss, QUERY_CANCEL, drain, and process/session death cannot construct it.
Result, cursor, and artifact-output capability rotation is ordered, not an in-memory cursor update. Every active owner strongly retains ResultCapabilityLineage {current_replay_ref,current_commitment,generation,immediate_predecessor:None|LiveUntilSuccessorAcknowledgedOrSubjectTerminal{replay_ref,consuming_request_digest}|Compacted{commitment,request_digest,tombstone_ref}}. There is no independent recovery deadline. RotateForResume, ACK, Release, cursor ACK/reset/close, and expiry CAS the same type-specific active state token; exact immediate-predecessor retry reproduces the successor while the successor/subject remains live, anything older fails. The acyclic order is manifest -> released owner/policy -> fresh time basis/evidence -> capability replay object -> protocol activation/transition -> applied lease/retention -> protocol index/root.
Subscription transition tags are generated from the exact semantic/maintenance split in §9.5: semantic CreateSubscriptionCursorSpec, then Protocol ReleaseInitialVisibility|ActivateInitialBaseline|AckBaselineComplete|PublishDeltaPending|ReleaseDeltaVisibility|ActivateDelta|AckDeltaComplete|PublishResetPending|ReleaseResetVisibility|ActivateResetNotice|AcknowledgeReset|ActivateResetBaseline|RotateCapability|PauseForDisconnect|ResumeAfterDisconnect|PostActivationCursorTransition|CloseCursor|ExpireCursor; CreateCursorAndBaselineLease, CreateLease, AckComplete, BeginReset, and ResetOrExpire are invalid ambiguous aliases. Reset ACK precedes construction of the successor baseline lease; baseline ACK precedes successor deltas. Explicit pause preserves the exact outstanding lease/frontier, rotates capability, and creates a replayable notice—it is neither ACK, release, gap, nor reset. Ordinary transport disconnect merely detaches the runtime sender.
Flow control separates client-known grants from server debits. FlowState is {key:{session_binding,stream_id,stream_generation},grant_generation,next_credit_sequence,cumulative_granted_bytes,cumulative_granted_rows,reserved_queued_bytes,reserved_queued_rows,committed_sent_bytes,committed_sent_rows,internal_debit_generation,state:Open|Closing|Closed} with checked available=granted-reserved-committed. FLOW_CREDIT carries expected grant generation, next credit sequence, and cumulative nondecreasing byte/row totals; server debits never invalidate the client's expected grant generation. A generated frame-cost matrix charges final encoded bytes and logical rows exactly at each row's final fragment (factorized multiplicity included; FEC symbols charge zero rows). A linear FlowReservation moves cost to reserved before queueing; CancelledBeforeWrite refunds; Sent moves reserved to committed; Failed poisons the connection and never reuses credit. Credits never move between streams; only bounded mechanics frames use a separate control reserve.
The following connection-control rows are additional to the one normative frame inventory below; wire_types.toml joins them into that inventory exactly once and rejects any duplicate tag or alternative spelling:
TXN_REATTACH{txn_outcome_capability,expected_ownership_state_token,
reattach_request_idempotency_key,requested_control_mode}
TXN_REATTACHED{posture,registration_handle:PublicRegistrationHandle,
txn_handle:PublicTxnHandle,ownership_state_token:PublicStateToken<TxnOwnership>,
rotated_txn_outcome_capability,statement_recovery_state,
control_mode}
TXN_RENEW{txn_handle,ownership_state_token,txn_outcome_capability,
renewal_request_idempotency_key,requested_window}
TXN_RENEWED{txn_handle,ownership_state_token,rotated_txn_outcome_capability,
not_before,expiry}
AUTHORITY_RESET{cursor_handle:PublicCursorHandle,cursor_state_token:PublicStateToken<CursorOutput>,
reset_notice_handle:PublicHandle<CursorOutput>,
public_reset_commitment,prior_public_authority_commitment,
successor_public_authority_commitment,successor_authorized_cursor_position,
successor_baseline_handle:PublicBaselineHandle,
successor_public_baseline_digest,resume_capability,
read_release_authorization,audit_release}
SUBSCRIBE_PAUSE{resume_capability,expected_cursor_state_token,
pause_request_idempotency_key,pause_reason_projection}
SUBSCRIBE_PAUSED{rotated_resume_capability,cursor_state_token,
outstanding_public_projection}
SUBSCRIBE_RESUME_AFTER_PAUSE{resume_capability,expected_cursor_state_token,
resume_request_idempotency_key}
Artifact/replay requests use opaque handles and the durable output registry: EXPORT_ACCEPTED/REPLAY_ACCEPTED name the canonical request and output-request handle; BEGIN/CHUNK/END frames carry a typed public delivery handle/state token, Resume capability only in ActiveDeliverable, and public projection digest, never internal refs. REPLAY_GET{request_key,replay_handle,requested_projection} retrieves PublicReplayManifestProjection; REPLAY_EXECUTE{request_key,replay_handle,requested_projection,fetch,resource_request} returns REPLAY_EXECUTE_ACCEPTED then uses ordinary result frames. PROOF carries only a closed ProofBody. FEC_BEGIN carries PublicFecTransferDescriptor; FEC_SYMBOL carries WireFecSymbolRecord MACed with channel-exporter-derived K_wire_symbol; reconnect creates a new transfer descriptor/key over the same public output digest.
Normative frame families:
HELLO{versions,features,client_nonce,transport_limits,concurrency_profiles}
HELLO_ACK{version,features,server_nonce,transport_limits,concurrency_profile,transcript_binding}
AUTH{token,channel_binding,transcript_binding,requested_authority_ceiling}
AUTH_OK{session_binding,auth_context_generation,principal_binding,
credential_issuer_and_epoch,transport_non_widenable_authority_ceiling_digest,
authentication_time_profile_oid,auth_not_before,auth_expiry}
SELECT_DATABASE{database_selector,expected_posture?}
READY{auth_context_generation,database_posture,operational_role_identity,
cluster_incarnation,service_visibility_epoch,service_authority_commitment,
security_state_binding_public_commitment,ready_binding_digest,
database_limits,concurrency_profile}
AUTH_REFRESH{token,channel_binding,expected_auth_state_token}
AUTH_REFRESHED{auth_state_token,non_widenable_authority_commitment,
security_state_binding_public_commitment,time_authority_profile_oid,
auth_not_before,auth_expiry,
existing_child_effect:NewWorkOnly|NarrowedUnsentOutputFenced}
BEGIN{begin_idempotency_key,txn_operation_ceiling,isolation,transaction_error_policy,
write_coordinates,default_snapshot_selector,read_your_writes_capability?,resource_request}
BEGIN_ACCEPTED{posture,reservation_handle:PublicHandle<TxnStaging>,
staging_state_token:PublicStateToken<TxnStaging>,txn_outcome_capability,
canonical_begin_request_commitment,service_visibility_epoch}
BEGUN{posture,txn_handle:PublicTxnHandle,
ownership_state_token:PublicStateToken<TxnOwnership>,
registration_handle:PublicRegistrationHandle,txn_outcome_capability,
registered_snapshots:PublicEffectiveSnapshotSet,
workspace_state_token:PublicStateToken<TxnWorkspace>,next_statement_request_ordinal,
transaction_error_policy}
BEGIN_OUTCOME{txn_outcome_capability,status:PublicTxnStatusProjection}
PREPARE{prepare_request_idempotency_key,text,language_contract_oid,requested_parameter_contract?,
requested_authority_ceiling_commitment}
PREPARED{prepared_statement_handle:PublicHandle<PreparedStatement>,
prepared_state_token:PublicStateToken<PreparedStatement>,param_schema,
public_template_commitment,compatibility_contracts,
prepare_authorization_projection}
EXECUTE{scope:ExecutionScope,prepared_statement_handle,prepared_state_token,params,
consistency,read_your_writes_capability?,
determinism,answer_requirement,fetch,resource_request}
EXECUTE_TEXT{scope:ExecutionScope,text,language_contract_oid,params,consistency,
read_your_writes_capability?,determinism,answer_requirement,fetch,resource_request}
EXECUTE_ACCEPTED{scope:
Autocommit{posture,registration_handle:PublicRegistrationHandle,
txn_outcome_capability,canonical_request_commitment}
| Transaction{posture,statement_handle:PublicHandle<Statement>,
statement_state_token:PublicStateToken<Statement>,
canonical_request_commitment}}
RESULT_BEGIN{result_delivery_handle:PublicResultDeliveryHandle,
delivery_state_token:PublicStateToken<ResultDelivery>,
owner:PublicResultOwnerProjection,
result_resume_capability,read_release_authorization:ReadReleaseAuthorizationEvidence,
audit_release:AuditReleaseEvidence,schema,result_answer_contract,
canonical_encoding_version,result_digest:PublicResultDigestProjection,
total_chunks,total_len,
replay_manifest_projection?}
RESULT_CHUNK{result_delivery_handle,delivery_state_token,result_digest,
chunk_ordinal,chunk_count,canonical_offset,chunk_digest,payload}
RESULT_END{result_delivery_handle,delivery_state_token,result_digest,
effective_snapshots:PublicEffectiveSnapshotSet}
SNAPSHOT_RESULT_CHUNK{stream_ordinal,chunk_ordinal,canonical_offset,chunk_digest,payload}
SNAPSHOT_RESULT_END{stream_ordinal,chunk_count,
effective_snapshots:PublicEffectiveSnapshotSet}
-- SnapshotQuery class (§13): session-owned, no delivery handle/state token,
-- no resume capability, no durable-outcome projection; dropped on disconnect
RESULT_RESUME{resume_capability,replay_from:Beginning|AfterCompleteChunk{chunk_ordinal,chunk_digest}}
RESULT_RESUMED{rotated_resume_capability,result_delivery_handle,delivery_state_token,
accepted_replay_from_chunk,result_digest,total_chunks}
RESULT_ACK{resume_capability,result_delivery_handle,expected_delivery_state_token,
result_digest,complete_result_end_transcript_digest,client_ack_nonce}
RESULT_RELEASE{management_handle_or_resume_capability,result_delivery_handle,
expected_delivery_state_token,request_idempotency_key,client_release_nonce}
RESULT_ACKED{result_delivery_handle,delivery_state_token,
capability_disposition:Rotated{resume_capability}|Consumed{consumption_proof}}
RESULT_RELEASED{result_delivery_handle,terminal_state_token,disposition_proof}
ROLLBACK{txn_handle,ownership_generation,expected_statement_frontier,
expected_delivery_detachment_frontier,expected_workspace_generation}
COMMIT{txn_handle,ownership_generation,expected_statement_frontier,
expected_delivery_detachment_frontier,expected_workspace_generation}
TXN_OUTCOME{txn_outcome_capability,status:PublicTxnStatusProjection::TerminalReady}
TXN_STATUS{txn_outcome_capability}
TXN_STATUS_RESULT{status:PublicTxnStatusProjection}
READ_YOUR_WRITES_ISSUED{txn_outcome_capability,read_your_writes_capability,
posture,floors:PublicRywFloorSet}
READ_YOUR_WRITES_WAIT{read_your_writes_capability,
requested_subset_selectors:[{graph:WireGraphReferenceSpec,
minimum_floor:PublicMarkerSelector}]}
READ_YOUR_WRITES_READY{rotated_or_same_capability,posture,
effective_snapshots:PublicEffectiveSnapshotSet,
satisfied_floors:PublicRywFloorSet,
read_release_authorization,audit_release}
MERGE_PREPARE{merge_request_idempotency_key,canonical_request_commitment,
target:WireGraphReferenceSpec,
source_heads:[PublicMarkerSelector],merge_bases:[PublicMarkerSelector],
resolution_policy_oid}
MERGE_PREPARED{merge_handle:PublicMergeHandle,merge_state_token:PublicStateToken<MergeProgress>,
merge_outcome_capability,canonical_request_commitment,
service_visibility_epoch}
MERGE_EXECUTE{merge_outcome_capability,expected_target_basis:PublicMarkerSelector,
resource_request}
MERGE_STATUS{merge_outcome_capability}
MERGE_STATUS_RESULT{status:PublicMergeStatusProjection}
QUERY_CANCEL{request_id,expected_child_state_token,cancel_nonce}
QUERY_CANCEL_RESULT{state:CancelledBeforePublication|CancellationRequested|
SenderPaused{result_delivery_handle:PublicResultDeliveryHandle,
delivery_state_token:PublicStateToken<ResultDelivery>}|TooLateSemantic|Unknown}
COMMIT_CANCEL{txn_handle,expected_attempt_state_token,cancel_nonce}
COMMIT_CANCEL_RESULT{CancelledBeforeAdmission|TooLate|Unknown}
CANCEL_EXPLANATION{lineage,exact_drain_state,read_release_authorization,audit_release,
statistical_estimate?}
SUBSCRIBE_BEGIN{subscription_idempotency_key,canonical_request_digest,definition,
snapshot_mode,authority_mode}
SUBSCRIBE_ACCEPTED{subscription_idempotency_key,canonical_request_commitment,
cursor_handle:PublicCursorHandle,
cursor_state_token:PublicStateToken<Cursor>,
management_handle:PublicHandle<PendingOutputManagement>,
state:PendingVisibility|ReleasedAwaitingActivation}
SUBSCRIBE_READY{subscription_idempotency_key,canonical_request_commitment,
cursor_handle:PublicCursorHandle,cursor_state_token:PublicStateToken<CursorOutput>,
public_derived_identity_commitment,public_graph_binding_projections,
authorized_cursor_position,resume_capability,
baseline_lease_handle:PublicDeliveryLeaseHandle,
baseline_handle:PublicBaselineHandle,baseline_digest:PublicResultDigestProjection,
read_release_authorization,audit_release}
SNAPSHOT_BEGIN{baseline_lease_handle,baseline_handle,cursor_state_token,authorized_cursor_position,
read_release_authorization,audit_release,output_schema,result_answer_contract,
canonical_encoding_version,total_chunks,total_len,digest}
SNAPSHOT_CHUNK{baseline_lease_handle,baseline_handle,cursor_state_token,digest,
chunk_ordinal,chunk_count,canonical_offset,payload}
SNAPSHOT_END{baseline_lease_handle,baseline_handle,cursor_state_token,digest}
SNAPSHOT_ACK{resume_capability,baseline_lease_handle,baseline_handle,baseline_digest,
expected_cursor_state_token,complete_snapshot_end_transcript_digest,
client_ack_nonce}
SNAPSHOT_ACKED{rotated_resume_capability,cursor_state_token,authorized_cursor_position}
AuthorizedDeltaPublicProvenance =
Opaque{delivery_sequence,authorized_cursor_position}
| Declassified{delivery_sequence,authorized_cursor_position,
source_posture_and_frontiers,atomic_or_coalesced_source_commitment,
declassification_authorization,audit_release}
DELTA_BEGIN{delivery_lease_handle,delivery_handle:PublicHandle<CursorOutput>,
public_delivery_digest,cursor_state_token,
authorized_cursor_position,output_schema,result_answer_contract,
canonical_encoding_version,canonical_payload_len,output_payload_digest,
public_provenance:AuthorizedDeltaPublicProvenance,
read_release_authorization,audit_release,total_chunks}
DELTA_CHUNK{delivery_handle,public_delivery_digest,output_payload_digest,cursor_state_token,
chunk_index,chunk_count,canonical_offset,payload}
DELTA_END{delivery_handle,public_delivery_digest,output_payload_digest,cursor_state_token,
authorized_proof_projection?}
ACK{resume_capability,delivery_lease_handle,delivery_handle,public_delivery_digest,
expected_cursor_state_token,complete_delta_end_transcript_digest,client_ack_nonce}
ACKED{rotated_resume_capability,cursor_state_token,authorized_cursor_position}
RESUME{resume_capability}
RESUMED{rotated_resume_capability,cursor_state_token,
outstanding:Baseline{baseline_lease_handle,baseline_handle,baseline_digest}|
Delta{delivery_lease_handle,delivery_handle,public_delivery_digest}|
ResetNotice{reset_notice_handle,public_reset_commitment}|None,
authorized_cursor_position}
SUBSCRIBE_CLOSE{resume_capability,expected_cursor_state_token,request_idempotency_key,
outstanding_disposition:None|BaselineAck{receipt_commitment}|
DeltaAck{receipt_commitment}|AuthenticatedRelease{release_commitment}|
ResetSupersession{gap_supersession_commitment}}
SUBSCRIPTION_ENDED{terminal_digest,capability_disposition,final_cursor_state_token,
read_release_authorization,audit_release}
GAP{cursor_handle,cursor_state_token,reset_notice_handle,public_reset_commitment,
expected_authorized_cursor_position,available_from_authorized_position,
successor:ResumableBaseline{successor_baseline_handle,successor_public_baseline_digest}
|Terminal, -- Terminal exactly for §9.5's no-successor reset; GAP_ACK then closes into SUBSCRIPTION_ENDED
resume_capability,
read_release_authorization,audit_release}
GAP_ACK{resume_capability,reset_notice_handle,expected_cursor_state_token,
complete_gap_transcript_digest,client_ack_nonce}
GAP_ACKED_AWAITING_BASELINE{cursor_handle,cursor_state_token,
management_handle:PublicHandle<PendingOutputManagement>}
RESET_BASELINE_READY{cursor_handle,cursor_state_token,rotated_resume_capability,
baseline_lease_handle,baseline_handle,baseline_digest,
read_release_authorization,audit_release}
PROOF{body:ProofBody,read_release_authorization,audit_release}
CAPABILITY_MIGRATE{legacy_capability,transition_identity,expected_legacy_generation,
migration_request_idempotency_key}
CAPABILITY_MIGRATED{successor_kind:TxnOutcome|MergeOutcome|ReadYourWrites|
BufferedResult|SubscriptionCursor|DurableArtifactOutput,
successor_capability,successor_public_state_projection,
migration_record_commitment}
EXPORT_BEGIN{export_idempotency_key,graph_reference_specs:WireGraphReferenceSpec[],export_projection,
format_contract_oid,snapshot_selector,consistency,resource_request}
EXPORT_ACCEPTED{canonical_request_commitment,output_request_handle:PublicHandle<ArtifactRequest>,
management_handle:PublicHandle<PendingOutputManagement>,
artifact_state_token:PublicStateToken<ArtifactDelivery>,
state:PendingVisibility|ReleasedAwaitingActivation}
EXPORT_READY{export_request_commitment,output_delivery_handle:PublicArtifactOutputHandle,
artifact_state_token:PublicStateToken<ArtifactDelivery>,
output_resume_capability,posture,public_projection_digest,
read_release_authorization,audit_release,
output_digest:PublicOutputDigestProjection,total_chunks,total_len}
EXPORT_CHUNK{output_delivery_handle,artifact_state_token,public_projection_digest,
output_digest,chunk_ordinal,
canonical_offset,payload}
EXPORT_END{output_delivery_handle,artifact_state_token,public_projection_digest,output_digest}
REPLAY_GET{replay_request_idempotency_key,replay_handle,requested_projection}
REPLAY_ACCEPTED{canonical_request_commitment,output_request_handle:PublicHandle<ArtifactRequest>,
management_handle:PublicHandle<PendingOutputManagement>,
artifact_state_token:PublicStateToken<ArtifactDelivery>,
state:PendingVisibility|ReleasedAwaitingActivation}
REPLAY_MANIFEST_BEGIN{replay_handle,public_projection_digest,effective_completeness,
output_delivery_handle,artifact_state_token,output_resume_capability,
read_release_authorization,audit_release,total_chunks,total_len}
REPLAY_MANIFEST_CHUNK{output_delivery_handle,artifact_state_token,public_projection_digest,
chunk_ordinal,canonical_offset,payload}
REPLAY_MANIFEST_END{output_delivery_handle,artifact_state_token,public_projection_digest}
REPLAY_EXECUTE{replay_request_idempotency_key,replay_handle,requested_projection,
fetch,resource_request}
REPLAY_EXECUTE_ACCEPTED{replay_execution_identity,canonical_request_digest}
REPLAY_STATUS{replay_handle,effective_completeness,authorized_availability_projection,
read_release_authorization,audit_release}
ARTIFACT_OUTPUT_RESUME{resume_capability,replay_from:Beginning|AfterCompleteChunk{chunk_ordinal,chunk_digest}}
ARTIFACT_OUTPUT_ACK{resume_capability,output_delivery_handle,expected_artifact_state_token,
output_digest,complete_output_end_transcript_digest,client_ack_nonce}
ARTIFACT_OUTPUT_ACKED{output_delivery_handle,terminal_state_token,capability_consumption_proof}
ARTIFACT_OUTPUT_RELEASE{management_handle_or_resume_capability,output_delivery_handle,
expected_artifact_state_token,request_idempotency_key,client_release_nonce}
ARTIFACT_OUTPUT_RELEASED{output_delivery_handle,terminal_state_token,disposition_proof}
AuditReceiptSubject = Transaction{txn_outcome_capability}
| Result{resume_capability}
| Subscription{resume_capability}
| ArtifactPreactivation{management_handle}
| ArtifactActive{resume_capability}
| CursorPreactivation{management_handle}
| ProtectedError{error_delivery_handle}
AUDIT_RECEIPT_REQUEST{subject:AuditReceiptSubject}
AUDIT_RECEIPT{subject,state:NotRequired{evidence_projection}
|RequiredPending{ticket_identity_projection}
|RequiredVisible{portable_receipt_projection}
|NotReadyOrUnavailable}
FLOW_CREDIT{stream_id,stream_generation,expected_grant_generation,credit_sequence,
cumulative_byte_credit,cumulative_row_credit}
FLOW_CREDIT_ACCEPTED{stream_id,stream_generation,grant_generation,next_credit_sequence,
cumulative_byte_credit,cumulative_row_credit}
DATA_FRAGMENT{envelope_id,chunk_ordinal,row_ordinal,fragment_ordinal,total_fragments,
canonical_row_len,row_digest,payload}
FEC_BEGIN{descriptor:PublicFecTransferDescriptor,
read_release_authorization,audit_release}
FEC_SYMBOL{record:WireFecSymbolRecord}
FEC_END{transfer_id,descriptor_digest,emitted_symbol_count,transfer_digest}
ERROR{scope,code,retry_class,detail:
PublicNonDataDependent{redacted_detail?}
| Protected{error_delivery_handle:PublicErrorDeliveryHandle,
error_state_token:PublicStateToken<ProtectedErrorDelivery>,
public_reason:PublicReasonProjection,read_release_authorization,
audit_release,padded_public_fields}}
ERROR_ACK{error_delivery_handle,expected_error_state_token,
complete_error_frame_transcript_digest,client_ack_nonce}
ERROR_ACKED{error_delivery_handle,terminal_state_token,disposition_proof}
GOODBYE{reason}
SubscriptionCreationIndex durably maps the scoped subscription key and canonical request digest to exactly one semantic cursor creation plus its Protocol pending owner. Exact retry reproduces SUBSCRIBE_ACCEPTED while PendingVisibility/ReleasedAwaitingActivation and reproduces the frozen SUBSCRIBE_READY only after BaselineDeliverable; drift fails. No creation entry owns an absolute lease or Resume capability before activation. SUBSCRIBE_CLOSE presents the exact authenticated outstanding disposition, orders CloseCursor, stores a capability-safe tombstone, and makes lost close-response replay deterministic. Generic STREAM_END, socket loss, or drain is not unsubscribe; ordinary disconnect merely detaches the runtime sender, while an explicit durable pause is a separate authenticated policy transition. FLOW_CREDIT is a versioned cumulative grant: the next client-owned credit sequence and expected grant generation must match; server debit generation is private. Exact duplicate is idempotent; conflicting duplicate, gap, decrease, overflow, wrong stream generation, or closed stream rejects. GAP is emitted only from ResetNoticeDeliverable; GAP_ACK durably completes that notice before the separately activated successor baseline receives a fresh lease. GAP, explicit AUTHORITY_RESET, reset-baseline readiness, and SUBSCRIPTION_ENDED are protected data-dependent output and require the matrix-assigned fresh guard immediately before every write; socket disconnect itself emits no durable application frame.
The complete internal delta provenance remains in DeltaDeliveryEnvelope and its InternalDeliveryDigest; it is never a wire type. Every baseline_digest frame field above means PublicBaselineDigest, and every baseline ACK validates that public digest; internal baseline identity/coverage/frontier are likewise server-side only. AuthorizedDeltaPublicProvenance and PublicDeliveryDigest are separately derived after authorization. The default Opaque arm reveals only delivery sequence and authorized cursor position. Atomic/coalesced source ranges, batch IDs/digests, source count, zero-net cadence, and hidden commits appear only in the explicitly authorized and audited Declassified arm. Hidden-commit differential tests require byte-identical public streams, timings within the declared deterministic envelope, and digests under the Opaque policy.
Local dispatch uses LocalStatementAbortSpec, TxnAbortSpec, LocalResultDeliveryTransitionSpec, Local read-close/prepare/terminal-completion, and Local status/index types. Sharded dispatch uses GlobalStatementAbortSpec, GlobalAttemptCancelSpec, GlobalResultDeliveryTransitionSpec, Global read-close/prepare/terminal-completion, and Meta outcome/directory types. After publication, QUERY_CANCEL can only pause the current sender; only RESULT_RELEASE or lease expiry releases independently retained delivery, and neither retracts Published. After prepare admission, semantic cancellation returns TooLate or Unknown and recovery completes the admitted terminal. CANCEL_EXPLANATION and data-dependent cancellation errors are protected output.
CAPABILITY_MIGRATE is legal only under a fresh Sharded E2 Ready binding and the exact six-arm PostActivationCapabilityMigrationSpec, including DurableArtifactOutput. The E capability is checked solely as proof with the same principal, no-wider authority, immediately preceding Local epoch, and certified transition. It grants no E read, delivery, lookup, or existence authority. Exact retry returns the same prebuilt E2 successor; ineligible or invalid proof is a uniform nonrevealing failure. Subscription migration requires no outstanding or pending Local output and creates a new pending baseline; no Local-to-Global delta range is emitted. PendingVisibility and ReleasedAwaitingActivation promises have no legacy capability, so RoleTransitionProtectedPromiseInventory and PostActivationProtectedPromiseTransferSpec transfer them by exact owner commitment before capability migration can complete.
Frame-order validity never substitutes for value, authorization, decompression, time, or resource validation. Every *_BEGIN, chunk, end, proof, replay/status projection, exported byte, protected error, and cancellation explanation consumes the one fresh PublicFrameSendGuard arm assigned by the generated frame-class matrix; DataOutput is not valid for status, terminal outcomes, audit receipts, or protected errors. Canonical chunking uses deterministic record/row boundaries; oversized legal rows use DATA_FRAGMENT after bounded spill reservation, and nothing is exposed until row and envelope verification completes. ACK is legal only after the matching END transcript. Incomplete unacked output replays from its declared canonical boundary or releases through a typed transition; it is never silently acknowledged.
A ReplayManifest ObjectId is internal and never a wire selector; only an opaque public replay handle plus current scoped Replay authority can select a typed public projection. Replay execution results use the ordinary result lifecycle. WireFecSymbolRecord is a channel-bound transfer record, never the at-rest SymbolRecord, and is verified against PublicFecTransferDescriptor before admission. Compression/FEC is negotiated only after authenticated public metadata and resource reservation. HTTP/2, gRPC, WebSocket, and Bolt adapters preserve the same idempotency, posture, explicit release, output-guard, cancellation, result-resume, and cutover semantics; Bolt exposes only its declared read-only downgrade in 1.0; BoltCompatProfileV2 (§13.5) is the registered 1.x write profile.
State-model, golden, differential, fuzz, crash, and DPOR suites cover pre-auth database non-disclosure; missing/out-of-order AUTH_OK/READY; Local/Sharded dispatch parity; lost/duplicate/conflicting BEGIN, autocommit, subscription, result resume/ACK, unsubscribe, export, and replay requests; NotRequired versus RequiredVisible release; revocation/refresh/epoch change between every two chunks; protected-error silence; hidden zero-net provenance noninterference; E-to-E2 migration exclusivity; and adapter parity. No frame or state row ships without its exact generated wire tag, authorization/release rule, size bound, retry rule, and negative transition fixture.