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: Postgres-over-HTTP adapter (from #5672) · Issue #5805 · developing-today/code

id: design: Postgres-over-HTTP adapter (from #5672) #5805

New issue
Copy link
New issue
Copy link
Done
#13771
Done
id: design: Postgres-over-HTTP adapter (from #5672)#5805
#13771
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)status:donetask/triageQueue packet kind: verify, reproduce, and route this item

Description

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

Summary

Follow-on design ticket from #5672 — 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 Postgres-over-HTTP adapter: query translation scope — what subset of ID queries translates, and what is honestly refused.

Context from the parent

The parent design fixes the selective-sharing grants model, the existence-privacy rule, and the foreign data-store adapter contract. 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: #5672. 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-1488

  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:v1 agent=repo-worker-code state=picked-up task=10208 lane=8ac61616-3815-4e7b-b33d-840a3829154a at=2026-11-05T12:46:45Z

    Claimed queue task 10208 for triage. Revalidated issue #5805 as open; checking the parent design and any existing work before routing.

  5. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (triage)

    • Agent: queue worker (repo-worker-code), OpenChamber scheduled lane 8ac61616-3815-4e7b-b33d-840a3829154a
    • Task: triaged issue id: design: Postgres-over-HTTP adapter (from #5672) #5805; current-main review at 04f78696abfbdf6567f58e623d80520436f002fa
    • Links: parent id: design: ID selective sharing and foreign data-store adapters v1 #5672; general adapter-contract design id: design: foreign data-store adapter contract (from #5672) #5803; programme epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056

    Triage findings (verified fresh 2026-11-05):

    • Issue id: design: Postgres-over-HTTP adapter (from #5672) #5805 remains OPEN and unassigned. It has no hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit) and no matching PR was found. Parent id: design: ID selective sharing and foreign data-store adapters v1 #5672 and adapter-contract issue id: design: foreign data-store adapter contract (from #5672) #5803 are also OPEN; no competing implementation was found.
    • Scope: settle the Postgres-over-HTTP endpoint contract and the ID query shapes it supports. Unsupported shapes must be explicitly refused, not silently degraded. The parent asks which HTTP interface is canonical; this ticket should answer that for Postgres rather than re-decide the parent’s grants or existence-privacy model.
    • Current-main evidence: doc/2026-11-04T21-27-34Z_design_atlas_scaler_revision/2026-11-04T21-27-34Z_design_atlas_scaler_revision.md:463-474 accepts a portable PostgREST-style REST contract over standard Postgres and keeps Supabase-specific features out of the portable core. The queue broker (pkgs/fleet/crates/fleet-queue/src/queue_broker.rs:165-249,490-567) is a narrow hand-built PostgREST client, not a general SQL/query translator. Atlas’s SQL-over-HTTP pipeline is for libSQL/Turso, not Postgres (pkgs/atlas-search/crates/atlas-core/src/turso.rs:92-205). No general Postgres adapter or query-translation implementation exists on current main.
    • Design fork / recommendation: explicitly choose between PostgREST-compatible CRUD/RPC and an endpoint that accepts arbitrary SQL; do not imply general SQL translation unless the endpoint provides it. Define the supported filters/operators, ordering/limits, pagination/counts, types and errors, and whether joins, writes/RPC, or cross-request transactions are in scope. Add request/response contract tests with an injectable transport when implementation is planned.
    • Ordering: exploratory work can proceed now. Align the final decision with id: design: foreign data-store adapter contract (from #5672) #5803’s addressing/type-mapping/live-vs-materialized/auth/error contract and record assumptions against the still-open parent id: design: ID selective sharing and foreign data-store adapters v1 #5672. id: design: foreign data-store adapter contract (from #5672) #5803 is a design input, not an active competing PR. No Drew decision or access blocker was found.
    • No code changed and no runtime reproduction or tests were applicable. No additional issue or queue task was created: id: design: Postgres-over-HTTP adapter (from #5672) #5805 is already the follow-on design ticket; implementation timing remains a separate decision.

    Disposition: triaged; issue #5805 stays open for the scoped design decision.

  6. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 5, 2026
  7. github-actions
    assigned
    dezren39
    on Nov 5, 2026
  8. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    Agent note - handed off

    • Agent: queue worker (repo-worker-code), lane code-e
    • Session / ID: task 12306
    • Found via: queue claim
    • Task: triage of issue id: design: Postgres-over-HTTP adapter (from #5672) #5805 handed off to the opencode claimant (assigned_lane=opencode)
    • Expectation: claimant launches the bound opencode session and drives task 12306 to a terminal state; if unbound at lease expiry the task returns to the queue
    • Links: n/a
  9. 23 remaining items

  10. dezren39
    added
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Nov 11, 2026
  11. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    Agent note — inline triage: real-and-current, design routed (task 14618, lane code-v)

    • Task 14618 claimed by lane code-v; lane assignment direct — triaged inline in this shift (per §1c; no triage-step park).
    • Fresh verification 2026-11-11T04:08Z: issue id: design: Postgres-over-HTTP adapter (from #5672) #5805 OPEN, no hard-stop labels, no status/needs-triage. No open or merged PR references id: design: Postgres-over-HTTP adapter (from #5672) #5805, and no design record for the Postgres-over-HTTP adapter exists in doc/ on current main.
    • Verdict: real-and-current. Re-confirms task 13143's 2026-11-08 verdict (note 6721362159). New evidence since then: parent id: design: ID selective sharing and foreign data-store adapters v1 #5672 is now CLOSED — its closing note (task 12243) says explicitly that there is no remainder owned by the parent and the remainder lives in the child design tickets, each with its own queue/design state. This ticket is one of those children and is still live.
    • Scope (unchanged from the body): settle the adapter's query-translation scope — what subset of ID queries translates, and what is honestly refused — and close with a recorded decision (chosen shape, rejected alternatives, invariants for implementation), without re-deciding the parent's fixed decisions (grants model, existence privacy, adapter contract).
    • Labels applied: kind/design, priority/normal, effort/l. Priority reasoning: design work is Drew-weighted (ID design tracks), but the body says timing is possibly months out and the standing order is to finish open work before starting new design — normal, not high. Effort l: a decision record, not a code fix.
    • Routing: a design commission, not a queue fix packet — no queue kind expresses it (the same reason task 14010 gave for issue design(atlas): expansive v2–v4 — feedback-driven ranking, provenance-complete resolution, self-curating corpus #6020). Precedent is the sibling ticket id: design: encrypted shares & key distribution (from #5672) #5801, decided via a design-mill record merged as PR docs(id): decision record — encrypted shares & key distribution (#5801) #7961 (doc/2026-11-09T05-06-00Z_decision_id5801_encrypted_shares_key_distribution.md). Task 13143's attempt to enqueue a fix packet deduped into itself, confirming the queue-packet route is a dead end for this work. No packet enqueued; this task completes as triaged naming this note and the id: design: encrypted shares & key distribution (from #5672) #5801 route pattern.
  12. dezren39
    added
    epic/id-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  13. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    lane: code-f (openchamber-scheduled-lane)
    task: 18377
    issue: #5805
    stage: triaged
    verdict: real and current; design still owed, no fix packet queued

    Fresh check (2026-11-17): #5805 is OPEN, with labels task/triage, kind/design, epic/id-program. No hard-stop labels. No open PR references #5805. Parent #5672 is the same design line. No live queue task covers #5805 other than this triage claim.

    Disposition: this is a design ticket (what Postgres-over-HTTP query subset translates and what is refused, with a decision record). It is not a small fix, so a worker-sized fix packet would be the wrong shape. Keeping it open for a design owner. The earlier routing on 2026-11-11 left no live task, so this is recorded here rather than re-queued.

  14. dezren39
    removed their assignment
    on Nov 20, 2026
  15. dezren39
    added a commit that references this issue on Nov 23, 2026

    design: #5805 Postgres-over-HTTP adapter decision record

    ab16136
  16. developing-today
    added
    status:in-review
    on Nov 23, 2026
  17. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13771: design: #5805 Postgres-over-HTTP adapter d…

    5735400
  18. dezren39
    closed this as completedin #13771on Nov 23, 2026
  19. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 23, 2026
  20. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (design)

    • Lane: oc-code-05 (OpenChamber scheduled Fleet lane), queue task 21489
    • Design record: PR design: #5805 Postgres-over-HTTP adapter decision record #13771, merged at 573540088e665c4759563836f94ad2dfc82214fd
      • doc/2026-11-23T20-55-00Z_design_id5805_postgres_http_adapter/2026-11-23T20-55-00Z_design_id5805_postgres_http_adapter.md, plus the index line in doc/README.md
    • Decision: PostgREST-compatible surface only. No SQL-over-HTTP and no /rpc. Where no PostgREST surface exists, the endpoint is adapter_unavailable (no_rest_surface).
    • Query translation scope: one collection; conjunctive filters over a closed operator set; declared projection; ordering on declared keys with the unique key as tiebreak; keyset pagination only; limit capped and refused above the cap. Refused by name: joins/embeds, OR/NOT, pattern and full-text, offset, counts, RPC, writes, discovery, undeclared fields, raw SQL.
    • Refusal surface: query_shape_refused with a feature name for query-text shapes. Data- and grant-dependent outcomes collapse to not_available, so an undeclared column and a withheld column look the same.
    • Parent alignment: applies id: design: foreign data-store adapter contract (from #5672) #5803 and id: design: server-side filtered remote query execution (from #5675) #5818/id: design: SQL/PGQ capability investigation (from #5688) #5909 without re-deciding them. Parent id: design: ID selective sharing and foreign data-store adapters v1 #5672 open questions answered locally in §8.
    • Implementation slices filed: id: impl: Postgres HTTP adapter registration and owner config (from #5805) #13758, id: impl: Postgres HTTP query translator with allowlist (from #5805) #13760, id: impl: Postgres HTTP typed mapping v1 (from #5805) #13761, id: impl: Postgres HTTP error mapping and grantee collapse (from #5805) #13762, id: impl: Postgres HTTP live and materialized read paths (from #5805) #13763, id: impl: PostgREST conformance fixtures for Postgres HTTP adapter (from #5805) #13764.
    • Verification: all relative links in the record resolve (9/9); README index entry present; 22 headings. No docs-site workflow covers doc/, so no CI docs build applied.
  21. dezren39
    added a commit that references this issue on Nov 25, 2026

    id-pg: endpoint registration and owner config for the Postgres HTTP a…

    9a93cb3
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

    app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)status:donetask/triageQueue packet kind: verify, reproduce, and route this item

    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.