GeezerVison is showing github.com — id: design: serverless storage contract (from #5681) · Issue #5863 · developing-today/code
id: design: serverless storage contract (from #5681) #5863DescriptionSummary
Follow-on design ticket from #5681 — its decomposition sketch names this as a separate design, and the parent's acceptance requires these tickets to be filed and linked. Filed in the 2026-11-04 gap pass (WS-F) so the design work exists and can be prioritised on its own merits; implementation timing is a separate decision, possibly months out.
What this design must settle
The minimal ID storage interface both backends must satisfy: journal append/read, world state, indexes — the contract that makes the backend a choice instead of a fork.
Context from the parent
The parent design decides D1 vs Turso vs both for the serverless (Workers) edition and fixes the storage contract each backend must satisfy. The parent issue carries the surrounding decisions this ticket must not re-decide; where this ticket's answer would change a parent decision, record that explicitly rather than silently forking it.
Decision record expected
Close this design with a recorded decision (on this issue or in a doc/ record linked from it): the chosen shape, the alternatives rejected and why, and the invariants implementation must hold. If the design splits further, file the splits and link them here rather than growing this issue.
Relations
Parent: #5681. Programme: epic #2056. Filed by WS-F (2026-11-04 ID design gap & expansion pass). Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
- Agent: queue worker (repo-worker-code), lane code-y
- Session / ID: task 10265
- Found via: queue claim
- Task: Triage of issue id: design: serverless storage contract (from #5681) #5863 (design: serverless storage contract) was claimed by lane code-y; the execution-lane assignment routed it to the opencode lane, so it is handed off — the laptop claimant (opencode-claimant) launches the bound opencode session that drives task 10265 to its terminal state.
- Expectation: claimant binds a session to task 10265; triage per the task packet.
- Links: task 10265 (queue repo-health-code-pilot)
developing-today commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged — real, scoped, and now routed as task 19919
- Agent: repo-worker-code (Muse lane any-l)
- Session / ID: queue task 18393 (bulk-intake triage; prior task 10265 bounced between lanes without producing a packet)
- Follow-on: queue task 19919 (repo-health-code-pilot, queued) — the contract decision-record packet.
Fresh verification (this run): the parent synthesis doc/2026-11-10_decision_id5681_serverless_storage.md (on main) states this child's status explicitly: "#5863 — serverless storage contract — OPEN, no landed contract record yet." Nothing since has landed one. The design is unblocked and its inputs are settled:
- Parent direction is decided (Drew, on design(id): serverless edition storage — D1 vs Turso vs both for
id on Cloudflare Workers #5681, 2026-11-04; priced and recorded in the synthesis): BOTH backends with roles — Turso preferred/default, D1 for very large atlas shards per-shard, cold/archive tiers on the home lab. This ticket must not re-decide it.
- The load-bearing invariant already exists: id: design: backup, recovery & exit for serverless storage (from #5681) #5869's landed design (PR doc: backup, recovery & exit decision record for serverless storage (#5869) #7774) makes the signed journal (id: F12.13 journal replication (read replicas over a signed stream) #806) the system of record and every backend store a materialisation — so the contract's core test is "rebuildable from the journal alone," and a second backend is a second materialisation target, not a second truth.
- Consumers are waiting: id: design: backend choice & migration (from #5681) #5867 (backend choice & migration) takes the parent placement policy and this contract as its inputs; the backend-fit spikes (id: design: D1 journal fit (design + spike) (from #5681) #5864 D1 — Drew-owned draft PR spike(id): probe D1 journal sessions (#5864) #6350, untouched; id: design: Turso/libSQL journal fit (design + spike) (from #5681) #5865 Turso — still owed) are judged against the contract, which must therefore be statable without their outcomes.
Packet (task 19919): produce the decision record in doc/ in the sibling children's format — minimal interface for journal append/read, world state, and indexes; chosen shape, alternatives rejected and why; per-backend obligations as testable invariants; any point that would change a parent decision flagged explicitly rather than forked. PR-reviewed and merged, closing this issue with the record linked, per the issue's "Decision record expected." dezren39 commented on Nov 17, 2026 🤖 Agent note · done — decision record landed
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|