Expand description
Canonical domain types shared across RiffDB semantic boundaries.
Re-exports§
pub use application_plan::*;pub use application_portability::*;
Modules§
- application_
plan - Canonical application-installation value model.
- application_
portability - Canonical application-portability value model. Adapter-owned, compiler-closed export/reimport mappings and receipts.
Structs§
- ActorId
- A bounded stable principal identifier.
- Adapter
Conformance Manifest Hash - The identity of one exact adapter conformance manifest.
- Administration
Sequence - A sequence assigned to an administrative change.
- Admitted
Actor Context - The immutable actor context admitted for deterministic command execution.
- Agent
Session Id - The identifier of an agent session.
- Aggregate
Budget Dimensions V1 - Budget dimensions which every plan using an aggregate must account for.
- Aggregate
Eligibility V1 - Static execution-family eligibility for one aggregate semantic.
- Aggregate
Policy V1 - Policy and inference posture shared by every existing exact aggregate.
- Aggregate
Semantic Descriptor V1 - Complete transient semantic descriptor for one exact aggregate function.
- Aggregate
Semantic SetV1 - Closed exact aggregate semantics advertised by one provider descriptor.
- Aggregate
Type Id - A compiler-assigned stable aggregate type identifier.
- Analyzed
Term V1 - One analyzed term and its zero-based token position.
- Application
Export Authority V1 - Exact current capability revision bound into one export operation.
- Application
Export Ledger Hash - The domain-separated genesis or ordered prefix of an export page ledger.
- Application
Export Manifest Hash - The identity of one canonical symbolic application-export manifest.
- Application
Export Operation Id - The caller-stable identifier of one symbolic application export.
- Application
Export Page Hash - The hash of one canonical symbolic application-export page.
- Application
Export Receipt Hash - The identity of one terminal symbolic application-export receipt.
- Application
Export Selection V1 - Exact caller-selected subset of one current V5 lineage grant.
- Application
Export Snapshot Binding V1 - Immutable published source identity captured atomically at export start.
- Application
Installation Campaign Id - The caller-stable identifier of one application installation campaign.
- Application
Installation Plan Hash - The identity of one exact application installation plan.
- Application
Installation Receipt Hash - The identity of one terminal application installation receipt.
- Application
Lock Hash - The identity of one compiler-owned exact application lock.
- Application
Manifest Hash - The identity of one canonical application manifest.
- Application
Portability Manifest Hash - The identity of one adapter-owned compiled reimport mapping manifest.
- Application
Reimport Authority V1 - Exact current capability revision bound into one reimport safe point.
- Application
Reimport Manifest Binding V1 - Exact immutable manifest identity retained by reimport requests and proofs.
- Application
Reimport Receipt Hash - The identity of one terminal application reimport reconciliation receipt.
- Application
Role Definition Hash - The identity of one exact, tenant-unbound application role definition.
- Application
Role Hash - The identity of one canonical compiled application role.
- Application
Source Hash - The identity of one author-owned symbolic application source manifest.
- Approval
Id - A policy-validated approval identity.
- Approval
Reference - An untrusted, bounded approval reference.
- Archive
Name V1 - A checked operator-configured archive name, never a filesystem path or URI.
- Archive
Name V1Error - A bounded archive-name validation failure that retains no rejected input.
- Audience
- An exact configured authentication audience.
- Backup
Name V1 - A checked immutable backup name beneath the server-owned backup root.
- Canonical
Bytes - Exact bounded opaque bytes for a canonical value.
- Canonical
Input Hash - The hash of canonical command input.
- Canonical
List - A bounded ordered list of canonical values.
- Canonical
Record - A record whose fields are canonicalized by stable field ID.
- Canonical
String - Exact bounded UTF-8 text for a canonical value.
- Canonical
Value Hash - The hash of one canonical value document.
- Canonical
Vector - A validated, dimension-checked vector of f32 values in canonical form.
- Capability
Application Export Grant V1 - One explicit lineage, scope, and portable record-class export authority.
- Capability
Application Reimport Grant V1 - Distinct authority for one exact not-ready reimport campaign and manifest.
- Capability
Export Grant V1 - Complete canonical V1 application-export authority extension.
- Capability
Grant V1 - Complete bounded v1 grant persisted with a capability.
- Capability
Id - The identifier of an authorization capability.
- Capability
Permissions V1 - Canonical permission set.
- Capability
Principal Fact V1 - One canonical named authorization fact.
- Capability
Principal Facts V1 - Complete canonical fact set bound to one current capability revision.
- Capability
RowPolicy Binding V1 - One exact compiler-selected row policy for one protected entity.
- Capability
RowPolicy Grant V1 - Complete V1 row-policy authority extension carried only by CapabilityRecordV4.
- Capability
Token Digest - A versioned capability-token lookup digest.
- Capability
Vector Inspection Grant V1 - Complete exact vector-inspection authority carried only by CapabilityRecordV8.
- Capability
Vector Inspection Target V1 - One exact compiler-selected vector field and its count-disclosure posture.
- Columnar
Definition Semantics Hash V1 - The hash of one complete canonical columnar definition-semantics document.
- Columnar
Projection Replay Limits V1 - Positive replay ceilings bound into one columnar specification and control.
- Columnar
Projection Source Error - Closed rejection of malformed canonical columnar source bytes.
- Columnar
Projection Spec Hash V1 - The hash of one complete schema-bound columnar projection specification.
- Command
Id - A compiler-assigned stable command identifier.
- Commit
Sequence - A single-node application commit sequence.
- Commit
Token - An opaque, scoped commit identity used as a causal freshness fence.
- Compiled
Long Pattern V1 - Checked pattern with bounded transformed atoms and mandatory gram hints.
- Conflict
Key - An opaque canonical logical conflict key.
- Conflict
KeyBuilder - Builder for a v1 canonical conflict key.
- Conflict
KeyHash - The hash of a canonical conflict key.
- Content
Digest - A versioned unkeyed content digest.
- Content
Hasher - Constant-space v1 content hashing with an exact, checked payload length.
- Contract
Bundle Hash - The hash of an immutable contract bundle.
- Contract
Lineage - A bounded exact contract lineage name.
- Contract
Migration Input Hash - The stable semantic-input hash of one contract migration operation.
- Contract
Migration Journal Hash - The chained hash of one durable contract migration journal state.
- Contract
Migration Operation Id - The caller-stable identifier of one contract migration operation.
- Contract
Migration Validation Digest - The digest of one complete staged contract migration validation.
- Contract
Plan Root Hash - The hash of a contract bundle’s ordered semantic plan set.
- Contract
Version - An application contract version.
- Currency
Code - An exact three-letter uppercase ASCII currency identifier.
- Database
Alias - A canonical, non-secret database selector.
- Database
Id - The durable identifier of a database instance.
- Date
- A calendar date represented as signed days since the Unix epoch.
- Decimal
- A checked fixed-scale decimal value.
- Decimal
Spec - A checked fixed-scale decimal type declaration.
- Definition
Fingerprint - Stable legacy columnar-definition fingerprint, preserved byte-for-byte.
- Digest
Key - A 32-byte key used by a reviewed keyed-digest construction.
- Digest
KeyId - The identifier of a keyed-digest configuration.
- Dual
Frontier - One published durable frontier: an application and an administration position.
- Embedding
Metadata - Metadata about an embedding write for staleness and model-version tracking.
- Entity
Field Visibility V1 - One canonical entity-field visibility entry.
- Entity
Key - An opaque canonical entity key.
- Entity
KeyBuilder - Builder for a v1 canonical entity key.
- Entity
KeyHash - The hash of a canonical entity key.
- Entity
Record Hash - The hash of a complete canonical entity-record preimage.
- Entity
Transition Hash - The hash of one canonical committed entity transition.
- Entity
Type Id - A compiler-assigned stable entity type identifier.
- Entity
Version - The monotonically increasing version of an entity record.
- Enum
Type Id - A compiler-assigned stable enum type identifier.
- Enum
Variant Id - A compiler-assigned stable enum variant identifier.
- Environment
- A bounded ASCII environment slug.
- Event
Consumer Identity Hash - The identity of one exact durable event consumer.
- Event
Consumer Name - One exact bounded application-selected durable consumer name.
- Event
Consumer Name Error - A consumer name was empty, malformed, or exceeded its fixed bound.
- Event
Consumer Revision - Monotonic compare-and-transition revision local to one consumer record.
- Event
Delivery Attempt - One attempt number in the closed range
1..=10. - Event
Hash - The hash of a canonical durable event.
- EventId
- The durable identity of one event within a committed command.
- Event
Lease Token - One opaque attempt-specific lease token. Possession is not authority.
- Event
Type Id - A compiler-assigned stable event type identifier.
- Exact
Text Needle V1 - Canonically bound nonempty exact-text parameter.
- Execution
Failure Code Error - A safe failure to decode a closed execution-failure code.
- FieldId
- A compiler-assigned stable field identifier.
- Generated
Artifact Hash - The content hash of one compiler-generated application artifact.
- Hash
Length Mismatch - A streamed payload did not match its declared v1 frame length.
- Idempotency
Key - A bounded caller-provided key for uncertainty recovery.
- Incident
Id - A public correlation identifier for an internal failure.
- Index
Entry Key - A complete canonical local-index entry key.
- Index
Entry KeyBuilder - Builder for a complete v1 canonical local-index entry key.
- Index
Epoch - The epoch of a derived index representation.
- IndexId
- A compiler-assigned stable index identifier.
- Invariant
Id - A compiler-assigned stable invariant identifier.
- Keyed
Digest - A versioned keyed digest that records the selected key ID without exposing key material.
- Leadership
Epoch V1 - Nonzero lineage-shared leadership fence, distinct from a transaction position. Constructing a value never grants leadership or authorizes its persistence.
- Logical
Time - Coordinator-supplied deterministic transaction time.
- Long
Pattern Bounds Error V1 - A bound set was zero, inconsistent, or above a fixed ceiling.
- Long
Pattern Bounds V1 - Complete independent resource bounds shared by contracts, providers and query plans.
- Migration
Bundle Hash - The hash of one canonical compiled migration bundle.
- Migration
Source Hash - The hash of one exact migration source document.
- Money
- A money value with an explicit currency and checked decimal amount.
- Offline
Maintenance Input Hash - The stable semantic-input hash of one offline maintenance operation.
- Offline
Maintenance Operation Id - The caller-stable identifier of one offline maintenance operation.
- Outcome
Id - A compiler-assigned stable outcome identifier.
- Partition
Key - An opaque canonical logical partition key.
- Partition
KeyBuilder - Builder for a v1 canonical logical partition key.
- Partition
KeyHash - The hash of a canonical logical partition key.
- Partition
SetObservation Hash - The digest of one ordered bounded partition-set epoch observation.
- Plan
Hash - The hash of an executable command plan.
- Projection
Apply Hash - A typed hash of one complete checked projection apply request.
- Projection
Apply Key - One generation- and sequence-specific projection apply-marker key.
- Projection
Checkpoint Ordinal - Coordinator-allocated nonzero checkpoint ordinal within one allocation incarnation.
- Projection
Frontier - An opaque, scoped projection visibility frontier.
- Projection
Frontier Key - The generation-neutral control/frontier key for one projection identity.
- Projection
Generation - A nonzero, never-reused build generation for one projection identity.
- Projection
Generation Error - A safe failure to construct a nonzero projection generation.
- Projection
Group Key - A complete canonical projection group-state key.
- Projection
Group KeyBuilder - Builder for one syntactically canonical complete projection group key.
- Projection
Group Prefix - A transient canonical prefix for one published projection generation.
- Projection
Group Prefix Builder - Builder for a syntactically canonical projection group prefix.
- Projection
Id - A compiler-assigned stable projection identifier.
- Projection
Identity - The exact lineage, projection declaration, and semantic plan identity.
- Projection
Plan Hash - The hash of one validated projection plan.
- Projection
Provider Capabilities V1 - Closed capabilities a compiler may require from one provider.
- Projection
Provider Descriptor Hash - The hash of one canonical sealed projection-provider descriptor.
- Projection
Provider Descriptor V1 - One fixed-size compiler-owned provider contract.
- Projection
Provider State Identity V1 - Immutable provider state schema identity, distinct from a live generation.
- Projection
Provider Static Bounds V1 - Complete finite static cost and retention contract for one provider plan.
- Projection
Source Locator V1 - Full structural locator of one authoritative replay source.
- Provenance
Id - The identifier of a durable provenance record.
- Provenance
Reason - An untrusted, bounded reason claim for provenance review.
- Query
Cost Vector V1 - Canonical compiler-derived maximum work for one complete query request.
- Query
Module Hash - The identity of one canonical immutable query module.
- Query
Module Name - Checked ASCII query-module name.
- Query
Module Version - An application-owned immutable query-module version.
- Query
Operation Name - Checked exact name of one deployed application query.
- Query
Parameter Hash - The hash of one canonical name-addressed RiffQL parameter set.
- Query
Plan Hash - The hash of one closed RiffQL query access program.
- Query
Source Hash - The hash of one exact RiffQL source document.
- Reactive
Module Hash - The identity of one canonical immutable reactive module.
- Reactive
Operation Hash - The identity of one canonical reactive operation plan.
- Reactive
Operation Name - Checked exact name of one reactive application operation.
- Reactive
Source Hash - The hash of one exact reactive source document.
- Redacted
Secret Field - One secret-classified field withheld from a released record.
- Replication
Fence Operation Id - The caller-stable identifier of one irreversible primary fence.
- Replication
Follower Audit Target V1 - A request-selected follower registration in one exact source lineage. This target grants no authority and contains no transport or credential data.
- Replication
Promotion Operation Id - The caller-stable identifier of one explicit follower promotion.
- Replication
Source Hold IdV1 - Opaque storage-local hold identity, never a NodeId or authority token.
- Request
Id - The identifier of one transport submission.
- RowPolicy
Name - Checked exact name of one compiler-owned row policy.
- Scheduled
Attempt Hash - Stable identity of one bounded scheduled workflow attempt.
- Schema
Hash - The hash of a public or durable schema.
- Scoped
Partition V1 - One lineage-scoped complete partition key.
- Service
Audit Targets V1 - A checked, duplicate-free service-audit target list in canonical order.
- Source
Commit - An untrusted, bounded source-commit claim.
- Source
Hash - The hash of canonical contract source.
- Source
Repository - An untrusted, bounded source-repository claim.
- Stale
Entity Count Threshold - A validated positive stale-entity count threshold.
- Tenant
Id - A bounded exact tenant identifier.
- Text
Analyzer Terms V1 - Streaming analyzed terms for one source value.
- Timestamp
- A UTC instant represented without a timezone or operating-system clock.
- Vector
Dimension - A validated positive vector dimension.
- Vector
Field Id - A compiler-assigned stable vector field identifier.
- Vector
Projection Source V1 - Stable logical identity of one compiler-declared vector projection.
- Zero
Numeric IdError - A numeric identifier was reconstructed from its reserved zero value.
Enums§
- Actor
Kind - The trusted class of a stable actor principal.
- Aggregate
Arithmetic V1 - Arithmetic or comparison rule used by the exact evaluator.
- Aggregate
Budget Bound V1 - Where the maximum for one aggregate resource dimension is frozen.
- Aggregate
Empty Result V1 - Exact result returned for an empty input population.
- Aggregate
Input Class V1 - Compiler-accepted input shape for one aggregate function.
- Aggregate
NoValue Rule V1 - How the aggregate treats the canonical optional
NoValuestate. - Aggregate
Partial State V1 - Mergeable partial-state family admitted by an exact provider.
- Aggregate
Result Schema V1 - Compiler-resolved public result schema family.
- Aggregate
Semantic Identity V1 - Stable semantic identity for the aggregate functions available before ADR-0152 expansion.
- Application
Export Class V1 - Closed portable record classes. No table, index, or raw key selector exists.
- Application
Export Value Error - Safe construction failure for one symbolic export identity or selection.
- Archive
Restore Stop V1 - Exact application-sequence selection for an offline archive restore.
- Backup
Name V1Error - A safe backup-name validation failure.
- Bounded
Text Error - A safe validation failure for a bounded text component.
- Canonical
Codec Error - A safe canonical encoding or decoding failure.
- Canonical
Value - A value in RiffDB’s closed, deterministic transactional value algebra.
- Canonical
Vector Error - Typed rejection of an invalid canonical vector construction.
- Capability
Application Export Scope V1 - Closed V1 scope for one lineage-scoped application export grant.
- Capability
Application Reimport Scope V1 - Closed V1 scope for one exact application-reimport campaign grant.
- Capability
Grant Error - A safe failure to construct or account for a bounded capability grant.
- Capability
Permission Kind V1 - The closed v1 permission registry without its optional stable parameter.
- Capability
Permission V1 - One canonical permission atom with any required lineage-scoped ID.
- Capability
RowPolicy Operation V1 - Closed operation classes that one durable row-policy binding may authorize.
- Collection
Kind - A collection kind used in bounded decoder errors.
- Columnar
Projection Source V1 - One canonical schema-bound scalar or vector source identity.
- Contract
Migration Apply Confirmation - The caller’s exact destructive migration confirmation.
- Contract
Migration Operation Kind - The closed semantic kind of one public contract-migration operation.
- Currency
Code Error - A safe validation failure for a three-letter currency code.
- Database
Alias Error - A database alias did not match the public canonical grammar.
- Decimal
Error - A safe decimal construction or arithmetic failure.
- Decimal
Spec Error - A safe validation failure for a decimal specification.
- Distance
Metric - The closed set of supported vector distance metrics.
- Dual
Frontier Error - A safe failure to decode a canonical
DualFrontier. - Exact
Text Bind Error V1 - Typed exact-text bind failures.
- Exact
Text Field Value V1 - Input field state before exact matching.
- Exact
Text Operator V1 - Closed exact operators; no wildcard, regex, token, fuzzy, or score shape exists.
- Exact
Text Order V1 - Closed total orders supported by exact binary UTF-8 result sets.
- Exact
Text Profile V1 - Closed exact matching profiles.
- Execution
Failure Code - A dependency-validated deterministic command execution failure.
- Freshness
Policy - Projected-query freshness policy (ADR-0086 §3).
- Freshness
Token Error - Safe failure to construct or decode a freshness token or frontier.
- Frontier
Position - The contiguous authoritative application-commit frontier.
- Hash
Domain - An unkeyed SHA-256 domain from the accepted central registry.
- Index
Epoch Position - Empty or assigned state of one index-range epoch bucket.
- KeyBytes
Error - A safe validation failure for bounded canonical key bytes.
- KeyEncoding
Error - A bounded key-encoding failure.
- Keyed
Hash Domain - A keyed HMAC-SHA-256 domain from the accepted central registry.
- Long
Pattern Error V1 - Closed pattern compilation refusal.
- Long
Pattern Operator V1 - Closed public operator inventory.
- Long
Pattern Profile V1 - Frozen matching profile.
- Money
Error - A safe checked-money arithmetic failure.
- Offline
Maintenance Operation Kind - The closed semantic kind of one offline maintenance operation.
- Offline
Maintenance Replacement Confirmation - The caller’s exact destructive-replacement confirmation.
- Partition
Scope V1 - Closed partition scope in one capability grant.
- Principal
Fact Error - Safe failure to construct a bounded principal-fact set.
- Projection
KeyError - A safe failure to construct or decode a projection identity or key.
- Projection
Provider Freshness V1 - Freshness semantics supported by descriptor V1.
- Projection
Provider Kind V1 - Closed real provider families admitted by ADR-0130.
- Projection
Provider Lifecycle Model V1 - Provider lifecycle semantics supported by descriptor V1.
- Projection
Provider Policy Mode V1 - Ranked policy modes, strongest alignment first.
- Projection
Provider Posture V1 - Exact or explicitly bounded approximate result posture.
- Projection
Provider Validation Error - Safe closed validation failures for a provider descriptor.
- Revocation
Reason Code V1 - Closed revocation reason registry.
- Service
Audit Link V1 - The closed authoritative-result link carried by a service-audit record.
- Service
Audit Phase V1 - The lifecycle phase of one durable service-audit record.
- Service
Audit Target V1 - A bounded stable object reference addressed by a service invocation.
- Service
Audit Targets Error - A safe validation failure for a service-audit target collection.
- Service
Ingress Kind V1 - The trusted ingress by which an application-service invocation arrived.
- Service
Operation V1 - The closed v1 application-service operation registry.
- Tenant
Scope - The tenant partition against which an operation is evaluated.
- Text
Analyzer V1 - Closed tokenized-text analyzer vocabulary for ADR-0173 v1.
- Text
IdError - A safe validation failure for a bounded textual identifier.
- Text
Search Result Model V1 - Closed result model admitted by the declaration stage.
- Timestamp
Error - A safe timestamp construction failure.
- Uuid
V7Construction Error - A safe failure while assembling a UUIDv7 value from explicit inputs.
- Uuid
V7Error - A validation failure for a UUIDv7 identifier.
- Value
Error - A bounded-value construction failure.
Constants§
- CANONICAL_
VALUE_ VERSION - Canonical value encoding version defined by ADR-0011.
- COMMIT_
INTENT_ NON_ RUNTIME_ RESERVE_ BYTES - Fixed portion of a pre-commit intent reserved for non-runtime fields.
- CONFLICT_
KEY_ V1_ PREFIX - Immutable conflict-key namespace and v1 encoding prefix.
- DEFAULT_
DATABASE_ ALIAS - Compatibility alias assigned to the legacy single-database configuration.
- DIGEST_
SCHEME_ V1 - Hash framing and algorithm scheme defined by ADR-0011.
- DUAL_
FRONTIER_ BYTES - Encoded byte length of a canonical
DualFrontier. - ENTITY_
KEY_ V1_ PREFIX - Immutable entity-key namespace and v1 encoding prefix.
- EVENT_
LEASE_ TOKEN_ BYTES - Exact opaque bytes in one attempt-specific lease token.
- EXACT_
PREDICATE_ PROVIDER_ STATE_ SCHEMA_ HASH_ V4 - Opaque schema identity for ADR-0134 indexed predicate/order checkpoints.
- EXACT_
PREDICATE_ PROVIDER_ STATE_ SCHEMA_ HASH_ V5 - Opaque schema identity for ADR-0145 nullable exact-order checkpoints.
- EXACT_
TEXT_ PROFILE_ VERSION_ V1 - Semantic exact-text profile version.
- EXACT_
TEXT_ PROVIDER_ STATE_ SCHEMA_ HASH_ V1 - Frozen opaque schema identity for canonical
RXTSprovider checkpoints. - EXACT_
TEXT_ PROVIDER_ STATE_ SCHEMA_ HASH_ V2 - Opaque schema identity for activated V2 checkpoints with typed output rows.
- EXACT_
TEXT_ PROVIDER_ STATE_ SCHEMA_ HASH_ V3 - Opaque schema identity for V3 checkpoints with one compiler-bound typed filter.
- INDEX_
ENTRY_ KEY_ V1_ PREFIX - Immutable index-entry-key namespace and v1 encoding prefix.
- MAX_
ACTOR_ ID_ BYTES - Maximum UTF-8 byte length of an actor identifier.
- MAX_
AGGREGATE_ ARITHMETIC_ OPERATIONS_ V1 - Maximum exact contribution/merge arithmetic operations in one aggregate.
- MAX_
AGGREGATE_ DISTINCT_ VALUES_ V1 - Maximum distinct canonical values retained by one exact measure/group.
- MAX_
AGGREGATE_ STATE_ BYTES_ V1 - Maximum transient aggregate partial-state bytes in one query result.
- MAX_
APPLICATION_ EXPORT_ MODULES - Maximum immutable module identities bound into one export snapshot.
- MAX_
APPLICATION_ EXPORT_ PAGES - Maximum retained page commitments for one symbolic export operation.
- MAX_
APPLICATION_ EXPORT_ PAGE_ BYTES - Maximum content bytes released by one symbolic export page.
- MAX_
APPLICATION_ EXPORT_ PAGE_ ROWS - Maximum records released by one symbolic export page.
- MAX_
APPLICATION_ INSTALLATION_ CAMPAIGN_ STATE_ BYTES - Maximum canonical bytes retained for one exact application-installation campaign state.
- MAX_
APPLICATION_ QUERY_ PAGE_ ROWS - Hard maximum rows returned by one application-query page.
- MAX_
APPLICATION_ QUERY_ PAGE_ ROWS_ BOUNDED_ LIMIT_ V1 - Largest page encoded by the predecessor bounded-limit V1 identity.
- MAX_
APPLICATION_ QUERY_ RESULT_ BYTES - Hard maximum encoded application-query result bytes.
- MAX_
APPLICATION_ QUERY_ SCANNED_ ROWS - Hard maximum physical rows inspected by one application-query access step.
- MAX_
APPLICATION_ QUERY_ STEPS - Hard maximum access steps in one compiled application query.
- MAX_
APPLICATION_ REQUEST_ BYTES_ V1 - Maximum structurally decoded bytes in one public application-service request.
- MAX_
APPROVAL_ ID_ BYTES - Maximum visible-ASCII byte length of one validated approval identifier.
- MAX_
APPROVAL_ REFERENCE_ BYTES - Maximum visible-ASCII byte length of one untrusted approval reference.
- MAX_
ARCHIVE_ NAME_ V1_ BYTES - Maximum bytes in one configured archive name.
- MAX_
ATOMIC_ COMMAND_ FRAME_ BYTES_ V2 - Maximum wire or JSON frame for one atomic command request.
- MAX_
ATOMIC_ COMMAND_ REQUEST_ BYTES_ V2 - Maximum structurally decoded bytes in one compiler-bounded atomic command request.
- MAX_
AUDIENCE_ BYTES - Maximum visible-ASCII byte length of one configured audience identity.
- MAX_
BACKUP_ NAME_ V1_ BYTES - Maximum bytes in one public backup name.
- MAX_
BYTES_ VALUE_ BYTES - Maximum length of one canonical byte value.
- MAX_
CANONICAL_ DOCUMENT_ BYTES - Maximum encoded size of one canonical value document, in bytes.
- MAX_
CAPABILITY_ APPLICATION_ EXPORT_ GRANTS - Maximum lineage-scoped application export grants carried by one capability.
- MAX_
CAPABILITY_ AUDIENCES - Maximum audiences retained by one capability.
- MAX_
CAPABILITY_ FIELD_ VISIBILITY - Maximum field-visibility entries and total listed fields.
- MAX_
CAPABILITY_ LIFETIME_ SECONDS - Maximum requested capability lifetime in seconds.
- MAX_
CAPABILITY_ PARTITIONS - Maximum explicit partition entries retained by one grant.
- MAX_
CAPABILITY_ PAYLOAD_ BYTES - Maximum semantic bytes in one complete durable capability payload.
- MAX_
CAPABILITY_ PERMISSIONS - Maximum permission atoms retained by one grant.
- MAX_
CAPABILITY_ ROW_ POLICY_ BINDINGS - Maximum compiler-selected row-policy bindings carried by one capability.
- MAX_
CAPABILITY_ VECTOR_ INSPECTION_ TARGETS - Maximum exact vector-inspection targets carried by one application role.
- MAX_
COLUMNAR_ PROJECTION_ SOURCE_ V1_ BYTES - Maximum canonical bytes in one schema-bound columnar source identity.
- MAX_
COMMAND_ AFFECTED_ INDEX_ PREFIXES_ V1 - Maximum mutation-affected index-prefix epoch targets produced by one command.
- MAX_
COMMAND_ CONFLICT_ KEYS_ V1 - Maximum conflict-key derivations and acquisition entries for one v1 command.
- MAX_
COMMAND_ INDEX_ DELTAS_ V1 - Maximum worst-case index-entry deltas produced by one v1 command.
- MAX_
COMMAND_ INDEX_ VALIDATION_ POSITIONS_ V1 - Maximum complete transaction-current validation positions for one command.
- MAX_
COMMAND_ INDEX_ WORK_ UNITS_ V1 - Maximum correlated index work for one command.
- MAX_
COMMAND_ READ_ STATE_ SEMANTIC_ BYTES_ V1 - Maximum semantic bytes retained for one v1 command’s transaction-current read state.
- MAX_
COMMAND_ VALIDATION_ TARGETS_ V1 - Maximum binding/root validation positions represented by one v1 plan mask.
- MAX_
COMMIT_ INTENT_ SEMANTIC_ BYTES - Maximum semantic encoded size of one pre-commit intent.
- MAX_
CONTRACT_ LINEAGE_ BYTES - Maximum UTF-8 byte length of a contract lineage name.
- MAX_
DATABASES_ PER_ PROCESS - Maximum number of databases one RiffDB process may host.
- MAX_
DATABASE_ ALIAS_ BYTES - Maximum bytes in one canonical database alias.
- MAX_
DECIMAL_ PRECISION - The largest supported decimal precision.
- MAX_
ENVIRONMENT_ BYTES - Maximum ASCII byte length of an environment slug.
- MAX_
EVALUATED_ COMMAND_ SEMANTIC_ BYTES - Maximum semantic encoded size of one runtime-evaluated command.
- MAX_
EVENT_ CONSUMER_ NAME_ BYTES - Maximum visible-ASCII bytes in one durable consumer name.
- MAX_
EVENT_ DELIVERY_ ATTEMPTS - Terminal failed-attempt count for one event delivery.
- MAX_
EXACT_ TEXT_ NEEDLE_ BYTES_ V1 - Maximum bound needle bytes admitted by V1.
- MAX_
EXACT_ TEXT_ OUTPUT_ ROW_ BYTES_ V1 - Maximum canonical typed output bytes retained for one exact result row.
- MAX_
EXACT_ TEXT_ ROWS_ PER_ PARTITION_ V1 - Maximum indexed rows in one policy/partition state.
- MAX_
EXACT_ TEXT_ TERMS_ PER_ ROW_ V1 - Maximum distinct nonempty character-boundary substrings generated by one row.
- MAX_
EXACT_ TEXT_ VALUE_ BYTES_ V1 - Maximum indexed UTF-8 value bytes admitted by V1.
- MAX_
EXACT_ VECTOR_ PARTITION_ ROWS_ V1 - Existing exact-vector provider partition ceiling, independent from page rows.
- MAX_
IDEMPOTENCY_ KEY_ BYTES - Maximum UTF-8 byte length of a caller idempotency key.
- MAX_
KEY_ BYTES - Maximum encoded size of one durable key, in bytes.
- MAX_
LIST_ ENTRIES - Maximum number of values in one canonical list.
- MAX_
LONG_ PATTERN_ ATOMS_ V1 - Maximum wildcard atoms after profile transformation.
- MAX_
LONG_ PATTERN_ MATCHED_ BYTES_ V1 - Frozen maximum expansion of an 8,000-byte source under
unicode_fold_v1. - MAX_
LONG_ PATTERN_ QUERY_ BYTES_ V1 - Maximum submitted pattern bytes.
- MAX_
LONG_ PATTERN_ ROWS_ PER_ PARTITION_ V1 - Maximum compiler-declared provider rows in one partition.
- MAX_
LONG_ PATTERN_ SOURCE_ BYTES_ V1 - Maximum authoritative UTF-8 source bytes admitted by
long_pattern_v1. - MAX_
NESTING_ DEPTH - Maximum nesting depth of one canonical value.
- MAX_
PRINCIPAL_ FACTS_ V1 - Maximum fact schemas and values carried by one capability.
- MAX_
PRINCIPAL_ FACT_ BYTES_ V1 - Maximum canonical bytes across one complete fact set.
- MAX_
PRINCIPAL_ FACT_ VALUES_ V1 - Maximum scalar members of one list-valued fact.
- MAX_
PROJECTION_ APPLY_ SEMANTIC_ BYTES - Maximum canonical semantic content in one projection apply request.
- MAX_
PROJECTION_ APPLY_ SNAPSHOT_ BYTES - Maximum semantic content returned by one projection apply snapshot.
- MAX_
PROJECTION_ GROUP_ COMPONENTS - Maximum number of components in one projection group schema or key.
- MAX_
PROJECTION_ QUERY_ CONTENT_ BYTES - Maximum encoded row content returned by one projection query.
- MAX_
PROJECTION_ QUERY_ ROWS - Maximum rows returned by one projection query.
- MAX_
PROJECTION_ ROW_ UPDATES - Maximum number of distinct row updates in one projection apply request.
- MAX_
PROJECTION_ SOURCE_ CONTROL_ BYTES - Maximum complete ADR-0316 descriptor/root/maintenance/control envelope.
- MAX_
PROJECTION_ STATE_ SEMANTIC_ BYTES - Maximum semantic encoded size of one stored projection-state payload.
- MAX_
PROJECTION_ WRITE_ SET_ BYTES - Maximum complete staged write set for one projection apply request.
- MAX_
PROVENANCE_ REASON_ BYTES - Maximum UTF-8 byte length of one admitted provenance reason.
- MAX_
RECORD_ FIELDS - Maximum number of fields in one canonical record.
- MAX_
SERVICE_ AUDIT_ TARGETS - Maximum number of protected-object targets in one service-audit record.
- MAX_
SOURCE_ COMMIT_ BYTES - Maximum visible-ASCII byte length of one source-commit provenance claim.
- MAX_
SOURCE_ REPOSITORY_ BYTES - Maximum UTF-8 byte length of one source-repository provenance claim.
- MAX_
STRING_ BYTES - Maximum UTF-8 byte length of one canonical string value.
- MAX_
TENANT_ ID_ BYTES - Maximum UTF-8 byte length of a tenant identifier.
- MAX_
VECTOR_ DIMENSION - Maximum supported vector dimension (4,096 covers all common embedding models).
- MIN_
DECIMAL_ PRECISION - The smallest supported decimal precision.
- NANOS_
PER_ SECOND - The number of nanoseconds in one second.
- PARTITION_
KEY_ V1_ PREFIX - Immutable partition-key namespace and v1 encoding prefix.
- PRINCIPAL_
FACT_ SET_ VERSION_ V1 - Immutable principal-fact encoding version.
- PROJECTION_
APPLY_ KEY_ V1_ PREFIX - Immutable v1 projection apply-marker key prefix.
- PROJECTION_
FRONTIER_ KEY_ V1_ PREFIX - Immutable v1 projection frontier/control key prefix.
- PROJECTION_
GROUP_ KEY_ V1_ PREFIX - Immutable v1 projection group-state key prefix.
- PROJECTION_
PROVIDER_ DESCRIPTOR_ V1_ BYTES - Exact fixed byte length of the V1 descriptor.
- PROJECTION_
PROVIDER_ DESCRIPTOR_ VERSION_ V1 - Canonical projection-provider descriptor identity.
- TEXT_
ANALYZER_ V1_ UNICODE_ VERSION - Unicode revision frozen by both
standard_v1segmentation and folding. - TOKENIZED_
TEXT_ PROVIDER_ STATE_ SCHEMA_ HASH_ V1 - Immutable semantic schema digest of tokenized provider-state V1.
- UNICODE_
FOLD_ V1_ MAXIMUM_ EXPANSION - Maximum byte expansion charged for the frozen Unicode-fold profile.
- UNICODE_
FOLD_ V1_ UNICODE_ VERSION - Unicode revision this profile is frozen against.
Functions§
- aggregate_
semantic_ registry_ v1 - Returns the closed v1 aggregate semantic registry in stable identity order.
- archive_
restore_ input_ hash - Binds every archive restore input to a distinct canonical input domain.
- canonical_
application_ export_ page_ preimage - Canonical hash preimage for one bounded symbolic export page.
- canonical_
command_ input_ encoded_ len - Exact encoded byte length of one canonical atomic-command input record.
- canonical_
record_ encoded_ len - Exact encoded byte length of one record document under canonical value encoding v1.
- canonical_
value_ encoded_ len - Exact encoded byte length of one value under canonical value encoding v1.
- contract_
migration_ input_ hash - Computes the stable V1 semantic-input identity for one migration request.
- decode_
canonical_ value - Decodes exactly one canonical value encoding v1 document.
- encode_
canonical_ command_ input - Encodes one canonical atomic-command input under its fixed V2 envelope.
- encode_
canonical_ record - Encodes one borrowed record as a complete canonical
Value::Recorddocument. - encode_
canonical_ record_ into - Appends one borrowed canonical record without cloning its value graph.
A caller can preflight
canonical_record_encoded_lenand admit the output capacity first. Errors restore the original output length. - encode_
canonical_ value - Encodes one value using canonical value encoding v1.
- encode_
canonical_ value_ into - Appends one complete canonical value encoding v1 document onto
output. - event_
consumer_ identity_ hash - Hashes the one canonical complete durable consumer identity tuple.
- hash
- Computes a domain-separated v1 SHA-256 content digest.
- hash_
adapter_ conformance_ manifest - Hashes one canonical adapter conformance manifest.
- hash_
application_ export_ manifest - Hashes one canonical symbolic application-export manifest.
- hash_
application_ export_ page - Hashes one canonical symbolic application-export page.
- hash_
application_ export_ receipt - Hashes one terminal symbolic application-export receipt.
- hash_
application_ installation_ plan - Hashes one canonical exact application installation plan.
- hash_
application_ installation_ receipt - Hashes one canonical terminal application installation receipt.
- hash_
application_ lock - Hashes one canonical compiler-owned application lock.
- hash_
application_ manifest - Hashes one canonical application manifest in its immutable v1 domain.
- hash_
application_ portability_ manifest - Hashes one adapter-owned compiled reimport mapping manifest.
- hash_
application_ reimport_ receipt - Hashes one terminal application reimport reconciliation receipt.
- hash_
application_ role - Hashes one canonical compiled application role in its immutable v1 domain.
- hash_
application_ role_ definition - Hashes one exact tenant-unbound application role definition.
- hash_
application_ source - Hashes one canonical symbolic application source manifest.
- hash_
canonical_ value - Hashes a canonical value document in its immutable v1 domain.
- hash_
capability_ token - Computes the v1 capability-token lookup digest from exactly 32 decoded raw token bytes.
- hash_
capability_ token_ secret - Computes the v1 capability-token lookup digest from borrowed secret key bytes and exactly 32 decoded raw token bytes.
- hash_
columnar_ definition_ semantics - Hashes one purpose-framed canonical columnar definition-semantics document.
- hash_
columnar_ projection_ spec - Hashes one purpose-framed complete schema-bound columnar specification.
- hash_
command_ batch_ document - Hashes one bounded command-batch source, item, or checkpoint document.
- hash_
command_ input - Hashes canonical command input in its immutable v1 domain.
- hash_
conflict_ key - Hashes canonical conflict-key bytes in their immutable v1 domain.
- hash_
contract_ bundle - Hashes an immutable contract bundle in its v1 domain.
- hash_
contract_ migration_ input - Hashes one canonical contract-migration semantic input.
- hash_
contract_ migration_ journal - Hashes one canonical contract-migration journal state.
- hash_
contract_ migration_ validation - Hashes one complete staged contract-migration validation report.
- hash_
contract_ plan_ root - Hashes an ordered contract semantic-plan set in its immutable v1 domain.
- hash_
entity_ key - Hashes canonical entity-key bytes in their immutable v1 domain.
- hash_
entity_ record - Hashes a complete canonical entity-record preimage in its immutable v1 domain.
- hash_
entity_ transition - Hashes one canonical committed entity transition in its immutable v1 domain.
- hash_
event - Hashes canonical event content in its immutable v1 domain.
- hash_
event_ consumer_ identity - Hashes one exact durable event consumer identity.
- hash_
generated_ artifact - Hashes one compiler-generated application artifact.
- hash_
migration_ bundle - Hashes one canonical compiled migration bundle in its immutable v1 domain.
- hash_
migration_ source - Hashes one exact migration source document in its immutable v1 domain.
- hash_
offline_ maintenance_ input - Hashes one canonical offline-maintenance semantic input.
- hash_
partition_ key - Hashes canonical partition-key bytes in their immutable v1 domain.
- hash_
partition_ set_ observation - Hashes ordered bounded partition/index/provider epoch observations.
- hash_
plan - Hashes an executable command plan in its immutable v1 domain.
- hash_
projection_ apply - Hashes the canonical bytes of a complete checked projection apply request.
- hash_
projection_ plan - Hashes a validated projection plan in its immutable v1 domain.
- hash_
projection_ provider_ descriptor - Hashes a canonical sealed projection-provider descriptor.
- hash_
query_ module - Hashes a canonical immutable query module in its immutable v1 domain.
- hash_
query_ parameters - Hashes one canonical name-addressed RiffQL parameter set.
- hash_
query_ plan - Hashes a closed RiffQL query access program in its immutable v1 domain.
- hash_
query_ source - Hashes one exact RiffQL source document in its immutable v1 domain.
- hash_
reactive_ module - Hashes one canonical immutable reactive module.
- hash_
reactive_ operation - Hashes one canonical reactive operation plan.
- hash_
reactive_ source - Hashes one exact reactive source document.
- hash_
scheduled_ attempt - Hashes one canonical bounded scheduled workflow attempt.
- hash_
schema - Hashes generated schema content in its immutable v1 domain.
- hash_
source - Hashes canonical contract source in its immutable v1 domain.
- keyed_
hash - Computes a domain-separated v1 HMAC-SHA-256 lookup digest.
- keyed_
hash_ secret - Computes a domain-separated v1 HMAC-SHA-256 lookup digest from borrowed secret key bytes.
- long_
pattern_ digest_ v1 - Collision-resistant digest used only as a candidate filter; callers still verify bytes.
- long_
pattern_ grams_ v1 - Returns ordered distinct three-byte windows without enumerating substrings.
- offline_
maintenance_ input_ hash - Computes the stable v1 semantic-input identity for one maintenance request.
- secret_
redaction_ marker - Renders the one stable redaction marker for a secret-classified field.
- storage_
scrub_ input_ hash - The storage scrub’s fixed semantic-input identity (ADR-0203 Decision 9): domain-separated over the fixed scrub kind and its empty input. Every retry of one scrub operation, and every scrub, has this same identity.
- unicode_
fold_ v1 - Applies the frozen
unicode_fold_v1transform.