[id/currency] let GatewayService use the durable registry Store by developing-today-fleet[bot] · Pull Request #19955 · developing-today/code · GitHub
Skip to content

[id/currency] let GatewayService use the durable registry Store - #19955

Draft
developing-today-fleet[bot] wants to merge 3 commits into
mainfrom
agent-next-26-local/19933-gateway-store
Draft

developing-today-fleet[bot] wants to merge 3 commits into
mainfrom
agent-next-26-local/19933-gateway-store

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Contributor

Closes #19933

Change

  • Make GatewayService generic over id_currency_registry::Store while preserving the in-memory open constructor.
  • Add the explicit currency-registry-postgres feature and expose PostgresStore through the gateway module.
  • Reconstruct the intent-derived currency registry before touching the injected store; replay only into an empty store, reopen exact matches without writes, and return a typed mismatch for conflicts.
  • Add named-oracle tests for empty replay, matching reopen, and conflict refusal without mutation.

Verification

  • git diff --check passed.
  • Remote Fleet validation is queued: fp_61b7d719dfc384e8aee950a1fda3f8af.
  • The queued command runs the focused gateway tests with currency-registry-postgres, then the synthetic Postgres-store test script.
{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-12-05T00:40:42Z",
    "session_id": null,
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "b33fca1316d5d06f3cebcc5ed3d8bb33913e5f6e"
    },
    "auth_subject": "agent-next-23-local",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Proof this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[id/currency] let GatewayService use the durable registry Store

0 participants