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 — Specify redb and Turso/SQLite capability profiles · Issue #10174 · developing-today/code

Specify redb and Turso/SQLite capability profiles #10174

New issue
Copy link
New issue
Copy link
Closed
#13129
Closed
Specify redb and Turso/SQLite capability profiles#10174
#13129
Copy link
Labels
status:donework/assignedQueue worker lifecycle state

Description

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

Problem and goal

Provide honest redb and Turso/libSQL capability profiles, including bounded atomic scope and explicit timeout/unknown-commit behavior.

Version and design basis

Version: V2. Settled design: https://github.com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md#v2--stable-seams-and-conformance-foundation-first-implementation-target (section: V2 — stable seams and conformance foundation (first implementation target)).
Tier: crucial.
Statement IDs: S0.5, S0.6, S0.16
Enables: Implement required port profiles for redb and Turso/libSQL; state transaction, durability, scan, retry, and timeout ambiguity semantics without claiming identical atomicity.

Scope and ownership

Parent: #9110 (native component/meta parent).

  • pkgs/id/crates/id-store/src/port_adapter.rs (new; owner: 9110-03)
  • pkgs/id/tests/store_adapter_profiles.rs (new; owner: 9110-03)
    Hard dependencies (native blockers): 9110-02 — Required output from slice 9110-02.; 9082 — consume owned contract only; do not wait for full sibling program
    Soft sequencing (not blockers): none

Test / evidence first

