Skip to content

Add Postgres capability profile without core changes #10175

Open

Description

@dezren39

Problem and goal

When selected by an owning deployment, add a Postgres profile as an additive adapter without changing core ports.

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/crosscut/versioned-design.md#v4--long-tail-implementations-and-operations (section: V4 — long-tail implementations and operations).
Tier: contingent. Start trigger: Only when an owning deployment selects Postgres; until then keep the adapter as a V4 parked horizon item.
Statement IDs: S0.7, S0.8, S0.13, S0.15
Enables: Implement an optional Postgres adapter against stable ports and publish its capability/conformance report; only proceed when an owning deployment chooses it.

Scope and ownership

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

  • pkgs/id/crates/id-store-postgres/src/lib.rs (new; owner: 9110-10)
  • pkgs/id/tests/postgres_conformance.rs (new; owner: 9110-10)
    Hard dependencies (native blockers): 9110-02 — Requires stable port contracts before an adapter can be implemented.
    Soft sequencing (not blockers): none

Test / evidence first

Create or validate pkgs/id/tests/postgres_conformance.rs first. Proposed command: cargo test --manifest-path pkgs/id/Cargo.toml --test postgres_conformance
Oracle: reference — expected Only a deployment that selects Postgres enables the adapter, and its declared profile passes the common port suite without core API changes.; verifier: An independent port compatibility harness and capability report; no Postgres client is required before the explicit trigger..

Done and rollback

Done when the declared oracle passes and test/evidence output plus changed-file summary is attached. Research evidence: doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/research.md; doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md.
Rollback: Contingent: if selected deployment fails conformance, withdraw Postgres from config and keep the prior backend; no data migration occurs automatically.

Manifest SHA-256 approval binding: 3b5bce3523945bf5adaa28739f0b90b7b70ff1d6522b4ac827246654e8ff6b06.

Acceptance criteria

