Aequora Sync — Part 50
Aequora v1 Scope, Productization Plan, Milestones, Production Readiness, Release Candidate Process, General Availability Exit Criteria, and Long-Term Evolution Architecture
1. Purpose
Parts 1–49 define a broad synchronization platform. Part 50 turns that architecture into a product that can actually be completed, released, operated, supported, and evolved.
The principal danger now is not lack of capability.
It is uncontrolled scope.
Aequora v1 must prove a small set of unusually strong guarantees rather than attempt every possible distributed-systems feature.
The central rule is:
Aequora v1 ships when its declared guarantees are proven under failure, not when every imaginable synchronization feature exists.
2. v1 Product Thesis
Aequora v1 is:
A reusable, server-authoritative, local-first synchronization engine written in Rust that synchronizes typed domain operations between durable local replicas and a PostgreSQL authority while preserving offline intent, idempotency, transactional reconciliation, domain-specific conflict semantics, and recoverability across retries and crashes.
The first production path is:
Rust application
|
v
Aequora Client
|
+--> SQLite or certified Stoolap local adapter
|
v
Postcard over HTTPS
|
v
Axum integration
|
v
Aequora Server Core
|
v
PostgreSQL / Neon authoritative adapter
This is enough to build serious local-first applications.
3. v1 Non-Negotiable Correctness Model
Aequora v1 revolves around three atomic boundaries.
Tx A — Local Intent
provisional domain mutation
+
outbox operation
+
required local metadata
=
one local transaction
Tx B — Authoritative Execution
idempotency ledger
+
domain mutation
+
version update
+
journal
+
required audit
+
side-effect intent
=
one authoritative transaction
Tx C — Local Reconciliation
authoritative events
+
operation outcome
+
conflict/rebase metadata
+
cursor
=
one local transaction
If an implementation cannot preserve these semantics, it is not an Aequora v1-compatible storage path.
4. v1 Fundamental Guarantees
Aequora v1 must guarantee:
durable offline intent
at-least-once transport safety
logical exactly-once authoritative operation effect
server-authoritative validation
tenant isolation
monotonic authoritative versions
durable journal
cursor-safe reconciliation
crash-safe retry
explicit conflict handling
snapshot bootstrap
schema/protocol compatibility
safe migration
bounded resource use
5. v1 Product Boundaries
The product should be divided into:
Aequora Core
Aequora Client
Aequora Server Core
Aequora Protocol
Aequora Storage SDK
Official Storage Adapters
Axum Integration
Dioxus Integration
CLI / Devtools
Testkit / Conformance
Operations / Diagnostics
6. v1 Official Storage Matrix
Authoritative:
PostgreSQL
Neon as PostgreSQL operational profile
Local:
SQLite — official portable local adapter
Stoolap — official only for platform profiles that pass conformance
This is sufficient for v1.
7. Database Scope Discipline
Do not add for v1 merely for breadth:
Redb
Fjall
RocksDB
SurrealDB
MongoDB
MySQL
CockroachDB
FoundationDB
They can be future adapters if real workloads justify them.
Aequora's DB-agnostic architecture is demonstrated by adapter contracts, not by shipping ten adapters.
8. v1 Transport
Required:
HTTPS
Postcard request/response
Optional interoperability:
JSON at selected external boundaries
RON remains configuration/developer-facing.
9. v1 Transport Non-Goals
Not required for GA:
QUIC
gRPC
WebRTC
P2P synchronization
custom transport protocol
The transport trait should permit future implementations without putting them on the v1 critical path.
10. v1 Authority Model
Required:
single logical authority per tenant/domain timeline
Deployment may use multiple stateless API nodes, but authority semantics remain single-writer.
11. v1 Multi-Region Scope
Supported architecture:
single writer authority region
optional regional reads/artifact distribution
Not v1:
multi-primary authoritative writes
automatic conflict-free global write authority
12. v1 Offline Model
Required:
offline local reads
offline local mutations when domain policy permits
durable outbox
reconnect
retry
reconcile
13. v1 Conflict Model
Required:
optimistic versioned
append-only
manual conflict
server-only
commutative where explicitly implemented
No universal LWW fallback.
14. v1 Finance Safety
For financial/accounting domains:
append/correct/reverse
rather than:
overwrite latest value
Aequora provides the semantic infrastructure; the application owns accounting rules.
15. v1 Scope/Subscription
Required:
typed scope
authorized scope resolution
scope cursor
expansion
contraction
rebootstrap
Advanced arbitrary user-defined query replication is not required.
16. v1 Bootstrap
Required:
snapshot boundary
chunk verification
resumable installation
journal catch-up
pending-intent preservation
17. v1 Anti-Entropy
Required baseline:
canonical digest
partition integrity verification
divergence detection
authoritative repair path
Highly sophisticated continuous Merkle optimization can evolve later.
18. v1 Multi-Process Coordination
Desktop profile requires:
one active coordinator per local store
lease
fencing token
safe takeover
19. v1 Scheduler
Required:
foreground sync
background sync requests
retry/backoff
jitter
bounded batching
resource-aware decisions
Advanced ML/adaptive prediction is unnecessary.
20. v1 Push/Live Sync
Push is optional acceleration:
hint -> normal cursor sync
Push never carries correctness authority.
Presence is optional and ephemeral.
21. v1 Blob Scope
Large files remain outside normal operation payloads.
Required architecture:
content-addressed/reference-based blob subsystem boundary
A sophisticated globally deduplicated blob platform is not required.
22. v1 Jobs
Required:
durable background jobs
side-effect intents
retry
idempotency/reconciliation
dead-letter/attention state
23. v1 Change Feed
Required:
durable independent consumer cursor
at-least-once consumption
rebuild/snapshot path
External broker integration is optional.
24. v1 Governance
Core support:
retention
tombstone safety
device/scope floors
legal-hold hooks
erasure workflow hooks
Full jurisdiction-specific compliance certification belongs to products/deployments.
25. v1 Cryptography
Required:
TLS
artifact hashing
secure secret handling
signed release artifacts
encryption provider boundaries
Optional:
selective E2E payload encryption
Do not delay GA solely for a universal E2E model incompatible with server-side domain validation.
26. v1 Observability
Required:
structured tracing
metrics
safe logs
health/readiness
diagnostics
SLO-ready signals
No mandatory vendor.
27. v1 Control Plane
Required operational controls:
status
health
migrations
snapshot
repair
jobs
consumers
diagnostics
authority status
Dangerous operations require plan/apply and audit.
28. v1 CLI
Required command families:
doctor
config
sync
registry
migrate
adapter
conform
snapshot
integrity
diagnostics
version
29. v1 SDK
Stable initial Rust surface should emphasize:
open
mutate
query
sync
observe
conflicts
diagnostics
Keep internals private.
30. v1 Foreign-Language Scope
GA does not require every language binding.
Recommended priority:
1. Rust native
2. C ABI foundation
3. Kotlin/Android
4. Swift/iOS
Additional bindings can follow.
31. v1 UI Scope
Dioxus integration is supported as a reactive application integration layer.
Aequora itself is not a complete UI framework.
32. v1 Platform Scope
Primary:
Linux server
Linux desktop
Windows desktop
macOS desktop
Android
iOS
Actual official support is only declared for platforms continuously tested in the release matrix.
33. Platform Support Tiers
Recommended:
Tier 1 — release-blocking CI + conformance
Tier 2 — regularly tested
Experimental — best effort
Do not claim all platforms Tier 1 initially if infrastructure cannot sustain it.
34. v1 Explicit Non-Goals
Exclude:
multi-primary global writes
generic CRDT framework
P2P authority
arbitrary runtime plugins
consensus implementation
custom database engine
custom TLS
custom cryptographic primitives
universal ORM
universal row replication
automatic schema inference
every database adapter
every programming language binding
35. Why Explicit Non-Goals Matter
Without them, Aequora can become a research project that never ships.
36. Productization Phases
Recommended macro phases:
P0 Architecture Freeze
P1 Core Semantic Kernel
P2 Local Durability
P3 Authority
P4 End-to-End Sync
P5 Recovery and Compatibility
P6 Platform Integration
P7 Operations
P8 Security and Verification
P9 Beta
P10 Release Candidate
P11 GA
37. P0 — Architecture Freeze
Goal:
convert Parts 1–50 into implementation contracts
Deliverables:
workspace skeleton
invariant registry
crate dependency rules
protocol registry
operation registry
ADR set
v1 scope file
38. P0 Exit Criteria
no unresolved authority model
Tx A/B/C defined
OperationId semantics defined
cursor semantics defined
official adapters selected
non-goals approved
39. P1 — Core Semantic Kernel
Implement:
typed IDs
versions
HLC
operation envelope
error model
capabilities
registry types
domain operation traits
conflict profiles
40. P1 Dependency Principle
Keep this layer nearly free of:
Axum
Dioxus
SQLx
SQLite
Stoolap
41. P1 Verification
Required:
unit
property
compile-fail
golden encoding
registry tests
42. P2 — Local Durability
Implement:
storage contracts
ReferenceStore
SQLite adapter
Tx A
outbox
cursor
entity metadata
Tx C
conflicts
migrations
Then implement Stoolap against the same contract.
43. P2 First Milestone
A local application should be able to:
create operation offline
crash
restart
find pending operation
44. P2 Exit Criteria
Tx A fault tests pass
Tx C fault tests pass
SQLite conformance passes
large outbox works
migration preserves pending intent
Stoolap can graduate independently after equivalent evidence.
45. P3 — Authority
Implement:
PostgreSQL adapter
Tx B
operation ledger
journal
entity versions
timeline head
audit
side-effect intents
46. P3 Critical Test
commit operation
drop response
retry same OperationId
must produce exactly one logical effect.
47. P3 Exit Criteria
real PostgreSQL tests
duplicate race
ambiguous commit
version CAS
journal ordering
timeline contention
migration tests
48. P4 — End-to-End Sync
Implement:
protocol
client coordinator
server core
Axum integration
exchange
push/pull
reconciliation
49. First Vertical Slice
Use one deliberately simple domain:
Task
Note
or
Student profile
with:
create
update
delete
conflict
50. Why Vertical Slice
It proves architecture through all layers before implementing broad abstractions.
51. P4 Exit Criteria
Two clients can:
work offline
reconnect
sync
conflict
retry
restart
converge
through real HTTP + PostgreSQL + local DB.
52. P5 — Recovery and Compatibility
Implement:
snapshot/bootstrap
scope
anti-entropy
repair
tombstones
retention floors
schema upcasting
protocol negotiation
migration framework
authority epoch handling
53. P5 Exit Criteria
Prove:
fresh bootstrap
interrupted bootstrap
rebootstrap with pending intent
stale client
epoch change
version skew
54. P6 — Platform Integration
Implement:
Dioxus integration
desktop runtime
mobile runtime
secure stores
background execution
multi-process coordinator
55. P6 Platform Strategy
Do not build all platforms simultaneously from day one.
Recommended sequence:
Linux desktop
↓
Windows/macOS
↓
Android
↓
iOS
while keeping core portable throughout.
56. P6 Exit Criteria
Each declared supported platform passes its profile:
offline
restart
upgrade
background/lifecycle
storage pressure
secure identity
57. P7 — Operations
Implement:
config
CLI
observability
control plane
jobs
change feed
diagnostics
incident bundles
backup/restore tooling
58. P7 Exit Criteria
An operator can deploy and diagnose Aequora without direct database surgery.
59. P8 — Security and Verification
Complete:
threat model
security tests
fuzzing
model testing
conformance
SBOM
dependency policy
artifact signing
60. P8 Exit Criteria
No unresolved critical security/correctness blocker for declared beta profile.
61. Alpha
Alpha means:
architecture is usable
APIs may change
store formats may change
not recommended for production
62. Alpha Goal
Validate developer ergonomics and semantic design.
63. Alpha Users
Ideal:
Aequora's own example apps
internal ERP prototypes
technical early adopters
64. Alpha Data Policy
Assume alpha users may need to reset data unless a specific migration promise has already begun.
State this clearly.
65. Beta
Beta changes the promise.
Recommended beta promise:
no intentional data loss
supported upgrade path begins
protocol compatibility policy active
public SDK mostly stable
66. Beta Requirements
Before beta:
Tx A/B/C proven
real E2E
migration framework
backup/restore
diagnostics
security baseline
official adapter status clear
67. Beta Scope Freeze
New major architecture features should generally wait.
Beta focuses on:
bugs
performance
ergonomics
compatibility
operations
68. Beta Feedback
Collect:
integration friction
migration issues
offline behavior
conflict UX
operational pain
performance profiles
69. Release Candidate
RC means:
The team believes this exact feature set could become GA if no release-blocking defects are discovered.
70. RC Feature Freeze
During RC:
no new major feature
except a change required to fix a release blocker.
71. RC Dependency Freeze
Avoid unnecessary dependency churn.
Security fixes remain allowed.
72. RC Registry Freeze
Stable IDs and schemas should be treated as release contracts.
Changes require explicit compatibility review.
73. RC Protocol Freeze
Protocol changes require:
critical defect
or
security requirement
plus complete compatibility evidence.
74. RC Migration Freeze
Migration chain must be stable enough to test repeatedly.
75. RC Candidate Artifact
RC is built through the same pipeline intended for GA:
source
↓
verification
↓
SBOM
↓
provenance
↓
signing
↓
staging
76. RC Quality Gate
Must pass Part 48 release profile.
77. RC Performance Gate
Must pass Part 47 critical regressions and capacity profile.
78. RC Security Gate
Must pass:
dependency/advisory scan
fuzzing budget
tenant isolation
auth/authz
artifact integrity
secret leakage checks
79. RC Upgrade Gate
Test:
beta/latest supported -> RC
with pending operations.
80. RC Rollback Gate
Test what is actually reversible.
Do not claim binary rollback across irreversible migration.
81. RC Soak
Run representative sustained workloads.
Look for:
memory growth
connection leaks
journal issues
queue buildup
latency drift
82. RC Failure Campaign
Inject:
client crashes
server restarts
response loss
DB connection failure
disk pressure
network partition
83. RC Platform Matrix
Every Tier 1 target must pass release tests on the actual target class.
84. RC Adapter Matrix
Every adapter called Official must pass current conformance suite.
85. RC Documentation Gate
Required:
getting started
architecture overview
Rust SDK
server deployment
SQLite
PostgreSQL
migrations
backup/restore
troubleshooting
upgrade
security
86. RC Example Application
At least one complete example should demonstrate:
offline mutation
sync
conflict
restart
bootstrap
87. RC Known-Issues Document
Known non-blocking issues must be explicit.
88. Release Blocker Definition
Examples:
data loss
duplicate authoritative financial effect
cursor skip
cross-tenant leak
silent corruption
unrecoverable migration
critical vulnerability
unsupported claimed platform
89. Severity Classes
Recommended:
S0 Catastrophic
S1 Critical
S2 Major
S3 Minor
S4 Cosmetic
90. S0 Examples
systemic data corruption
authority fork undetected
cross-tenant exposure at scale
91. S1 Examples
lost outbox
duplicate Tx B effect
broken upgrade path
auth bypass
92. GA Rule
No open S0/S1 defect in supported profiles.
93. S2 at GA
A limited S2 may be acceptable only if:
well understood
documented
workaround exists
not correctness/security critical
94. General Availability
GA is a support and compatibility promise, not a marketing label.
95. GA Core Promise
From GA onward:
public SDK follows SemVer policy
protocol follows compatibility policy
store formats have migration policy
stable IDs are never reused
supported releases have upgrade paths
security process is active
96. GA Exit Criterion — Correctness
Must demonstrate:
Tx A crash atomicity
Tx B idempotency
Tx C cursor atomicity
convergence
conflict correctness
tombstone safety
authority epoch safety
97. GA Exit Criterion — Storage
Required official adapters pass certification.
At minimum:
PostgreSQL authority
SQLite local
Stoolap is Official only if its claimed platform profiles pass.
Aequora GA does not need to wait for Stoolap if SQLite already provides the production local path.
98. GA Exit Criterion — Protocol
Must have:
stable v1 envelope
capability negotiation
version errors
golden fixtures
fuzzing
compatibility matrix
99. GA Exit Criterion — Migration
Must support tested upgrade from the oldest version promised by the GA support policy.
100. GA Exit Criterion — Recovery
Must demonstrate:
backup restore
client rebootstrap
snapshot resume
stale-client recovery
server restore epoch behavior
101. GA Exit Criterion — Security
Must have:
threat model
security reporting process
dependency scanning
secret policy
auth/authz tests
tenant isolation tests
artifact signing
102. GA Exit Criterion — Operations
Must have:
health
readiness
metrics
logs
traces
SLO definitions
alerts/runbooks
diagnostics
103. GA Exit Criterion — Performance
Must have measured capacity for at least one reference production workload.
Do not require a universal capacity number.
104. GA Exit Criterion — Resource Safety
Overload tests demonstrate:
bounded queues
bounded memory
controlled rejection
recovery after load drops
105. GA Exit Criterion — Documentation
A new Rust developer should be able to:
run server
create client
register operation
mutate offline
sync
handle conflict
deploy
upgrade
diagnose
from maintained documentation.
106. GA Exit Criterion — Supply Chain
Required:
license policy
Cargo.lock
SBOM
provenance
signed artifacts
dependency advisory process
107. GA Exit Criterion — Release Process
A release candidate must be promotable to GA without rebuilding different bytes.
Preferred:
verify exact RC artifact
↓
promote metadata/channel
108. GA Exit Criterion — Incident Readiness
Must have:
incident bundle
replay workflow
rollback/forward-fix process
security escalation
109. GA Exit Criterion — Ownership
Every critical subsystem has a documented maintainer/owner, even if initially the same person owns several areas.
110. Solo-Founder Reality
Aequora can be developed by one primary developer with AI assistance, but scope must reflect available operational capacity.
Therefore v1 should favor:
one authority DB
one primary transport
two local adapters maximum
one CLI
one server integration
one primary UI integration
over breadth.
111. AI as Development Multiplier
AI can accelerate:
implementation
tests
documentation
review checklists
migration scaffolding
but it does not replace:
invariants
compiler
tests
benchmarks
conformance
production evidence
112. AI Change Policy
For correctness-critical code, require AI-generated changes to identify affected invariants.
Example:
Affected:
113. AI Review Prompt Contract
Repository agent instructions should require:
Do not weaken invariants.
Do not bypass architecture layers.
Do not silently add dependencies.
Do not alter durable IDs casually.
Do not modify tests merely to make failures disappear.
114. Milestone Artifacts
Every milestone produces:
code
tests
docs
migration state
verification report
known limitations
not code alone.
115. Milestone M0
Workspace & Contracts
Deliver:
workspace
crate graph
types
registry
invariants
CI
116. Milestone M1
Offline Local Kernel
Deliver:
ReferenceStore
SQLite
Tx A
outbox
Tx C
cursor
117. Milestone M2
Authority Kernel
Deliver:
PostgreSQL
ledger
journal
versions
Tx B
118. Milestone M3
Network Sync
Deliver:
protocol
Axum
client coordinator
exchange
119. Milestone M4
Conflict & Recovery
Deliver:
conflicts
scope
bootstrap
snapshot
anti-entropy
repair
120. Milestone M5
Product SDK
Deliver:
Rust facade
Dioxus integration
CLI
configuration
121. Milestone M6
Platform
Deliver:
desktop
mobile foundation
secure storage
background integration
122. Milestone M7
Operations
Deliver:
observability
jobs
control plane
diagnostics
backup/restore
123. Milestone M8
Verification
Deliver:
model tests
fault tests
conformance
fuzzing
benchmarking
security
124. Milestone M9
Beta
Deliver:
stable upgrade path
docs
examples
early production trials
125. Milestone M10
RC
Deliver:
feature freeze
release evidence
capacity report
signed artifacts
126. Milestone M11
GA
Deliver:
support policy
compatibility promise
production documentation
release channel
127. Milestones Are Evidence-Based
Do not mark a milestone complete because files/classes exist.
Example:
"Tx B implemented"
means:
code exists
+
real PostgreSQL tests
+
response-loss idempotency proven
+
fault tests
128. Definition of Done
Every feature should satisfy:
architecture
implementation
tests
observability
documentation
failure behavior
migration impact
security review where relevant
129. Production Readiness Review
Before beta/GA, review each subsystem using a standard template.
130. Readiness Template
Purpose
Owner
Dependencies
Invariants
Failure Modes
Recovery
Metrics
Alerts
Capacity
Security
Migration
Backup
Tests
Known Limits
131. Local Store Readiness
Ask:
Can Tx A fail partially?
Can Tx C advance cursor early?
What happens on disk full?
What happens on corruption?
Can pending operations survive upgrade?
132. Authority Readiness
Ask:
Can duplicate requests double-apply?
Can timeline order be wrong?
Can restore create silent fork?
Can pool overload exhaust server?
133. Protocol Readiness
Ask:
Can malformed input exhaust memory?
Can old clients safely connect?
Can downgrade be exploited?
134. Scheduler Readiness
Ask:
Does reconnect storm self-amplify?
Can background work starve?
Can mobile battery usage become excessive?
135. Operations Readiness
Ask:
Can we diagnose a stuck client without raw DB surgery?
Can we identify an OperationId end-to-end?
Can we see authority epoch?
136. Security Readiness
Ask:
Can a client lie about tenant?
Can an admin bypass audit?
Can secrets enter logs?
Can malformed compressed input cause resource exhaustion?
137. Release Readiness
Ask:
Can exact source and dependencies be identified?
Is SBOM available?
Can artifact signature be verified?
Can prior supported version upgrade?
138. Production Trial Strategy
Do not make first production use a massive customer deployment.
Use stages:
example
internal dogfood
small controlled pilot
larger pilot
general availability
139. Pilot Selection
Choose workloads that exercise:
offline
reconnect
conflicts
real devices
real network variability
without catastrophic business risk.
140. Pilot Instrumentation
Collect:
sync latency
pending operations
conflicts
retries
storage growth
bootstrap
errors
resource use
privacy-safely.
141. Pilot Exit
Do not expand until:
no unresolved data correctness issue
known operational behavior
capacity understood
upgrade tested
142. Production Data Safeguards
Early production:
frequent verified backups
restore drills
strong diagnostics
conservative retention
143. Feature Rollout
New semantic features after GA follow:
implement
↓
compatibility classification
↓
migration
↓
capability negotiation
↓
canary
↓
general rollout
144. Long-Term Version Axes
Never collapse all compatibility into one version.
Keep separate:
crate/API version
protocol version
operation schema
domain schema
snapshot schema
store format
config schema
profile version
handler version
registry generation
145. Semantic Versioning
Rust public APIs use SemVer.
Protocol/store/schema compatibility uses its own explicit rules.
146. v1.x
Minor releases may add compatible:
operations
capabilities
adapters
observability
performance
without breaking v1 clients.
147. v2 Trigger
Aequora 2.0 should require genuine public API incompatibility or a deliberate support-policy break.
Do not increment major version merely for marketing.
148. Protocol v2
Protocol v2 does not necessarily require crate 2.0.
Multiple protocol versions may coexist during transition.
149. Store Format Evolution
Use migrations.
Never infer:
crate version == store format version
150. Long-Term Adapter Ecosystem
After v1:
Redb
Fjall
other SQL databases
specialized edge stores
can be considered through Part 36 adapter SDK + Part 30 conformance.
151. Adapter Acceptance Rule
A new adapter needs:
real user/workload need
capability map
maintenance owner
conformance
migration story
152. Future QUIC
Add only if measurements show meaningful benefit for:
mobile reconnection
high-latency links
stream multiplexing
Core must remain unchanged.
153. Future P2P
P2P synchronization is a separate authority/consistency problem.
Do not bolt it onto server-authoritative v1 semantics casually.
154. Future CRDTs
Add CRDT types selectively for domains where their algebra is correct.
Do not create a universal CRDT mode.
155. Future Multi-Writer
Global multi-writer authority would require a new architecture phase covering:
consensus
conflict semantics
causality
failover
residency
It is not a simple feature flag.
156. Future Plugin Ecosystem
Runtime plugins require:
security
ABI
sandbox
capability
signing
registry governance
Compile-time extensions remain preferable until need is proven.
157. Future WASM
A browser/WASM client can be explored separately because:
storage
background execution
networking
security
differ substantially from native clients.
158. Future Language SDKs
Add in demand order:
Kotlin
Swift
C/C++
Python
C#
Dart
Go
Node
using the integration boundaries already defined.
159. Future Managed Service
A hosted Aequora control/data service can exist without changing the core protocol.
Avoid provider lock-in inside the engine.
160. Future Enterprise Features
Possible:
SSO administration
advanced governance
regional residency
private connectivity
HSM
offline release repository
advanced audit export
161. Long-Term Compatibility Window
Define only what can be maintained.
Example policies could eventually specify:
N and N-1 clients
12-month client window
LTS releases
but do not promise exact windows until operational capacity exists.
162. Deprecation
Use lifecycle:
Current
Supported
Deprecated
RetryOnly
Removed/Reserved
from Part 29.
163. Retry-Only Importance
An operation kind may need to remain retryable after new creation is disabled because old clients may be retrying an operation whose original response was lost.
164. Removal Rule
Never remove a durable semantic identifier merely because code no longer creates it.
Historical journals, audits, snapshots, and incident bundles may still contain it.
165. Compatibility Debt
Track:
old upcasters
old protocol decoders
old migrations
deprecated operations
as deliberate maintenance cost.
166. Removal Evidence
Before removing support, verify telemetry/compatibility evidence shows supported users no longer depend on it.
167. Long-Term Journal Strategy
As data grows:
hot journal
archive
snapshot
consumer checkpoints
may evolve without changing cursor semantics.
168. Long-Term Ledger Strategy
Operation ledger retention must remain consistent with retry/idempotency guarantees.
Never shorten it merely to save space without changing support semantics.
169. Long-Term Snapshot Strategy
Snapshot formats can evolve independently with versioned manifests/upcasters or forced re-generation.
170. Long-Term Anti-Entropy
Can evolve from simple partition digests to more efficient Merkle structures without changing correctness model.
171. Long-Term Performance
Optimize only from Part 47 evidence.
Likely progression:
query/index tuning
↓
batch tuning
↓
vertical DB scaling
↓
API horizontal scaling
↓
worker isolation
↓
tenant partitioning
172. Avoid Premature Sharding
Sharding introduces:
routing
migration
operations
failure domains
and should follow measured need.
173. Supportability as Feature
A feature that cannot be diagnosed, migrated, or recovered is incomplete.
174. Operational Complexity Budget
Every new distributed component spends operational complexity.
Examples:
Redis
Kafka
NATS
service mesh
consensus cluster
Add only when the benefit exceeds the cost.
175. v1 Minimal Infrastructure
A production deployment should be possible with:
Aequora server
PostgreSQL
optional object storage
plus normal identity/observability integrations.
No mandatory broker.
176. Local-Only Development
Developers should be able to run:
server binary
local PostgreSQL
client
without cloud accounts.
177. Air-Gapped Evolution
Keep:
offline config
offline identity options
offline artifacts
local observability
possible for enterprise environments.
178. Product-Specific Layer
School ERP, finance ERP, and other products should define:
domain operations
authorization
conflict policies
scopes
projections
business audit
on top of Aequora.
Aequora must not absorb product-specific business logic.
179. Reference Domains
Maintain small examples:
Todo/Notes — teaching
Inventory — conflict/concurrency
Accounting — append-only semantics
rather than embedding a full ERP into the engine repository.
180. Documentation Product
Documentation is part of GA.
Recommended:
Concepts
Tutorial
Rust SDK
Server
Adapters
Protocol
Operations
Security
Testing
Migration
Troubleshooting
Reference
181. Architecture Decision Records
Keep ADRs for decisions such as:
server authority
Postcard
PostgreSQL
SQLite
Stoolap status
HTTP transport
timeline sequence
182. Why ADRs Matter
Years later, maintainers need to know:
why
not merely:
what
183. Support Matrix
Publish:
Aequora release
Rust MSRV
protocol range
PostgreSQL versions tested
local adapter versions
OS targets
migration source versions
based on real CI evidence.
184. Compatibility Command
CLI:
aequora version --verbose
aequora compatibility check
should make support status diagnosable.
185. Production Readiness Score
Avoid one misleading numeric score.
Use explicit categories:
Ready
ReadyWithLimitations
Experimental
Unsupported
186. Feature Maturity
Each optional subsystem can independently carry maturity.
Example:
PostgreSQL authority: Official
SQLite local: Official
Stoolap Android: Experimental
QUIC: Not Implemented
187. Issue Labels
Useful:
correctness
data-loss
security
compatibility
migration
performance
adapter
platform
release-blocker
188. Release Blocker Board
RC/GA should have one visible source of truth for blockers.
189. Risk Register
Track high-risk areas:
authority timeline
Stoolap maturity
mobile lifecycle
migration
snapshot
crypto
with owner and mitigation.
190. Technical Debt Policy
Technical debt is acceptable when:
documented
bounded
does not violate invariant
has follow-up
191. Correctness Debt
Do not intentionally ship known correctness debt in GA.
192. Security Debt
Critical security debt blocks GA.
193. Performance Debt
Performance debt can be acceptable if capacity remains within declared supported envelope.
194. Feature Debt
Missing non-essential features do not block GA.
This distinction protects scope.
195. Release Cadence
Do not force an artificial cadence initially.
Release when:
change value
+
quality evidence
+
support readiness
justify it.
196. Patch Releases
Focus:
bugs
security
small safe fixes
197. Minor Releases
Can add backward-compatible features/adapters.
198. Security Releases
May be accelerated, with targeted but never absent verification.
199. LTS
Do not promise LTS until there is capacity to maintain parallel release lines.
200. Community Contributions
Require:
architecture fit
tests
license compliance
dependency policy
documentation
201. External Adapter Contributions
Use adapter SDK/conformance rather than merging every adapter into core.
202. Governance Evolution
Initially:
maintainer-led
Later:
documented RFC/change proposal
multiple reviewers
ecosystem governance
as contributors grow.
203. RFC Threshold
Require formal proposal for:
protocol break
authority change
new durable ID namespace
new consistency model
security model change
major dependency
204. Release Decision Inputs
GA/release decision uses:
quality gates
security
performance
migration
known defects
pilot evidence
documentation
operational readiness
not intuition alone.
205. GA Checklist — Core
[ ] IDs stable
[ ] Operation envelope stable
[ ] Tx A proven
[ ] Tx B proven
[ ] Tx C proven
[ ] cursor proven
[ ] conflict profiles documented
[ ] journal durable
[ ] ledger idempotent
206. GA Checklist — Adapters
[ ] PostgreSQL Official
[ ] SQLite Official
[ ] Stoolap status explicitly declared
[ ] adapter conformance evidence published
[ ] migration paths tested
207. GA Checklist — Protocol
[ ] Postcard fixtures
[ ] negotiation
[ ] compatibility matrix
[ ] malformed-input fuzzing
[ ] size/dependency bounds
208. GA Checklist — Recovery
[ ] bootstrap
[ ] interrupted bootstrap
[ ] anti-entropy
[ ] repair
[ ] backup restore
[ ] authority epoch transition
209. GA Checklist — Security
[ ] threat model
[ ] tenant isolation
[ ] auth/authz
[ ] secret redaction
[ ] dependency scan
[ ] SBOM
[ ] artifact signatures
[ ] vulnerability reporting
210. GA Checklist — Operations
[ ] health
[ ] readiness
[ ] metrics
[ ] tracing
[ ] logs
[ ] SLOs
[ ] alerts
[ ] diagnostics
[ ] runbooks
211. GA Checklist — Client
[ ] offline
[ ] restart
[ ] large outbox
[ ] auth expiry
[ ] conflict
[ ] upgrade
[ ] disk full
[ ] rebootstrap
212. GA Checklist — Server
[ ] overload
[ ] graceful shutdown
[ ] rolling upgrade
[ ] migration
[ ] DB fail/retry
[ ] duplicate request
[ ] response loss
213. GA Checklist — Release
[ ] reproducible/provenance level recorded
[ ] SBOM generated
[ ] artifacts signed
[ ] release notes
[ ] compatibility notes
[ ] upgrade guide
[ ] known issues
214. GA Checklist — Documentation
[ ] quickstart
[ ] architecture
[ ] API
[ ] adapters
[ ] deployment
[ ] operations
[ ] security
[ ] troubleshooting
[ ] migration
215. v1 Success Criteria
Aequora v1 is successful if a product team can:
define typed domain operations
run a PostgreSQL authority
use SQLite/Stoolap locally
work offline
reconnect safely
survive crashes/retries
upgrade without losing pending intent
diagnose failures
without implementing a custom sync engine.
216. What v1 Does Not Need to Prove
It does not need to prove:
planet-scale multi-writer
millions of ops/sec
every database
every language
every cloud
217. Most Important v1 Demonstration
Build one production-quality reference application that:
works offline
uses real domain rules
syncs two clients
handles conflicts
survives response loss
survives process kill
upgrades local storage
rebootstraps
This demonstrates Aequora more convincingly than dozens of feature claims.
218. Final v1 Architecture
Application Domain
|
v
Typed Domain Operations
|
+-----------+-----------+
| |
v v
Aequora Client Aequora Server Core
| |
Tx A / Tx C Tx B
| |
SQLite / Stoolap PostgreSQL
| |
+-----------+-----------+
|
Postcard / HTTPS
|
+------------+------------+
| | |
v v v
Testkit Observability CLI/Ops
| | |
+------------+------------+
|
v
Release Evidence
|
v
GA
219. v1 Development Priority
The practical priority should be:
1. Correctness kernel
2. SQLite local path
3. PostgreSQL authority
4. End-to-end sync
5. Crash/retry verification
6. Bootstrap/conflict/scope
7. Public SDK
8. Operations/security
9. Platform integrations
10. Optimization and ecosystem expansion
220. Final Invariants
Aequora v1 is not declared GA until Tx A, Tx B, and Tx C atomicity and recovery semantics are demonstrated by executable failure tests.
A feature, adapter, platform, or deployment topology is advertised as supported only at the maturity level demonstrated by current conformance and release evidence.
No GA release contains a known unresolved defect capable of systemic data loss, duplicate authoritative effects, silent cursor advancement, authority fork acceptance, critical authorization bypass, or cross-tenant exposure.
Supported upgrades preserve durable identifiers, pending operations, cursor state, conflicts, authority metadata, and required audit/governance state according to the declared compatibility policy.
Aequora v1 does not expand its critical path with additional databases, transports, consensus systems, plugins, or language bindings unless they are necessary to satisfy a validated production requirement.
A release candidate and the corresponding GA release use the same verified artifact bytes whenever promotion without rebuilding is technically possible.
Production capacity, performance, platform support, and reproducibility claims are evidence-based and never inferred solely from architecture or theoretical capability.
Correctness, security, migration, compatibility, and supply-chain release gates cannot be weakened merely to meet a release date.
Post-GA semantic evolution occurs through explicit versioning, capability negotiation, migrations, registry governance, and deprecation policy rather than silent reinterpretation of existing durable data.
Aequora remains a synchronization engine and infrastructure SDK; application-specific business semantics remain owned by the product domain.
221. Recommended Decision After Part 50
The architecture is now sufficiently broad.
Do not continue indefinitely adding conceptual architecture parts before implementation.
The next highest-value activity is to turn Parts 1–50 into an executable implementation program:
architecture
↓
workspace
↓
invariant registry
↓
core types
↓
ReferenceStore
↓
SQLite
↓
PostgreSQL
↓
first end-to-end vertical slice
Additional architecture documents should now be created only when implementation discovers a genuine unresolved design problem.
222. Final Recommendation
Aequora should ship a small, rigorous v1.
Its competitive advantage should not be:
more databases
more protocols
more configuration
more distributed components
It should be:
typed domain synchronization
+
local-first durability
+
server authority
+
strong idempotency
+
crash-safe reconciliation
+
database-independent contracts
+
explicit conflict semantics
+
excellent verification
+
operational clarity
The productization sequence is therefore:
Freeze v1 semantics
↓
Implement smallest complete vertical slice
↓
Prove Tx A/B/C under failure
↓
Certify SQLite + PostgreSQL
↓
Add bootstrap/recovery/conflicts
↓
Stabilize SDK and migrations
↓
Run controlled pilots
↓
Freeze RC
↓
Pass release evidence
↓
Promote exact artifact to GA
↓
Evolve only from real requirements
The architecture is complete enough when the next important question is no longer “what else should we design?” but “which invariant-backed implementation milestone do we build and prove next?”
Recommended Next Work
Instead of automatically creating Part 51, begin the Aequora Implementation Series.
Suggested first document:
Implementation 01 — Repository Bootstrap, Cargo Workspace, Crate Skeletons, Dependency Rules, CI Foundation, Invariant Registry, and First Compiling Aequora Kernel