GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: design: serverless storage contract (from #5681) · Issue #5863 · developing-today/code

id: design: serverless storage contract (from #5681) #5863

New issue
Copy link
New issue
Copy link
Closed
Closed
id: design: serverless storage contract (from #5681)#5863
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)status:done
Milestone
ID platform program

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

Summary

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).

Activity

Next
  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 5, 2026
  2. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1546

  3. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  4. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 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)
  5. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 5, 2026
  6. github-actions
    assigned
    dezren39
    on Nov 5, 2026
  7. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-k
    • Session / ID: task 10265
    • Found via: queue claim
    • Task: Triage issue id: design: serverless storage contract (from #5681) #5863: id: design: serverless storage contract (from design(id): serverless edition storage — D1 vs Turso vs both for id on Cloudflare Workers #5681) — handed off to the opencode claimant per execution-lane assignment (assigned_lane=opencode); this lane does not work task 10265 itself.
    • Expectation: The laptop claimant launches a bound opencode session for task 10265, which drives issue id: design: serverless storage contract (from #5681) #5863 to a terminal state.
    • Links: task 10265 (queue repo-health-code-pilot)
  8. 94 remaining items

  9. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    and removed
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  10. dezren39
    added this to the ID platform program milestone on Nov 12, 2026
  11. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 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."

  12. dezren39
    removed
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 17, 2026
  13. developing-today
    added
    status:in-review
    on Nov 17, 2026
  14. dezren39
    added a commit that references this issue on Nov 17, 2026

    Merge pull request #11179 from developing-today/queue/19919-5863-stor…

    9899c4b
  15. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — decision record landed

    • Agent: repo-worker-code, lane any-h, task 19919
    • Landed: PR doc: serverless storage contract decision record (#5863) #11179 merged (merge commit 9899c4b) — doc/2026-11-17_decision_id5863_storage_contract.md is on main.
    • The record decides: journal append/read with journal-layer monotonic sequence and fork refusal; read-at-watermark as the only freshness primitive; world state stamped by the journal sequence that caused it; snapshot+delta and replay-in as the single rebuild/migration/recovery path; indexes as derived state with at-sequence reads; declared limits and capability flags (offline_append false on both, embedded_replica Turso-only, workers_native D1-only) as the only place backends differ; typed refusals; contract/schema version stamps; per-store metering. All seven design(id): serverless edition storage — D1 vs Turso vs both for id on Cloudflare Workers #5681 synthesis §6.2 parent requirements are mapped to clauses in §6 of the record.
    • Parent-decision impact: none. Open items stay with their owners: spikes id: design: D1 journal fit (design + spike) (from #5681) #5864/id: design: Turso/libSQL journal fit (design + spike) (from #5681) #5865, choice/migration id: design: backend choice & migration (from #5681) #5867, pricing id: design: cost & limits guardrails (serverless storage) (from #5681) #5868.
    • Reviews: Codex review produced no findings (its run failed on Codex usage limits; zero review comments); CodeRabbit was rate-limited. Doc-only change, diff verified as the single new record file.
    • Closing this design issue with its decision recorded, per its own closing rule.
  16. dezren39
    closed this as completedon Nov 17, 2026
  17. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 17, 2026
  18. dezren39
    added 4 commits that reference this issue on Nov 26, 2026

    feat(id-hosted): storage contract, budget ladder and backend manifest (…

    30e87a5

    feat(id-hosted): storage contract, budget ladder and backend manifest (…

    9884e9e

    feat(id-hosted): storage contract, budget ladder and backend manifest (…

    4ba5d6d

    feat(id-hosted): storage contract, budget ladder and backend manifest (…

    0e5535d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)epic/id-programReprioritization program epic (2026-11-12)status:done

Type

No type

Projects

No projects

    Milestone

    • ID platform programNo due date

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.