GeezerVison is showing github.com — doc(atlas): decision record — embedded-replica integration shape (#11213 scope 1) by dezren39 · Pull Request #12868 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Refs #11213 (scope item 1), #6666, #5755.
Lands the integration-shape decision record for persistent embedded replicas of the atlas core shards (#11213 scope item 1: "decide and record the integration shape"). Docs only — no code, no dependency changes.
Decision in brief:
- One sync owner per replica home; only it opens replica files for sync.
- Crate chosen by engine match, gated by a spike: the core shards are TursoDB-type (design §6), and Turso's Rust reference says to match the crate to the engine — default candidate is the
turso crate (pull-only), not libsql. libsql is adopted only if a spike proves its replication works against a TursoDB-type primary.
- Reads never open a syncing replica file from a second process (vendor corruption warning): the replica transport is a new
PipelineTransport impl in the sync-owning process; rusqlite LocalShardTransport stays for static files. This supersedes the earlier "serve the replica home via dir:" assumption.
- Secret tier refused fail-closed with a named error, pre-network.
- Sync crate pinned exactly and isolated behind the
PipelineTransport seam (the turso crate is pre-1.0).
Also records the staged plan (spike → transport → discovery wiring → live verification) that replaces #11213's mis-sized 45-minute packet, which three earlier lanes parked as a packet defect.
Evidence was read fresh on main ced8e85f3 (seam line refs in the record) and from Turso's Rust reference (updated 2026-11-18).

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 22 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
58f65103-083e-4fe5-ae8c-89f91cbe4ded
Commits
-
Reviewing files that changed from the base of the PR and between 98a5347 and 2f56129.
Files selected for processing: 1
-
doc/2026-11-23T04-10-00Z_decision_atlas_embedded_replica_integration/2026-11-23T04-10-00Z_decision_atlas_embedded_replica_integration.md
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.