@floegence/flowersec-core 5.4.1 → 5.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,23 @@
1
+ // Generated draft registry; not a qualified runtime.
2
+ export const transportV4Registry = {
3
+ schemaSHA256: "7ca8c62b779e721a748461e01d5ed6e4e97437aee7f3bf5e38fbcdc61f3bb959",
4
+ frameTypes: { "NEGOTIATE": 1, "ADMISSION": 2, "ADMISSION_RESULT": 3, "HANDSHAKE": 4, "READY": 5, "REKEY": 6, "OPEN_STREAM": 7, "STREAM_DATA": 8, "STREAM_ACK": 9, "DATAGRAM": 10, "ERROR": 11, "CLOSE": 12, "GOAWAY": 13, "PING": 14, "PONG": 15, "HOP_AUTH": 16 },
5
+ };
6
+ export const transportV4RekeyCreditRegistry = { "status": "reference_arithmetic_only", "source": "3.8", "quantity_max": "18446744073709551615", "intermediate_max": "340282366920938463463374607431768211455", "additional_authorization_tolerance_ms": "0", "service_error": "configuration_capacity", "error_allowance": "ceil(2*eta/(1-rho))+1", "service_rounds": "floor((B*R+B*((1+rho)/(1-rho))*T)/(R-B*e))", "elapsed_bound": { "client_credit": "elapsed_lower_ms", "server_credit": "elapsed_upper_ms" }, "operations": { "service": ["burst_rounds", "refill_period_ms", "request_start_budget_ms", "issued_at_ms", "session_not_after_ms", "rate_numerator", "rate_denominator", "quantization_ms"], "initial_credit": ["burst_rounds", "refill_period_ms"], "client_credit": ["burst_rounds", "refill_period_ms", "base_credit", "delta_ms", "rate_numerator", "rate_denominator", "quantization_ms"], "server_credit": ["burst_rounds", "refill_period_ms", "base_credit", "delta_ms", "rate_numerator", "rate_denominator", "quantization_ms"] }, "credit_ownership": "Initial capacity B*R; ready projections use the unchanged original base and causal ACK anchor. The unique INIT gate deducts R once; ACK retains post_charge unchanged and starts the next idle anchor. Pending round time, peeks, REQUEST, cancellation and waiter changes never refill or reset the base.", "qualification": "Pure arithmetic only; no live owner, authenticated Artifact/TimeProfile, original causal clock anchor/incarnation, INIT ticket/deduction, ACK transition, pending-round exclusion, service/work/crypto/cleanup reservation, timer or provider/production qualification. Default zero additional authorized time tolerance; no implicit skew.", "envelope_fields": { "0": { "name": "burst_rounds", "type": "uint16", "min": 1 }, "1": { "name": "refill_period_ms", "type": "uint32", "min": 1 }, "2": { "name": "request_start_budget_ms", "type": "uint32", "min": 1 } } };
7
+ export const transportV4CryptoUsageRegistry = { "status": "design_fixed_limits_reference_charges_only", "source": "3.5.3", "quantity_max": "18446744073709551615", "authentication_block_bytes": 16, "length_blocks": 1, "charge_fields": ["operation", "aad_bytes", "input_bytes"], "operations": ["seal", "open"], "counting": "Seal and open are accounted separately at key, epoch and Session levels; open includes failed attempts. Ciphertext includes the tag; authentication blocks include actual AAD, payload and one length block.", "reservation": "Precharge at the original atomic send ticket or receive crypto-dispatch gate; cancelled or unused precharges never refund cryptographic usage. Memory/work reference exit is separate. Rekey preserves Session totals; a new scope preserves epoch totals. Time is revalidated at actual crypto start.", "qualification": "Fixed operational limits and pure arithmetic only; no independent aggregate cryptographic proof, owner/atomic reservation, soft watermarks, maintenance reserve, actual provider/AEAD invocation, root age enforcement, key cleanup or production qualification", "profiles": { "fs4-kkpsk0-x25519-chachapoly-ed25519-sha256-1": { "key": { "seal_calls": "1048576", "open_attempts": "1048576", "authentication_blocks": "4294967296", "ciphertext_bytes": "68719476736" }, "epoch": { "seal_calls": "2147483648", "open_attempts": "2147483648", "authentication_blocks": "4398046511104", "ciphertext_bytes": "70368744177664" }, "session": { "seal_calls": "68719476736", "open_attempts": "68719476736", "authentication_blocks": "4503599627370496", "ciphertext_bytes": "72057594037927936" }, "root_max_age_ms": "86400000", "max_epochs": "65536", "max_record_key_derivations": "268435456" }, "fs4-kkpsk0-p256-aes256gcm-ed25519-sha256-1": { "key": { "seal_calls": "1048576", "open_attempts": "1048576", "authentication_blocks": "2147483648", "ciphertext_bytes": "68719476736" }, "epoch": { "seal_calls": "1073741824", "open_attempts": "1073741824", "authentication_blocks": "2199023255552", "ciphertext_bytes": "35184372088832" }, "session": { "seal_calls": "34359738368", "open_attempts": "34359738368", "authentication_blocks": "2251799813685248", "ciphertext_bytes": "36028797018963968" }, "root_max_age_ms": "86400000", "max_epochs": "65536", "max_record_key_derivations": "268435456" } } };
8
+ export const transportV4TimeArithmeticRegistry = { "status": "reference_arithmetic_only", "source": "3.3.1", "unit": "integer_milliseconds", "quantity_max": "18446744073709551615", "intermediate_max": "340282366920938463463374607431768211455", "rate": "rho=rate_numerator/rate_denominator; 0<=numerator<denominator", "rounding": "lower_floor_upper_ceiling", "quantization": "abs(observed_delta_ms-ideal_monotonic_delta_ms)<=quantization_ms; applied_before_drift_conversion", "operations": { "elapsed": ["delta_ms", "rate_numerator", "rate_denominator", "quantization_ms"], "network_anchor": ["sample_ms", "source_error_ms", "delta_ms", "rate_numerator", "rate_denominator", "quantization_ms", "max_round_trip_ms", "max_width_ms"], "advance_anchor": ["lower_ms", "upper_ms", "delta_ms", "rate_numerator", "rate_denominator", "quantization_ms", "max_age_ms", "max_width_ms"], "deadline_delta": ["upper_ms", "deadline_ms", "rate_numerator", "rate_denominator", "quantization_ms"], "prove_delta": ["lower_ms", "bound_ms", "rate_numerator", "rate_denominator", "quantization_ms"] }, "qualification": "Exact conservative integer arithmetic only; no clock or source authentication, nonce matching, profile qualification, incarnation continuity, anchor installation, owner/timer state, gate reopening, resource reservations or production SDK/provider qualification" };
9
+ export const transportV4ResourceCompositionRegistry = { "status": "reference_owner_union_only", "owner_key_fields": ["resource_profile_revision", "environment_id", "owner_kind", "owner_instance_id", "backing_id", "direction"], "binding_fields": ["backing_lifetime_id", "charge_binding_id"], "control_boundaries": ["sdk_owned", "provider_controlled", "provider_observable", "host_unobservable"], "dimensions": ["bytes", "work", "items"], "quantity_max": "18446744073709551615", "base_components": ["transport_core", "reject_only", "enabled", "actual_shared_refs"], "composition": "owner_union_then_componentwise_max", "transfer": "cross_owner_deduplication_not_implemented" };
10
+ export const transportV4ResourceFormulaRegistry = { "status": "partial_known_costs_only", "codec": { "full_body_slots": 2, "buffers_per_slot": 2, "small_body_ceiling_bytes": 131072, "small_slots_max": 4294967295 }, "bitmap": { "roles": 2, "bits_per_scope": 1, "bits_per_byte": 8, "ordinal_source": "stream_state_registry.client_ordinals" }, "application": { "profiles": { "transport": { "rpc_channels": 0, "notify_channels": 0, "management_channels": 0 }, "services": { "rpc_channels": 8, "notify_channels": 2, "management_channels": 0 }, "execution": { "rpc_channels": 8, "notify_channels": 2, "management_channels": 1 } }, "channel_direction_bytes": 16384, "directions": 2, "query_slots": 2, "reply_slot_bytes": 1024, "fragment_associations_per_general": 2, "fragment_association_bytes": 128, "query_reserve_bytes": 524288, "rpc_error_output_bytes_per_channel": 2048 }, "qualification": "Body buffers, permanent bitmap and enumerated application baseline only; no full ready_min, short-work floor, actual object charge, reservation or physical-memory qualification", "max_frame_bytes": 1048576, "common_scope_ordinals": 2097168, "rpc_general_limit": { "name": "rpc_max_general_outstanding", "type": "uint16", "min": 1, "max": 1024, "optional": true } };
11
+ export const transportV4CBORRegistryJSON = "{\"encoding\":{\"max_depth\":8,\"max_map_entries\":128,\"ordinary_array_items\":1035,\"max_field_id\":65535,\"name\":\"deterministic-cbor\",\"rfc\":\"8949\",\"map_key\":\"uint16 field_id, ascending numeric order\",\"reject\":[\"duplicate_key\",\"unknown_key\",\"indefinite_length\",\"non_shortest_integer\",\"trailing_bytes\",\"tags\",\"float\"]},\"frame_maps\":{\"ExecutionManagementTarget\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"service_namespace\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"caller_subject\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"4\":{\"name\":\"caller_authority\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"request_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"service_contract_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7],\"max_encoded_bytes\":1024},\"ExecutionManagementObservation\":{\"fields\":{\"0\":{\"name\":\"found\",\"type\":\"bool\"},\"1\":{\"name\":\"reason\",\"type\":\"uint8\",\"enum\":{\"none\":0,\"cancelled\":1,\"dispatch_unavailable\":2,\"work_outcome_unknown\":3,\"deadline_exceeded\":4,\"not_registered\":5,\"history_unknown\":6}},\"2\":{\"name\":\"state\",\"type\":\"uint8\",\"enum\":{\"accepted\":1,\"executing\":2,\"completed\":3,\"failed\":4,\"unknown\":5},\"optional\":true},\"3\":{\"name\":\"cancel_requested\",\"type\":\"bool\",\"optional\":true},\"4\":{\"name\":\"dispatched\",\"type\":\"bool\",\"optional\":true},\"5\":{\"name\":\"work_active\",\"type\":\"bool\",\"optional\":true},\"6\":{\"name\":\"history_not_before_gc_ms\",\"type\":\"uint64\",\"optional\":true},\"7\":{\"name\":\"result_not_after_ms\",\"type\":\"uint64\",\"optional\":true},\"8\":{\"name\":\"result_available\",\"type\":\"bool\",\"optional\":true},\"9\":{\"name\":\"result_deleted\",\"type\":\"bool\",\"optional\":true},\"10\":{\"name\":\"result_bytes\",\"type\":\"uint32\",\"max\":1048576,\"optional\":true},\"11\":{\"name\":\"application_error_code\",\"type\":\"uint32\",\"optional\":true},\"12\":{\"name\":\"result_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true}},\"required\":[0,1],\"max_encoded_bytes\":256},\"QueryOperationResponse\":{\"fields\":{\"0\":{\"name\":\"status\",\"type\":\"uint8\",\"enum\":{\"ok\":0,\"unavailable\":1,\"unauthorized\":2,\"operation_conflict\":3,\"unsupported\":4,\"deadline_exceeded\":5,\"result_expired\":6,\"not_found\":7,\"history_unknown\":8}},\"1\":{\"name\":\"observation\",\"type\":\"map\",\"schema_ref\":\"ExecutionManagementObservation\",\"optional\":true}},\"required\":[0],\"max_encoded_bytes\":512},\"RequestCancelResponse\":{\"fields\":{\"0\":{\"name\":\"status\",\"type\":\"uint8\",\"enum\":{\"ok\":0,\"unavailable\":1,\"unauthorized\":2,\"operation_conflict\":3,\"unsupported\":4,\"deadline_exceeded\":5}},\"1\":{\"name\":\"observation\",\"type\":\"map\",\"schema_ref\":\"ExecutionManagementObservation\",\"optional\":true},\"2\":{\"name\":\"cancel_result\",\"type\":\"uint8\",\"enum\":{\"requested\":0,\"terminal\":1,\"not_registered\":2,\"history_unknown\":3},\"optional\":true}},\"required\":[0],\"max_encoded_bytes\":512},\"ConnectionActivationDelegation\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"signing_key_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"6\":{\"name\":\"signer_public_key\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"purpose\",\"type\":\"uint8\",\"const\":1},\"8\":{\"name\":\"artifact_issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"9\":{\"name\":\"authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"10\":{\"name\":\"signing_not_before_ms\",\"type\":\"uint64\"},\"11\":{\"name\":\"signing_not_after_ms\",\"type\":\"uint64\"},\"12\":{\"name\":\"first_parent_cohort\",\"type\":\"uint64\"},\"13\":{\"name\":\"last_parent_cohort\",\"type\":\"uint64\"},\"14\":{\"name\":\"max_activation_not_after_ms\",\"type\":\"uint64\"},\"15\":{\"name\":\"max_session_not_after_ms\",\"type\":\"uint64\"},\"16\":{\"name\":\"max_affected_cohorts\",\"type\":\"array\",\"min_items\":2,\"max_items\":2,\"items\":{\"type\":\"uint64\",\"nullable\":true}},\"17\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],\"max_encoded_bytes\":846,\"deferred_constraints\":[\"Registry allocation under 3.9.1/4.1.1/6.2: one immutable connection_activation authorization for one parent issuer and logical SpendLedger authority in the parent namespace/generation. Purpose 1 is connection_activation, not revocation_head. Independent TrustConfig authenticates the whole entry; it has no self-signature or renewal path. signing_key_id fixes original public key, purpose and all bounds; changed authorization requires a new ID. The inclusive parent cohort range and absolute admission/Session bounds intersect the original parent, fixed capacity H_connection and original cohort policy. The signer issuer_key_id is its immutable bytes16 revocation identity, distinct from the allowed parent artifact_issuer_key_id; it is part of the same independently authenticated entry. Its explicit original connection impact is last_parent_cohort and certificate impact is null. Complete independent trust, parent authority continuity, all original permission history, revocation and durable retirement remain external gates.\"]},\"ResumeProgress\":{\"fields\":{\"0\":{\"name\":\"confirmed_checkpoint\",\"type\":\"map\",\"schema_ref\":\"ResumeCheckpoint\"},\"1\":{\"name\":\"new_generation\",\"type\":\"uint64\"}},\"required\":[0,1],\"max_encoded_bytes\":4244},\"ResumeCheckpoint\":{\"fields\":{\"0\":{\"name\":\"format\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"position\",\"type\":\"bytes\",\"max_bytes\":4096}},\"required\":[0,1],\"max_encoded_bytes\":4232},\"ResumeTokenClaims\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"caller_identity\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"service_namespace\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"4\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"request_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"checkpoint\",\"type\":\"map\",\"schema_ref\":\"ResumeCheckpoint\"},\"7\":{\"name\":\"generation\",\"type\":\"uint64\"},\"8\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"9\":{\"name\":\"expires_at_ms\",\"type\":\"uint64\"},\"10\":{\"name\":\"nonce\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7,8,9,10],\"max_encoded_bytes\":4893,\"deferred_constraints\":[\"Caller identity is the stable authenticated application execution principal, not a Session or certificate identifier. Independent application recovery keys, current caller/tenant/audience/service authorization, trusted time, policy TTL/count/store quotas and original operation history are separate gates. Field IDs and finite byte limits are registry allocations under 3.7.3/6.2.\"]},\"ResumeSignedToken\":{\"fields\":{\"0\":{\"name\":\"claims\",\"type\":\"map\",\"schema_ref\":\"ResumeTokenClaims\"},\"1\":{\"name\":\"key_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2],\"max_encoded_bytes\":4980,\"signature_field\":2},\"ResumeMACToken\":{\"fields\":{\"0\":{\"name\":\"claims\",\"type\":\"map\",\"schema_ref\":\"ResumeTokenClaims\"},\"1\":{\"name\":\"key_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2],\"max_encoded_bytes\":4948,\"mac_field\":2},\"ResumeRequest\":{\"fields\":{\"0\":{\"name\":\"original_operation_id\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"original_request_digest\",\"type\":\"bytes\",\"length\":32},\"2\":{\"name\":\"protection\",\"type\":\"uint8\",\"enum\":{\"ed25519\":0,\"hmac_sha256\":1}},\"3\":{\"name\":\"token\",\"type\":\"context_variant\",\"context\":\"resume_protection\",\"cases\":{\"ed25519\":{\"type\":\"bytes\",\"max_bytes\":4980,\"encoded_schema_ref\":\"ResumeSignedToken\"},\"hmac_sha256\":{\"type\":\"bytes\",\"max_bytes\":4948,\"encoded_schema_ref\":\"ResumeMACToken\"}}},\"4\":{\"name\":\"generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"expected_checkpoint\",\"type\":\"map\",\"schema_ref\":\"ResumeCheckpoint\"},\"6\":{\"name\":\"transport_context_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"}},\"required\":[0,1,2,3,4,5,6,7],\"max_encoded_bytes\":9345,\"context_fields\":{\"resume_protection\":\"protection\"},\"deferred_constraints\":[\"The SDK captures the exact new ready Session transport context, accepted application Stream and local incarnation before preparing/saving. Original operation/digest, checkpoint and generation must match the protected token. Only an authenticated application transaction can consume the token, advance generation and bind the target. No new L0 frame or Session-secret recovery.\"]},\"ResumeResult\":{\"fields\":{\"0\":{\"name\":\"status\",\"type\":\"uint8\",\"enum\":{\"accepted\":0,\"rejected\":1,\"unknown\":2}},\"1\":{\"name\":\"progress\",\"type\":\"map\",\"schema_ref\":\"ResumeProgress\",\"optional\":true}},\"required\":[0],\"max_encoded_bytes\":4248,\"deferred_constraints\":[\"Accepted requires confirmed progress. Rejected/unknown may report already confirmed application progress or omit it; no transport ACK inference. Current authorization, original response ownership, result limits and transaction evidence remain external.\"]},\"ApplicationSDKError\":{\"fields\":{\"0\":{\"name\":\"code\",\"type\":\"uint16\",\"min\":1,\"enum_ref\":\"application_sdk_error_codes\"}},\"required\":[0],\"max_encoded_bytes\":256,\"deferred_constraints\":[\"These codes describe ordinary RPC message stopping and bounded service refusals/errors; service errors require the original complete-input gate. Original channel/direction/reply serial and response-owner gates remain required. request_message_aborted confirms only incomplete input for this serial, without validating its declared execution digest or asserting global nonexecution. response_output_stopped ends output only. No raw cause, execution assertion, retry or dispatch authority is carried.\"]},\"CohortPolicySegment\":{\"fields\":{\"0\":{\"name\":\"first_cohort\",\"type\":\"uint64\"},\"1\":{\"name\":\"last_cohort\",\"type\":\"uint64\"},\"2\":{\"name\":\"certificate_impact_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"3\":{\"name\":\"connection_impact_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true}},\"required\":[0,1],\"max_encoded_bytes\":41,\"deferred_constraints\":[\"Immutable original segment; absent class is not governed. Capacity, checked grid/deadline arithmetic, per-class disjointness, authenticated credential selection and retirement require complete State context.\"]},\"RevocationState\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"credential_revocation_floors\",\"type\":\"array<uint64>\",\"min_items\":2,\"max_items\":2},\"6\":{\"name\":\"publication_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"7\":{\"name\":\"publication_policy_revision\",\"type\":\"uint64\"},\"8\":{\"name\":\"revoked_issuers\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_revoked_issuers\",\"items\":{\"type\":\"map\",\"schema_ref\":\"RevokedIssuerEntry\"}},\"9\":{\"name\":\"revoked_certificates\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_revoked_certificates\",\"items\":{\"type\":\"map\",\"schema_ref\":\"RevokedCertificateEntry\"}},\"10\":{\"name\":\"revoked_leases\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_revoked_leases\",\"items\":{\"type\":\"map\",\"schema_ref\":\"RevokedLeaseEntry\"}},\"11\":{\"name\":\"cohort_policy_segments\",\"type\":\"array\",\"min_items\":0,\"max_items_ref\":\"max_cohort_policy_segments\",\"items\":{\"type\":\"map\",\"schema_ref\":\"CohortPolicySegment\"}}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11],\"max_encoded_bytes_ref\":\"max_state_encoded_bytes\",\"deferred_constraints\":[\"Complete original canonical bytes; Head authenticates the entire State digest. Per-class segment validation and exact Head/capacity bindings are contextual. Independently authenticated complete history, fixed trust/publication mappings, continuity, safe GC and physical subscription reservations remain mandatory.\"]},\"RevokedIssuerEntry\":{\"fields\":{\"0\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"authorizations\",\"type\":\"array\",\"min_items\":1,\"max_items_ref\":\"max_revoked_issuer_authorizations\",\"items\":{\"type\":\"map\",\"schema_ref\":\"IssuerAuthorizationImpact\"}}},\"required\":[0,1],\"max_encoded_bytes_ref\":\"max_state_encoded_bytes\",\"deferred_constraints\":[\"All original issuer/delegation authorization evidence for this revoked key, sorted by unique authorization_digest. Bounds derive only from independently authenticated NamespaceCapacity; completeness, original purpose and issuer/namespace/generation attribution require independent authenticated history. This entry does not authenticate membership, permit trust retirement or install GC authority.\"]},\"RevokedCertificateEntry\":{\"fields\":{\"0\":{\"name\":\"certificate_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"cohort\",\"type\":\"uint64\"},\"2\":{\"name\":\"expires_at_ms\",\"type\":\"uint64\"}},\"required\":[0,1,2],\"max_encoded_bytes\":56,\"deferred_constraints\":[\"Complete original certificate digest/cohort/expiry evidence only. Namespace/generation, authenticated State membership, original certificate identity and safe retirement remain external.\"]},\"RevokedLeaseEntry\":{\"fields\":{\"0\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"lease_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"cohort\",\"type\":\"uint64\"},\"4\":{\"name\":\"latest_impact_not_after_ms\",\"type\":\"uint64\"}},\"required\":[0,1,2,3,4],\"max_encoded_bytes\":92,\"deferred_constraints\":[\"Original parent Artifact evidence only. The containing authenticated State supplies namespace/generation. Full Session/activation/grant impact, permanent frontier installation, once retention and real reference exit remain external.\"]},\"IssuerAuthorizationImpact\":{\"fields\":{\"0\":{\"name\":\"authorization_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"max_affected_cohorts\",\"type\":\"array\",\"min_items\":2,\"max_items\":2,\"items\":{\"type\":\"uint64\",\"nullable\":true}},\"2\":{\"name\":\"signing_not_before_ms\",\"type\":\"uint64\"},\"3\":{\"name\":\"signing_not_after_ms\",\"type\":\"uint64\"}},\"required\":[0,1,2,3],\"max_encoded_bytes\":76,\"deferred_constraints\":[\"One immutable original credential issuance authorization. Positions are certificate then connection; null is valid only when independently authenticated purposes grant no authority for that class. Complete original permission history, same issuer/namespace attribution and permanent trust retirement are not established by this map.\"]},\"PublicationPolicy\":{\"fields\":{\"0\":{\"name\":\"publication_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"publication_policy_revision\",\"type\":\"uint64\"},\"2\":{\"name\":\"max_head_validity_ms\",\"type\":\"uint64\",\"min\":1},\"3\":{\"name\":\"max_signer_lifetime_ms\",\"type\":\"uint64\",\"min\":1}},\"required\":[0,1,2,3],\"max_encoded_bytes\":162,\"deferred_constraints\":[\"Independent TrustConfig must authenticate the exact immutable namespace mapping. Structural validation and numeric compatibility do not prove publication provenance, real service capacity or original authorization.\"]},\"CredentialRevocationPolicy\":{\"fields\":{\"0\":{\"name\":\"revocation_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"revocation_policy_revision\",\"type\":\"uint64\"},\"2\":{\"name\":\"max_staleness_ms\",\"type\":\"uint64\",\"min\":1},\"3\":{\"name\":\"max_head_signer_lifetime_ms\",\"type\":\"uint64\",\"min\":1}},\"required\":[0,1,2,3],\"max_encoded_bytes\":162,\"deferred_constraints\":[\"Independent TrustConfig must authenticate this exact immutable reference. Its requirements apply through the complete original role-specific credential closure; policy names and revisions do not order security strength.\"]},\"NamespaceCapacity\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"capacity_schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"max_state_encoded_bytes\",\"type\":\"uint64\",\"min\":1},\"4\":{\"name\":\"max_revoked_issuers\",\"type\":\"uint64\",\"min\":1},\"5\":{\"name\":\"max_revoked_certificates\",\"type\":\"uint64\",\"min\":1},\"6\":{\"name\":\"max_revoked_leases\",\"type\":\"uint64\",\"min\":1},\"7\":{\"name\":\"max_cohort_policy_segments\",\"type\":\"uint64\",\"min\":1},\"8\":{\"name\":\"max_head_encoded_bytes\",\"type\":\"uint64\",\"min\":1},\"9\":{\"name\":\"max_trust_proof_bytes\",\"type\":\"uint64\",\"min\":1},\"10\":{\"name\":\"max_trust_proof_entries\",\"type\":\"uint64\",\"min\":1},\"11\":{\"name\":\"cohort_time_origin_ms\",\"type\":\"uint64\"},\"12\":{\"name\":\"cohort_duration_ms\",\"type\":\"uint64\",\"min\":1},\"13\":{\"name\":\"max_certificate_impact_ms\",\"type\":\"uint64\",\"min\":1},\"14\":{\"name\":\"max_connection_impact_ms\",\"type\":\"uint64\",\"min\":1}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"max_encoded_bytes\":514,\"deferred_constraints\":[\"Independent TrustConfig must authenticate this immutable namespace mapping. Structural validation neither authorizes subscription nor proves full State/index/workspace/cleanup capacity or deployment workload qualification.\"]},\"HeadSignerDelegation\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"delegation_id\",\"type\":\"bytes\",\"length\":16},\"6\":{\"name\":\"signer_key_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"signer_public_key\",\"type\":\"bytes\",\"length\":32},\"8\":{\"name\":\"purpose\",\"type\":\"uint8\",\"const\":0},\"9\":{\"name\":\"publication_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"10\":{\"name\":\"publication_policy_revision\",\"type\":\"uint64\"},\"11\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"12\":{\"name\":\"not_before_ms\",\"type\":\"uint64\"},\"13\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13],\"deferred_constraints\":[\"This entry is authenticated by the independent TrustConfig; it is not self-signed. Registry purpose 0 means revocation_head. Original independent authorization, fixed publication policy, capacity and trusted time remain mandatory.\"],\"max_encoded_bytes\":683},\"FreshnessHead\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"credential_revocation_floors\",\"type\":\"array<uint64>\",\"min_items\":2,\"max_items\":2},\"6\":{\"name\":\"publication_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"7\":{\"name\":\"publication_policy_revision\",\"type\":\"uint64\"},\"8\":{\"name\":\"head_sequence\",\"type\":\"uint64\",\"min\":1},\"9\":{\"name\":\"this_update_ms\",\"type\":\"uint64\"},\"10\":{\"name\":\"next_update_ms\",\"type\":\"uint64\"},\"11\":{\"name\":\"state_digest\",\"type\":\"bytes\",\"length\":32},\"12\":{\"name\":\"state_encoded_bytes\",\"type\":\"uint64\",\"min\":1},\"13\":{\"name\":\"signing_key_id\",\"type\":\"bytes\",\"length\":16},\"14\":{\"name\":\"signer_delegation_digest\",\"type\":\"bytes\",\"length\":32},\"15\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],\"signature_field\":15,\"max_encoded_bytes\":795,\"deferred_constraints\":[\"Verify independent root/delegation/signature, exact immutable capacity/publication/generation binding and trusted interval before accepting Head facts. Complete State matching, publication snapshot/time provenance and atomic observed/pinned/active continuity remain separate gates.\"]},\"ApplicationHeader\":{\"fields\":{\"0\":{\"name\":\"message_kind\",\"type\":\"uint8\",\"enum_ref\":\"application_message_kinds\"},\"1\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":32,\"optional\":true},\"2\":{\"name\":\"type_id\",\"type\":\"uint32\",\"min\":1},\"3\":{\"name\":\"payload_length\",\"type\":\"uint32\",\"max\":1048576},\"4\":{\"name\":\"request_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true},\"5\":{\"name\":\"deadline_at_ms\",\"type\":\"uint64\",\"optional\":true},\"6\":{\"name\":\"service_contract_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"admission_mode\",\"type\":\"uint8\",\"enum\":{\"queued\":0,\"try_now\":1},\"optional\":true},\"8\":{\"name\":\"response_limit_bytes\",\"type\":\"uint32\",\"max\":1048576,\"optional\":true},\"9\":{\"name\":\"control_serial\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"10\":{\"name\":\"application_error_code\",\"type\":\"uint32\",\"min\":1,\"optional\":true}},\"required\":[0,2,3,6],\"max_encoded_bytes\":512,\"deferred_constraints\":[\"This shared grammar requires exact application-header variant presence and constants. Business and SDK errors bind the original request. Dedicated stream errors terminate output; Resume has exact request/response variants. No current contract, authentication, ownership or dispatch authority is established.\"]},\"ContractTarget\":{\"fields\":{\"0\":{\"name\":\"service_namespace\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"method_type_id\",\"type\":\"uint32\",\"min\":1},\"2\":{\"name\":\"wanted_contract_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true},\"3\":{\"name\":\"known_contract_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true}},\"required\":[0,1],\"max_encoded_bytes\":208,\"deferred_constraints\":[\"Known digest requires the original complete immutable verified contract body held throughout the query. These field IDs are registry allocations under design 3.7.3.\"]},\"ContractTargets\":{\"fields\":{\"0\":{\"name\":\"targets\",\"type\":\"array\",\"min_items\":1,\"max_items\":8,\"items\":{\"type\":\"map\",\"schema_ref\":\"ContractTarget\"}}},\"required\":[0],\"max_encoded_bytes\":2048,\"deferred_constraints\":[\"Current caller authorization, exact trusted source and the fixed query owner/resource vector remain runtime requirements.\"]},\"ContractSnapshot\":{\"fields\":{\"0\":{\"name\":\"target_index\",\"type\":\"uint8\",\"max\":7},\"1\":{\"name\":\"status\",\"type\":\"uint8\",\"enum\":{\"available_full\":0,\"available_unchanged\":1,\"denied\":2,\"unavailable\":3}},\"2\":{\"name\":\"contract\",\"type\":\"bytes\",\"max_bytes\":8192,\"encoded_schema_ref\":\"ServiceContract\",\"optional\":true},\"3\":{\"name\":\"contract_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true},\"4\":{\"name\":\"offer\",\"type\":\"bytes\",\"max_bytes\":256,\"encoded_schema_ref\":\"AdmissionOffer\",\"optional\":true}},\"required\":[0,1],\"max_encoded_bytes\":8260,\"deferred_constraints\":[\"Registry allocation: full carries only the complete canonical contract body, unchanged carries only its digest; denied/unavailable carry neither contract nor Offer. Applicable Offer presence and all membership checks require the original target and complete exact contract. Status bytes are not evidence of current permission or registration.\"]},\"ContractSnapshots\":{\"fields\":{\"0\":{\"name\":\"items\",\"type\":\"array\",\"min_items\":1,\"max_items\":8,\"items\":{\"type\":\"map\",\"schema_ref\":\"ContractSnapshot\"}}},\"required\":[0],\"max_encoded_bytes\":73728,\"deferred_constraints\":[\"The exact original request fixes count, namespace/type, wanted/known digests, known complete body and 9 KiB per target response responsibility. Full/unchanged responses both retain that responsibility. Bootstrap reuses this codec without sharing RPC trust or authorization.\"]},\"ErrorDefinition\":{\"fields\":{\"0\":{\"name\":\"code\",\"type\":\"uint32\",\"min\":1},\"1\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"max_payload_bytes\",\"type\":\"uint32\",\"max\":1048576},\"3\":{\"name\":\"schema_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3],\"max_encoded_bytes\":179,\"deferred_constraints\":[\"The bytes32 digest must match the trusted immutable application error schema. The remote catalog cannot install a codec or change error routing; business codes are separate from the L0 error registry.\"]},\"StreamContentPolicy\":{\"fields\":{\"0\":{\"name\":\"mode\",\"type\":\"uint8\",\"enum\":{\"none\":0,\"retained\":1}},\"1\":{\"name\":\"retention_origin\",\"type\":\"uint8\",\"enum\":{\"operation_admission\":0,\"content_commit\":1},\"optional\":true},\"2\":{\"name\":\"retention_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"3\":{\"name\":\"max_retained_items\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"4\":{\"name\":\"max_retained_bytes\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"5\":{\"name\":\"definition_schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\",\"optional\":true},\"6\":{\"name\":\"definition_bytes\",\"type\":\"bytes\",\"min_bytes\":1,\"max_bytes\":2048,\"optional\":true}},\"required\":[0],\"deferred_constraints\":[\"The opaque application definition must match its exact trusted local schema/codec and real content selection/read/retention contract before registration or Bind. Structural bytes do not install code or attest storage.\"],\"max_encoded_bytes\":2218},\"ServiceContract\":{\"fields\":{\"0\":{\"name\":\"service_namespace\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"type_id\",\"type\":\"uint32\",\"min\":1},\"2\":{\"name\":\"call_shape\",\"type\":\"uint8\",\"enum\":{\"unary\":0,\"server_streaming\":1,\"notify\":2}},\"3\":{\"name\":\"unary_semantics\",\"type\":\"uint8\",\"enum\":{\"transient\":0,\"execution\":1},\"optional\":true},\"4\":{\"name\":\"server_streaming_semantics\",\"type\":\"uint8\",\"enum\":{\"transient\":0,\"execution\":1},\"optional\":true},\"5\":{\"name\":\"notify_semantics\",\"type\":\"uint8\",\"enum\":{\"observation\":0,\"execution\":1},\"optional\":true},\"6\":{\"name\":\"request_schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"7\":{\"name\":\"response_schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"8\":{\"name\":\"response_limit_mode\",\"type\":\"uint8\",\"enum\":{\"fixed\":0,\"bounded\":1}},\"9\":{\"name\":\"min_response_limit_bytes\",\"type\":\"uint32\",\"max\":1048576},\"10\":{\"name\":\"max_response_bytes\",\"type\":\"uint32\",\"max\":1048576},\"11\":{\"name\":\"max_message_lifetime_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"12\":{\"name\":\"max_transient_run_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"13\":{\"name\":\"execution_mode\",\"type\":\"uint8\",\"enum\":{\"volatile\":0,\"durable\":1},\"optional\":true},\"14\":{\"name\":\"history_retention_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"15\":{\"name\":\"result_retention_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"16\":{\"name\":\"max_operation_admission_window_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"17\":{\"name\":\"max_execution_horizon_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"18\":{\"name\":\"max_execution_run_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"19\":{\"name\":\"cancel_mode\",\"type\":\"uint8\",\"enum\":{\"none\":0,\"request\":1},\"optional\":true},\"20\":{\"name\":\"checkpoint_format\",\"type\":\"text\",\"pattern_ref\":\"security_id\",\"optional\":true},\"21\":{\"name\":\"restart_flush\",\"type\":\"bool\"},\"22\":{\"name\":\"restart_flush_deadline_ms\",\"type\":\"uint64\",\"min\":1,\"max\":120000,\"optional\":true},\"23\":{\"name\":\"request_max_bytes\",\"type\":\"uint32\",\"max\":1048576},\"24\":{\"name\":\"max_item_count\",\"type\":\"uint32\",\"min\":1,\"optional\":true},\"25\":{\"name\":\"max_stream_payload_bytes\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"26\":{\"name\":\"max_stream_duration_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"27\":{\"name\":\"application_error_catalog\",\"type\":\"array\",\"min_items\":0,\"max_items\":64,\"items\":{\"type\":\"map\",\"schema_ref\":\"ErrorDefinition\"}},\"28\":{\"name\":\"stream_content_policy\",\"type\":\"map\",\"schema_ref\":\"StreamContentPolicy\",\"optional\":true}},\"required\":[0,1,2,6,7,8,9,10,21,23,27],\"max_encoded_bytes\":8192,\"deferred_constraints\":[\"Exact trusted MethodDefinition identity, caller authorization and real registered semantics must match before installation or execution. Byte validation grants no authority, capacity, deduplication, durable retention, checkpoint support or publication qualification.\",\"Applicable full uint64 horizons and original retention anchors require real time, store, resource and cleanup qualifications.\"]},\"AdmissionOffer\":{\"fields\":{\"0\":{\"name\":\"service_contract_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"not_before_ms\",\"type\":\"uint64\"},\"2\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"}},\"required\":[0,1,2],\"max_encoded_bytes\":256,\"deferred_constraints\":[\"Offer membership applies only to an exact execution contract from the trusted service registration. Original positive policy window, current authority and actual admission are contextual requirements, not facts from these bytes.\"]},\"MessageStreamDirection\":{\"fields\":{\"0\":{\"name\":\"codec_schema_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"codec_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"max_message_bytes\",\"type\":\"uint32\",\"min\":1,\"max\":1048576}},\"required\":[0,1,2],\"max_encoded_bytes\":173},\"MessageStreamDefinition\":{\"fields\":{\"0\":{\"name\":\"kind\",\"type\":\"text\",\"min_bytes\":1,\"max_bytes\":128},\"1\":{\"name\":\"revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"opener_to_acceptor\",\"type\":\"map\",\"schema_ref\":\"MessageStreamDirection\"},\"3\":{\"name\":\"acceptor_to_opener\",\"type\":\"map\",\"schema_ref\":\"MessageStreamDirection\"}},\"required\":[0,1,2,3],\"max_encoded_bytes\":8192,\"deferred_constraints\":[\"Trusted immutable local definition/registration, both opener-relative codec directions, actual codec behavior, references and work resources remain runtime qualifications. The draft registry allocates revision identifiers as canonical security_id text and positive uint32 message caps; this does not constrain raw Stream payloads.\"]},\"StreamMetadata\":{\"fields\":{\"0\":{\"name\":\"namespace\",\"type\":\"text\",\"pattern_ref\":\"metadata_namespace\",\"max_bytes\":64,\"forbidden_prefix\":\"flowersec/\"},\"1\":{\"name\":\"version\",\"type\":\"uint16\"},\"2\":{\"name\":\"values\",\"type\":\"text_map\",\"min_items\":0,\"max_items\":64,\"keys\":{\"type\":\"text\",\"min_bytes\":1,\"max_bytes\":64},\"values\":{\"type\":\"bytes\",\"max_bytes\":1024}}},\"required\":[0,1,2],\"max_encoded_bytes\":4096,\"deferred_constraints\":[\"Nonempty ordinary metadata only; zero bytes is the sole empty sentinel at the containing bytes API. Namespace/version registration, immutable projections, authentication and pending-to-rejected ownership remain runtime qualifications.\"]},\"TypedMessageMetadata\":{\"fields\":{\"0\":{\"name\":\"namespace\",\"type\":\"text\",\"const\":\"flowersec/typed-message\"},\"1\":{\"name\":\"version\",\"type\":\"uint16\",\"const\":1},\"2\":{\"name\":\"values\",\"type\":\"text_map\",\"min_items\":2,\"max_items\":2,\"keys\":{\"type\":\"text\",\"min_bytes\":1,\"max_bytes\":64},\"entries\":{\"definition\":{\"type\":\"bytes\",\"length\":32},\"application\":{\"type\":\"bytes\",\"max_bytes\":4006,\"encoded_schema_ref\":\"StreamMetadata\",\"allow_empty\":true}}}},\"required\":[0,1,2],\"max_encoded_bytes\":4096,\"deferred_constraints\":[\"The definition digest must match the captured trusted registration and both codec directions before acceptance. Application namespace/version permission is not granted by structural validation. Full original OPEN bytes bind each application value. No live admission, I/O ownership, callback, allocator or cleanup qualification is claimed.\"]},\"TopUpRequest\":{\"max_encoded_bytes\":524288,\"fields\":{\"0\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"source_incarnation\",\"type\":\"bytes\",\"length\":16},\"3\":{\"name\":\"desired_count\",\"type\":\"uint16\",\"min\":1,\"max\":4},\"4\":{\"name\":\"max_item_bytes\",\"type\":\"uint32\",\"min\":1,\"max\":65536},\"5\":{\"name\":\"pool_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"binding_generation\",\"type\":\"uint64\"},\"7\":{\"name\":\"owner_fence_proof\",\"type\":\"bytes\",\"max_bytes\":512,\"encoded_schema_ref\":\"OwnerFenceProof\"},\"8\":{\"name\":\"request_deadline_ms\",\"type\":\"uint64\"},\"9\":{\"name\":\"client_identity_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7,8,9]},\"OwnerFenceProof\":{\"max_encoded_bytes\":512,\"signature_field\":8,\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"source_incarnation\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":16},\"3\":{\"name\":\"request_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"current_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"6\":{\"name\":\"expires_at_ms\",\"type\":\"uint64\"},\"7\":{\"name\":\"authority_key_id\",\"type\":\"bytes\",\"length\":16},\"8\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8]},\"TopUpEntry\":{\"fields\":{\"0\":{\"name\":\"artifact_sequence\",\"type\":\"uint64\"},\"1\":{\"name\":\"binding_generation\",\"type\":\"uint64\"},\"2\":{\"name\":\"expiry_ms\",\"type\":\"uint64\"},\"3\":{\"name\":\"material\",\"type\":\"bytes\",\"max_bytes\":65536},\"4\":{\"name\":\"material_digest\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"client_identity_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5]},\"TopUpResponse\":{\"max_encoded_bytes\":524288,\"fields\":{\"0\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"source_incarnation\",\"type\":\"bytes\",\"length\":16},\"3\":{\"name\":\"binding_generation\",\"type\":\"uint64\"},\"4\":{\"name\":\"entries\",\"type\":\"array\",\"min_items\":1,\"max_items\":4,\"items\":{\"type\":\"map\",\"schema_ref\":\"TopUpEntry\"}},\"5\":{\"name\":\"server_highest_artifact_sequence\",\"type\":\"uint64\"},\"6\":{\"name\":\"gap_authorized\",\"type\":\"bool\"},\"7\":{\"name\":\"retired_artifact_through\",\"type\":\"uint64\",\"optional\":true},\"8\":{\"name\":\"server_committed\",\"type\":\"bool\",\"const\":true},\"9\":{\"name\":\"response_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,8,9]},\"TopUpAck\":{\"max_encoded_bytes\":524288,\"fields\":{\"0\":{\"name\":\"operation_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"pool_digest\",\"type\":\"bytes\",\"length\":32},\"2\":{\"name\":\"response_digest\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"server_highest_artifact_sequence\",\"type\":\"uint64\"},\"4\":{\"name\":\"gap_authorized\",\"type\":\"bool\"},\"5\":{\"name\":\"retired_artifact_through\",\"type\":\"uint64\",\"optional\":true},\"6\":{\"name\":\"applied\",\"type\":\"bool\",\"const\":true},\"7\":{\"name\":\"request_digest\",\"type\":\"bytes\",\"length\":32},\"8\":{\"name\":\"binding_generation\",\"type\":\"uint64\"},\"9\":{\"name\":\"owner_fence_proof\",\"type\":\"bytes\",\"max_bytes\":512,\"encoded_schema_ref\":\"OwnerFenceProof\"}},\"required\":[0,1,2,3,4,6,7,8,9]},\"PoolRouteRef\":{\"fields\":{\"0\":{\"name\":\"candidate_index\",\"type\":\"uint8\",\"max\":15},\"1\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2]},\"PoolSelectionSet\":{\"fields\":{\"0\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"entries\",\"type\":\"array\",\"min_items\":1,\"max_items\":16,\"items\":{\"type\":\"map\",\"schema_ref\":\"PoolRouteRef\"}}},\"required\":[0,1],\"deferred_constraints\":[\"Full Artifact and original PoolSelectionRef must produce the same exact members, index order and both distinct domain digests. Standalone shape validation grants no trust, activation or ParentWinner authority.\"]},\"SessionContract\":{\"fields\":{\"0\":{\"name\":\"max_frame\",\"type\":\"uint32\",\"max\":1048576},\"1\":{\"name\":\"max_streams\",\"type\":\"uint32\",\"max\":2097152},\"2\":{\"name\":\"max_credit\",\"type\":\"uint64\",\"max\":\"9223372036854775807\"},\"3\":{\"name\":\"idle_duration_ms\",\"type\":\"uint64\"},\"4\":{\"name\":\"rekey_envelope\",\"type\":\"map\",\"schema_ref\":\"RekeyEnvelope\"},\"5\":{\"name\":\"application_profile\",\"type\":\"uint8\",\"enum\":{\"transport\":0,\"services\":1,\"execution\":2}},\"6\":{\"name\":\"rpc_max_general_outstanding\",\"type\":\"uint16\",\"min\":1,\"max\":1024,\"optional\":true}},\"required\":[0,1,2,3,4,5],\"max_encoded_bytes\":57,\"deferred_constraints\":[\"Actual full-frame, bootstrap, response/rekey, time and feature-combination capacity before consumption/admission; local scheduling cannot shrink signed acceptance or promised service\",\"Signed idle zero/positive policy, original dual-READY start and authenticated activity anchors; full uint64 time continuity, independent deadlines and real cleanup\"]},\"SpendPolicy\":{\"fields\":{\"0\":{\"name\":\"mode\",\"type\":\"uint8\",\"enum\":{\"mandatory_once\":0}}},\"required\":[0],\"max_encoded_bytes\":3,\"deferred_constraints\":[\"Verified Artifact tenant/issuer/lease once scope, original immutable source/role/transaction ownership, seven-day minimum and full impact/reference retention with independent store quotas\"]},\"ResumePolicy\":{\"fields\":{\"0\":{\"name\":\"enabled\",\"type\":\"bool\"},\"1\":{\"name\":\"purpose\",\"type\":\"uint8\",\"enum\":{\"application_progress\":0},\"optional\":true},\"2\":{\"name\":\"scope\",\"type\":\"uint8\",\"enum\":{\"operation\":0},\"optional\":true},\"3\":{\"name\":\"max_issued_token_duration_ms\",\"type\":\"uint64\",\"min\":1,\"optional\":true},\"4\":{\"name\":\"max_token_bytes\",\"type\":\"uint32\",\"min\":1,\"optional\":true}},\"required\":[0],\"max_encoded_bytes\":23,\"deferred_constraints\":[\"Actual selected feature and current service/business permission at original Prepare/issuance/admission/Start gates; complete protected token and whole method message budgets\",\"Issuance-only duration with checked trusted lower-bound expiry and actual history reservation; original token validation/expiry/generation and new recovery operation remain independent of old Session expiry\",\"Usable-token counts and store/rate/work quotas across all Sessions/instances/issuance entries remain owned by the original application recovery service\"]},\"Artifact\":{\"fields\":{\"0\":{\"name\":\"artifact_version\",\"type\":\"text\",\"const_ref\":\"artifact_version\"},\"1\":{\"name\":\"profile\",\"type\":\"text\",\"const_ref\":\"wire_profile\"},\"2\":{\"name\":\"contract_revision\",\"type\":\"text\",\"const_ref\":\"profile_revision\"},\"3\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"4\":{\"name\":\"tenant_id\",\"type\":\"text\",\"max_bytes\":128,\"pattern_ref\":\"security_id\"},\"5\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"6\":{\"name\":\"lease_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"session_nonce\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"8\":{\"name\":\"e2ee_psk\",\"type\":\"bytes\",\"length\":32},\"9\":{\"name\":\"client_identity_digest\",\"type\":\"bytes\",\"length\":32},\"10\":{\"name\":\"server_identity_digest\",\"type\":\"bytes\",\"length\":32},\"11\":{\"name\":\"audience\",\"type\":\"text\",\"max_bytes\":128,\"pattern_ref\":\"security_id\"},\"12\":{\"name\":\"candidates\",\"type\":\"array\",\"min_items\":1,\"max_items\":16,\"items\":{\"type\":\"map\",\"schema_ref\":\"Candidate\"}},\"13\":{\"name\":\"session_contract\",\"type\":\"map\",\"schema_ref\":\"SessionContract\"},\"14\":{\"name\":\"allowed_features\",\"type\":\"uint64\"},\"15\":{\"name\":\"required_features\",\"type\":\"uint64\"},\"16\":{\"name\":\"resume_policy\",\"type\":\"map\",\"schema_ref\":\"ResumePolicy\"},\"17\":{\"name\":\"spend_policy\",\"type\":\"map\",\"schema_ref\":\"SpendPolicy\"},\"18\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"19\":{\"name\":\"initiation_not_after_ms\",\"type\":\"uint64\"},\"20\":{\"name\":\"session_not_after_ms\",\"type\":\"uint64\"},\"21\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"max_bytes\":128,\"pattern_ref\":\"security_id\"},\"22\":{\"name\":\"revocation_authority_generation\",\"type\":\"uint64\"},\"23\":{\"name\":\"revocation_epoch\",\"type\":\"uint64\"},\"24\":{\"name\":\"revocation_policy_id\",\"type\":\"text\",\"max_bytes\":128,\"pattern_ref\":\"security_id\"},\"25\":{\"name\":\"revocation_policy_revision\",\"type\":\"uint64\"},\"26\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"27\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27],\"signature_field\":27,\"max_encoded_bytes\":65536,\"cryptographic_validation\":\"Independent issuer trust/signature, fresh PSK/nonce generation, actual identity certificates and current time/revocation validation remain required\",\"deferred_constraints\":[\"Complete issuer-derived credential namespace closure, role-specific trust/capacity reservations and actual candidate/route/provider eligibility\",\"Required/critical/selected feature and dependency validation against the authenticated complete hello; unknown optional offers are not a universal Artifact allow-set parser prohibition\",\"Original admission/spend/winner/activation and pool membership, Grant SessionContract digest/limits, full lifetime time/rekey/feature capacity and actual private loopback entry point\"]},\"Leg\":{\"fields\":{\"0\":{\"name\":\"access_class\",\"type\":\"uint8\",\"enum\":{\"network\":0,\"local_loopback\":1}},\"1\":{\"name\":\"leg_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"endpoint_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1}},\"3\":{\"name\":\"dialer_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1,\"relay\":2}},\"4\":{\"name\":\"listener_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1,\"relay\":2}},\"5\":{\"name\":\"carrier\",\"type\":\"uint8\",\"enum\":{\"raw_quic\":0,\"websocket\":1,\"webtransport\":2}},\"6\":{\"name\":\"host\",\"type\":\"text\",\"max_bytes\":253,\"text_format\":\"host\"},\"7\":{\"name\":\"port\",\"type\":\"uint16\",\"min\":1},\"8\":{\"name\":\"path\",\"type\":\"text\",\"max_bytes\":128},\"9\":{\"name\":\"alpn\",\"type\":\"text\",\"max_bytes\":128,\"optional\":true},\"10\":{\"name\":\"subprotocol\",\"type\":\"text\",\"max_bytes\":128},\"11\":{\"name\":\"tls_policy\",\"type\":\"map\",\"schema_ref\":\"TLSPolicy\",\"optional\":true},\"12\":{\"name\":\"origin_policy\",\"type\":\"map\",\"schema_ref\":\"OriginPolicy\",\"optional\":true},\"13\":{\"name\":\"origin\",\"type\":\"text\",\"text_format\":\"origin\",\"optional\":true}},\"required\":[0,1,2,3,4,5,6,7,8,10],\"deferred_constraints\":[\"The containing Candidate/Route supplies path_kind. Browser-serving WS must include OriginPolicy under the immutable provider/deployment binding. Actual listener address, TLS, Origin, provider direction and local bridge admission remain unqualified.\"]},\"Route\":{\"fields\":{\"0\":{\"name\":\"path_kind\",\"type\":\"uint8\",\"enum\":{\"direct\":0,\"tunnel\":1}},\"1\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"direct_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true},\"3\":{\"name\":\"client_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true},\"4\":{\"name\":\"server_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true}},\"required\":[0,1],\"context_fields\":{\"path_kind\":\"path_kind\"}},\"Candidate\":{\"fields\":{\"0\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"priority\",\"type\":\"uint16\"},\"2\":{\"name\":\"path_kind\",\"type\":\"uint8\",\"enum\":{\"direct\":0,\"tunnel\":1}},\"3\":{\"name\":\"direct_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true},\"4\":{\"name\":\"client_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true},\"5\":{\"name\":\"server_leg\",\"type\":\"map\",\"schema_ref\":\"Leg\",\"optional\":true},\"6\":{\"name\":\"revocation_namespace_refs\",\"type\":\"array\",\"min_items\":1,\"max_items\":8,\"items\":{\"type\":\"map\",\"schema_ref\":\"RevocationNamespaceRef\"}}},\"required\":[0,1,2,6],\"context_fields\":{\"path_kind\":\"path_kind\"},\"deferred_constraints\":[\"Issuer-computed credential dependency closure, role-specific namespace/trust and actual provider qualification remain cross-object obligations.\"]},\"OriginPolicy\":{\"max_encoded_bytes\":2165,\"fields\":{\"0\":{\"name\":\"origins\",\"type\":\"array\",\"min_items\":1,\"max_items\":8,\"items\":{\"type\":\"text\",\"text_format\":\"origin\"}},\"1\":{\"name\":\"allow_absent\",\"type\":\"bool\"}},\"required\":[0,1],\"deferred_constraints\":[\"Exact single Origin header admission, browser observable-origin checks and provider/deployment enforcement require runtime qualification. Custom schemes remain unresolved. The encoding bound follows the currently registered scheme/host/port grammar, not a reduced credential cap.\"]},\"TLSPin\":{\"fields\":{\"0\":{\"name\":\"leaf_der_sha256\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"not_before_ms\",\"type\":\"uint64\"},\"2\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"},\"3\":{\"name\":\"certificate_profile\",\"type\":\"text\",\"text_enum_ref\":\"tls_certificate_profiles\"}},\"required\":[0,1,2,3],\"deferred_constraints\":[\"The issuer must derive the digest from actual leaf DER, verify the full certificate profile and prove the signed authorization window is contained in DER validity. A short signed window does not qualify a long-lived certificate.\"]},\"TLSPolicy\":{\"fields\":{\"0\":{\"name\":\"mode\",\"type\":\"uint8\",\"enum\":{\"ca\":0,\"pin\":1}},\"1\":{\"name\":\"require_consumer_tls13_verification\",\"type\":\"bool\"},\"2\":{\"name\":\"pin_kind\",\"type\":\"uint8\",\"enum\":{\"leaf_der_sha256\":0},\"optional\":true},\"3\":{\"name\":\"pins\",\"type\":\"array\",\"min_items\":1,\"max_items\":16,\"items\":{\"type\":\"map\",\"schema_ref\":\"TLSPin\"},\"optional\":true}},\"required\":[0,1],\"deferred_constraints\":[\"Native TLS and actual DER checks, controlled browser WS ingress, browser WT hashes enforcement and original active-set time rechecks are required. Structural vectors do not qualify a provider.\"]},\"RevocationNamespaceRef\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"generation\",\"type\":\"uint64\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"role_mask\",\"type\":\"uint8\",\"min\":1,\"bitmask\":7}},\"required\":[0,1,2,3,4]},\"GrantParentRef\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"revocation_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"5\":{\"name\":\"revocation_policy_revision\",\"type\":\"uint64\"},\"6\":{\"name\":\"artifact_issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"lease_id\",\"type\":\"bytes\",\"length\":16},\"8\":{\"name\":\"revocation_epoch\",\"type\":\"uint64\"},\"9\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"10\":{\"name\":\"initiation_not_after_ms\",\"type\":\"uint64\"},\"11\":{\"name\":\"session_not_after_ms\",\"type\":\"uint64\"},\"12\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12]},\"GrantNamespace\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"generation\",\"type\":\"uint64\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"role_mask\",\"type\":\"uint8\",\"enum\":{\"client_and_relay\":5,\"server_and_relay\":6}},\"5\":{\"name\":\"revocation_epoch\",\"type\":\"uint64\"},\"6\":{\"name\":\"revocation_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"7\":{\"name\":\"revocation_policy_revision\",\"type\":\"uint64\"}},\"required\":[0,1,2,3,4,5,6,7]},\"GrantLimits\":{\"fields\":{\"0\":{\"name\":\"max_envelope_bytes\",\"type\":\"uint64\",\"max\":1048584},\"1\":{\"name\":\"max_total_bytes\",\"type\":\"uint64\"},\"2\":{\"name\":\"max_datagram_bytes\",\"type\":\"uint64\"},\"3\":{\"name\":\"max_rate_bytes_per_s\",\"type\":\"uint64\"},\"4\":{\"name\":\"max_queue_bytes\",\"type\":\"uint64\"},\"5\":{\"name\":\"max_pending_native_mappings\",\"type\":\"uint32\"},\"6\":{\"name\":\"max_resident_native_mappings\",\"type\":\"uint32\"},\"7\":{\"name\":\"max_total_native_mappings\",\"type\":\"uint64\"},\"8\":{\"name\":\"max_queue_items\",\"type\":\"uint32\"}},\"required\":[0,1,2,3,4,5,6,7,8],\"deferred_constraints\":[\"Prepare/claim must prove complete topology-dependent handshake, envelope, forwarding and mapping capacity; uint maxima are encoding bounds, not viable provider limits.\"]},\"GrantLegRef\":{\"fields\":{\"0\":{\"name\":\"leg_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"logical_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1}}},\"required\":[0,1]},\"Grant\":{\"signature_field\":19,\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"grant_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"replay_nonce\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"parent_ref\",\"type\":\"map\",\"schema_ref\":\"GrantParentRef\"},\"4\":{\"name\":\"route_descriptor\",\"type\":\"map\",\"schema_ref\":\"Route\"},\"5\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"pairing_id\",\"type\":\"bytes\",\"length\":16},\"8\":{\"name\":\"identity_digests\",\"type\":\"array\",\"min_items\":2,\"max_items\":2,\"items\":{\"type\":\"bytes\",\"length\":32}},\"9\":{\"name\":\"legs\",\"type\":\"array\",\"min_items\":2,\"max_items\":2,\"items\":{\"type\":\"map\",\"schema_ref\":\"GrantLegRef\"}},\"10\":{\"name\":\"service\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"11\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"12\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"13\":{\"name\":\"namespace\",\"type\":\"map\",\"schema_ref\":\"GrantNamespace\"},\"14\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"15\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"},\"16\":{\"name\":\"limits\",\"type\":\"map\",\"schema_ref\":\"GrantLimits\"},\"17\":{\"name\":\"session_contract_digest\",\"type\":\"bytes\",\"length\":32},\"18\":{\"name\":\"relay_identity_digest\",\"type\":\"bytes\",\"length\":32},\"19\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],\"deferred_constraints\":[\"Successful standalone decoding is not activation authority. Verify issuer trust and parent-to-authority authorization, original parent issuance facts, role-bearing certificate digests and possession, own and parent namespace/cohort/delegation freshness, authenticated receiving endpoint and hop, original activation projection, pool membership and ParentWinner, resource reservations and irreversible claim ownership.\",\"limits.max_envelope_bytes must equal 8 plus the original authenticated SessionContract.max_frame; this map carries only its digest. Forwarding also remains bounded by parent/grant cohort and delegation deadlines.\",\"The encoded cap is derived from the complete current nested grammar and pinned maximal structural vectors. Changes to that grammar require a fresh size derivation; this bound does not qualify resources, signatures, trust or max_frame_required.\"],\"max_encoded_bytes\":9302},\"RekeyEnvelope\":{\"fields\":{\"0\":{\"name\":\"burst_rounds\",\"type\":\"uint16\",\"min\":1},\"1\":{\"name\":\"refill_period_ms\",\"type\":\"uint32\",\"min\":1},\"2\":{\"name\":\"request_start_budget_ms\",\"type\":\"uint32\",\"min\":1}},\"required\":[0,1,2]},\"RekeyBarrierEntry\":{\"fields\":{\"0\":{\"name\":\"scope_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"1\":{\"name\":\"next_sequence\",\"type\":\"uint64\"}},\"required\":[0,1]},\"REKEY_REQUEST\":{\"encoded_bytes\":3,\"sender_role\":1,\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":0}},\"required\":[0]},\"REKEY_INIT\":{\"sender_role\":0,\"mac_field\":5,\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":1},\"1\":{\"name\":\"rekey_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"next_epoch\",\"type\":\"uint32\",\"min\":1},\"3\":{\"name\":\"client_ephemeral\",\"type\":\"bytes\",\"profile_public_key\":true},\"4\":{\"name\":\"client_barrier\",\"type\":\"array\",\"min_items\":0,\"max_items\":1035,\"items\":{\"type\":\"map\",\"schema_ref\":\"RekeyBarrierEntry\"}},\"5\":{\"name\":\"confirmation_mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5]},\"REKEY_REPLY\":{\"sender_role\":1,\"mac_field\":6,\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":2},\"1\":{\"name\":\"rekey_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"next_epoch\",\"type\":\"uint32\",\"min\":1},\"3\":{\"name\":\"init_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"server_ephemeral\",\"type\":\"bytes\",\"profile_public_key\":true},\"5\":{\"name\":\"server_barrier\",\"type\":\"array\",\"min_items\":0,\"max_items\":1035,\"items\":{\"type\":\"map\",\"schema_ref\":\"RekeyBarrierEntry\"}},\"6\":{\"name\":\"confirmation_mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6]},\"REKEY_COMMIT\":{\"max_encoded_bytes\":107,\"sender_role\":0,\"mac_field\":5,\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":3},\"1\":{\"name\":\"rekey_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"next_epoch\",\"type\":\"uint32\",\"min\":1},\"3\":{\"name\":\"transcript_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"old_maintenance_next_sequence\",\"type\":\"uint64\"},\"5\":{\"name\":\"confirmation_mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5]},\"REKEY_ACK\":{\"max_encoded_bytes\":107,\"sender_role\":1,\"mac_field\":5,\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":4},\"1\":{\"name\":\"rekey_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"next_epoch\",\"type\":\"uint32\",\"min\":1},\"3\":{\"name\":\"transcript_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"old_maintenance_next_sequence\",\"type\":\"uint64\"},\"5\":{\"name\":\"confirmation_mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5]},\"ClientHello\":{\"max_encoded_bytes\":16384,\"fields\":{\"0\":{\"name\":\"protocol_id\",\"type\":\"text\",\"const_ref\":\"protocol_id\"},\"1\":{\"name\":\"profile_revision\",\"type\":\"text\",\"const_ref\":\"profile_revision\"},\"2\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"3\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"5\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"client_nonce\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"8\":{\"name\":\"offered_features\",\"type\":\"uint64\"},\"9\":{\"name\":\"supported_binding_modes\",\"type\":\"uint8\",\"min\":1,\"max\":3},\"10\":{\"name\":\"client_identity_hint\",\"type\":\"bytes\",\"max_bytes\":2048}},\"required\":[0,1,2,3,4,5,6,7,8,9,10]},\"ServerHello\":{\"max_encoded_bytes\":16384,\"fields\":{\"0\":{\"name\":\"protocol_id\",\"type\":\"text\",\"const_ref\":\"protocol_id\"},\"1\":{\"name\":\"profile_revision\",\"type\":\"text\",\"const_ref\":\"profile_revision\"},\"2\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"3\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"5\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"client_nonce\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"8\":{\"name\":\"server_nonce\",\"type\":\"bytes\",\"length\":32},\"9\":{\"name\":\"server_offered_features\",\"type\":\"uint64\"},\"10\":{\"name\":\"selected_features\",\"type\":\"uint64\",\"bitmask\":3},\"11\":{\"name\":\"binding_mode\",\"type\":\"uint8\",\"enum\":{\"direct_exporter\":0,\"authenticated_context\":1}},\"12\":{\"name\":\"server_identity_hint\",\"type\":\"bytes\",\"max_bytes\":2048}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12]},\"FSB4\":{\"max_encoded_bytes\":65536,\"signature_field\":15,\"fields\":{\"0\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"3\":{\"name\":\"lease_id\",\"type\":\"bytes\",\"length\":16},\"4\":{\"name\":\"session_nonce\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"5\":{\"name\":\"candidate_id\",\"type\":\"bytes\",\"length\":16},\"6\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"8\":{\"name\":\"admission_nonce\",\"type\":\"bytes\",\"length\":32},\"9\":{\"name\":\"hello_transcript_digest\",\"type\":\"bytes\",\"length\":32},\"10\":{\"name\":\"selected_features\",\"type\":\"uint64\",\"bitmask\":3},\"11\":{\"name\":\"binding_mode\",\"type\":\"uint8\",\"enum\":{\"direct_exporter\":0,\"authenticated_context\":1}},\"12\":{\"name\":\"transport_context_digest\",\"type\":\"bytes\",\"length\":32},\"13\":{\"name\":\"activation_authorization\",\"type\":\"bytes\",\"max_bytes\":4096,\"encoded_schema_ref\":\"ActivationAuthorization\"},\"14\":{\"name\":\"client_certificate\",\"type\":\"bytes\",\"max_bytes\":8192,\"encoded_schema_ref\":\"IdentityCertificate\"},\"15\":{\"name\":\"client_signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]},\"FSA4\":{\"max_encoded_bytes\":16384,\"signature_field\":13,\"fields\":{\"0\":{\"name\":\"status\",\"type\":\"uint8\",\"enum\":{\"admitted\":0,\"rejected\":1}},\"1\":{\"name\":\"code\",\"type\":\"uint16\"},\"2\":{\"name\":\"server_epoch\",\"type\":\"uint64\"},\"3\":{\"name\":\"reservation_key\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"admission_binding\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"hello_transcript_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"selected_features\",\"type\":\"uint64\",\"bitmask\":3},\"8\":{\"name\":\"binding_mode\",\"type\":\"uint8\",\"enum\":{\"direct_exporter\":0,\"authenticated_context\":1}},\"9\":{\"name\":\"transport_context_digest\",\"type\":\"bytes\",\"length\":32},\"10\":{\"name\":\"client_identity_digest\",\"type\":\"bytes\",\"length\":32},\"11\":{\"name\":\"server_identity_digest\",\"type\":\"bytes\",\"length\":32},\"12\":{\"name\":\"server_certificate\",\"type\":\"bytes\",\"max_bytes\":8192,\"encoded_schema_ref\":\"IdentityCertificate\"},\"13\":{\"name\":\"server_signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13]},\"IdentityCertificate\":{\"max_encoded_bytes\":8192,\"signature_field\":16,\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"subject_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"3\":{\"name\":\"noise_static_public_key\",\"type\":\"map\",\"schema_ref\":\"NoiseStaticPublicKey\"},\"4\":{\"name\":\"ed25519_public_key\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1,\"relay\":2}},\"6\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"7\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"8\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"9\":{\"name\":\"expires_at_ms\",\"type\":\"uint64\"},\"10\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"11\":{\"name\":\"revocation_authority_generation\",\"type\":\"uint64\"},\"12\":{\"name\":\"revocation_epoch\",\"type\":\"uint64\"},\"13\":{\"name\":\"revocation_policy_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"14\":{\"name\":\"revocation_policy_revision\",\"type\":\"uint64\"},\"15\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"16\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]},\"NoiseStaticPublicKey\":{\"fields\":{\"0\":{\"name\":\"algorithm\",\"type\":\"uint8\",\"enum\":{\"x25519\":0,\"p256\":1}},\"1\":{\"name\":\"public_key_bytes\",\"type\":\"bytes\",\"max_bytes\":65}},\"required\":[0,1],\"cryptographic_validation\":\"Profile DH acceptance predicates in design 3.5.1; structural validation alone is insufficient.\"},\"ActivationAuthorization\":{\"max_encoded_bytes\":4096,\"signature_field\":16,\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"uint16\",\"const\":1},\"1\":{\"name\":\"authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"signing_key_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"4\":{\"name\":\"artifact_issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"5\":{\"name\":\"lease_id\",\"type\":\"bytes\",\"length\":16},\"6\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"candidate_selection\",\"type\":\"context_variant\",\"context\":\"activation_source_profile\",\"cases\":{\"live_authority\":{\"type\":\"bytes\",\"length\":16},\"preauthorized_pool\":{\"type\":\"map\",\"schema_ref\":\"PoolSelectionRef\"}}},\"8\":{\"name\":\"route_selection\",\"type\":\"bytes\",\"length\":32},\"9\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"10\":{\"name\":\"client_identity_digest\",\"type\":\"bytes\",\"length\":32},\"11\":{\"name\":\"server_identity_digest\",\"type\":\"bytes\",\"length\":32},\"12\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"13\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"14\":{\"name\":\"activation_not_after_ms\",\"type\":\"uint64\"},\"15\":{\"name\":\"session_not_after_ms\",\"type\":\"uint64\"},\"16\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]},\"PoolSelectionRef\":{\"fields\":{\"0\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"1\":{\"name\":\"candidate_indices\",\"type\":\"array\",\"min_items\":1,\"max_items\":16,\"items\":{\"type\":\"uint8\",\"max\":15}},\"2\":{\"name\":\"candidate_set_digest\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"attempt_budget\",\"type\":\"map\",\"schema_ref\":\"PoolAttemptBudget\"},\"4\":{\"name\":\"once_authority_ref\",\"type\":\"map\",\"schema_ref\":\"OnceAuthorityRef\"}},\"required\":[0,1,2,3,4],\"index_origin\":0},\"OnceAuthorityRef\":{\"fields\":{\"0\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"artifact_issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"2\":{\"name\":\"spend_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"winner_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"}},\"required\":[0,1,2,3],\"max_encoded_bytes\":412},\"PoolAttemptBudget\":{\"fields\":{\"0\":{\"name\":\"per_candidate\",\"type\":\"map\",\"schema_ref\":\"CandidateAttemptBudget\"},\"1\":{\"name\":\"total_address_attempts\",\"type\":\"uint32\",\"min\":1,\"max\":32},\"2\":{\"name\":\"total_preauth_bytes\",\"type\":\"uint32\",\"min\":1,\"max\":8388608},\"3\":{\"name\":\"total_work_units\",\"type\":\"uint32\",\"min\":1,\"max\":8192},\"4\":{\"name\":\"parallel_candidates\",\"type\":\"uint8\",\"min\":1,\"max\":2}},\"required\":[0,1,2,3,4]},\"CandidateAttemptBudget\":{\"fields\":{\"0\":{\"name\":\"address_attempts\",\"type\":\"uint32\",\"min\":1,\"max\":8},\"1\":{\"name\":\"preauth_bytes\",\"type\":\"uint32\",\"min\":1,\"max\":262144},\"2\":{\"name\":\"work_units\",\"type\":\"uint32\",\"min\":1,\"max\":256}},\"required\":[0,1,2]},\"READY\":{\"encoded_bytes\":103,\"fields\":{\"0\":{\"name\":\"identity_proof\",\"type\":\"bytes\",\"length\":64},\"1\":{\"name\":\"confirmation_mac\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1]},\"ReadyProofInput\":{\"fields\":{\"0\":{\"name\":\"role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1}},\"1\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"2\":{\"name\":\"handshake_hash\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"fsb_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"fsa_digest\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"transport_context_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"admission_binding\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"certificate_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7]},\"ReadyMACInput\":{\"fields\":{\"0\":{\"name\":\"role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1}},\"1\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"2\":{\"name\":\"handshake_hash\",\"type\":\"bytes\",\"length\":32},\"3\":{\"name\":\"fsb_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"fsa_digest\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"transport_context_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"admission_binding\",\"type\":\"bytes\",\"length\":32},\"7\":{\"name\":\"certificate_digest\",\"type\":\"bytes\",\"length\":32},\"8\":{\"name\":\"selected_features\",\"type\":\"uint64\",\"bitmask\":3},\"9\":{\"name\":\"identity_proof\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9]},\"TransportContext\":{\"fields\":{\"0\":{\"name\":\"profile_revision\",\"type\":\"text\",\"const_ref\":\"profile_revision\"},\"1\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"text_enum_ref\":\"crypto_profiles\"},\"2\":{\"name\":\"access_class\",\"type\":\"uint8\",\"enum\":{\"network\":0,\"local_loopback\":1}},\"3\":{\"name\":\"path_kind\",\"type\":\"uint8\",\"enum\":{\"direct\":0,\"tunnel\":1}},\"4\":{\"name\":\"artifact_digest\",\"type\":\"bytes\",\"length\":32},\"5\":{\"name\":\"route_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"attempt_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"session_nonce\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"8\":{\"name\":\"hello_transcript_digest\",\"type\":\"bytes\",\"length\":32},\"9\":{\"name\":\"selected_features\",\"type\":\"uint64\",\"bitmask\":3},\"10\":{\"name\":\"binding_mode\",\"type\":\"uint8\",\"enum\":{\"direct_exporter\":0,\"authenticated_context\":1}},\"11\":{\"name\":\"exporter_present\",\"type\":\"uint8\",\"min\":0,\"max\":1},\"12\":{\"name\":\"exporter_bytes\",\"type\":\"bytes\",\"max_bytes\":32}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12]},\"HopChallengeContext\":{\"encoded_bytes\":129,\"fields\":{\"0\":{\"name\":\"dialer_incarnation\",\"type\":\"bytes\",\"length\":16,\"nonzero\":true},\"1\":{\"name\":\"listener_incarnation\",\"type\":\"bytes\",\"length\":16,\"nonzero\":true},\"2\":{\"name\":\"leg_id\",\"type\":\"bytes\",\"length\":16},\"3\":{\"name\":\"dialer_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1,\"relay\":2}},\"4\":{\"name\":\"listener_role\",\"type\":\"uint8\",\"enum\":{\"client\":0,\"server\":1,\"relay\":2}},\"5\":{\"name\":\"dialer_challenge\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"6\":{\"name\":\"listener_challenge\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true}},\"required\":[0,1,2,3,4,5,6]},\"OPEN_STREAM\":{\"fields\":{\"0\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"1\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"2\":{\"name\":\"scope\",\"type\":\"uint64\"},\"3\":{\"name\":\"epoch\",\"type\":\"uint32\"},\"4\":{\"name\":\"sequence\",\"type\":\"uint64\"},\"5\":{\"name\":\"kind\",\"type\":\"text\",\"min_bytes\":1,\"max_bytes\":128},\"6\":{\"name\":\"metadata\",\"type\":\"bytes\",\"max_bytes\":4096},\"7\":{\"name\":\"initial_receive_limit\",\"type\":\"uint64\"},\"8\":{\"name\":\"open_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2,3,4,5,6,7,8]},\"STREAM_DATA\":{\"fields\":{\"0\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"1\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"2\":{\"name\":\"epoch\",\"type\":\"uint32\"},\"3\":{\"name\":\"sequence\",\"type\":\"uint64\"},\"4\":{\"name\":\"offset\",\"type\":\"uint64\"},\"5\":{\"name\":\"fin\",\"type\":\"bool\"},\"6\":{\"name\":\"data\",\"type\":\"bytes\",\"max_ref\":\"max_data_payload_bytes\"}},\"required\":[0,1,2,3,4,5,6]},\"OPEN_ACCEPT\":{\"fields\":{\"0\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"1\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"2\":{\"name\":\"result\",\"type\":\"uint8\",\"enum\":{\"accepted\":0,\"rejected\":1}},\"3\":{\"name\":\"open_epoch\",\"type\":\"uint32\"},\"4\":{\"name\":\"open_sequence\",\"type\":\"uint64\"},\"5\":{\"name\":\"open_digest\",\"type\":\"bytes\",\"length\":32},\"6\":{\"name\":\"initial_receive_limit\",\"type\":\"uint64\"},\"7\":{\"name\":\"final_epoch\",\"type\":\"uint32\",\"optional\":true},\"8\":{\"name\":\"final_next_sequence\",\"type\":\"uint64\",\"optional\":true},\"9\":{\"name\":\"final_offset\",\"type\":\"uint64\",\"optional\":true},\"10\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":1},\"11\":{\"name\":\"reason\",\"type\":\"uint16\",\"enum_ref\":\"open_rejection_codes\",\"optional\":true}},\"required\":[0,1,2,3,4,5,6,10]},\"STREAM_ACK_CREDIT\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":0},\"1\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"2\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"3\":{\"name\":\"ack_offset\",\"type\":\"uint64\"},\"4\":{\"name\":\"receive_limit\",\"type\":\"uint64\"}},\"required\":[0,1,2,3,4]},\"STREAM_ACK_STOP\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":2},\"1\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"2\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}}},\"required\":[0,1,2]},\"STREAM_ACK_STOPPED\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":3},\"1\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"2\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"3\":{\"name\":\"final_epoch\",\"type\":\"uint32\"},\"4\":{\"name\":\"final_next_sequence\",\"type\":\"uint64\"},\"5\":{\"name\":\"final_offset\",\"type\":\"uint64\"}},\"required\":[0,1,2,3,4,5]},\"STREAM_ACK_DRAINED\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":4},\"1\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\"},\"2\":{\"name\":\"direction\",\"type\":\"uint8\",\"enum\":{\"c2s\":0,\"s2c\":1}},\"3\":{\"name\":\"terminal_tuple\",\"type\":\"map\",\"schema_ref\":\"terminal_tuple\"},\"4\":{\"name\":\"outcome\",\"type\":\"uint8\",\"enum\":{\"drained\":0,\"aborted\":1}},\"5\":{\"name\":\"observed_tuple\",\"type\":\"map\",\"schema_ref\":\"terminal_tuple\"}},\"required\":[0,1,2,3,4,5]},\"STREAM_ACK_RETIRE_BATCH\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":5},\"1\":{\"name\":\"batch_seq\",\"type\":\"uint64\",\"min\":1},\"2\":{\"name\":\"scope_ids\",\"type\":\"array<uint64>\",\"min_items\":1,\"max_items\":1024}},\"required\":[0,1,2],\"max_encoded_bytes\":9233,\"deferred_constraints\":[\"The bound is for the complete structural map, not a qualified route/frame/resource allowance. The authenticated proposer role, allocated ordinal and complete terminal proofs must authorize every ID before retirement. Batch sequencing, barrier publication fences, original deadlines and physical reference cleanup remain runtime obligations.\"]},\"STREAM_ACK_RETIRE_ACK\":{\"fields\":{\"0\":{\"name\":\"variant\",\"type\":\"uint8\",\"const\":6},\"1\":{\"name\":\"batch_seq\",\"type\":\"uint64\",\"min\":1},\"2\":{\"name\":\"batch_digest\",\"type\":\"bytes\",\"length\":32}},\"required\":[0,1,2],\"max_encoded_bytes\":48,\"deferred_constraints\":[\"The digest must match the original complete batch under its original final handshake hash, crypto profile and authenticated proposer role. A maintenance record authenticates the ACK; this map adds no signature or MAC. ACK alone does not prove physical reference cleanup.\"]},\"DATAGRAM\":{\"fields\":{\"0\":{\"name\":\"epoch\",\"type\":\"uint32\"},\"1\":{\"name\":\"sequence\",\"type\":\"uint64\"},\"2\":{\"name\":\"scope\",\"type\":\"uint64\"},\"3\":{\"name\":\"data\",\"type\":\"bytes\",\"max_bytes\":949}},\"required\":[0,1,2,3]},\"ERROR\":{\"fields\":{\"0\":{\"name\":\"code\",\"type\":\"uint16\",\"enum_ref\":\"error_codes\"},\"1\":{\"name\":\"target_scope\",\"type\":\"uint64\"},\"2\":{\"name\":\"stream_id\",\"type\":\"uint64\",\"min\":1,\"max\":\"9223372036854775807\",\"optional\":true},\"3\":{\"name\":\"retry_after_ms\",\"type\":\"uint32\",\"optional\":true}},\"required\":[0,1],\"deferred_constraints\":[\"Apply the phase-specific attribution rules in 3.5.2, including pre-existing native association, authenticated WS DATA attribution and failures without trusted local ownership. Pre-READY responses convey no authenticated result. A retry hint grants no action authority or change to layered commit facts.\"]},\"CLOSE\":{\"fields\":{\"0\":{\"name\":\"reason\",\"type\":\"uint16\",\"enum_ref\":\"error_codes\"},\"1\":{\"name\":\"target_scope\",\"type\":\"uint64\",\"max\":\"9223372036854775807\"}},\"required\":[0,1],\"deferred_constraints\":[\"A nonzero target must name an existing trusted Stream; CLOSE never substitutes for terminal proof.\"]},\"GOAWAY\":{\"fields\":{\"0\":{\"name\":\"accept_ceiling\",\"type\":\"uint64\"},\"1\":{\"name\":\"reason\",\"type\":\"uint16\",\"enum_ref\":\"error_codes\"}},\"required\":[0,1]},\"PING\":{\"fields\":{\"0\":{\"name\":\"nonce\",\"type\":\"bytes\",\"length\":16}},\"required\":[0]},\"PONG\":{\"fields\":{\"0\":{\"name\":\"nonce\",\"type\":\"bytes\",\"length\":16}},\"required\":[0]},\"HOP_AUTH_HELLO\":{\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":0},\"1\":{\"name\":\"local_incarnation\",\"type\":\"bytes\",\"length\":16,\"nonzero\":true},\"2\":{\"name\":\"local_challenge\",\"type\":\"bytes\",\"length\":32,\"nonzero\":true},\"3\":{\"name\":\"grant\",\"type\":\"bytes\",\"optional\":true,\"min_bytes\":1,\"encoded_schema_ref\":\"Grant\"},\"4\":{\"name\":\"identity_certificate\",\"type\":\"bytes\",\"max_bytes\":8192,\"encoded_schema_ref\":\"IdentityCertificate\"}},\"required\":[0,1,2,4],\"max_encoded_bytes\":10346,\"deferred_constraints\":[\"The encoded cap is derived from the complete current nested grammar and pinned maximal structural vectors. Changes to that grammar require a fresh size derivation; this bound does not qualify resources, signatures, trust or max_frame_required.\",\"Verify expected application certificate audience and relay Grant service/audience against their authenticated deployment and original issuance projection. The two audience fields are not implicitly equated. Actual two-sided owner/challenge, relay certificate digest, possession and activation state checks remain mandatory.\"]},\"HOP_AUTH_ENDPOINT_PROOF\":{\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":1},\"1\":{\"name\":\"proof\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1]},\"HOP_AUTH_RELAY_PROOF\":{\"fields\":{\"0\":{\"name\":\"phase\",\"type\":\"uint8\",\"const\":2},\"1\":{\"name\":\"proof\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1]},\"terminal_tuple\":{\"fields\":{\"0\":{\"name\":\"epoch\",\"type\":\"uint32\"},\"1\":{\"name\":\"next_sequence\",\"type\":\"uint64\"},\"2\":{\"name\":\"offset\",\"type\":\"uint64\"}},\"required\":[0,1,2]},\"CredentialIssuerAuthorization\":{\"fields\":{\"0\":{\"name\":\"authorization_id\",\"type\":\"bytes\",\"length\":16},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"namespace_capacity_digest\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"5\":{\"name\":\"credential_kind\",\"type\":\"uint8\",\"enum\":{\"certificate\":0,\"artifact\":1,\"grant\":2}},\"6\":{\"name\":\"issuer_key_id\",\"type\":\"bytes\",\"length\":16},\"7\":{\"name\":\"issuer_public_key\",\"type\":\"bytes\",\"length\":32},\"8\":{\"name\":\"audience\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"9\":{\"name\":\"signing_not_before_ms\",\"type\":\"uint64\"},\"10\":{\"name\":\"signing_not_after_ms\",\"type\":\"uint64\"},\"11\":{\"name\":\"first_cohort\",\"type\":\"uint64\"},\"12\":{\"name\":\"last_cohort\",\"type\":\"uint64\"},\"13\":{\"name\":\"max_credential_not_after_ms\",\"type\":\"uint64\"},\"14\":{\"name\":\"subject_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\",\"optional\":true},\"15\":{\"name\":\"crypto_profile_id\",\"type\":\"text\",\"optional\":true,\"text_enum_ref\":\"crypto_profiles\"},\"16\":{\"name\":\"role\",\"type\":\"uint8\",\"max\":3,\"optional\":true},\"17\":{\"name\":\"service\",\"type\":\"text\",\"pattern_ref\":\"security_id\",\"optional\":true},\"18\":{\"name\":\"parent_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\",\"optional\":true},\"19\":{\"name\":\"parent_capacity_digest\",\"type\":\"bytes\",\"length\":32,\"optional\":true},\"20\":{\"name\":\"parent_generation\",\"type\":\"uint64\",\"optional\":true},\"21\":{\"name\":\"parent_artifact_issuer_key_id\",\"type\":\"bytes\",\"length\":16,\"optional\":true},\"22\":{\"name\":\"first_parent_cohort\",\"type\":\"uint64\",\"optional\":true},\"23\":{\"name\":\"last_parent_cohort\",\"type\":\"uint64\",\"optional\":true},\"24\":{\"name\":\"max_affected_cohorts\",\"type\":\"array\",\"min_items\":2,\"max_items\":2,\"items\":{\"type\":\"uint64\",\"nullable\":true}}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,24],\"max_encoded_bytes\":2048},\"TrustConfig\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"authority_generation\",\"type\":\"uint64\"},\"4\":{\"name\":\"revision\",\"type\":\"uint64\",\"min\":1},\"5\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"6\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"},\"7\":{\"name\":\"capacity\",\"type\":\"map\",\"schema_ref\":\"NamespaceCapacity\"},\"8\":{\"name\":\"publication\",\"type\":\"map\",\"schema_ref\":\"PublicationPolicy\"},\"9\":{\"name\":\"credential_policies\",\"type\":\"array\",\"min_items\":0,\"max_items\":16,\"items\":{\"type\":\"map\",\"schema_ref\":\"CredentialRevocationPolicy\"}},\"10\":{\"name\":\"issuer_authorizations\",\"type\":\"array\",\"min_items\":0,\"max_items\":64,\"items\":{\"type\":\"map\",\"schema_ref\":\"CredentialIssuerAuthorization\"}},\"11\":{\"name\":\"head_delegations\",\"type\":\"array\",\"min_items\":0,\"max_items\":32,\"items\":{\"type\":\"map\",\"schema_ref\":\"HeadSignerDelegation\"}},\"12\":{\"name\":\"activation_delegations\",\"type\":\"array\",\"min_items\":0,\"max_items\":32,\"items\":{\"type\":\"map\",\"schema_ref\":\"ConnectionActivationDelegation\"}},\"13\":{\"name\":\"once_authorities\",\"type\":\"array\",\"min_items\":0,\"max_items\":32,\"items\":{\"type\":\"map\",\"schema_ref\":\"OnceAuthorityRef\"}},\"14\":{\"name\":\"retired_issuers\",\"type\":\"array\",\"min_items\":0,\"max_items\":64,\"items\":{\"type\":\"bytes\",\"length\":16}},\"15\":{\"name\":\"rejected_head_signers\",\"type\":\"array\",\"min_items\":0,\"max_items\":64,\"items\":{\"type\":\"bytes\",\"length\":16}},\"16\":{\"name\":\"signing_key_id\",\"type\":\"bytes\",\"length\":16},\"17\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],\"max_encoded_bytes\":262144,\"signature_field\":17,\"deferred_constraints\":[\"Independently pinned trust-root key and namespace association, trusted current time, original monotonic revision and generation, complete immutable issuer/delegation/policy/once-mapping history, permanent retirement and aggregate proof byte/entry limits are mandatory runtime gates. No key or permission from a credential or Head may authenticate this map.\"]},\"TrustBootstrapResponse\":{\"fields\":{\"0\":{\"name\":\"schema_revision\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"1\":{\"name\":\"tenant_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"revocation_authority_id\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"3\":{\"name\":\"request_nonce\",\"type\":\"bytes\",\"length\":32},\"4\":{\"name\":\"issued_at_ms\",\"type\":\"uint64\"},\"5\":{\"name\":\"not_after_ms\",\"type\":\"uint64\"},\"6\":{\"name\":\"trust_config\",\"type\":\"bytes\",\"encoded_schema_ref\":\"TrustConfig\",\"max_bytes\":262144},\"7\":{\"name\":\"freshness_head\",\"type\":\"bytes\",\"encoded_schema_ref\":\"FreshnessHead\",\"max_bytes\":795},\"8\":{\"name\":\"signing_key_id\",\"type\":\"bytes\",\"length\":16},\"9\":{\"name\":\"signature\",\"type\":\"bytes\",\"length\":64}},\"required\":[0,1,2,3,4,5,6,7,8,9],\"max_encoded_bytes\":270336,\"signature_field\":9},\"OperationReference\":{\"fields\":{\"0\":{\"name\":\"format_version\",\"type\":\"uint8\",\"const\":1},\"1\":{\"name\":\"target_domain\",\"type\":\"text\",\"pattern_ref\":\"security_id\"},\"2\":{\"name\":\"target\",\"type\":\"map\",\"schema_ref\":\"ExecutionManagementTarget\"},\"3\":{\"name\":\"call_shape\",\"type\":\"uint8\",\"enum\":{\"unary\":0,\"server_streaming\":1,\"notify\":2}},\"4\":{\"name\":\"execution_mode\",\"type\":\"uint8\",\"enum\":{\"volatile\":0,\"durable\":1}},\"5\":{\"name\":\"deadline_at_ms\",\"type\":\"uint64\",\"min\":1},\"6\":{\"name\":\"cancel_mode\",\"type\":\"uint8\",\"enum\":{\"none\":0,\"cooperative\":1}}},\"required\":[0,1,2,3,4,5,6],\"max_encoded_bytes\":2048,\"deferred_constraints\":[\"Local query-only persistence format, never a frame or credential. target_domain resolves only through trusted local configuration. Import grants no dispatch, Start, payload, Session or key capability. The operation cutoff in the first eight ID bytes must be positive and no later than deadline_at_ms.\"]}},\"map_projections\":{\"candidate_route\":{\"source\":\"Candidate\",\"target\":\"Route\",\"fields\":[\"path_kind\",\"candidate_id\",\"direct_leg\",\"client_leg\",\"server_leg\"]}},\"unicode\":{\"version\":\"15.1.0\",\"status\":\"reference_nfc_idna_conformance_only\",\"nfc_sources\":{\"path\":\"testdata/unicode15_1/normalization_sources.json\",\"sha256\":\"3614da6477c9bc68d403e4d7cefc8281c1cdb51b3ba70837f36860b690c91f41\"},\"nfc_data\":{\"path\":\"testdata/unicode15_1/normalization_generated.json\",\"sha256\":\"bd140d7a610d52396a64e1bd57ca2413535056a39cb82a4eded2db0bde605b34\"},\"idna\":\"reference_conformance_only\",\"idna_sources\":{\"path\":\"testdata/unicode15_1/idna_sources.json\",\"sha256\":\"f60d5750ec1b952d24518d5578c72193096cebf555e5d0339104c050a88b4c08\"},\"idna_data\":{\"path\":\"testdata/unicode15_1/idna_generated.json\",\"sha256\":\"69bc502795c6f1ac07e47bdf4860af9348e16250217d3aed047b4065ed417a9a\"},\"sdk_consumption\":\"not_qualified\"},\"field_registries\":{\"admission_rejection_codes\":{\"activation_proof_invalid\":1,\"admission_window_expired\":2,\"reservation_conflict\":3,\"server_capacity_unavailable\":4,\"admission_store_unavailable\":5,\"admission_commit_unknown\":6,\"admission_epoch_unproven\":7,\"reservation_expired\":8,\"application_authorization_denied\":9},\"application_message_kinds\":{\"resume_request\":{\"code\":50,\"fields\":[0,1,2,3,4,5,6,7,8],\"max_encoded_bytes\":139},\"resume_response\":{\"code\":51,\"fields\":[0,1,2,3,4,6],\"request\":\"resume_request\",\"max_encoded_bytes\":121},\"resume_application_error\":{\"code\":52,\"fields\":[0,1,2,3,4,6,10],\"request\":\"resume_request\",\"application_error\":true,\"max_encoded_bytes\":127},\"execution_unary_sdk_error\":{\"code\":46,\"fields\":[0,1,2,3,4,6],\"request\":\"execution_unary_request\",\"sdk_error\":true,\"max_encoded_bytes\":119},\"transient_unary_sdk_error\":{\"code\":47,\"fields\":[0,2,3,6],\"request\":\"transient_unary_request\",\"sdk_error\":true,\"max_encoded_bytes\":49},\"query_contracts_sdk_error\":{\"code\":48,\"fields\":[0,2,3,6],\"request\":\"query_contracts_request\",\"sdk_error\":true,\"max_encoded_bytes\":49},\"read_result_sdk_error\":{\"code\":49,\"fields\":[0,2,3,6],\"request\":\"read_result_request\",\"sdk_error\":true,\"max_encoded_bytes\":49},\"execution_unary_application_error\":{\"code\":42,\"fields\":[0,1,2,3,4,6,10],\"request\":\"execution_unary_request\",\"application_error\":true,\"max_encoded_bytes\":127},\"execution_stream_application_error\":{\"code\":43,\"fields\":[0,1,2,3,4,6,10],\"request\":\"execution_stream_request\",\"application_error\":true,\"max_encoded_bytes\":127},\"transient_unary_application_error\":{\"code\":44,\"fields\":[0,2,3,6,10],\"request\":\"transient_unary_request\",\"application_error\":true,\"max_encoded_bytes\":57},\"transient_stream_application_error\":{\"code\":45,\"fields\":[0,2,3,6,10],\"request\":\"transient_stream_request\",\"application_error\":true,\"max_encoded_bytes\":57},\"execution_unary_request\":{\"code\":24,\"fields\":[0,1,2,3,4,5,6,7,8],\"max_encoded_bytes\":139},\"execution_stream_request\":{\"code\":25,\"fields\":[0,1,2,3,4,5,6,7,8],\"max_encoded_bytes\":139},\"execution_notify\":{\"code\":26,\"fields\":[0,1,2,3,4,5,6,7,8],\"constants\":{\"8\":0},\"max_encoded_bytes\":135},\"execution_unary_response\":{\"code\":27,\"fields\":[0,1,2,3,4,6],\"request\":\"execution_unary_request\",\"max_encoded_bytes\":121},\"execution_stream_item\":{\"code\":28,\"fields\":[0,1,2,3,4,6],\"request\":\"execution_stream_request\",\"max_encoded_bytes\":121},\"transient_unary_request\":{\"code\":29,\"fields\":[0,2,3,5,6,7,8],\"max_encoded_bytes\":69},\"transient_stream_request\":{\"code\":30,\"fields\":[0,2,3,5,6,7,8],\"max_encoded_bytes\":69},\"transient_unary_response\":{\"code\":31,\"fields\":[0,2,3,6],\"request\":\"transient_unary_request\",\"max_encoded_bytes\":51},\"transient_stream_item\":{\"code\":32,\"fields\":[0,2,3,6],\"request\":\"transient_stream_request\",\"max_encoded_bytes\":51},\"observation_notify\":{\"code\":33,\"fields\":[0,2,3,5,6],\"max_encoded_bytes\":61},\"query_contracts_request\":{\"code\":34,\"fields\":[0,2,3,5,6],\"max_encoded_bytes\":61},\"query_contracts_response\":{\"code\":35,\"fields\":[0,2,3,6],\"request\":\"query_contracts_request\",\"max_encoded_bytes\":51},\"read_result_request\":{\"code\":36,\"fields\":[0,2,3,5,6],\"max_encoded_bytes\":61},\"read_result_response\":{\"code\":37,\"fields\":[0,2,3,6],\"request\":\"read_result_request\",\"max_encoded_bytes\":51},\"query_operation_request\":{\"code\":38,\"fields\":[0,2,3,5,6,9],\"max_encoded_bytes\":71},\"query_operation_response\":{\"code\":39,\"fields\":[0,2,3,6,9],\"request\":\"query_operation_request\",\"max_encoded_bytes\":61},\"request_cancel_request\":{\"code\":40,\"fields\":[0,2,3,5,6,9],\"max_encoded_bytes\":71},\"request_cancel_response\":{\"code\":41,\"fields\":[0,2,3,6,9],\"request\":\"request_cancel_request\",\"max_encoded_bytes\":61},\"execution_stream_sdk_error\":{\"code\":53,\"fields\":[0,1,2,3,4,6],\"max_encoded_bytes\":119,\"request\":\"execution_stream_request\",\"sdk_error\":true},\"transient_stream_sdk_error\":{\"code\":54,\"fields\":[0,2,3,6],\"max_encoded_bytes\":49,\"request\":\"transient_stream_request\",\"sdk_error\":true}},\"application_sdk_error_codes\":{\"request_message_aborted\":1,\"response_output_stopped\":2,\"service_contract_mismatch\":3,\"response_limit_unsupported\":4,\"resource_exhausted\":5,\"method_unavailable\":6,\"permission_denied\":7,\"deadline_exceeded\":8,\"service_failed\":9,\"service_unavailable\":10,\"operation_conflict\":11,\"result_expired\":12,\"source_overflow\":13},\"artifact_version\":\"4\",\"carrier_tuples\":{\"raw_quic\":{\"direct\":{\"alpn\":\"flowersec-direct/4\",\"path\":\"\",\"subprotocol\":\"\"},\"tunnel\":{\"alpn\":\"flowersec-tunnel/4\",\"path\":\"\",\"subprotocol\":\"\"}},\"websocket\":{\"direct\":{\"path\":\"/flowersec/v4/direct\",\"alpn\":\"http/1.1\",\"subprotocol\":\"flowersec.direct.v4\",\"http\":\"1.1\"},\"tunnel\":{\"path\":\"/flowersec/v4/tunnel\",\"alpn\":\"http/1.1\",\"subprotocol\":\"flowersec.tunnel.v4\",\"http\":\"1.1\"}},\"webtransport\":{\"direct\":{\"path\":\"/flowersec/webtransport/v4/direct\",\"alpn\":\"h3\",\"subprotocol\":\"\"},\"tunnel\":{\"path\":\"/flowersec/webtransport/v4/tunnel\",\"alpn\":\"h3\",\"subprotocol\":\"\"}}},\"crypto_profiles\":{\"fs4-kkpsk0-x25519-chachapoly-ed25519-sha256-1\":{\"dh_algorithm\":0,\"noise_protocol_name\":\"Noise_KKpsk0_25519_ChaChaPoly_SHA256\",\"record_aead\":\"chacha20-poly1305\",\"dh_public_bytes\":32,\"dh_secret_bytes\":32,\"handshake_message_bytes\":48,\"key_bytes\":32,\"nonce_bytes\":12,\"tag_bytes\":16},\"fs4-kkpsk0-p256-aes256gcm-ed25519-sha256-1\":{\"dh_algorithm\":1,\"noise_protocol_name\":\"Noise_KKpsk0_P256_AESGCM_SHA256\",\"record_aead\":\"aes-256-gcm\",\"dh_public_bytes\":65,\"dh_secret_bytes\":32,\"handshake_message_bytes\":81,\"key_bytes\":32,\"nonce_bytes\":12,\"tag_bytes\":16}},\"error_code_metadata\":{\"normal\":{\"scope\":\"none\",\"action\":\"none\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"6.1\"},\"protocol_violation\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"framing_error\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"authentication_failed\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"sequence_error\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"replay_detected\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"crypto_failure\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"rekey_failed\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.8,6.1\"},\"resource_exhausted\":{\"scope\":\"session\",\"action\":\"close_session\",\"retry\":\"preserve_facts\",\"retryable\":true,\"source\":\"3.7.5,6.1\"},\"stream_sequence_error\":{\"scope\":\"stream\",\"action\":\"reset_stream\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"},\"stream_data_invalid\":{\"scope\":\"stream\",\"action\":\"reset_stream\",\"retry\":\"preserve_facts\",\"retryable\":false,\"source\":\"3.5.2,6.1\"}},\"error_codes\":{\"normal\":0,\"protocol_violation\":1,\"framing_error\":2,\"authentication_failed\":3,\"sequence_error\":4,\"replay_detected\":5,\"crypto_failure\":6,\"rekey_failed\":7,\"resource_exhausted\":8,\"stream_sequence_error\":9,\"stream_data_invalid\":10},\"feature_registry\":{\"datagram\":{\"bit\":0},\"application_progress_resume\":{\"bit\":1}},\"local_loopback_tuple\":{\"path\":\"/flowersec/v4/local\",\"subprotocol\":\"flowersec.local.v4\"},\"open_rejection_codes\":{\"resource_exhausted\":1,\"metadata_invalid\":2,\"kind_unavailable\":3,\"application_rejected\":4,\"draining\":5},\"origin_schemes\":{\"http\":{\"default_port\":80},\"https\":{\"default_port\":443},\"ws\":{\"default_port\":80},\"wss\":{\"default_port\":443},\"ftp\":{\"default_port\":21}},\"profile_revision\":\"4\",\"protocol_id\":\"flowersec/4\",\"resource_caps\":{\"contract_query_response_bytes_per_target\":9216,\"max_payload_length\":1048576,\"max_datagram_envelope\":1024,\"max_datagram_payload\":949,\"max_pending_datagrams\":64,\"max_streams\":2097152,\"max_pending_open_ceiling\":128,\"ingress_staging\":{\"items\":128,\"bytes\":524288,\"work\":128},\"await_open\":{\"items\":128,\"bytes\":262144,\"work\":128},\"retire_batch_items\":1024,\"scope_id\":{\"min\":1,\"max\":\"9223372036854775807\"},\"record_replay_window_bits\":256,\"datagram_scope\":\"9223372036854775809\",\"max_pending_open_rule\":{\"operator\":\"min\",\"arguments\":[128,\"signed.max_streams\"]}},\"text_patterns\":{\"security_id\":\"^[a-z0-9][a-z0-9._:/@-]{0,127}$\",\"metadata_namespace\":\"^[a-z0-9][a-z0-9._-]{0,31}/[a-z0-9][a-z0-9._-]{0,31}$\"},\"tls_certificate_profiles\":{\"x509v3-p256-14d\":{\"source\":\"design 3.6; actual DER qualification is required\"}},\"wire_profile\":\"flowersec/4\"},\"variant_rules\":{\"ExecutionManagementObservation\":[{\"op\":\"variant\",\"discriminator\":\"found\",\"value\":true,\"required\":[\"state\",\"cancel_requested\",\"dispatched\",\"work_active\",\"history_not_before_gc_ms\",\"result_not_after_ms\",\"result_available\",\"result_deleted\",\"result_bytes\",\"application_error_code\",\"result_digest\"]},{\"op\":\"variant\",\"discriminator\":\"found\",\"value\":false,\"absent\":[\"state\",\"cancel_requested\",\"dispatched\",\"work_active\",\"history_not_before_gc_ms\",\"result_not_after_ms\",\"result_available\",\"result_deleted\",\"result_bytes\",\"application_error_code\",\"result_digest\"]},{\"op\":\"range\",\"field\":\"reason\",\"min\":0,\"max\":4,\"when\":{\"field\":\"found\",\"value\":true}},{\"op\":\"range\",\"field\":\"reason\",\"min\":5,\"max\":6,\"when\":{\"field\":\"found\",\"value\":false}},{\"op\":\"variant\",\"discriminator\":\"result_available\",\"value\":true,\"constants\":{\"result_deleted\":false,\"dispatched\":true}},{\"op\":\"variant\",\"discriminator\":\"state\",\"value\":1,\"constants\":{\"dispatched\":false}}],\"QueryOperationResponse\":[{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":0,\"required\":[\"observation\"],\"constants\":{\"observation.found\":true}},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":1,\"absent\":[\"observation\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":2,\"absent\":[\"observation\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":3,\"absent\":[\"observation\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":4,\"absent\":[\"observation\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":5,\"absent\":[\"observation\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":6,\"required\":[\"observation\"],\"constants\":{\"observation.found\":true,\"observation.result_deleted\":true,\"observation.result_available\":false}},{\"op\":\"variant\",\"discriminator\":\"observation.result_deleted\",\"value\":true,\"constants\":{\"status\":6}},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":7,\"required\":[\"observation\"],\"constants\":{\"observation.found\":false,\"observation.reason\":5}},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":8,\"required\":[\"observation\"],\"constants\":{\"observation.found\":false,\"observation.reason\":6}}],\"RequestCancelResponse\":[{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":0,\"required\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":1,\"absent\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":2,\"absent\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":3,\"absent\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":4,\"absent\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":5,\"absent\":[\"observation\",\"cancel_result\"]},{\"op\":\"variant\",\"discriminator\":\"cancel_result\",\"value\":0,\"constants\":{\"observation.found\":true,\"observation.cancel_requested\":true},\"when\":{\"field\":\"status\",\"value\":0}},{\"op\":\"variant\",\"discriminator\":\"cancel_result\",\"value\":1,\"constants\":{\"observation.found\":true},\"when\":{\"field\":\"status\",\"value\":0}},{\"op\":\"variant\",\"discriminator\":\"cancel_result\",\"value\":2,\"constants\":{\"observation.found\":false,\"observation.reason\":5},\"when\":{\"field\":\"status\",\"value\":0}},{\"op\":\"variant\",\"discriminator\":\"cancel_result\",\"value\":3,\"constants\":{\"observation.found\":false,\"observation.reason\":6},\"when\":{\"field\":\"status\",\"value\":0}}],\"ResumeResult\":[{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":0,\"required\":[\"progress\"]}],\"ContractSnapshot\":[{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":0,\"required\":[\"contract\"],\"absent\":[\"contract_digest\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":1,\"required\":[\"contract_digest\"],\"absent\":[\"contract\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":2,\"absent\":[\"contract\",\"contract_digest\",\"offer\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":3,\"absent\":[\"contract\",\"contract_digest\",\"offer\"]}],\"StreamContentPolicy\":[{\"op\":\"variant\",\"discriminator\":\"mode\",\"value\":0,\"absent\":[\"retention_origin\",\"retention_ms\",\"max_retained_items\",\"max_retained_bytes\",\"definition_schema_revision\",\"definition_bytes\"]},{\"op\":\"variant\",\"discriminator\":\"mode\",\"value\":1,\"required\":[\"retention_origin\",\"retention_ms\",\"max_retained_items\",\"max_retained_bytes\",\"definition_schema_revision\",\"definition_bytes\"]}],\"ServiceContract\":[{\"op\":\"variant\",\"discriminator\":\"call_shape\",\"value\":0,\"required\":[\"unary_semantics\"],\"absent\":[\"server_streaming_semantics\",\"notify_semantics\",\"max_item_count\",\"max_stream_payload_bytes\",\"max_stream_duration_ms\",\"stream_content_policy\"]},{\"op\":\"variant\",\"discriminator\":\"call_shape\",\"value\":1,\"required\":[\"server_streaming_semantics\",\"max_item_count\",\"max_stream_payload_bytes\",\"max_stream_duration_ms\"],\"absent\":[\"unary_semantics\",\"notify_semantics\",\"result_retention_ms\"]},{\"op\":\"variant\",\"discriminator\":\"call_shape\",\"value\":2,\"required\":[\"notify_semantics\"],\"absent\":[\"unary_semantics\",\"server_streaming_semantics\",\"max_item_count\",\"max_stream_payload_bytes\",\"max_stream_duration_ms\",\"stream_content_policy\",\"result_retention_ms\"],\"constants\":{\"response_limit_mode\":0,\"min_response_limit_bytes\":0,\"max_response_bytes\":0}},{\"op\":\"variant\",\"discriminator\":\"unary_semantics\",\"value\":0,\"required\":[\"max_message_lifetime_ms\",\"max_transient_run_ms\"],\"absent\":[\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\",\"result_retention_ms\",\"checkpoint_format\"]},{\"op\":\"variant\",\"discriminator\":\"unary_semantics\",\"value\":1,\"required\":[\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\"],\"absent\":[\"max_message_lifetime_ms\",\"max_transient_run_ms\"]},{\"op\":\"variant\",\"discriminator\":\"server_streaming_semantics\",\"value\":0,\"required\":[\"max_message_lifetime_ms\",\"max_transient_run_ms\"],\"absent\":[\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\",\"result_retention_ms\",\"checkpoint_format\",\"stream_content_policy\"]},{\"op\":\"variant\",\"discriminator\":\"server_streaming_semantics\",\"value\":1,\"required\":[\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\",\"stream_content_policy\"],\"absent\":[\"max_message_lifetime_ms\",\"max_transient_run_ms\"]},{\"op\":\"variant\",\"discriminator\":\"notify_semantics\",\"value\":0,\"required\":[\"max_message_lifetime_ms\"],\"absent\":[\"max_transient_run_ms\",\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\",\"result_retention_ms\",\"checkpoint_format\"]},{\"op\":\"variant\",\"discriminator\":\"notify_semantics\",\"value\":1,\"required\":[\"execution_mode\",\"history_retention_ms\",\"max_operation_admission_window_ms\",\"max_execution_horizon_ms\",\"max_execution_run_ms\",\"cancel_mode\"],\"absent\":[\"max_message_lifetime_ms\",\"max_transient_run_ms\"]},{\"op\":\"variant\",\"discriminator\":\"restart_flush\",\"value\":true,\"required\":[\"restart_flush_deadline_ms\"],\"constants\":{\"call_shape\":0}},{\"op\":\"variant\",\"discriminator\":\"restart_flush\",\"value\":false,\"absent\":[\"restart_flush_deadline_ms\"]},{\"op\":\"variant\",\"discriminator\":\"response_limit_mode\",\"value\":0,\"equal\":[[\"min_response_limit_bytes\",\"max_response_bytes\"]]}],\"SessionContract\":[{\"op\":\"variant\",\"discriminator\":\"application_profile\",\"value\":0,\"absent\":[\"rpc_max_general_outstanding\"]},{\"op\":\"variant\",\"discriminator\":\"application_profile\",\"value\":1,\"required\":[\"rpc_max_general_outstanding\"],\"nonzero\":[\"max_streams\"]},{\"op\":\"variant\",\"discriminator\":\"application_profile\",\"value\":2,\"required\":[\"rpc_max_general_outstanding\"],\"nonzero\":[\"max_streams\"]},{\"op\":\"range\",\"when\":{\"field\":\"application_profile\",\"value\":1},\"field\":\"max_credit\",\"min\":16384,\"max\":\"9223372036854775807\"},{\"op\":\"range\",\"when\":{\"field\":\"application_profile\",\"value\":2},\"field\":\"max_credit\",\"min\":16384,\"max\":\"9223372036854775807\"}],\"ResumePolicy\":[{\"op\":\"variant\",\"discriminator\":\"enabled\",\"value\":false,\"absent\":[\"purpose\",\"scope\",\"max_issued_token_duration_ms\",\"max_token_bytes\"]},{\"op\":\"variant\",\"discriminator\":\"enabled\",\"value\":true,\"required\":[\"purpose\",\"scope\",\"max_issued_token_duration_ms\",\"max_token_bytes\"]}],\"Artifact\":[{\"op\":\"variant\",\"discriminator\":\"resume_policy.enabled\",\"value\":true,\"constants\":{\"session_contract.application_profile\":2}}],\"Grant\":[{\"op\":\"range\",\"field\":\"route_descriptor.path_kind\",\"min\":1,\"max\":1},{\"op\":\"range\",\"field\":\"legs.0.logical_role\",\"min\":0,\"max\":0},{\"op\":\"range\",\"field\":\"legs.1.logical_role\",\"min\":1,\"max\":1}],\"Leg\":[{\"op\":\"context_variant\",\"context\":\"path_kind\",\"cases\":{\"direct\":{\"constants\":{\"endpoint_role\":1,\"dialer_role\":0,\"listener_role\":1}},\"tunnel\":{\"constants\":{\"access_class\":0}}}},{\"op\":\"variant\",\"discriminator\":\"access_class\",\"value\":0,\"required\":[\"alpn\",\"tls_policy\"],\"absent\":[\"origin\"]},{\"op\":\"variant\",\"discriminator\":\"access_class\",\"value\":1,\"required\":[\"origin\"],\"absent\":[\"alpn\",\"tls_policy\",\"origin_policy\"],\"constants\":{\"carrier\":1}},{\"op\":\"variant\",\"discriminator\":\"carrier\",\"value\":0,\"absent\":[\"origin_policy\"]},{\"op\":\"variant\",\"discriminator\":\"carrier\",\"value\":2,\"required\":[\"origin_policy\"]},{\"op\":\"range\",\"field\":\"port\",\"min\":1024,\"max\":65535,\"when\":{\"field\":\"access_class\",\"value\":1}}],\"Route\":[{\"op\":\"variant\",\"discriminator\":\"path_kind\",\"value\":0,\"required\":[\"direct_leg\"],\"absent\":[\"client_leg\",\"server_leg\"]},{\"op\":\"variant\",\"discriminator\":\"path_kind\",\"value\":1,\"required\":[\"client_leg\",\"server_leg\"],\"absent\":[\"direct_leg\"],\"constants\":{\"client_leg.endpoint_role\":0,\"server_leg.endpoint_role\":1}}],\"Candidate\":[{\"op\":\"variant\",\"discriminator\":\"path_kind\",\"value\":0,\"required\":[\"direct_leg\"],\"absent\":[\"client_leg\",\"server_leg\"]},{\"op\":\"variant\",\"discriminator\":\"path_kind\",\"value\":1,\"required\":[\"client_leg\",\"server_leg\"],\"absent\":[\"direct_leg\"],\"constants\":{\"client_leg.endpoint_role\":0,\"server_leg.endpoint_role\":1}}],\"TopUpResponse\":[{\"op\":\"variant\",\"discriminator\":\"gap_authorized\",\"value\":false,\"absent\":[\"retired_artifact_through\"]},{\"op\":\"variant\",\"discriminator\":\"gap_authorized\",\"value\":true,\"required\":[\"retired_artifact_through\"]}],\"TopUpAck\":[{\"op\":\"variant\",\"discriminator\":\"gap_authorized\",\"value\":false,\"absent\":[\"retired_artifact_through\"]},{\"op\":\"variant\",\"discriminator\":\"gap_authorized\",\"value\":true,\"required\":[\"retired_artifact_through\"]}],\"TLSPolicy\":[{\"op\":\"variant\",\"discriminator\":\"mode\",\"value\":0,\"absent\":[\"pin_kind\",\"pins\"]},{\"op\":\"variant\",\"discriminator\":\"mode\",\"value\":1,\"required\":[\"pin_kind\",\"pins\"]}],\"FSB4\":[{\"op\":\"range\",\"field\":\"client_certificate.role\",\"min\":0,\"max\":0},{\"op\":\"context_variant\",\"context\":\"activation_source_profile\",\"cases\":{\"live_authority\":{\"equal\":[[\"candidate_id\",\"activation_authorization.candidate_selection\"],[\"route_digest\",\"activation_authorization.route_selection\"]]},\"preauthorized_pool\":{}}}],\"FSA4\":[{\"op\":\"range\",\"field\":\"server_certificate.role\",\"min\":1,\"max\":1},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":0,\"constants\":{\"code\":0},\"nonzero\":[\"reservation_key\",\"admission_binding\",\"transport_context_digest\",\"client_identity_digest\",\"server_identity_digest\"]},{\"op\":\"variant\",\"discriminator\":\"status\",\"value\":1,\"constants\":{\"server_epoch\":0},\"nonzero\":[\"code\"],\"zero_bytes\":[\"reservation_key\",\"admission_binding\",\"transport_context_digest\",\"client_identity_digest\",\"server_identity_digest\"],\"registered\":{\"code\":\"admission_rejection_codes\"}}],\"NoiseStaticPublicKey\":[{\"op\":\"variant\",\"discriminator\":\"algorithm\",\"value\":0,\"byte_lengths\":{\"public_key_bytes\":32}},{\"op\":\"variant\",\"discriminator\":\"algorithm\",\"value\":1,\"byte_lengths\":{\"public_key_bytes\":65},\"byte_prefixes\":{\"public_key_bytes\":\"04\"}}],\"ActivationAuthorization\":[{\"op\":\"context_variant\",\"context\":\"activation_source_profile\",\"cases\":{\"live_authority\":{},\"preauthorized_pool\":{\"equal\":[[\"artifact_digest\",\"candidate_selection.artifact_digest\"],[\"tenant_id\",\"candidate_selection.once_authority_ref.tenant_id\"],[\"artifact_issuer_key_id\",\"candidate_selection.once_authority_ref.artifact_issuer_key_id\"],[\"authority_id\",\"candidate_selection.once_authority_ref.spend_authority_id\"]]}}}],\"TransportContext\":[{\"op\":\"variant\",\"discriminator\":\"binding_mode\",\"value\":0,\"constants\":{\"exporter_present\":1,\"path_kind\":0,\"access_class\":0},\"byte_lengths\":{\"exporter_bytes\":32}},{\"op\":\"variant\",\"discriminator\":\"binding_mode\",\"value\":1,\"constants\":{\"exporter_present\":0},\"byte_lengths\":{\"exporter_bytes\":0}},{\"op\":\"variant\",\"discriminator\":\"access_class\",\"value\":1,\"constants\":{\"path_kind\":0,\"binding_mode\":1}}],\"HOP_AUTH_HELLO\":[{\"op\":\"context_variant\",\"context\":\"hop_sender_role\",\"cases\":{\"endpoint\":{\"required\":[\"grant\"],\"enum_values\":{\"identity_certificate.role\":[0,1]}},\"relay\":{\"absent\":[\"grant\"],\"constants\":{\"identity_certificate.role\":2}}}}],\"STREAM_ACK_DRAINED\":[{\"op\":\"variant\",\"discriminator\":\"outcome\",\"value\":0,\"equal\":[[\"terminal_tuple\",\"observed_tuple\"]]},{\"op\":\"variant\",\"discriminator\":\"outcome\",\"value\":1,\"equal\":[[\"terminal_tuple.epoch\",\"observed_tuple.epoch\"]],\"less_or_equal\":[[\"observed_tuple.next_sequence\",\"terminal_tuple.next_sequence\"],[\"observed_tuple.offset\",\"terminal_tuple.offset\"]]}],\"OPEN_STREAM\":[{\"op\":\"range\",\"field\":\"scope\",\"min\":1,\"max\":\"9223372036854775807\"},{\"op\":\"range\",\"field\":\"sequence\",\"min\":0,\"max\":0}],\"OPEN_ACCEPT\":[{\"op\":\"range\",\"field\":\"stream_id\",\"min\":1,\"max\":\"9223372036854775807\"},{\"op\":\"range\",\"field\":\"direction\",\"min\":0,\"max\":1},{\"op\":\"range\",\"field\":\"open_sequence\",\"min\":0,\"max\":0},{\"op\":\"variant\",\"discriminator\":\"result\",\"value\":0,\"absent\":[\"final_epoch\",\"final_next_sequence\",\"final_offset\",\"reason\"]},{\"op\":\"variant\",\"discriminator\":\"result\",\"value\":1,\"required\":[\"final_epoch\",\"final_next_sequence\",\"final_offset\",\"reason\"],\"constants\":{\"initial_receive_limit\":0,\"final_next_sequence\":1,\"final_offset\":0},\"equal\":[[\"final_epoch\",\"open_epoch\"]],\"nonzero\":[\"reason\"]}],\"DATAGRAM\":[{\"op\":\"range\",\"field\":\"scope\",\"min\":\"9223372036854775809\",\"max\":\"9223372036854775809\"}],\"CredentialIssuerAuthorization\":[{\"op\":\"variant\",\"discriminator\":\"credential_kind\",\"value\":0,\"required\":[\"subject_id\",\"crypto_profile_id\",\"role\"],\"absent\":[\"service\",\"parent_authority_id\",\"parent_capacity_digest\",\"parent_generation\",\"parent_artifact_issuer_key_id\",\"first_parent_cohort\",\"last_parent_cohort\"],\"enum_values\":{\"role\":[0,1]}},{\"op\":\"variant\",\"discriminator\":\"credential_kind\",\"value\":1,\"required\":[\"crypto_profile_id\"],\"absent\":[\"subject_id\",\"role\",\"service\",\"parent_authority_id\",\"parent_capacity_digest\",\"parent_generation\",\"parent_artifact_issuer_key_id\",\"first_parent_cohort\",\"last_parent_cohort\"]},{\"op\":\"variant\",\"discriminator\":\"credential_kind\",\"value\":2,\"required\":[\"role\",\"service\",\"parent_authority_id\",\"parent_capacity_digest\",\"parent_generation\",\"parent_artifact_issuer_key_id\",\"first_parent_cohort\",\"last_parent_cohort\"],\"absent\":[\"subject_id\",\"crypto_profile_id\"],\"enum_values\":{\"role\":[1,2,3]}}]},\"relation_rules\":{\"ConnectionActivationDelegation\":[{\"op\":\"is_null\",\"field\":\"max_affected_cohorts.0\"},{\"op\":\"equal\",\"left\":\"max_affected_cohorts.1\",\"right\":\"last_parent_cohort\"},{\"op\":\"less_than\",\"left\":\"signing_not_before_ms\",\"right\":\"signing_not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"first_parent_cohort\",\"right\":\"last_parent_cohort\"},{\"op\":\"less_or_equal\",\"left\":\"max_activation_not_after_ms\",\"right\":\"max_session_not_after_ms\"}],\"ResumeTokenClaims\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"expires_at_ms\"}],\"ResumeRequest\":[{\"op\":\"equal\",\"left\":\"original_operation_id\",\"right\":\"token.claims.operation_id\"},{\"op\":\"equal\",\"left\":\"original_request_digest\",\"right\":\"token.claims.request_digest\"},{\"op\":\"equal\",\"left\":\"generation\",\"right\":\"token.claims.generation\"},{\"op\":\"equal\",\"left\":\"expected_checkpoint\",\"right\":\"token.claims.checkpoint\"}],\"CohortPolicySegment\":[{\"op\":\"at_least_one\",\"fields\":[\"certificate_impact_ms\",\"connection_impact_ms\"]},{\"op\":\"less_or_equal\",\"left\":\"first_cohort\",\"right\":\"last_cohort\"}],\"RevocationState\":[{\"op\":\"increasing_tuple\",\"field\":\"revoked_issuers\",\"item_fields\":[\"issuer_key_id\"]},{\"op\":\"increasing_tuple\",\"field\":\"revoked_certificates\",\"item_fields\":[\"certificate_digest\"]},{\"op\":\"increasing_tuple\",\"field\":\"revoked_leases\",\"item_fields\":[\"issuer_key_id\",\"lease_id\"]},{\"op\":\"increasing_cbor\",\"field\":\"cohort_policy_segments\"}],\"RevokedIssuerEntry\":[{\"op\":\"increasing_tuple\",\"field\":\"authorizations\",\"item_fields\":[\"authorization_digest\"]}],\"IssuerAuthorizationImpact\":[{\"op\":\"less_than\",\"left\":\"signing_not_before_ms\",\"right\":\"signing_not_after_ms\"}],\"HeadSignerDelegation\":[{\"op\":\"less_or_equal\",\"left\":\"not_before_ms\",\"right\":\"issued_at_ms\"},{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"not_after_ms\"}],\"FreshnessHead\":[{\"op\":\"less_than\",\"left\":\"this_update_ms\",\"right\":\"next_update_ms\"}],\"ContractTarget\":[{\"op\":\"equal_if_present\",\"left\":\"wanted_contract_digest\",\"right\":\"known_contract_digest\"}],\"ContractTargets\":[{\"op\":\"unique_by\",\"field\":\"targets\",\"item_fields\":[\"service_namespace\",\"method_type_id\"]}],\"ContractSnapshots\":[{\"op\":\"ordinal_indices\",\"field\":\"items\",\"item_field_id\":0}],\"ServiceContract\":[{\"op\":\"less_or_equal\",\"left\":\"min_response_limit_bytes\",\"right\":\"max_response_bytes\"},{\"op\":\"increasing\",\"field\":\"application_error_catalog\",\"item_field_id\":0}],\"AdmissionOffer\":[{\"op\":\"less_than\",\"left\":\"not_before_ms\",\"right\":\"not_after_ms\"}],\"PoolSelectionSet\":[{\"op\":\"increasing_tuple\",\"field\":\"entries\",\"item_fields\":[\"candidate_index\"]},{\"op\":\"unique_by\",\"field\":\"entries\",\"item_fields\":[\"candidate_id\"]}],\"Artifact\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"initiation_not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"initiation_not_after_ms\",\"right\":\"session_not_after_ms\"},{\"op\":\"unique_by\",\"field\":\"candidates\",\"item_fields\":[\"candidate_id\"]},{\"op\":\"increasing_tuple\",\"field\":\"candidates\",\"item_fields\":[\"priority\",\"candidate_id\"]},{\"op\":\"exclusive_item\",\"field\":\"candidates\",\"item_field\":\"direct_leg.access_class\",\"value\":1},{\"op\":\"bit_subset\",\"left\":\"required_features\",\"right\":\"allowed_features\"},{\"op\":\"feature_bit\",\"when\":{\"field\":\"resume_policy.enabled\",\"value\":true},\"field\":\"allowed_features\",\"feature\":\"application_progress_resume\",\"present\":true},{\"op\":\"feature_bit\",\"when\":{\"field\":\"resume_policy.enabled\",\"value\":false},\"field\":\"required_features\",\"feature\":\"application_progress_resume\",\"present\":false}],\"Grant\":[{\"op\":\"equal\",\"left\":\"tenant_id\",\"right\":\"parent_ref.tenant_id\"},{\"op\":\"equal\",\"left\":\"tenant_id\",\"right\":\"namespace.tenant_id\"},{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"not_after_ms\",\"right\":\"parent_ref.session_not_after_ms\"},{\"op\":\"not_equal\",\"left\":\"legs.0.leg_id\",\"right\":\"legs.1.leg_id\"},{\"op\":\"equal\",\"left\":\"legs.0.leg_id\",\"right\":\"route_descriptor.client_leg.leg_id\"},{\"op\":\"equal\",\"left\":\"legs.1.leg_id\",\"right\":\"route_descriptor.server_leg.leg_id\"},{\"op\":\"not_equal\",\"left\":\"identity_digests.0\",\"right\":\"identity_digests.1\"},{\"op\":\"map_digest\",\"field\":\"route_digest\",\"source\":\"route_descriptor\",\"domain\":\"route_digest\"}],\"Leg\":[{\"op\":\"allowed_tuples\",\"fields\":[\"endpoint_role\",\"dialer_role\",\"listener_role\"],\"rows\":[[0,0,2],[0,2,0],[1,1,2],[1,2,1]],\"when\":{\"context\":\"path_kind\",\"value\":\"tunnel\"}},{\"op\":\"registry_tuple\",\"registry\":\"carrier_tuples\",\"selectors\":[{\"field\":\"carrier\"},{\"context\":\"path_kind\"}],\"fields\":[\"path\",\"alpn\",\"subprotocol\"],\"when\":{\"field\":\"access_class\",\"value\":0}},{\"op\":\"registry_tuple\",\"registry\":\"local_loopback_tuple\",\"selectors\":[],\"fields\":[\"path\",\"subprotocol\"],\"when\":{\"field\":\"access_class\",\"value\":1}}],\"Route\":[{\"op\":\"not_equal\",\"left\":\"client_leg.leg_id\",\"right\":\"server_leg.leg_id\",\"when\":{\"field\":\"path_kind\",\"value\":1}}],\"Candidate\":[{\"op\":\"not_equal\",\"left\":\"client_leg.leg_id\",\"right\":\"server_leg.leg_id\",\"when\":{\"field\":\"path_kind\",\"value\":1}},{\"op\":\"increasing_cbor\",\"field\":\"revocation_namespace_refs\"},{\"op\":\"unique_by\",\"field\":\"revocation_namespace_refs\",\"item_fields\":[\"tenant_id\",\"revocation_authority_id\"]}],\"OriginPolicy\":[{\"op\":\"increasing_cbor\",\"field\":\"origins\"}],\"OwnerFenceProof\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"expires_at_ms\"}],\"TLSPin\":[{\"op\":\"less_than\",\"left\":\"not_before_ms\",\"right\":\"not_after_ms\"},{\"op\":\"max_difference\",\"left\":\"not_before_ms\",\"right\":\"not_after_ms\",\"max\":1209600000}],\"TLSPolicy\":[{\"op\":\"increasing_bytes\",\"field\":\"pins\",\"item_field_id\":0}],\"GrantParentRef\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"initiation_not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"initiation_not_after_ms\",\"right\":\"session_not_after_ms\"}],\"FSB4\":[{\"op\":\"equal\",\"left\":\"tenant_id\",\"right\":\"client_certificate.tenant_id\"},{\"op\":\"equal\",\"left\":\"tenant_id\",\"right\":\"activation_authorization.tenant_id\"},{\"op\":\"equal\",\"left\":\"issuer_key_id\",\"right\":\"activation_authorization.artifact_issuer_key_id\"},{\"op\":\"equal\",\"left\":\"lease_id\",\"right\":\"activation_authorization.lease_id\"},{\"op\":\"equal\",\"left\":\"artifact_digest\",\"right\":\"activation_authorization.artifact_digest\"},{\"op\":\"equal\",\"left\":\"attempt_id\",\"right\":\"activation_authorization.attempt_id\"},{\"op\":\"equal\",\"left\":\"client_certificate.audience\",\"right\":\"activation_authorization.audience\"}],\"REKEY_INIT\":[{\"op\":\"increasing\",\"field\":\"client_barrier\",\"item_field_id\":0}],\"REKEY_REPLY\":[{\"op\":\"increasing\",\"field\":\"server_barrier\",\"item_field_id\":0}],\"IdentityCertificate\":[{\"op\":\"profile_algorithm\",\"profile\":\"crypto_profile_id\",\"algorithm\":\"noise_static_public_key.algorithm\"},{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"expires_at_ms\"}],\"ActivationAuthorization\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"activation_not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"activation_not_after_ms\",\"right\":\"session_not_after_ms\"}],\"PoolSelectionRef\":[{\"op\":\"increasing\",\"field\":\"candidate_indices\"}],\"HopChallengeContext\":[{\"op\":\"allowed_pairs\",\"left\":\"dialer_role\",\"right\":\"listener_role\",\"pairs\":[[0,2],[1,2],[2,0],[2,1]]}],\"HOP_AUTH_HELLO\":[{\"op\":\"equal\",\"left\":\"grant.tenant_id\",\"right\":\"identity_certificate.tenant_id\",\"when\":{\"context\":\"hop_sender_role\",\"value\":\"endpoint\"}},{\"op\":\"allowed_pairs\",\"left\":\"identity_certificate.role\",\"right\":\"grant.namespace.role_mask\",\"pairs\":[[0,5],[1,6]],\"when\":{\"context\":\"hop_sender_role\",\"value\":\"endpoint\"}},{\"op\":\"map_digest\",\"field\":\"grant.identity_digests.0\",\"source\":\"identity_certificate\",\"domain\":\"certificate_digest\",\"when\":{\"field\":\"identity_certificate.role\",\"value\":0}},{\"op\":\"map_digest\",\"field\":\"grant.identity_digests.1\",\"source\":\"identity_certificate\",\"domain\":\"certificate_digest\",\"when\":{\"field\":\"identity_certificate.role\",\"value\":1}}],\"STREAM_ACK_CREDIT\":[{\"op\":\"less_or_equal\",\"left\":\"ack_offset\",\"right\":\"receive_limit\"}],\"OPEN_STREAM\":[{\"op\":\"equal\",\"left\":\"stream_id\",\"right\":\"scope\"}],\"ERROR\":[{\"op\":\"error_scope\",\"code_field\":\"code\",\"target_scope_field\":\"target_scope\",\"stream_id_field\":\"stream_id\",\"retry_after_field\":\"retry_after_ms\"}],\"STREAM_ACK_RETIRE_BATCH\":[{\"op\":\"increasing_scopes\",\"field\":\"scope_ids\"}],\"CredentialIssuerAuthorization\":[{\"op\":\"less_than\",\"left\":\"signing_not_before_ms\",\"right\":\"signing_not_after_ms\"},{\"op\":\"less_or_equal\",\"left\":\"first_cohort\",\"right\":\"last_cohort\"},{\"op\":\"less_than\",\"left\":\"signing_not_before_ms\",\"right\":\"max_credential_not_after_ms\"},{\"op\":\"is_null\",\"field\":\"max_affected_cohorts.1\",\"when\":{\"field\":\"credential_kind\",\"value\":0}},{\"op\":\"equal\",\"left\":\"max_affected_cohorts.0\",\"right\":\"last_cohort\",\"when\":{\"field\":\"credential_kind\",\"value\":0}},{\"op\":\"is_null\",\"field\":\"max_affected_cohorts.0\",\"when\":{\"field\":\"credential_kind\",\"value\":1}},{\"op\":\"equal\",\"left\":\"max_affected_cohorts.1\",\"right\":\"last_cohort\",\"when\":{\"field\":\"credential_kind\",\"value\":1}},{\"op\":\"is_null\",\"field\":\"max_affected_cohorts.0\",\"when\":{\"field\":\"credential_kind\",\"value\":2}},{\"op\":\"equal\",\"left\":\"max_affected_cohorts.1\",\"right\":\"last_cohort\",\"when\":{\"field\":\"credential_kind\",\"value\":2}},{\"op\":\"less_or_equal\",\"left\":\"first_parent_cohort\",\"right\":\"last_parent_cohort\",\"when\":{\"field\":\"credential_kind\",\"value\":2}}],\"TrustConfig\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"not_after_ms\"},{\"op\":\"equal\",\"left\":\"tenant_id\",\"right\":\"capacity.tenant_id\"},{\"op\":\"equal\",\"left\":\"revocation_authority_id\",\"right\":\"capacity.revocation_authority_id\"},{\"op\":\"unique_by\",\"field\":\"credential_policies\",\"item_fields\":[\"revocation_policy_id\",\"revocation_policy_revision\"]},{\"op\":\"unique_by\",\"field\":\"issuer_authorizations\",\"item_fields\":[\"authorization_id\"]},{\"op\":\"unique_by\",\"field\":\"head_delegations\",\"item_fields\":[\"signer_key_id\"]},{\"op\":\"unique_by\",\"field\":\"activation_delegations\",\"item_fields\":[\"signing_key_id\"]},{\"op\":\"unique_by\",\"field\":\"once_authorities\",\"item_fields\":[\"artifact_issuer_key_id\"]}],\"TrustBootstrapResponse\":[{\"op\":\"less_than\",\"left\":\"issued_at_ms\",\"right\":\"not_after_ms\"}]},\"text_rules\":{\"Leg\":[{\"op\":\"text_format\",\"field\":\"host\",\"format\":\"loopback_host\",\"when\":{\"field\":\"access_class\",\"value\":1}},{\"op\":\"origin_endpoint\",\"host\":\"host\",\"port\":\"port\",\"origin\":\"origin\",\"scheme\":\"http\",\"when\":{\"field\":\"access_class\",\"value\":1}}]}}";
12
+ export const transportV4StrictEd25519Policy = { "revision": 1, "source": "3.5.1", "algorithm": "PureEd25519", "public_key_bytes": 32, "signature_bytes": 64, "point_bytes": 32, "point_encoding": "rfc8032_canonical_roundtrip", "public_key_group": "nonidentity_prime_order", "commitment_group": "nonidentity_prime_order", "scalar_encoding": "little_endian_less_than_L", "equation": "uncofactored", "implicit_prehash": false, "signing_failure": "signature_generation_failed" };
13
+ export const transportV4RevocationRegistry = { "maps": { "NamespaceCapacity": { "fields": { "0": { "name": "tenant_id", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "revocation_authority_id", "type": "text", "pattern_ref": "security_id" }, "2": { "name": "capacity_schema_revision", "type": "text", "pattern_ref": "security_id" }, "3": { "name": "max_state_encoded_bytes", "type": "uint64", "min": 1 }, "4": { "name": "max_revoked_issuers", "type": "uint64", "min": 1 }, "5": { "name": "max_revoked_certificates", "type": "uint64", "min": 1 }, "6": { "name": "max_revoked_leases", "type": "uint64", "min": 1 }, "7": { "name": "max_cohort_policy_segments", "type": "uint64", "min": 1 }, "8": { "name": "max_head_encoded_bytes", "type": "uint64", "min": 1 }, "9": { "name": "max_trust_proof_bytes", "type": "uint64", "min": 1 }, "10": { "name": "max_trust_proof_entries", "type": "uint64", "min": 1 }, "11": { "name": "cohort_time_origin_ms", "type": "uint64" }, "12": { "name": "cohort_duration_ms", "type": "uint64", "min": 1 }, "13": { "name": "max_certificate_impact_ms", "type": "uint64", "min": 1 }, "14": { "name": "max_connection_impact_ms", "type": "uint64", "min": 1 } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "max_encoded_bytes": 514, "deferred_constraints": ["Independent TrustConfig must authenticate this immutable namespace mapping. Structural validation neither authorizes subscription nor proves full State/index/workspace/cleanup capacity or deployment workload qualification."] }, "HeadSignerDelegation": { "fields": { "0": { "name": "schema_revision", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "tenant_id", "type": "text", "pattern_ref": "security_id" }, "2": { "name": "revocation_authority_id", "type": "text", "pattern_ref": "security_id" }, "3": { "name": "namespace_capacity_digest", "type": "bytes", "length": 32 }, "4": { "name": "authority_generation", "type": "uint64" }, "5": { "name": "delegation_id", "type": "bytes", "length": 16 }, "6": { "name": "signer_key_id", "type": "bytes", "length": 16 }, "7": { "name": "signer_public_key", "type": "bytes", "length": 32 }, "8": { "name": "purpose", "type": "uint8", "const": 0 }, "9": { "name": "publication_policy_id", "type": "text", "pattern_ref": "security_id" }, "10": { "name": "publication_policy_revision", "type": "uint64" }, "11": { "name": "issued_at_ms", "type": "uint64" }, "12": { "name": "not_before_ms", "type": "uint64" }, "13": { "name": "not_after_ms", "type": "uint64" } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "deferred_constraints": ["This entry is authenticated by the independent TrustConfig; it is not self-signed. Registry purpose 0 means revocation_head. Original independent authorization, fixed publication policy, capacity and trusted time remain mandatory."], "max_encoded_bytes": 683 }, "FreshnessHead": { "fields": { "0": { "name": "schema_revision", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "tenant_id", "type": "text", "pattern_ref": "security_id" }, "2": { "name": "revocation_authority_id", "type": "text", "pattern_ref": "security_id" }, "3": { "name": "namespace_capacity_digest", "type": "bytes", "length": 32 }, "4": { "name": "authority_generation", "type": "uint64" }, "5": { "name": "credential_revocation_floors", "type": "array<uint64>", "min_items": 2, "max_items": 2 }, "6": { "name": "publication_policy_id", "type": "text", "pattern_ref": "security_id" }, "7": { "name": "publication_policy_revision", "type": "uint64" }, "8": { "name": "head_sequence", "type": "uint64", "min": 1 }, "9": { "name": "this_update_ms", "type": "uint64" }, "10": { "name": "next_update_ms", "type": "uint64" }, "11": { "name": "state_digest", "type": "bytes", "length": 32 }, "12": { "name": "state_encoded_bytes", "type": "uint64", "min": 1 }, "13": { "name": "signing_key_id", "type": "bytes", "length": 16 }, "14": { "name": "signer_delegation_digest", "type": "bytes", "length": 32 }, "15": { "name": "signature", "type": "bytes", "length": 64 } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "signature_field": 15, "max_encoded_bytes": 795, "deferred_constraints": ["Verify independent root/delegation/signature, exact immutable capacity/publication/generation binding and trusted interval before accepting Head facts. Complete State matching, publication snapshot/time provenance and atomic observed/pinned/active continuity remain separate gates."] }, "PublicationPolicy": { "fields": { "0": { "name": "publication_policy_id", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "publication_policy_revision", "type": "uint64" }, "2": { "name": "max_head_validity_ms", "type": "uint64", "min": 1 }, "3": { "name": "max_signer_lifetime_ms", "type": "uint64", "min": 1 } }, "required": [0, 1, 2, 3], "max_encoded_bytes": 162, "deferred_constraints": ["Independent TrustConfig must authenticate the exact immutable namespace mapping. Structural validation and numeric compatibility do not prove publication provenance, real service capacity or original authorization."] }, "CredentialRevocationPolicy": { "fields": { "0": { "name": "revocation_policy_id", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "revocation_policy_revision", "type": "uint64" }, "2": { "name": "max_staleness_ms", "type": "uint64", "min": 1 }, "3": { "name": "max_head_signer_lifetime_ms", "type": "uint64", "min": 1 } }, "required": [0, 1, 2, 3], "max_encoded_bytes": 162, "deferred_constraints": ["Independent TrustConfig must authenticate this exact immutable reference. Its requirements apply through the complete original role-specific credential closure; policy names and revisions do not order security strength."] }, "RevokedCertificateEntry": { "fields": { "0": { "name": "certificate_digest", "type": "bytes", "length": 32 }, "1": { "name": "cohort", "type": "uint64" }, "2": { "name": "expires_at_ms", "type": "uint64" } }, "required": [0, 1, 2], "max_encoded_bytes": 56, "deferred_constraints": ["Complete original certificate digest/cohort/expiry evidence only. Namespace/generation, authenticated State membership, original certificate identity and safe retirement remain external."] }, "RevokedLeaseEntry": { "fields": { "0": { "name": "issuer_key_id", "type": "bytes", "length": 16 }, "1": { "name": "lease_id", "type": "bytes", "length": 16 }, "2": { "name": "artifact_digest", "type": "bytes", "length": 32 }, "3": { "name": "cohort", "type": "uint64" }, "4": { "name": "latest_impact_not_after_ms", "type": "uint64" } }, "required": [0, 1, 2, 3, 4], "max_encoded_bytes": 92, "deferred_constraints": ["Original parent Artifact evidence only. The containing authenticated State supplies namespace/generation. Full Session/activation/grant impact, permanent frontier installation, once retention and real reference exit remain external."] }, "IssuerAuthorizationImpact": { "fields": { "0": { "name": "authorization_digest", "type": "bytes", "length": 32 }, "1": { "name": "max_affected_cohorts", "type": "array", "min_items": 2, "max_items": 2, "items": { "type": "uint64", "nullable": true } }, "2": { "name": "signing_not_before_ms", "type": "uint64" }, "3": { "name": "signing_not_after_ms", "type": "uint64" } }, "required": [0, 1, 2, 3], "max_encoded_bytes": 76, "deferred_constraints": ["One immutable original credential issuance authorization. Positions are certificate then connection; null is valid only when independently authenticated purposes grant no authority for that class. Complete original permission history, same issuer/namespace attribution and permanent trust retirement are not established by this map."] }, "RevokedIssuerEntry": { "fields": { "0": { "name": "issuer_key_id", "type": "bytes", "length": 16 }, "1": { "name": "authorizations", "type": "array", "min_items": 1, "max_items_ref": "max_revoked_issuer_authorizations", "items": { "type": "map", "schema_ref": "IssuerAuthorizationImpact" } } }, "required": [0, 1], "max_encoded_bytes_ref": "max_state_encoded_bytes", "deferred_constraints": ["All original issuer/delegation authorization evidence for this revoked key, sorted by unique authorization_digest. Bounds derive only from independently authenticated NamespaceCapacity; completeness, original purpose and issuer/namespace/generation attribution require independent authenticated history. This entry does not authenticate membership, permit trust retirement or install GC authority."] }, "CohortPolicySegment": { "fields": { "0": { "name": "first_cohort", "type": "uint64" }, "1": { "name": "last_cohort", "type": "uint64" }, "2": { "name": "certificate_impact_ms", "type": "uint64", "min": 1, "optional": true }, "3": { "name": "connection_impact_ms", "type": "uint64", "min": 1, "optional": true } }, "required": [0, 1], "max_encoded_bytes": 41, "deferred_constraints": ["Immutable original segment; absent class is not governed. Capacity, checked grid/deadline arithmetic, per-class disjointness, authenticated credential selection and retirement require complete State context."] }, "RevocationState": { "fields": { "0": { "name": "schema_revision", "type": "text", "pattern_ref": "security_id" }, "1": { "name": "tenant_id", "type": "text", "pattern_ref": "security_id" }, "2": { "name": "revocation_authority_id", "type": "text", "pattern_ref": "security_id" }, "3": { "name": "namespace_capacity_digest", "type": "bytes", "length": 32 }, "4": { "name": "authority_generation", "type": "uint64" }, "5": { "name": "credential_revocation_floors", "type": "array<uint64>", "min_items": 2, "max_items": 2 }, "6": { "name": "publication_policy_id", "type": "text", "pattern_ref": "security_id" }, "7": { "name": "publication_policy_revision", "type": "uint64" }, "8": { "name": "revoked_issuers", "type": "array", "min_items": 0, "max_items_ref": "max_revoked_issuers", "items": { "type": "map", "schema_ref": "RevokedIssuerEntry" } }, "9": { "name": "revoked_certificates", "type": "array", "min_items": 0, "max_items_ref": "max_revoked_certificates", "items": { "type": "map", "schema_ref": "RevokedCertificateEntry" } }, "10": { "name": "revoked_leases", "type": "array", "min_items": 0, "max_items_ref": "max_revoked_leases", "items": { "type": "map", "schema_ref": "RevokedLeaseEntry" } }, "11": { "name": "cohort_policy_segments", "type": "array", "min_items": 0, "max_items_ref": "max_cohort_policy_segments", "items": { "type": "map", "schema_ref": "CohortPolicySegment" } } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "max_encoded_bytes_ref": "max_state_encoded_bytes", "deferred_constraints": ["Complete original canonical bytes; Head authenticates the entire State digest. Per-class segment validation and exact Head/capacity bindings are contextual. Independently authenticated complete history, fixed trust/publication mappings, continuity, safe GC and physical subscription reservations remain mandatory."] } }, "rules": { "NamespaceCapacity": [], "HeadSignerDelegation": [{ "op": "less_or_equal", "left": "not_before_ms", "right": "issued_at_ms" }, { "op": "less_than", "left": "issued_at_ms", "right": "not_after_ms" }], "FreshnessHead": [{ "op": "less_than", "left": "this_update_ms", "right": "next_update_ms" }], "PublicationPolicy": [], "CredentialRevocationPolicy": [], "RevokedCertificateEntry": [], "RevokedLeaseEntry": [], "IssuerAuthorizationImpact": [{ "op": "less_than", "left": "signing_not_before_ms", "right": "signing_not_after_ms" }], "RevokedIssuerEntry": [{ "op": "increasing_tuple", "field": "authorizations", "item_fields": ["authorization_digest"] }], "CohortPolicySegment": [{ "op": "at_least_one", "fields": ["certificate_impact_ms", "connection_impact_ms"] }, { "op": "less_or_equal", "left": "first_cohort", "right": "last_cohort" }], "RevocationState": [{ "op": "increasing_tuple", "field": "revoked_issuers", "item_fields": ["issuer_key_id"] }, { "op": "increasing_tuple", "field": "revoked_certificates", "item_fields": ["certificate_digest"] }, { "op": "increasing_tuple", "field": "revoked_leases", "item_fields": ["issuer_key_id", "lease_id"] }, { "op": "increasing_cbor", "field": "cohort_policy_segments" }] }, "validation_parameters": { "max_state_encoded_bytes": { "type": "uint64", "source": "Independently authenticated immutable NamespaceCapacity; reference parser support is not a subscription resource reservation", "capacity_field": "max_state_encoded_bytes", "divisor": 1, "unit": "bytes" }, "max_revoked_issuer_authorizations": { "type": "uint64", "source": "NamespaceCapacity byte bound divided by the 44-byte minimum complete IssuerAuthorizationImpact; no separate wire capacity or per-key quota", "capacity_field": "max_state_encoded_bytes", "divisor": 44, "unit": "items" }, "max_revoked_issuers": { "type": "uint64", "source": "Count intersected with the same State byte envelope and minimum complete item size", "capacity_field": "max_revoked_issuers", "divisor": 1, "unit": "items", "byte_capacity_field": "max_state_encoded_bytes", "minimum_item_bytes": 65 }, "max_revoked_certificates": { "type": "uint64", "source": "Count intersected with the same State byte envelope and minimum complete item size", "capacity_field": "max_revoked_certificates", "divisor": 1, "unit": "items", "byte_capacity_field": "max_state_encoded_bytes", "minimum_item_bytes": 40 }, "max_revoked_leases": { "type": "uint64", "source": "Count intersected with the same State byte envelope and minimum complete item size", "capacity_field": "max_revoked_leases", "divisor": 1, "unit": "items", "byte_capacity_field": "max_state_encoded_bytes", "minimum_item_bytes": 76 }, "max_cohort_policy_segments": { "type": "uint64", "source": "Count intersected with the same State byte envelope and minimum complete item size", "capacity_field": "max_cohort_policy_segments", "divisor": 1, "unit": "items", "byte_capacity_field": "max_state_encoded_bytes", "minimum_item_bytes": 7 } } };
14
+ export const transportV4ApplicationHeaders = { "header": { "fields": { "0": { "name": "message_kind", "type": "uint8", "enum_ref": "application_message_kinds" }, "1": { "name": "operation_id", "type": "bytes", "length": 32, "optional": true }, "2": { "name": "type_id", "type": "uint32", "min": 1 }, "3": { "name": "payload_length", "type": "uint32", "max": 1048576 }, "4": { "name": "request_digest", "type": "bytes", "length": 32, "optional": true }, "5": { "name": "deadline_at_ms", "type": "uint64", "optional": true }, "6": { "name": "service_contract_digest", "type": "bytes", "length": 32 }, "7": { "name": "admission_mode", "type": "uint8", "enum": { "queued": 0, "try_now": 1 }, "optional": true }, "8": { "name": "response_limit_bytes", "type": "uint32", "max": 1048576, "optional": true }, "9": { "name": "control_serial", "type": "uint64", "min": 1, "optional": true }, "10": { "name": "application_error_code", "type": "uint32", "min": 1, "optional": true } }, "required": [0, 2, 3, 6], "max_encoded_bytes": 512, "deferred_constraints": ["This shared grammar requires exact application-header variant presence and constants. Business and SDK errors bind the original request. Dedicated stream errors terminate output; Resume has exact request/response variants. No current contract, authentication, ownership or dispatch authority is established."] }, "kinds": { "resume_request": { "code": 50, "fields": [0, 1, 2, 3, 4, 5, 6, 7, 8], "max_encoded_bytes": 139 }, "resume_response": { "code": 51, "fields": [0, 1, 2, 3, 4, 6], "request": "resume_request", "max_encoded_bytes": 121 }, "resume_application_error": { "code": 52, "fields": [0, 1, 2, 3, 4, 6, 10], "request": "resume_request", "application_error": true, "max_encoded_bytes": 127 }, "execution_unary_sdk_error": { "code": 46, "fields": [0, 1, 2, 3, 4, 6], "request": "execution_unary_request", "sdk_error": true, "max_encoded_bytes": 119 }, "transient_unary_sdk_error": { "code": 47, "fields": [0, 2, 3, 6], "request": "transient_unary_request", "sdk_error": true, "max_encoded_bytes": 49 }, "query_contracts_sdk_error": { "code": 48, "fields": [0, 2, 3, 6], "request": "query_contracts_request", "sdk_error": true, "max_encoded_bytes": 49 }, "read_result_sdk_error": { "code": 49, "fields": [0, 2, 3, 6], "request": "read_result_request", "sdk_error": true, "max_encoded_bytes": 49 }, "execution_unary_application_error": { "code": 42, "fields": [0, 1, 2, 3, 4, 6, 10], "request": "execution_unary_request", "application_error": true, "max_encoded_bytes": 127 }, "execution_stream_application_error": { "code": 43, "fields": [0, 1, 2, 3, 4, 6, 10], "request": "execution_stream_request", "application_error": true, "max_encoded_bytes": 127 }, "transient_unary_application_error": { "code": 44, "fields": [0, 2, 3, 6, 10], "request": "transient_unary_request", "application_error": true, "max_encoded_bytes": 57 }, "transient_stream_application_error": { "code": 45, "fields": [0, 2, 3, 6, 10], "request": "transient_stream_request", "application_error": true, "max_encoded_bytes": 57 }, "execution_unary_request": { "code": 24, "fields": [0, 1, 2, 3, 4, 5, 6, 7, 8], "max_encoded_bytes": 139 }, "execution_stream_request": { "code": 25, "fields": [0, 1, 2, 3, 4, 5, 6, 7, 8], "max_encoded_bytes": 139 }, "execution_notify": { "code": 26, "fields": [0, 1, 2, 3, 4, 5, 6, 7, 8], "constants": { "8": 0 }, "max_encoded_bytes": 135 }, "execution_unary_response": { "code": 27, "fields": [0, 1, 2, 3, 4, 6], "request": "execution_unary_request", "max_encoded_bytes": 121 }, "execution_stream_item": { "code": 28, "fields": [0, 1, 2, 3, 4, 6], "request": "execution_stream_request", "max_encoded_bytes": 121 }, "transient_unary_request": { "code": 29, "fields": [0, 2, 3, 5, 6, 7, 8], "max_encoded_bytes": 69 }, "transient_stream_request": { "code": 30, "fields": [0, 2, 3, 5, 6, 7, 8], "max_encoded_bytes": 69 }, "transient_unary_response": { "code": 31, "fields": [0, 2, 3, 6], "request": "transient_unary_request", "max_encoded_bytes": 51 }, "transient_stream_item": { "code": 32, "fields": [0, 2, 3, 6], "request": "transient_stream_request", "max_encoded_bytes": 51 }, "observation_notify": { "code": 33, "fields": [0, 2, 3, 5, 6], "max_encoded_bytes": 61 }, "query_contracts_request": { "code": 34, "fields": [0, 2, 3, 5, 6], "max_encoded_bytes": 61 }, "query_contracts_response": { "code": 35, "fields": [0, 2, 3, 6], "request": "query_contracts_request", "max_encoded_bytes": 51 }, "read_result_request": { "code": 36, "fields": [0, 2, 3, 5, 6], "max_encoded_bytes": 61 }, "read_result_response": { "code": 37, "fields": [0, 2, 3, 6], "request": "read_result_request", "max_encoded_bytes": 51 }, "query_operation_request": { "code": 38, "fields": [0, 2, 3, 5, 6, 9], "max_encoded_bytes": 71 }, "query_operation_response": { "code": 39, "fields": [0, 2, 3, 6, 9], "request": "query_operation_request", "max_encoded_bytes": 61 }, "request_cancel_request": { "code": 40, "fields": [0, 2, 3, 5, 6, 9], "max_encoded_bytes": 71 }, "request_cancel_response": { "code": 41, "fields": [0, 2, 3, 6, 9], "request": "request_cancel_request", "max_encoded_bytes": 61 }, "execution_stream_sdk_error": { "code": 53, "fields": [0, 1, 2, 3, 4, 6], "max_encoded_bytes": 119, "request": "execution_stream_request", "sdk_error": true }, "transient_stream_sdk_error": { "code": 54, "fields": [0, 2, 3, 6], "max_encoded_bytes": 49, "request": "transient_stream_request", "sdk_error": true } }, "policy": { "status": "draft_business_and_rpc_stop_error_variants", "execution_requests": ["execution_unary_request", "execution_stream_request", "execution_notify", "resume_request"], "contract_variants": { "execution_unary_request": { "2": 0, "3": 1 }, "execution_stream_request": { "2": 1, "4": 1 }, "execution_notify": { "2": 2, "5": 1 }, "transient_unary_request": { "2": 0, "3": 0 }, "transient_stream_request": { "2": 1, "4": 0 }, "observation_notify": { "2": 2, "5": 0 }, "resume_request": { "2": 0, "3": 1 } }, "maximum_values": { "1": { "$bytes": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" }, "2": 4294967295, "3": 1048576, "4": { "$bytes": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" }, "5": { "$uint": "18446744073709551615" }, "6": { "$bytes": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" }, "7": 1, "8": 1048576, "9": { "$uint": "18446744073709551615" }, "10": 4294967295 }, "vector_mutations": ["missing_field", "forbidden_field", "unknown_kind", "unknown_field", "duplicate_field", "noncanonical_key", "reversed_fields", "truncated", "trailing"], "boundary": "Exact request, success/item, fixed read/management, business-error and SDK-error headers. Business errors obey original payload limits; the registered SDK error variants use the fixed small-error reservation. Streaming errors terminate the original dedicated stream without a new transport frame. Authentication, current routing, actual owners/resources, application codecs and dispatch remain external gates. Resume uses its own bounded request/result payloads on an already accepted target Stream; token trust, ownership and transaction facts remain external." }, "management": { "kind": "flowersec.execution-management.v4", "application_profile": "execution", "opener": 0, "metadata_bytes": 0, "initial_receive_limit": 16384, "lifetime_channels": 16, "running": 2, "pending": 2, "max_payload_bytes": 16384, "max_message_lifetime_ms": 30000, "methods": { "query": { "type": 1, "request_kind": "query_operation_request", "response_kind": "query_operation_response", "contract_fixture": "service_management_query", "contract_hex": "ae0074666c6f7765727365632f6d616e6167656d656e7401010200030006781d657865637574696f6e2d6d616e6167656d656e742d7461726765742f31077171756572792d6f7065726174696f6e2f310800091902000a1902000b1975300c19753015f417190400181b80", "contract_digest_hex": "de6e8126c8de71d55b648ac29fbec50c592a9bd6724364d4b3131a995b8e689a" }, "cancel": { "type": 2, "request_kind": "request_cancel_request", "response_kind": "request_cancel_response", "contract_fixture": "service_management_cancel", "contract_hex": "ae0074666c6f7765727365632f6d616e6167656d656e7401020200030006781d657865637574696f6e2d6d616e6167656d656e742d7461726765742f310770726571756573742d63616e63656c2f310800091902000a1902000b1975300c19753015f417190400181b80", "contract_digest_hex": "2c3d2c02ba817938e1e7c605c63730e64570617be4747ebf9b08790d26e19655" } } }, "notify": { "kind": "flowersec.notify.v4", "transport": "notify_reliable_ordered", "header_length_prefix_bytes": 2, "byte_order": "big_endian", "length_counts": "canonical_header_only", "min_header_bytes": 1, "max_header_bytes": 512, "max_payload_bytes": 1048576, "message_kinds": ["execution_notify", "observation_notify"], "metadata_bytes": 0, "channels_per_opener": 1, "subscribers_per_type": 32, "subscribers_per_session": 128, "pending_per_subscriber": 16, "running_per_subscriber": 1 }, "sdk_errors": { "status": "draft_rpc_and_stream_errors", "payload_schema": "ApplicationSDKError", "requests": ["execution_unary_request", "transient_unary_request", "query_contracts_request", "read_result_request", "execution_stream_request", "transient_stream_request"], "boundary": "Ordinary RPC stops and bounded service errors use the original ReplySlot and response association. Dedicated streaming SDK errors use the original single-item/error reservation, terminate output and are followed by CloseWrite; RPC ABORT/STOP codes are forbidden on streams. Complete-input, current authorization, exact service admission and publication gates remain mandatory. No code asserts global nonexecution, retry permission or delivery. Management and Resume errors remain separate. source_overflow is exclusive to dedicated streaming; it seals the original SDK event source without asserting nonexecution.", "refusal_codes": ["service_contract_mismatch", "response_limit_unsupported", "resource_exhausted", "method_unavailable", "permission_denied", "deadline_exceeded", "service_failed", "service_unavailable", "operation_conflict", "result_expired"], "stream_only_codes": ["source_overflow"] }, "sdk_error_codes": { "request_message_aborted": 1, "response_output_stopped": 2, "service_contract_mismatch": 3, "response_limit_unsupported": 4, "resource_exhausted": 5, "method_unavailable": 6, "permission_denied": 7, "deadline_exceeded": 8, "service_failed": 9, "service_unavailable": 10, "operation_conflict": 11, "result_expired": 12, "source_overflow": 13 }, "sdk_error_payload": { "fields": { "0": { "name": "code", "type": "uint16", "min": 1, "enum_ref": "application_sdk_error_codes" } }, "required": [0], "max_encoded_bytes": 256, "deferred_constraints": ["These codes describe ordinary RPC message stopping and bounded service refusals/errors; service errors require the original complete-input gate. Original channel/direction/reply serial and response-owner gates remain required. request_message_aborted confirms only incomplete input for this serial, without validating its declared execution digest or asserting global nonexecution. response_output_stopped ends output only. No raw cause, execution assertion, retry or dispatch authority is carried."] } };
15
+ export const transportV4Domains = [{ "name": "connection_activation_delegation_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f636f6e6e656374696f6e2d61637469766174696f6e2d64656c65676174696f6e00", "input_schema": { "parts": [{ "name": "delegation", "encoding": "lp-map", "schema_ref": "ConnectionActivationDelegation", "projection": "full" }] }, "output_length": 32, "source": "3.9.1,4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "resume_token_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f726573756d652d746f6b656e2f7369676e617475726500", "input_schema": { "parts": [{ "name": "token", "encoding": "lp-map", "schema_ref": "ResumeSignedToken", "projection": "without_signature" }] }, "output_length": 64, "source": "3.7.3,6.2", "allocation": "registry_allocation" }, { "name": "resume_token_mac", "operation": "hmac-sha256", "label_bytes": "666c6f7765727365632f76342f726573756d652d746f6b656e2f6d616300", "input_schema": { "parts": [{ "name": "token", "encoding": "lp-map", "schema_ref": "ResumeMACToken", "projection": "without_mac" }], "key": { "name": "recovery_key", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.7.3,6.2", "allocation": "registry_allocation" }, { "name": "revocation_state_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f7265766f636174696f6e2d737461746500", "input_schema": { "parts": [{ "name": "state", "encoding": "lp-map", "schema_ref": "RevocationState", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "business_error_schema_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f6170706c69636174696f6e2d6572726f722d736368656d6100", "input_schema": { "parts": [{ "name": "error_schema", "encoding": "lp-bytes", "max_length": 8192 }] }, "output_length": 32, "source": "3.7.3,6.2", "allocation": "design_fixed" }, { "name": "namespace_capacity_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f6e616d6573706163652d636170616369747900", "input_schema": { "parts": [{ "name": "capacity", "encoding": "lp-map", "schema_ref": "NamespaceCapacity", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "head_signer_delegation_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f686561642d7369676e65722d64656c65676174696f6e00", "input_schema": { "parts": [{ "name": "delegation", "encoding": "lp-map", "schema_ref": "HeadSignerDelegation", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "freshness_head_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f66726573686e6573732d686561642d7369676e617475726500", "input_schema": { "parts": [{ "name": "head", "encoding": "lp-map", "schema_ref": "FreshnessHead", "projection": "without_signature" }] }, "output_length": 64, "source": "4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "freshness_head_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f66726573686e6573732d686561642d64696765737400", "input_schema": { "parts": [{ "name": "head", "encoding": "lp-map", "schema_ref": "FreshnessHead", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,6.2", "allocation": "registry_allocation" }, { "name": "execution_request_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f657865637574696f6e2d7265717565737400", "input_schema": { "parts": [{ "name": "contract", "encoding": "lp-map", "schema_ref": "ServiceContract", "projection": "full" }, { "name": "message_kind", "encoding": "u8", "enum": [24, 25, 26, 50] }, { "name": "operation_id", "encoding": "lp-bytes", "length": 32 }, { "name": "type_id", "encoding": "u32", "min": 1 }, { "name": "deadline_at_ms", "encoding": "u64" }, { "name": "admission_mode", "encoding": "u8", "enum": [0, 1] }, { "name": "response_limit_bytes", "encoding": "u32", "max": 1048576 }, { "name": "payload", "encoding": "lp-bytes", "max_length": 1048576 }] }, "output_length": 32, "source": "3.7.3,6.2", "allocation": "registry_allocation" }, { "name": "service_contract_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f736572766963652d636f6e747261637400", "input_schema": { "parts": [{ "name": "contract", "encoding": "lp-map", "schema_ref": "ServiceContract", "projection": "full" }] }, "output_length": 32, "source": "3.7.3,6.2", "allocation": "design_fixed" }, { "name": "typed_message_definition_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f74797065642d6d6573736167652d646566696e6974696f6e00", "input_schema": { "parts": [{ "name": "definition", "encoding": "lp-map", "schema_ref": "MessageStreamDefinition", "projection": "full" }] }, "output_length": 32, "source": "5.2.2,6.2", "allocation": "design_fixed" }, { "name": "retirement_batch_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f7265746972652d626174636800", "input_schema": { "parts": [{ "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "proposer_role", "encoding": "u8", "enum": [0, 1] }, { "name": "batch", "encoding": "lp-map", "schema_ref": "STREAM_ACK_RETIRE_BATCH", "projection": "full" }] }, "output_length": 32, "source": "3.7.5,6.2", "allocation": "design_fixed" }, { "name": "topup_request_digest", "operation": "sha256-raw", "label_bytes": "", "input_schema": { "parts": [{ "name": "request", "encoding": "lp-map", "schema_ref": "TopUpRequest", "projection": "without_fields_raw", "fields": ["binding_generation", "owner_fence_proof"] }] }, "output_length": 32, "source": "5.1,6.2", "allocation": "design_fixed" }, { "name": "topup_response_digest", "operation": "sha256-raw", "label_bytes": "", "input_schema": { "parts": [{ "name": "response", "encoding": "lp-map", "schema_ref": "TopUpResponse", "projection": "without_fields_raw", "fields": ["response_digest"] }] }, "output_length": 32, "source": "5.1,6.2", "allocation": "design_fixed" }, { "name": "topup_material_digest", "operation": "sha256-raw", "label_bytes": "", "input_schema": { "parts": [{ "name": "material", "encoding": "raw", "max_length": 65536 }] }, "output_length": 32, "source": "5.1,6.2", "allocation": "design_fixed" }, { "name": "topup_owner_fence_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76362f746f7075702d6f776e65722d66656e636500", "input_schema": { "parts": [{ "name": "proof", "encoding": "lp-map", "schema_ref": "OwnerFenceProof", "projection": "without_signature" }] }, "output_length": 64, "source": "5.1", "allocation": "design_fixed" }, { "name": "candidate_set_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f63616e6469646174652d73657400", "input_schema": { "parts": [{ "name": "selection", "encoding": "lp-map", "schema_ref": "PoolSelectionSet", "projection": "full" }] }, "output_length": 32, "source": "3.9.1,6.2", "allocation": "design_fixed" }, { "name": "route_set_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f726f7574652d73657400", "input_schema": { "parts": [{ "name": "selection", "encoding": "lp-map", "schema_ref": "PoolSelectionSet", "projection": "full" }] }, "output_length": 32, "source": "3.9.1,6.2", "allocation": "design_fixed" }, { "name": "artifact_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f61727469666163742f7369676e617475726500", "input_schema": { "parts": [{ "name": "artifact", "encoding": "lp-map", "schema_ref": "Artifact", "projection": "without_signature" }] }, "output_length": 64, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "artifact_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f61727469666163742d64696765737400", "input_schema": { "parts": [{ "name": "artifact", "encoding": "lp-map", "schema_ref": "Artifact", "projection": "full" }] }, "output_length": 32, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "session_contract_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f73657373696f6e2d636f6e747261637400", "input_schema": { "parts": [{ "name": "session_contract", "encoding": "lp-map", "schema_ref": "SessionContract", "projection": "full" }] }, "output_length": 32, "source": "3.3,3.6,6.2", "allocation": "registry_allocation" }, { "name": "grant_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f6772616e7400", "input_schema": { "parts": [{ "name": "grant", "encoding": "lp-map", "schema_ref": "Grant", "projection": "without_signature" }] }, "output_length": 32, "source": "3.6,6.2", "allocation": "design_fixed" }, { "name": "grant_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f6772616e742f7369676e617475726500", "input_schema": { "parts": [{ "name": "grant", "encoding": "lp-map", "schema_ref": "Grant", "projection": "without_signature" }] }, "output_length": 64, "source": "3.6,6.2", "allocation": "registry_allocation" }, { "name": "route_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f726f75746500", "input_schema": { "parts": [{ "name": "route", "encoding": "lp-map", "schema_ref": "Route", "projection": "full" }] }, "output_length": 32, "source": "3.3,6.2", "allocation": "design_fixed" }, { "name": "certificate_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f63657274696669636174652f7369676e617475726500", "input_schema": { "parts": [{ "name": "certificate", "encoding": "lp-map", "schema_ref": "IdentityCertificate", "projection": "without_signature" }] }, "output_length": 64, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "certificate_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f63657274696669636174652d64696765737400", "input_schema": { "parts": [{ "name": "certificate", "encoding": "lp-map", "schema_ref": "IdentityCertificate", "projection": "full" }] }, "output_length": 32, "source": "3.3", "allocation": "design_fixed" }, { "name": "activation_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f61637469766174696f6e5f617574686f72697a6174696f6e2f7369676e617475726500", "input_schema": { "parts": [{ "name": "authorization", "encoding": "lp-map", "schema_ref": "ActivationAuthorization", "projection": "without_signature" }] }, "output_length": 64, "source": "3.9.1", "allocation": "design_fixed" }, { "name": "activation_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f61637469766174696f6e5f617574686f72697a6174696f6e2f64696765737400", "input_schema": { "parts": [{ "name": "authorization", "encoding": "lp-map", "schema_ref": "ActivationAuthorization", "projection": "full" }] }, "output_length": 32, "source": "3.9.1", "allocation": "design_fixed" }, { "name": "fsb_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f667362342f7369676e617475726500", "input_schema": { "parts": [{ "name": "fsb", "encoding": "lp-map", "schema_ref": "FSB4", "projection": "without_signature" }] }, "output_length": 64, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "fsb_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f667362342f64696765737400", "input_schema": { "parts": [{ "name": "fsb", "encoding": "lp-map", "schema_ref": "FSB4", "projection": "full" }] }, "output_length": 32, "source": "3.3,3.5.2,6.2", "allocation": "registry_allocation" }, { "name": "fsa_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f667361342f7369676e617475726500", "input_schema": { "parts": [{ "name": "fsa", "encoding": "lp-map", "schema_ref": "FSA4", "projection": "without_signature" }] }, "output_length": 64, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "fsa_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f667361342f64696765737400", "input_schema": { "parts": [{ "name": "fsa", "encoding": "lp-map", "schema_ref": "FSA4", "projection": "full" }] }, "output_length": 32, "source": "3.3,3.5.2,6.2", "allocation": "registry_allocation" }, { "name": "admission_binding", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f61646d697373696f6e2d62696e64696e6700", "input_schema": { "parts": [{ "name": "fsb", "encoding": "lp-map", "schema_ref": "FSB4", "projection": "full" }] }, "output_length": 32, "source": "3.3", "allocation": "design_fixed" }, { "name": "transport_context_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f7472616e73706f72742d636f6e7465787400", "input_schema": { "parts": [{ "name": "context", "encoding": "lp-map", "schema_ref": "TransportContext", "projection": "full" }] }, "output_length": 32, "source": "3.4", "allocation": "design_fixed" }, { "name": "open_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f6f70656e00", "input_schema": { "parts": [{ "name": "open", "encoding": "lp-map", "schema_ref": "OPEN_STREAM", "projection": "without_open_digest" }] }, "output_length": 32, "source": "6.2", "allocation": "design_fixed" }, { "name": "ready_identity", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f72656164792d6964656e7469747900", "input_schema": { "parts": [{ "name": "proof", "encoding": "lp-map", "schema_ref": "ReadyProofInput", "projection": "full" }] }, "output_length": 64, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "hello_transcript_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f68656c6c6f2d7472616e73637269707400", "input_schema": { "parts": [{ "name": "client_hello", "encoding": "lp-map", "schema_ref": "ClientHello", "projection": "full" }, { "name": "server_hello", "encoding": "lp-map", "schema_ref": "ServerHello", "projection": "full" }] }, "output_length": 32, "source": "3.3,6.2", "allocation": "registry_allocation" }, { "name": "noise_prologue", "operation": "noise-prologue", "label_bytes": "666c6f7765727365632f76342f6e6f6973652d70726f6c6f67756500", "input_schema": { "parts": [{ "encoding": "lp-ascii", "const_ref": "profile_revision" }, { "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "encoding": "u8", "const": 0 }, { "encoding": "u8", "const": 1 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "fsb", "encoding": "lp-map", "schema_ref": "FSB4", "projection": "full" }, { "name": "fsa", "encoding": "lp-map", "schema_ref": "FSA4", "projection": "full" }] }, "output_length": null, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "initial_root", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f696e697469616c2d726f6f7400", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }], "key": { "name": "split_i2r", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "ready_key", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f72656164792d6b657900", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "role", "encoding": "u8", "enum": [0, 1] }], "key": { "name": "epoch_root", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "ready_mac", "operation": "hmac-sha256", "label_bytes": "666c6f7765727365632f76342f72656164792d6d616300", "input_schema": { "parts": [{ "name": "mac_input", "encoding": "lp-map", "schema_ref": "ReadyMACInput", "projection": "full" }], "key": { "name": "ready_key", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "record_key", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f7265636f72642d6b657900", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "epoch", "encoding": "u32" }, { "name": "direction", "encoding": "u8", "enum": [0, 1] }, { "name": "sequence_scope", "encoding": "u64" }], "key": { "name": "epoch_root", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "record_aad", "operation": "aead-aad", "label_bytes": "666c6f7765727365632f76342f7265636f72642d61616400", "input_schema": { "parts": [{ "name": "envelope_header", "encoding": "raw", "length": 8 }, { "name": "record_header", "encoding": "raw", "length": 20 }, { "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "direction", "encoding": "u8", "enum": [0, 1] }] }, "output_length": null, "source": "3.5.2", "allocation": "design_fixed" }, { "name": "rekey_secret", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f72656b65792d73656372657400", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "epoch", "encoding": "u32" }], "key": { "name": "epoch_root", "encoding": "raw", "length": 32 } }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_confirm_key", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f72656b65792d636f6e6669726d2d6b657900", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "epoch", "encoding": "u32" }, { "name": "next_epoch", "encoding": "u32" }, { "name": "rekey_id", "encoding": "lp-bytes", "length": 16 }, { "name": "phase", "encoding": "u8", "enum": [1, 2, 3, 4] }, { "name": "role", "encoding": "u8", "enum": [0, 1] }], "key": { "name": "phase_base_key", "encoding": "raw", "length": 32 }, "relations": [{ "op": "successor", "left": "epoch", "right": "next_epoch" }, { "op": "allowed_pairs", "left": "phase", "right": "role", "pairs": [[1, 0], [2, 1], [3, 0], [4, 1]] }] }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_confirm_mac", "operation": "hmac-sha256", "label_bytes": "666c6f7765727365632f76342f72656b65792d636f6e6669726d2d6d616300", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "epoch", "encoding": "u32" }, { "name": "next_epoch", "encoding": "u32" }, { "name": "phase", "encoding": "u8", "enum": [1, 2, 3, 4] }, { "name": "role", "encoding": "u8", "enum": [0, 1] }, { "name": "message", "encoding": "lp-map", "selector": "phase", "schema_cases": { "1": "REKEY_INIT", "2": "REKEY_REPLY", "3": "REKEY_COMMIT", "4": "REKEY_ACK" }, "projection": "without_mac", "bindings": { "phase": "phase", "next_epoch": "next_epoch" } }], "key": { "name": "phase_key", "encoding": "raw", "length": 32 }, "relations": [{ "op": "successor", "left": "epoch", "right": "next_epoch" }, { "op": "allowed_pairs", "left": "phase", "right": "role", "pairs": [[1, 0], [2, 1], [3, 0], [4, 1]] }] }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_init_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f72656b65792d696e69742d64696765737400", "input_schema": { "parts": [{ "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "epoch", "encoding": "u32" }, { "name": "init", "encoding": "lp-map", "schema_ref": "REKEY_INIT", "projection": "full" }] }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_transcript", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f72656b65792d7472616e73637269707400", "input_schema": { "parts": [{ "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "epoch", "encoding": "u32" }, { "name": "init", "encoding": "lp-map", "schema_ref": "REKEY_INIT", "projection": "full" }, { "name": "reply", "encoding": "lp-map", "schema_ref": "REKEY_REPLY", "projection": "full" }] }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_extract", "operation": "hkdf-extract", "label_bytes": "", "input_schema": { "parts": [], "salt": { "name": "rekey_secret", "encoding": "raw", "length": 32 }, "ikm": { "name": "dh", "encoding": "raw", "length": 32, "nonzero": true } }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "rekey_root", "operation": "hkdf-expand", "label_bytes": "666c6f7765727365632f76342f72656b65792d726f6f7400", "input_schema": { "parts": [{ "name": "profile", "encoding": "lp-ascii", "text_enum_ref": "crypto_profiles" }, { "name": "handshake_hash", "encoding": "lp-bytes", "length": 32 }, { "name": "context_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "epoch", "encoding": "u32" }, { "name": "next_epoch", "encoding": "u32" }, { "name": "rekey_id", "encoding": "lp-bytes", "length": 16 }, { "name": "transcript_digest", "encoding": "lp-bytes", "length": 32 }], "key": { "name": "rekey_prk", "encoding": "raw", "length": 32 }, "relations": [{ "op": "successor", "left": "epoch", "right": "next_epoch" }] }, "output_length": 32, "source": "3.8", "allocation": "design_fixed" }, { "name": "grant_possession", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f6772616e742d706f7373657373696f6e00", "input_schema": { "parts": [{ "name": "grant_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "route_digest", "encoding": "lp-bytes", "length": 32 }, { "name": "leg_id", "encoding": "lp-bytes", "length": 16 }, { "name": "pairing_id", "encoding": "lp-bytes", "length": 16 }, { "name": "hop_context", "encoding": "lp-map", "schema_ref": "HopChallengeContext", "projection": "full", "bindings": { "leg_id": "leg_id" }, "one_of_bindings": { "role": ["dialer_role", "listener_role"] } }, { "name": "role", "encoding": "u8", "enum": [0, 1, 2] }] }, "output_length": 64, "source": "3.6", "allocation": "design_fixed" }, { "name": "tls_exporter_raw", "operation": "tls-exporter", "label_bytes": "4558504f525445522d666c6f7765727365632d7634", "input_schema": { "parts": [{ "name": "artifact_digest", "encoding": "raw", "length": 32 }] }, "output_length": 32, "source": "3.4 RFC8446", "allocation": "external_standard" }, { "name": "tls_exporter_wt", "operation": "tls-exporter", "label_bytes": "4558504f525445522d5765625472616e73706f7274", "input_schema": { "parts": [{ "name": "connect_stream_id", "encoding": "u64", "max": "4611686018427387903", "multiple_of": 4 }, { "encoding": "hex", "hex": "154558504f525445522d666c6f7765727365632d763420" }, { "name": "artifact_digest", "encoding": "raw", "length": 32 }] }, "output_length": 32, "source": "3.4 WT-H3 draft-16 section4.8", "allocation": "external_standard" }, { "name": "credential_issuer_authorization_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f63726564656e7469616c2d6973737565722d617574686f72697a6174696f6e00", "input_schema": { "parts": [{ "name": "authorization", "encoding": "lp-map", "schema_ref": "CredentialIssuerAuthorization", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,4.1.2,4.1.3,6.2", "allocation": "registry_allocation" }, { "name": "trust_config_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f74727573742d636f6e6669672f7369676e617475726500", "input_schema": { "parts": [{ "name": "config", "encoding": "lp-map", "schema_ref": "TrustConfig", "projection": "without_signature" }] }, "output_length": 64, "source": "4.1.1,4.1.2,4.1.3,6.2", "allocation": "registry_allocation" }, { "name": "trust_config_digest", "operation": "sha256", "label_bytes": "666c6f7765727365632f76342f74727573742d636f6e6669672f64696765737400", "input_schema": { "parts": [{ "name": "config", "encoding": "lp-map", "schema_ref": "TrustConfig", "projection": "full" }] }, "output_length": 32, "source": "4.1.1,4.1.2,4.1.3,6.2", "allocation": "registry_allocation" }, { "name": "trust_bootstrap_signature", "operation": "ed25519", "label_bytes": "666c6f7765727365632f76342f74727573742d626f6f7473747261702f7369676e617475726500", "input_schema": { "parts": [{ "name": "response", "encoding": "lp-map", "schema_ref": "TrustBootstrapResponse", "projection": "without_signature" }] }, "output_length": 64, "source": "4.1.1,4.1.2,4.1.3,6.2", "allocation": "registry_allocation" }];
16
+ export const transportV4FragmentRegistry = { "transport": "rpc_reliable_ordered", "length_prefix_bytes": 4, "length_counts": "kind_and_body", "max_fragment_bytes": 16384, "max_body_length": 16380, "kinds": { "BEGIN": { "value": 0, "body_fixed_bytes": 18, "body_min_bytes": 19, "body_max_bytes": 530, "payload": "canonical_header", "payload_min_bytes": 1, "payload_max_bytes": 512, "total_min_bytes": 24, "total_max_bytes": 535 }, "DATA": { "value": 1, "body_fixed_bytes": 12, "body_min_bytes": 13, "body_max_bytes": 16379, "payload": "payload_bytes", "payload_min_bytes": 1, "payload_max_bytes": 16367, "total_min_bytes": 18, "total_max_bytes": 16384 }, "ABORT": { "value": 2, "body_fixed_bytes": 12, "body_min_bytes": 12, "body_max_bytes": 12, "payload": null, "payload_min_bytes": 0, "payload_max_bytes": 0, "total_min_bytes": 17, "total_max_bytes": 17 }, "STOP_OUTPUT": { "value": 3, "body_fixed_bytes": 8, "body_min_bytes": 8, "body_max_bytes": 8, "payload": null, "payload_min_bytes": 0, "payload_max_bytes": 0, "total_min_bytes": 13, "total_max_bytes": 13 } } };
17
+ export const transportV4FragmentStateRegistry = { "first_serial": 1, "serial_max": "18446744073709551615", "max_payload_bytes": 1048576, "retention": "live_request_reply_associations_only", "data_offset": "exact_next_offset", "abort": "incomplete_message_only", "stop_output": "validated_live_request_coalesce_or_stale_ignore", "capacity": "explicit_share_of_original_session_request_budget" };
18
+ export const transportV4StreamStateRegistry = { "first_sequence": 0, "first_offset": 0, "client_ordinals": 2097168, "server_ordinals": 2097152, "business_lifetime": 1048576, "internal_lifetime": 1048576, "management_lifetime": 16, "pending_per_role": 128, "data_limit": "trusted_effective_reliable_limit", "credit": "monotonic_ack_and_receive_limit", "opening": "pending_until_explicit_outcome", "rejected_receive_limit": "exact_zero", "sequence": "uint64_no_wrap", "terminal": "immutable_per_direction_tuple", "terminal_capacity": 4096, "rejection_reserve": 128, "retirement": "authenticated_batch_ack_only", "barrier_cancellation": "trusted_client_prepare_or_closed_session", "bootstrap": { "profiles": ["services", "execution"], "scope": 1, "opener": 0, "kind": "flowersec.rpc.v4", "metadata_bytes": 0, "initial_receive_limit": 16384, "creation": "bootstrap_ready" } };
19
+ export const transportV4ErrorCodes = { "error_codes": { "normal": 0, "protocol_violation": 1, "framing_error": 2, "authentication_failed": 3, "sequence_error": 4, "replay_detected": 5, "crypto_failure": 6, "rekey_failed": 7, "resource_exhausted": 8, "stream_sequence_error": 9, "stream_data_invalid": 10 }, "error_code_metadata": { "normal": { "scope": "none", "action": "none", "retry": "preserve_facts", "retryable": false, "source": "6.1" }, "protocol_violation": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "framing_error": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "authentication_failed": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "sequence_error": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "replay_detected": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "crypto_failure": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "rekey_failed": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": false, "source": "3.8,6.1" }, "resource_exhausted": { "scope": "session", "action": "close_session", "retry": "preserve_facts", "retryable": true, "source": "3.7.5,6.1" }, "stream_sequence_error": { "scope": "stream", "action": "reset_stream", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" }, "stream_data_invalid": { "scope": "stream", "action": "reset_stream", "retry": "preserve_facts", "retryable": false, "source": "3.5.2,6.1" } }, "admission_rejection_codes": { "activation_proof_invalid": 1, "admission_window_expired": 2, "reservation_conflict": 3, "server_capacity_unavailable": 4, "admission_store_unavailable": 5, "admission_commit_unknown": 6, "admission_epoch_unproven": 7, "reservation_expired": 8, "application_authorization_denied": 9 }, "admission_rejection_metadata": { "activation_proof_invalid": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,6.1" }, "admission_window_expired": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3" }, "reservation_conflict": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,3.9.1" }, "server_capacity_unavailable": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,3.7.1" }, "admission_store_unavailable": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,6.1" }, "admission_commit_unknown": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,6.1" }, "admission_epoch_unproven": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3" }, "reservation_expired": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "3.3,3.9.1" }, "application_authorization_denied": { "scope": "attempt", "action": "end_attempt", "retry": "preserve_facts", "source": "5.1" } }, "open_rejection_codes": { "resource_exhausted": 1, "metadata_invalid": 2, "kind_unavailable": 3, "application_rejected": 4, "draining": 5 }, "open_rejection_metadata": { "resource_exhausted": { "scope": "opening", "action": "reject_open", "retry": "preserve_facts", "source": "3.7.2,3.7.5" }, "metadata_invalid": { "scope": "opening", "action": "reject_open", "retry": "preserve_facts", "source": "3.7.2,6.1" }, "kind_unavailable": { "scope": "opening", "action": "reject_open", "retry": "preserve_facts", "source": "3.7.1,6.1" }, "application_rejected": { "scope": "opening", "action": "reject_open", "retry": "preserve_facts", "source": "3.7.3,6.1" }, "draining": { "scope": "opening", "action": "reject_open", "retry": "preserve_facts", "source": "3.7.6" } }, "top_up_wire_result": { "success": { "server_committed": true }, "replay": { "server_committed": true }, "source_exhausted": {}, "source_unavailable": {}, "source_contract_invalid": {}, "source_state_unknown": {}, "operation_conflict": {}, "stale_generation": {}, "future_generation": {}, "stale_operation": {}, "future_operation": {}, "sequence_gap": {}, "configuration_capacity": {}, "capacity_exhausted": {}, "relink_required": {}, "spent_unknown": {}, "top_up_request_expired": {}, "source_reset_required": {}, "permission_denied": { "scope": "source", "write_action": "none" } }, "error_registry_boundary": { "status": "draft_subset", "allocation": "Numeric codes are candidates under design 6.1/6.2, scoped to their named registry; no runtime dispatch is qualified.", "retry": "preserve_facts grants no replay, same-lease retry, automatic reconnect or execution authority. Subsequent actions require original owner and layered commit facts under 5.1/6.1. retryable only permits an optional retry_after_ms hint.", "admission": "FSA4 status=1 rejects this handshake, not the durable admission record. Store failure, unknown commit or unproven epoch never clears admitted/spent/unknown facts or restarts the original guard. These bytes require a valid original response/signing owner.", "locality": "Session ERROR codes apply only after the 3.5.2 attribution gate rules out local isolation. Stream ERROR codes require an existing trusted owner. Application/RPC/TopUp/local-only results never use this L0 registry.", "close": "ERROR action applies to ERROR only. CLOSE uses its target; GOAWAY seals admission while retaining existing streams. None of these frames replaces terminal proof. Normal code 0 carries no success or commit evidence." }, "frame_maps": { "ERROR": { "fields": { "0": { "name": "code", "type": "uint16", "enum_ref": "error_codes" }, "1": { "name": "target_scope", "type": "uint64" }, "2": { "name": "stream_id", "type": "uint64", "min": 1, "max": "9223372036854775807", "optional": true }, "3": { "name": "retry_after_ms", "type": "uint32", "optional": true } }, "required": [0, 1], "deferred_constraints": ["Apply the phase-specific attribution rules in 3.5.2, including pre-existing native association, authenticated WS DATA attribution and failures without trusted local ownership. Pre-READY responses convey no authenticated result. A retry hint grants no action authority or change to layered commit facts."] }, "CLOSE": { "fields": { "0": { "name": "reason", "type": "uint16", "enum_ref": "error_codes" }, "1": { "name": "target_scope", "type": "uint64", "max": "9223372036854775807" } }, "required": [0, 1], "deferred_constraints": ["A nonzero target must name an existing trusted Stream; CLOSE never substitutes for terminal proof."] }, "GOAWAY": { "fields": { "0": { "name": "accept_ceiling", "type": "uint64" }, "1": { "name": "reason", "type": "uint16", "enum_ref": "error_codes" } }, "required": [0, 1] }, "FSA4": { "max_encoded_bytes": 16384, "signature_field": 13, "fields": { "0": { "name": "status", "type": "uint8", "enum": { "admitted": 0, "rejected": 1 } }, "1": { "name": "code", "type": "uint16" }, "2": { "name": "server_epoch", "type": "uint64" }, "3": { "name": "reservation_key", "type": "bytes", "length": 32 }, "4": { "name": "admission_binding", "type": "bytes", "length": 32 }, "5": { "name": "route_digest", "type": "bytes", "length": 32 }, "6": { "name": "hello_transcript_digest", "type": "bytes", "length": 32 }, "7": { "name": "selected_features", "type": "uint64", "bitmask": 3 }, "8": { "name": "binding_mode", "type": "uint8", "enum": { "direct_exporter": 0, "authenticated_context": 1 } }, "9": { "name": "transport_context_digest", "type": "bytes", "length": 32 }, "10": { "name": "client_identity_digest", "type": "bytes", "length": 32 }, "11": { "name": "server_identity_digest", "type": "bytes", "length": 32 }, "12": { "name": "server_certificate", "type": "bytes", "max_bytes": 8192, "encoded_schema_ref": "IdentityCertificate" }, "13": { "name": "server_signature", "type": "bytes", "length": 64 } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] }, "OPEN_ACCEPT": { "fields": { "0": { "name": "stream_id", "type": "uint64", "min": 1, "max": "9223372036854775807" }, "1": { "name": "direction", "type": "uint8", "enum": { "c2s": 0, "s2c": 1 } }, "2": { "name": "result", "type": "uint8", "enum": { "accepted": 0, "rejected": 1 } }, "3": { "name": "open_epoch", "type": "uint32" }, "4": { "name": "open_sequence", "type": "uint64" }, "5": { "name": "open_digest", "type": "bytes", "length": 32 }, "6": { "name": "initial_receive_limit", "type": "uint64" }, "7": { "name": "final_epoch", "type": "uint32", "optional": true }, "8": { "name": "final_next_sequence", "type": "uint64", "optional": true }, "9": { "name": "final_offset", "type": "uint64", "optional": true }, "10": { "name": "variant", "type": "uint8", "const": 1 }, "11": { "name": "reason", "type": "uint16", "enum_ref": "open_rejection_codes", "optional": true } }, "required": [0, 1, 2, 3, 4, 5, 6, 10] } }, "map_rules": { "ERROR": [{ "op": "error_scope", "code_field": "code", "target_scope_field": "target_scope", "stream_id_field": "stream_id", "retry_after_field": "retry_after_ms" }], "CLOSE": [], "GOAWAY": [], "FSA4": [{ "op": "range", "field": "server_certificate.role", "min": 1, "max": 1 }, { "op": "variant", "discriminator": "status", "value": 0, "constants": { "code": 0 }, "nonzero": ["reservation_key", "admission_binding", "transport_context_digest", "client_identity_digest", "server_identity_digest"] }, { "op": "variant", "discriminator": "status", "value": 1, "constants": { "server_epoch": 0 }, "nonzero": ["code"], "zero_bytes": ["reservation_key", "admission_binding", "transport_context_digest", "client_identity_digest", "server_identity_digest"], "registered": { "code": "admission_rejection_codes" } }], "OPEN_ACCEPT": [{ "op": "range", "field": "stream_id", "min": 1, "max": "9223372036854775807" }, { "op": "range", "field": "direction", "min": 0, "max": 1 }, { "op": "range", "field": "open_sequence", "min": 0, "max": 0 }, { "op": "variant", "discriminator": "result", "value": 0, "absent": ["final_epoch", "final_next_sequence", "final_offset", "reason"] }, { "op": "variant", "discriminator": "result", "value": 1, "required": ["final_epoch", "final_next_sequence", "final_offset", "reason"], "constants": { "initial_receive_limit": 0, "final_next_sequence": 1, "final_offset": 0 }, "equal": [["final_epoch", "open_epoch"]], "nonzero": ["reason"] }] } };
20
+ export const transportV4RekeyRegistry = { "REKEY_INIT": { "sender_role": 0, "mac_field": 5, "fields": { "0": { "name": "phase", "type": "uint8", "const": 1 }, "1": { "name": "rekey_id", "type": "bytes", "length": 16 }, "2": { "name": "next_epoch", "type": "uint32", "min": 1 }, "3": { "name": "client_ephemeral", "type": "bytes", "profile_public_key": true }, "4": { "name": "client_barrier", "type": "array", "min_items": 0, "max_items": 1035, "items": { "type": "map", "schema_ref": "RekeyBarrierEntry" } }, "5": { "name": "confirmation_mac", "type": "bytes", "length": 32 } }, "required": [0, 1, 2, 3, 4, 5] }, "REKEY_REPLY": { "sender_role": 1, "mac_field": 6, "fields": { "0": { "name": "phase", "type": "uint8", "const": 2 }, "1": { "name": "rekey_id", "type": "bytes", "length": 16 }, "2": { "name": "next_epoch", "type": "uint32", "min": 1 }, "3": { "name": "init_digest", "type": "bytes", "length": 32 }, "4": { "name": "server_ephemeral", "type": "bytes", "profile_public_key": true }, "5": { "name": "server_barrier", "type": "array", "min_items": 0, "max_items": 1035, "items": { "type": "map", "schema_ref": "RekeyBarrierEntry" } }, "6": { "name": "confirmation_mac", "type": "bytes", "length": 32 } }, "required": [0, 1, 2, 3, 4, 5, 6] }, "REKEY_COMMIT": { "max_encoded_bytes": 107, "sender_role": 0, "mac_field": 5, "fields": { "0": { "name": "phase", "type": "uint8", "const": 3 }, "1": { "name": "rekey_id", "type": "bytes", "length": 16 }, "2": { "name": "next_epoch", "type": "uint32", "min": 1 }, "3": { "name": "transcript_digest", "type": "bytes", "length": 32 }, "4": { "name": "old_maintenance_next_sequence", "type": "uint64" }, "5": { "name": "confirmation_mac", "type": "bytes", "length": 32 } }, "required": [0, 1, 2, 3, 4, 5] }, "REKEY_ACK": { "max_encoded_bytes": 107, "sender_role": 1, "mac_field": 5, "fields": { "0": { "name": "phase", "type": "uint8", "const": 4 }, "1": { "name": "rekey_id", "type": "bytes", "length": 16 }, "2": { "name": "next_epoch", "type": "uint32", "min": 1 }, "3": { "name": "transcript_digest", "type": "bytes", "length": 32 }, "4": { "name": "old_maintenance_next_sequence", "type": "uint64" }, "5": { "name": "confirmation_mac", "type": "bytes", "length": 32 } }, "required": [0, 1, 2, 3, 4, 5] }, "RekeyBarrierEntry": { "fields": { "0": { "name": "scope_id", "type": "uint64", "min": 1, "max": "9223372036854775807" }, "1": { "name": "next_sequence", "type": "uint64" } }, "required": [0, 1] } };
21
+ export const transportV4ReadyRegistry = { "ReadyProofInput": { "fields": { "0": { "name": "role", "type": "uint8", "enum": { "client": 0, "server": 1 } }, "1": { "name": "crypto_profile_id", "type": "text", "text_enum_ref": "crypto_profiles" }, "2": { "name": "handshake_hash", "type": "bytes", "length": 32 }, "3": { "name": "fsb_digest", "type": "bytes", "length": 32 }, "4": { "name": "fsa_digest", "type": "bytes", "length": 32 }, "5": { "name": "transport_context_digest", "type": "bytes", "length": 32 }, "6": { "name": "admission_binding", "type": "bytes", "length": 32 }, "7": { "name": "certificate_digest", "type": "bytes", "length": 32 } }, "required": [0, 1, 2, 3, 4, 5, 6, 7] }, "ReadyMACInput": { "fields": { "0": { "name": "role", "type": "uint8", "enum": { "client": 0, "server": 1 } }, "1": { "name": "crypto_profile_id", "type": "text", "text_enum_ref": "crypto_profiles" }, "2": { "name": "handshake_hash", "type": "bytes", "length": 32 }, "3": { "name": "fsb_digest", "type": "bytes", "length": 32 }, "4": { "name": "fsa_digest", "type": "bytes", "length": 32 }, "5": { "name": "transport_context_digest", "type": "bytes", "length": 32 }, "6": { "name": "admission_binding", "type": "bytes", "length": 32 }, "7": { "name": "certificate_digest", "type": "bytes", "length": 32 }, "8": { "name": "selected_features", "type": "uint64", "bitmask": 3 }, "9": { "name": "identity_proof", "type": "bytes", "length": 64 } }, "required": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] }, "READY": { "encoded_bytes": 103, "fields": { "0": { "name": "identity_proof", "type": "bytes", "length": 64 }, "1": { "name": "confirmation_mac", "type": "bytes", "length": 32 } }, "required": [0, 1] } };
22
+ export const transportV4RecordRegistry = { "envelope": { "prefix_bytes": 8, "layout": [{ "name": "payload_length", "type": "uint32_be", "max": 1048576 }, { "name": "frame_type", "type": "uint8", "enum_ref": "frame_types" }, { "name": "flags", "type": "uint8", "const": 0 }, { "name": "reserved", "type": "uint16_be", "const": 0 }], "payload_length_includes_prefix": false }, "header": [{ "name": "epoch", "type": "uint32_be" }, { "name": "sequence_scope", "type": "uint64_be" }, { "name": "sequence", "type": "uint64_be" }], "nonce": [{ "name": "epoch", "type": "uint32_be" }, { "name": "sequence", "type": "uint64_be" }], "profiles": { "fs4-kkpsk0-x25519-chachapoly-ed25519-sha256-1": { "dh_algorithm": 0, "noise_protocol_name": "Noise_KKpsk0_25519_ChaChaPoly_SHA256", "record_aead": "chacha20-poly1305", "dh_public_bytes": 32, "dh_secret_bytes": 32, "handshake_message_bytes": 48, "key_bytes": 32, "nonce_bytes": 12, "tag_bytes": 16 }, "fs4-kkpsk0-p256-aes256gcm-ed25519-sha256-1": { "dh_algorithm": 1, "noise_protocol_name": "Noise_KKpsk0_P256_AESGCM_SHA256", "record_aead": "aes-256-gcm", "dh_public_bytes": 65, "dh_secret_bytes": 32, "handshake_message_bytes": 81, "key_bytes": 32, "nonce_bytes": 12, "tag_bytes": 16 } }, "frame_types": { "NEGOTIATE": 1, "ADMISSION": 2, "ADMISSION_RESULT": 3, "HANDSHAKE": 4, "READY": 5, "REKEY": 6, "OPEN_STREAM": 7, "STREAM_DATA": 8, "STREAM_ACK": 9, "DATAGRAM": 10, "ERROR": 11, "CLOSE": 12, "GOAWAY": 13, "PING": 14, "PONG": 15, "HOP_AUTH": 16 }, "frame_classes": { "handshake_plain": ["NEGOTIATE", "ADMISSION", "ADMISSION_RESULT", "HANDSHAKE", "READY", "HOP_AUTH", "ERROR", "CLOSE"], "maintenance_record": ["REKEY", "STREAM_ACK"], "record_cipher": ["OPEN_STREAM", "STREAM_DATA", "DATAGRAM", "ERROR", "CLOSE", "GOAWAY", "PING", "PONG"] }, "resource_caps": { "contract_query_response_bytes_per_target": 9216, "max_payload_length": 1048576, "max_datagram_envelope": 1024, "max_datagram_payload": 949, "max_pending_datagrams": 64, "max_streams": 2097152, "max_pending_open_ceiling": 128, "ingress_staging": { "items": 128, "bytes": 524288, "work": 128 }, "await_open": { "items": 128, "bytes": 262144, "work": 128 }, "retire_batch_items": 1024, "scope_id": { "min": 1, "max": "9223372036854775807" }, "record_replay_window_bits": 256, "datagram_scope": "9223372036854775809", "max_pending_open_rule": { "operator": "min", "arguments": [128, "signed.max_streams"] } } };
23
+ export const transportV4DH = { "PrivateBytes": 32, "SecretBytes": 32, "Failure": "dh_failed", "X25519PublicBytes": 32, "P256PublicBytes": 65, "ProfileX25519": "fs4-kkpsk0-x25519-chachapoly-ed25519-sha256-1", "ProfileP256": "fs4-kkpsk0-p256-aes256gcm-ed25519-sha256-1", "PolicyJSON": "{\"revision\":1,\"source\":\"3.5.1\",\"private_bytes\":32,\"secret_bytes\":32,\"failure\":\"dh_failed\",\"reject_zero_result\":true,\"mutate_inputs\":false,\"x25519\":{\"algorithm\":0,\"public_bytes\":32,\"remote\":\"exact_bytes_rfc7748\",\"local\":\"canonical_rfc7748\",\"scalar\":\"rfc7748_clamp\",\"transcript\":\"original_bytes\"},\"p256\":{\"algorithm\":1,\"public_bytes\":65,\"remote\":\"canonical_sec1_uncompressed_on_curve\",\"local\":\"canonical_sec1_uncompressed_on_curve\",\"scalar\":\"big_endian_1_to_n_minus_1\",\"secret\":\"big_endian_x_coordinate\"}}" };