Activity

  1. developing-today commented on Nov 14, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: blocked
    task: 17024
    lane: code-b
    summary: Preflight for slice 9110-10 (task 17024, lane code-b, 2026-11-14). Native-blocker check: GET repos//issues/10175/dependencies/blocked_by returns one blocker, #10160 (slice 9110-02, port contracts), and #10160 is still OPEN (fresh gh verify this shift; its implementation is follow-on task 17131, enqueued by lane code-b from preflight task 17010). Per the preflight packet, task 17024 self-blocks with a structural dependency block on #10160 and NO implementation was performed. Contingent research trigger exists on this slice (only when an owning deployment selects Postgres); it has not fired and no contingent research was started. Issue #10175 carries no hard-stop labels (no held / user/owned / do-not-merge / do-not-auto-edit).
    next: when #10160 closes, the broker auto-releases task 17024 to the pool; the claiming lane then proceeds within the issue's approved scope and stated oracle, honoring the contingent trigger.

  3. added
    queue/blocked
    status/blocked
    work/assigned
    on Nov 14, 2026
  4. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

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

    • state: preflight complete; work PAUSED — contingent trigger not fired; task parked as a horizon item
    • task: 17024
    • issue: Add Postgres capability profile without core changes #10175 — OPEN
    • Native blocker: Define versioned capability-oriented port contracts #10160 is now CLOSED (verified fresh this shift; it was open earlier today and closed during the shift — the GitHub native blocked-by relation for Add Postgres capability profile without core changes #10175 lists 10160, now satisfied). No self-block applies.
    • Contingent trigger: NOT fired. The slice's start trigger is "Only when an owning deployment selects Postgres; until then keep the adapter as a V4 parked horizon item." No owning deployment has selected Postgres, so per the packet no implementation and no contingent research was started — the slice remains a V4 parked horizon item by its own terms.
    • Disposition: task 17024 is parked (not blocked — its only native dependency is satisfied). Resume condition is the trigger event: an owning deployment selects Postgres. This is not production rollout authorization.
  5. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    Agent note — preflight: native blocker cleared; contingent start trigger unmet (task 17024, lane any-b, 2026-11-16)

    State: parked (preflight verdict). Two gates govern this item, with different states:

    • Native blocker — CLEARED. Define versioned capability-oriented port contracts #10160 (versioned capability-oriented port contracts) is CLOSED, verified fresh today; it was the only entry in this issue's native blocked-by set. The 2026-11-14 preflight block on that ground is discharged.
    • Contingent start trigger — UNMET. The issue's own tiering states: "Tier: contingent. Start trigger: only when an owning deployment selects Postgres; until then keep the adapter as a V4 parked horizon item." No owning deployment has selected Postgres — there is no such selection recorded on this issue or its parent design(id): extensibility architecture — primitive/adapter/hook boundary spec + backend conformance #9110 — so implementation does not start, and no implementation follow-up is enqueued. This is the designed state for a V4 horizon item, not a defect.

    Resume condition: a recorded deployment selection of Postgres (on this issue or #9110). On that event the preflight is already done — the port contracts this adapter builds against (#10160) are landed, and the scope is the two new files named in the issue (pkgs/id/crates/id-store-postgres/src/lib.rs, pkgs/id/tests/postgres_conformance.rs), with no core changes.

  6. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    Preflight verdict (task 17024, lane any-a, 2026-11-16) — native blocker clear; contingent trigger not fired; stays a parked horizon item

    Mandatory preflight checks, verified fresh:

    • Native blocker Define versioned capability-oriented port contracts #10160 (versioned capability-oriented port contracts): CLOSED completed. The packet's self-block condition does not trigger.
    • Contingent research trigger: NOT fired. The slice is contingent on an owning deployment selecting Postgres; no such selection exists in evidence, and per the packet the adapter stays a V4 parked horizon item until then. No contingent research was started, and no implementation is authorized by this preflight (no production rollout).

    Disposition: task 17024 parks long (7d) as the horizon holding state, with this verdict as the record. When a deployment selects Postgres, the preflight re-runs from here: blocker already clear, so the next step is the implementation scoping for 9110-10. Labels synced to queue/parked + status/parked.

  7. added
    queue/parked
    status/parked
    and removed
    status/blocked
    queue/blocked
    on Nov 16, 2026
  8. 5 remaining items

  9. added
    primary-parent/id-program
    stray-work
    on Nov 27, 2026
  10. added
    priority/low
    on Nov 29, 2026
  11. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    🤖 Census note — 2026-11-29 (lane CEN-C09, full issue census)

    State verified today: preflight re-verified twice (2026-11-16, 2026-11-23): the native blocker #10160 is CLOSED, so nothing structural blocks this slice.
    Blocker: none — the contingent start trigger has simply not fired: no owning deployment has selected Postgres. This is a parked V4 horizon item by design (body tier: contingent).
    Next step: only when a deployment selects Postgres, add the additive profile at pkgs/id/crates/id-store-postgres/ against the stable ports (no core changes) and publish the capability/conformance report.
    Census fixes: added priority/low (contingent tier; every sibling slice now carries exactly one priority).
    Verdict: blocked — trigger-gated, correctly parked; detail complete.

  12. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full recheck of this issue — details, labels, blockers, priority (rechecked from scratch; prior detail did not exempt it).

    STRENGTHS:

    • substantive body (2233 chars)
    • acceptance structure present (0 checklist items, 0 checked)
    • names concrete file/module pointers: com/developing-today/code/blob/main/doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md, doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/research.md, doc/2026-11-13T03-40-00Z_design_id-atlas-summit/crosscut/versioned-design.md, pkgs/id/Cargo.toml
    • 7 prior comments of triage/work history on record
    • priority already set (priority/low)
    • native blocked_by edges already present: Define versioned capability-oriented port contracts #10160

    GAPS FOUND:

    • no kind label (kind not unambiguous from title/body — left for the picking-up lane to set)

    FIXES I APPLIED:

    • none needed

    REMAINS: nothing — ready for pickup

  13. added
    priority/normal
    and removed
    priority/normal
    on Nov 29, 2026
  14. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Priority validation 2026-11-29 (Felix): priority/normal + priority/low → priority/low — contingent Postgres profile gated on an owning deployment selecting Postgres, which has not happened; parked horizon item — low fits; normal removed

  15. added
    app/id
    effort/m
    on Nov 29, 2026
  16. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    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); no app/*/area/* label although the owning project is clear from the title/body; no effort/* label; no acceptance-criteria section.

    Actions taken: labels added: kind/enhancement, app/id, effort/m; appended ## Acceptance criteria (original body text unchanged above it).

    Blocker/trigger recorded in this census note: parked by design — the body's start trigger is that an owning deployment selects Postgres; until then this stays a parked horizon item.

    Priority: priority/low retained — matches the work's urgency as evidenced on the issue; no band change in this pass.

  17. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Reparented — Felix lane 0640-WA, 2026-11-30 (P3.1 tranche on code#17071, claim 7283429466).

    This issue was a sub-issue of #9110, which is CLOSED. Under the P0–P3 playbook's P3.1 rule (open sub-issues must not roll up into a closed parent), it has been moved to #9106 — #9110's own parent, the open ID/Atlas extensibility epic — via the GraphQL removeSubIssue/addSubIssue mutations, verified live (parent endpoint now reads #9106). No labels, state, or priority band were changed.

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/ideffort/mepic/id-programkind/enhancementprimary-parent/id-programpriority/lowqueue/parkedstatus/parkedstray-workwork/assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions