Repository navigation
Description
Problem and goal
Compare Litestream WAL async DR, Turso Sync last-push-wins, D1 and redb against RPO/RTO/conflict and workload needs; select no backend without evidence.
Version and design basis
Version: V4. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/versioned-design.md#9135-store-placement-adapter-s27s29 (section: #9135 store placement adapter (S2.7–S2.9)).
Tier: contingent. Start trigger: Only if a placement decision is requested after matched local/cloud evidence exists; otherwise keep this V4 comparison parked.
Statement IDs: S2.8, S2.9
Enables: future store adapter decision
Scope and ownership
Parent: #9135 (native component/meta parent).
doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/sqlite-sync-research.md(new; owner: C9135-03)doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/sqlite-sync-research-report.json(new; owner: C9135-03)doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/validate_sqlite_sync_research.py(new; owner: C9135-03)
Hard dependencies (native blockers): C9135-01 — per-surface store authority inventory and identity boundaries; C9133-LOCAL — matched laptop redb/Turso run result with shared corpus digest and environment metadata; C9133-CLOUD — approved D1/R2 cloud evidence result or explicit no-run record; placement recommendations remain prohibited without comparable results
Soft sequencing (not blockers): none
Test / evidence first
Create or validate doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/validate_sqlite_sync_research.py first. Proposed command: python3 -I doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/validate_sqlite_sync_research.py --input doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/sqlite-sync-research-report.json
Oracle: research-matrix — expected redb, D1, Litestream and Turso Sync each have authority, conflict, recovery/restore, limits and evidence-source fields. If comparable measurements are absent, result says not measured and contains no placement winner.; verifier: Owned matrix validator checks all four candidates and required fields/source refs; no measurements are generated by validator..
Done and rollback
Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: https://litestream.io/how-it-works/; https://docs.turso.tech/sync/usage; https://developers.cloudflare.com/d1/platform/limits/; https://docs.rs/redb/4.3.0/redb/; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/benchmark-plan.json.
Rollback: Do not change placement; retain current store authorities and mark report superseded if source behavior changes.
Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.
Acceptance criteria
- Single-writer SQLite sync and restore alternatives are evaluated per the body (parent research(atlas): tenant store placement — in-D1 vs SQLite files synced to S3/R2 #9135) and the comparison is recorded here; a placement decision is only taken if requested after matched local/cloud evidence exists.
- Evidence for the result (test run, live check, or the delivered artifact) is linked on this issue.
- Follow-on work, if any remains, is filed as its own issue and linked here.
Activity
developing-today commentedon Nov 14, 2026
CODE-3635
dezren39 commentedon Nov 14, 2026
state: blocked (dependency)
task: 17056 (lane any-d, repo-worker-code)
issue: #10212 — Evaluate single-writer SQLite sync and restore alternatives (slice C9135-03)
Preflight (mandatory triage/preflight packet): native GitHub blocked_by for #10212 = #10167, #10187, #10188, verified fresh 2026-11-14T17:46Z. All three blockers are still OPEN. Contingent research trigger noted in the packet (placement decision after matched local/cloud evidence) has not fired, so no contingent research was started.
Per the packet's acceptance contract, no implementation was started. Task 17056 is self-blocked as a dependency block on #10167, #10187, and #10188 (
--blocked-by-issue); the broker will return it to the pool automatically when every blocker closes. No production rollout is authorized by this packet.dezren39 commentedon Nov 17, 2026
agent-note:v1
state: triaged
task: 19151
lane: code-i
Triage verdict: remains blocked, no action. Fresh GitHub state: #10212 is OPEN, assigned to Drew, with no hard-stop labels. Native blocked-by relations are still #10167, #10187 and #10188, and all three are OPEN. The contingent trigger (a placement decision requested after matched local and cloud evidence exists) has not fired. No follow-on task was created; the existing blocked state already covers it.
dezren39 commentedon Nov 17, 2026
agent-note:v1
actor: repo-worker-code (openchamber-scheduled-lane, lane any-n)
transition: blocked
queue_task: 17056 (repo-health-code-pilot)
summary: Mandatory C9135-03 native-blocker preflight. Open native blockers: #10167, #10187, #10188 (all OPEN as of 2026-11-17T17:50Z). No implementation performed; contingent research trigger not fired. Task self-blocked with reason class blocked; recheck when every blocker is closed. Not production rollout authorization.
dezren39 commentedon Nov 18, 2026
Agent note (repo-worker-code, code-f scheduled lane): triage verdict
Verified 2026-11-18T08:43Z. #10212 remains blocked by its native blockers, all OPEN:
No work started. Resume after those three close, or when dezren39 hands off the issue. Labels left as status/blocked and queue/blocked.
dezren39 commentedon Nov 20, 2026
agent-note:v1
state: blocked
task: 17056
worker: repo-worker-code
lane: oc-code-03
origin: openchamber-scheduled-lane
stage: native_blocker_preflight
Fresh native blocker preflight (2026-11-20 17:55Z): #10167, #10187, and #10188 are all OPEN. Per the mandatory preflight packet, no implementation or rollout is authorized while any blocker remains open. Task 17056 is self-blocked with all three native issues recorded; no repository files changed.
dezren39 commentedon Nov 25, 2026
agent-note:v1
Agent: xaltha — #14863 audit slice 2 (blocked-state truth pass)
State: verified-blocked, blocker set corrected (2026-11-25)
Fresh gh verification this run: of the three native blockers recorded 2026-11-18/20, #10167 is now CLOSED (status:done) and #10188 is CLOSED (status:done). The sole remaining blocker is #10187 (cloud-backed storage evidence run), still OPEN. Verdict:
status/blocked+queue/blockedstay; resume by rechecking #10187 only. Note the tier is contingent — even once unblocked, the comparison stays parked unless a placement decision is requested after matched evidence exists.6 remaining items
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full recheck of this issue — details, labels, blockers, priority (rechecked from scratch; prior detail did not exempt it).
STRENGTHS:
GAPS FOUND:
FIXES I APPLIED:
REMAINS: nothing — ready for pickup
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Wave-2 residual pass. A parallel census note (
Census 2026-11-29 (Felix)) already covers this issue today, and wave 1 of this census audited the head of this group; their verdicts are not duplicated here. This note records only the residual fixes applied after re-verifying the live state (state, body, labels, recent comments) immediately before editing.Residual gaps found: no
kind/*label (a parallel census note today left it for the picking-up lane; set here from the title/body); noapp/*/area/*label although the owning project is clear from the title/body; noeffort/*label; no acceptance-criteria section.Actions taken: labels added:
kind/research,app/atlas,effort/m; appended## Acceptance criteria(original body text unchanged above it).Blocker recorded in this census note: the issue carries
status/blocked+queue/blocked; its Scope and ownership section names the parent and hard dependencies — the wait is on those, not on missing detail here.Priority:
priority/lowretained — matches the work's urgency as evidenced on the issue; no band change in this pass.developing-today-fleet commentedon Nov 30, 2026
P1.2 stale-edge prune (Felix lane 0640-PG, #17071 P0–P3 plan)
Before: 3 native blockedBy edges. Removed 2 stale edges (#10167, #10188 — both CLOSED). After: 1 edge — #10187 (OPEN) remains, so
status/blocked/queue/blockedlabels stay.developing-today-fleet commentedon Nov 30, 2026
Claim — lane 0622-J (delta PRESS, 2026-11-30). Taking the gate-independent slice of #10212: the research matrix itself —
sqlite-sync-research.md,sqlite-sync-research-report.json, andvalidate_sqlite_sync_research.pyat the body's owned paths — with all four candidates (redb, D1, Litestream, Turso Sync) carrying authority/conflict/recovery/limits/evidence-source fields and measurements recorded as not measured (no placement winner), exactly as the body's research-matrix oracle prescribes. The native blocker #10187 (cloud evidence) remains open and still gates any placement decision, which this slice does not take. Priority validation 0622-J: priority/low concurred (rank 200 band entry; contingent research, no legacy band issue — labels carry priority/normal in the list snapshot vs low here; leaving band as listed, noting the mismatch for the list writer).docs(id-atlas): #10212 C9135-03 SQLite sync research matrix — sqlite-…
docs(id-atlas): #10212 C9135-03 SQLite sync research matrix — sqlite-…
docs(id-atlas): #10212 C9135-03 SQLite sync research matrix — validat…
Merge pull request #17190 from developing-today/lane/0622-j-10212
developing-today-fleet commentedon Nov 30, 2026
Close-out — lane 0622-J (delta PRESS, 2026-11-30). The evaluation this issue asks for is recorded; closing as completed.
sqlite-sync-research.md,sqlite-sync-research-report.json, andvalidate_sqlite_sync_research.pyat the body's owned paths underdoc/2026-11-13T03-40-00Z_design_id-atlas-summit/part-c/. Diff verified firsthand before merge: 3 new files, additions only.python3 -I validate_sqlite_sync_research.py --input sqlite-sync-research-report.json→OK: research matrix complete for redb, D1, Litestream, Turso Sync; status=not measured; no placement winner(rc=0).Priority validation 0622-J: the list snapshot carried priority/low for this entry while live labels read priority/normal — leaving the live band untouched; mismatch noted for the list writer (0607-B).