Aequora Sync Architecture & API Platform
Local-first, ACID-backed distributed synchronization engine with deterministic replay, framed Postcard wire transport, authoritative PostgreSQL/Neon commits, and Merkle anti-entropy self-repair.
12 Architectural Tiers
View All 50 Specs →Tier 1: Core Foundations & Correctness
Formal correctness, state machine verification, causal provenance, anti-entropy Merkle exchange, and offline compaction.
Tier 2: Local Coordination & Scheduling
Multi-process coordinator election, QoS adaptive scheduling, dynamic subscriptions, and live presence push.
Tier 3: Data Transfer & Execution
Bulk transactional ingestion, resumable snapshot bootstrap, consistency profiles, and deterministic domain replay.
Tier 4: Audit, Governance & Security
Tamper-evident audit trails, legal-hold erasure cascades, zero-knowledge payload encryption, and epoch failover.
Tier 5: Scale, Admission & Memory
Multi-region single-writer routing, hierarchical admission token buckets, low-allocation memory, and constrained clients.
Tier 6: Protocols, Metadata & Workflows
Wire protocol negotiation, internal metadata schema persistence, durable workflows, and admin control-plane APIs.
Tier 7: Diagnostics, Legacy & Threat Model
Forensic incident bundles, legacy application adoption, security threat matrix, and multi-consumer change feeds.
Tier 8: Operation Registries & Conformance
Centralized operation registry governance, schema evolution, and automated ecosystem certification.
Tier 9: Mobile, Desktop & Cross-Platform Storage
Android/iOS platform bindings, desktop OS integration, and unified cross-platform local storage architectures.
Tier 10: Public Rust API & Official Storage Adapters
Workspace crate boundaries, public Rust SDK stability contracts, and storage adapter SDK interfaces.
Tier 11: Production Adapters, Frameworks & Distribution
PostgreSQL/Neon authority, Stoolap local replica, Axum server middleware, Dioxus reactive client, CLI toolchain, SQLite adapter, config profiles, and release engineering.
Tier 12: Operations, Observability, Verification & GA
Deployment topologies, production telemetry & SLOs, performance regression benchmarking, fault-injection testkit, supply-chain SBOM security, and v1.0 GA roadmap.
9 Workspace Crate Layers
Explore Public APIs →Layer 0: Foundation
Primitive types, normative invariants, clocks, capability tokens, and scheduling roots.
Layer 1: Protocol Contracts
Wire DTOs, codecs, streaming framing, admin models, and audit envelopes.
Layer 2: Domain Execution
Execution engines, journals, conflict policies, background jobs, and migration executors.
Layer 3: Storage Contracts
Capability matrices, adapter SDK, outbox contracts, and storage profiles.
Layer 4: Sync Engines
Client one-shot reconciliation, authoritative server orchestration, admission, and live push.
Layer 5: Physical Adapters
PostgreSQL authority adapter, Stoolap local adapter, and SQLite replica adapter.
Layer 6: Integration & Platform
Desktop/mobile runtime hosts, Axum server, Dioxus reactive client, and QUIC transports.
Layer 7: Applications & SDK Facade
Public SDK umbrella facade, CLI application, developer tools, and registry codegen.
Layer 8: Tooling & Verification
Architecture verification, invariant model harness, chaos simulation, and testkit.