Create or validate pkgs/id/tests/store_adapter_profiles.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml --test store_adapter_profiles
Oracle: model — expected redb and Turso profiles report only declared transaction scopes; an injected lost response remains unknown until stable-ID readback.; verifier: An abstract store state machine plus a fault injector independent of either adapter..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: https://docs.rs/redb/latest/redb/; https://docs.turso.tech/sdk/ts/reference; https://docs.turso.tech/sdk/http/reference; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/research.md.
Rollback: Keep the prior adapter selection/config active; do not migrate or rewrite persisted data on rollback.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Activity

  1. developing-today commented on Nov 14, 2026

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

    CODE-3598

  2. dezren39
    marked this as blocked by 2 issues on Nov 14, 2026
    • Define versioned capability-oriented port contracts #10160
    • design(id): store abstraction — Turso/SQLite-over-HTTP beside redb, IndexedDB evaluated (one interface, pluggable backends) #9082
  3. dezren39
    added a parent issue on Nov 14, 2026
    • design(id): extensibility architecture — primitive/adapter/hook boundary spec + backend conformance #9110
  4. dezren39
    marked this as blocking 2 issues on Nov 14, 2026
    • Build shared store conformance fixtures and capability reports #10191
    • Add durable outbox recovery and at-least-once hook delivery #10214
  5. dezren39 commented on Nov 14, 2026

    @dezren39
    dezren39
    on Nov 14, 2026
    MemberAuthor
    More actions

    Preflight record — task 17023 / slice 9110-03 (lane code-d, 2026-11-14)

    • state: preflight complete; work PAUSED — native blockers open; task self-blocked
    • task: 17023
    • issue: Specify redb and Turso/SQLite capability profiles #10174 — OPEN
    • Native blockers: design(id): store abstraction — Turso/SQLite-over-HTTP beside redb, IndexedDB evaluated (one interface, pluggable backends) #9082 OPEN, Define versioned capability-oriented port contracts #10160 OPEN (both verified fresh this shift; the GitHub native blocked-by relation for Specify redb and Turso/SQLite capability profiles #10174 lists exactly 10160 and 9082). Per the packet, no implementation was performed.
    • Contingent research trigger: none for this slice.
    • Disposition: task 17023 is dep-blocked on issues design(id): store abstraction — Turso/SQLite-over-HTTP beside redb, IndexedDB evaluated (one interface, pluggable backends) #9082 and Define versioned capability-oriented port contracts #10160; it will resurface when both close. This is not production rollout authorization.
  6. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    work/assignedQueue worker lifecycle state
    on Nov 14, 2026
  7. github-actions
    assigned
    dezren39
    on Nov 14, 2026
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    state: triaged — implementation already routed and correctly dep-blocked
    lane: any-b, worker: repo-worker-code, task 19132

    Triage verdict for #10174 (checked fresh this shift, 2026-11-17): nothing new to route — the slice's task exists and is structurally dep-blocked on the right blockers.

    • Slice 9110-03 (specify redb and Turso/SQLite capability profiles, manifest-bound under epic: ID/Atlas extensible primitives, federation, namespaces — major design iteration (2026-11-12 directive) #9106) has task 17023, whose 2026-11-14 preflight found two native blockers — design(id): store abstraction — Turso/SQLite-over-HTTP beside redb, IndexedDB evaluated (one interface, pluggable backends) #9082 and Define versioned capability-oriented port contracts #10160 — and self-blocked with §5b structural dependencies on both; no implementation performed.
    • Fresh verification this shift (states recorded in the triage result): both blockers remain open and task 17023 still shows status blocked. The broker auto-releases 17023 when both close.
    • No follow-on packet from this triage: a second implementation task would duplicate 17023.
  9. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    state: correction to the triage note above
    lane: any-b, worker: repo-worker-code, task 19132

    Correction (same shift): the verification output shows #10160 is CLOSED — only #9082 remains OPEN of task 17023's two blockers. The verdict is unchanged (the §5b dep-block requires both closed, so 17023 stays correctly blocked on #9082 alone now), but the note above misstated #10160's state; this comment is the accurate record: blockers are #9082 OPEN / #10160 CLOSED, task 17023 status blocked.

  10. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    actor: repo-worker-code (openchamber-scheduled-lane, lane any-n)
    transition: blocked
    queue_task: 17023 (repo-health-code-pilot)
    summary: Mandatory 9110-03 native-blocker preflight. Open native blocker: #9082 (OPEN as of 2026-11-17T17:48Z). #10160 is CLOSED and is not a blocker. No implementation performed. Task self-blocked with reason class blocked; recheck when #9082 is closed. Not production rollout authorization.

  11. dezren39 commented on Nov 18, 2026

    @dezren39
    dezren39
    on Nov 18, 2026
    MemberAuthor
    More actions

    agent-note:v1
    lane: openchamber-scheduled-lane (code-g) · worker repo-worker-code · queue task 20498
    kind: triage → blocked (no change)
    Fresh check 2026-11-18: #10174 OPEN. Native blocker #9082 is OPEN (checked earlier this run), and 9110-02 is still the required output. Blocked until both close.

  12. dezren39
    removed their assignment
    on Nov 20, 2026
  13. dezren39 commented on Nov 20, 2026

    @dezren39
    dezren39
    on Nov 20, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: blocked
    task: 17023
    worker: repo-worker-code
    lane: oc-code-03
    origin: openchamber-scheduled-lane
    stage: native_blocker_preflight

    Fresh native blocker preflight (2026-11-20 17:51Z): #9082 is OPEN; #10160 is CLOSED. Per the mandatory preflight packet, no implementation or rollout is authorized while any blocker remains open. Task 17023 is self-blocked with both native issues recorded; no repository files changed.

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · claim — Lane LI (archer, agent work loop)

    Taking slice 9110-03 now: pkgs/id/crates/id-store/src/port_adapter.rs + pkgs/id/tests/store_adapter_profiles.rs, per this issue's packet (test/evidence first, model oracle).

    Blocker recheck (fresh, this pass) — the recorded native blockers no longer hold:

    • 9110-02 = Define versioned capability-oriented port contracts #10160 is CLOSED (completed), and its required output is on main: pkgs/id/crates/id-core/src/port.rs (port contract types + negotiate), pkgs/id/tests/port_contract.rs, the federation/graph/triples module roots, and pkgs/id/test-vectors/schema.json — all verified present on current main.
    • design(id): store abstraction — Turso/SQLite-over-HTTP beside redb, IndexedDB evaluated (one interface, pluggable backends) #9082 is consume-only for this slice, per this issue's own packet: "9082 — consume owned contract only; do not wait for full sibling program". The contract being consumed is the merged summit design (statements S0.5/S0.6/S0.16; crosscut versioned-design rules: commit only within declared transaction scope; a lost/unknown outcome stays unknown pending stable-ID readback; advertise only explicit transaction APIs and conditional durability). design(id): store abstraction — Turso/SQLite-over-HTTP beside redb, IndexedDB evaluated (one interface, pluggable backends) #9082 itself stays open — its IndexedDB verdict waits on Prototype IndexedDB adapter for bounded conformance evaluation #10213 — but it does not gate this slice.

    So the status/blocked / queue/blocked labels are stale; I am removing them with this record. Prior preflight notes (tasks 17023/19132/20498) were accurate for #10160's state at their times; the last one (2026-11-20) predates this recheck of #10160's closure and output.

    Plan: profiles for redb + Turso/libSQL expressed against the #10160 port contract (declared atomic scopes — redb whole-database unconditional; Turso single-namespace by default, whole-database only under an explicit interactive-transaction condition; commit ambiguity — redb definitive, Turso unknown-until-readback), plus the model-oracle test (abstract store state machine + fault injector, independent of either adapter) from this issue's packet.

  15. dezren39
    removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 23, 2026
  16. developing-today
    added
    status:in-review
    on Nov 23, 2026
  17. dezren39
    closed this as completedin #13129on Nov 23, 2026
  18. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
  19. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — Lane LI (archer, agent work loop)

    Landed: PR #13129 merged (merge 3a941eff430e, head-SHA guarded at f4948c665b01). This issue is closed as completed via the PR.

    Changed files (exactly the slice's two owned files):

    • pkgs/id/crates/id-store/src/port_adapter.rs (new) — StoreProfile for both committed backends against the 9110-02 port contract: redb declares whole-database atomic scope unconditionally with definitive commit outcomes; Turso/libSQL-over-HTTP declares single-namespace scope by default, whole-database only as a conditional scope (explicit interactive transaction, single session), unknown-until-readback commit ambiguity, and a readback-before-retry rule. Out-of-scope commits are refused with typed PortErrors before any side effect; neither profile claims exactly-once or identical atomicity.
    • pkgs/id/tests/store_adapter_profiles.rs (new) — the packet's model oracle: an abstract store state machine plus a fault injector, independent of either adapter.

    Evidence: cargo test --test store_adapter_profiles in nix develop (pkgs/id, laptop worktree at the PR head): 8 passed, 0 failed — profiles report only declared scopes; scope refusal precedes side effects (server state verified empty after refusal); an injected lost response remains Unknown until stable-ID readback resolves it Committed; an injected lost request resolves NotCommitted and the readback-gated retry applies exactly once under the stable ID; redb outcomes stay definitive under the same fault script. rustfmt (edition 2024) clean on both files; no warnings from the new files.

    Notes: the module is deliberately not wired into id-store's lib.rs — public wiring is 9110-09's per the summit sequencing rules; the test includes it by direct path until then. Downstream: 9110-04 (#10191, conformance fixtures) hard-depends on this slice's output and is now unblocked on that edge (its 9110-02 edge is likewise satisfied by #10160's closure).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:donework/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      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.