Expand description
Portable state access for Traverse capabilities.
General operations are governed by spec 032-universal-data-access; the
local-file adapter durability boundary is governed by spec
518-durable-local-datastore. Retention prune and verified backup/restore
are governed by spec 083-datastore-retention-backup.
Structs§
- Ably
History Batch - Ordered history batch returned by an Ably edge.
- Ably
Hosted Sync Transport - Optional Ably-shaped hosted adapter. Core callers depend only on
HostedSyncTransport; Ably channel names stay insideAblyRealtimeEdge. - Backup
Manifest - Backup
Record Index Entry - Data
Store Coordinator - Host-facing, fenced write coordinator governed by Spec 093.
- Data
Store Error - Encrypted
Sync Operation - Encrypted synchronization operation. The adapter never interprets plaintext (FR-006).
- Hosted
Sync Credential - Short-lived, least-privilege credential issued by the application backend (FR-003).
- Hosted
Sync Error - Sanitized transport error with secret-free details.
- Hosted
Sync Lineage Evidence - Declared/observed lineage evidence for one relayed operation (FR-012).
- Hosted
Sync Observation - Redacted observability record (FR-011).
- Hosted
Sync Publish Receipt - Publish acknowledgement with opaque cursor advancement.
- InMemory
Ably Edge - Deterministic Ably edge double used by the shared conformance suite.
- InMemory
Hosted Sync Transport - Deterministic in-memory hosted transport used as the replacement-boundary fixture.
- InMemory
KeyProvider - In-memory provider for tests and host wiring.
- KeyProvider
Error - A key-provider failure that never includes key material or provider internals.
- Lamport
Clock - Local
File Data Store - Local
File Data Store Maintenance - Maintenance
Error - Maintenance
Evidence - Secret-free maintenance evidence (FR-009).
- Merge
Decision - Migration
Error - Migration
Report - Safe evidence returned to the owning host; it never contains paths, keys, or values.
- Remote
KeyValue Data Store - Provider-neutral remote key-value
DataStoreadapter (spec 094), conformant to the S3-compatible profile (spec 095) whenBimplements conditional writes/deletes over an S3-compatible backend. - Remote
Object - One host-fetched remote object: its stored bytes and current version.
- Remote
Operation Evidence - Safe evidence for one remote operation (spec 094 FR-009): operation, outcome, classification, consistency mode, retry count, and stable failure code only. Never a key, value, credential, endpoint, or tenant.
- Remote
Version Token - Opaque, provider-issued concurrency token (e.g. an S3
ETag). Traverse never interprets its contents or treats it as an integrity digest. - Retention
Policy - Host retention knobs for prune (FR-002).
- Runtime
Data Store - State
Record - Sync
Report - Sync
Scope Id - Opaque, backend-derived synchronization scope (FR-004). Not a capability ID.
Enums§
- Ably
Edge Error - Errors from the Ably edge translation layer.
- Conflict
Resolution Rule - Data
Store Coordinator Error - Data
Store Error Code - Hosted
Sync Connection State - Typed connection / synchronization state (FR-005, FR-010).
- Hosted
Sync Degraded Reason - Why synchronization entered a degraded state.
- Hosted
Sync Error Code - Stable machine-readable failure codes (FR-005, FR-012).
- Hosted
Sync Replay Result - Outcome of a cursor-based replay request (FR-008).
- KeyProvider
Error Code - Stable, secret-free key-provider failure codes.
- Local
Data Classification - Classification recorded with each locally durable record.
- Maintenance
Error Code - Stable maintenance failure codes (FR-010).
- Migration
Error Code - Stable, secret-free failure codes for an explicit host-owned v1-to-v2 migration.
- Remote
Backend Failure - Stable, secret-free host-backend failure categories (spec 094 FR-007 / spec 095 FR-008, minus the outcomes that are not backend failures).
- Remote
Write Outcome - Outcome of a conditional write or delete against the host backend.
Traits§
- Ably
Realtime Edge - Injectable Ably edge so the optional adapter stays replaceable and testable.
- Data
Store - Data
Store Maintenance - Separate maintenance port for the same root and exclusive lock (FR-001).
- Data
Store Migration - Host-explicit format-migration port. Generic runtime and CLI paths never call it.
- Hosted
Sync Transport - Provider-neutral hosted synchronization transport port (FR-001).
- KeyProvider
- Host-owned source of AES-256 keys.
- Remote
Data Store Backend - Host-provided, provider-specific transport. The host owns endpoint selection, authentication, tenant mapping, and retry policy; Traverse only validates envelope/integrity semantics and projects safe outcomes.
Functions§
- run_
hosted_ sync_ conformance - Runs the Spec 087 hosted-transport conformance suite against any adapter.
- validate_
state_ write - Validates a capability state write against the contract-declared state schema.