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(hosted): one authoritative account and binding registry for the hosted ID worker (from #9080) · Issue #15480 · developing-today/code

id(hosted): one authoritative account and binding registry for the hosted ID worker (from #9080) #15480

New issue
Copy link
New issue
Copy link
Todo
Todo
id(hosted): one authoritative account and binding registry for the hosted ID worker (from #9080)#15480
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)epic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedprimary-parent/id-programPrimary parent epic id-program (design §3)primary-parent/pm-stackPrimary parent epic pm-stack (design §3)priority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)queue/queuedHas a queued queue taskstatus/parkedDeliberately paused with a recorded resume conditionstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)

Description

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

Gap from the #9080 gap analysis (component B of #9078).

What is missing

Three account/binding registries exist and are not reconciled:

  • pkgs/id/hosted-worker/migrations/0001_hosted_accounts.sql (from id: add immutable jurisdiction and migration metadata to hosted directory #3399), read by the optional HOSTED_DIRECTORY check in the front door;
  • the tenancy account and binding tables (hosted-worker/tenancy/migrations/0001_tenancy_baseline.sql, E1 impl(pm-stack): E1 — tenancy schema + migration baseline (#9083) #12796);
  • the Rust records in pkgs/id/src/hosted_binding.rs.

HOSTED_DIRECTORY is not bound in wrangler.toml, so the shipped front door skips the directory check entirely.

Done when

  • One registry is named authoritative for account and binding records (the tenancy DB is the likely answer per design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083), and the others are either removed or derived from it.
  • The front door always consults it; a missing binding fails closed rather than skipping the check.
  • A design note or the PR body records the choice.

Generated by Claude Code

Acceptance criteria

  • One authoritative account and binding registry exists for the hosted ID world; lookups no longer consult divergent sources.
  • Create/read/update of accounts and bindings go through the registry.
  • Covered by tests for the registry operations the sibling slices consume.

Activity

Next
  1. dezren39
    added
    kind/featureNew feature or capability request
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 26, 2026
  2. dezren39
    added a parent issue on Nov 26, 2026
    • design(id): ID service, Workers edition — close the gaps on the #5524/#5681 serverless line to a workable hosted equivalent #9080
  3. developing-today-fleet
    added
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    status/needs-triageNot yet triaged; needs a first look
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 26, 2026
  4. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Intake review

    • Liveness: Merged PRs referencing this issue found in a title/body search: docs(id): Workers edition gap analysis for the hosted ID service (#9080) #15487 — none explicitly resolves it, so the issue stays open.
    • Notes: Slice of the hosted-ID breakdown under design(id): ID service, Workers edition — close the gaps on the #5524/#5681 serverless line to a workable hosted equivalent #9080. Foundational for id(hosted): authenticate callers at the ID front door instead of trusting X-Binding-Id (from #9080) #15479 (front-door auth) and id(hosted): serve the tenancy modules through a Worker entry point (from #9080) #15481 (Worker entry point) — sequence early.
    • Risks: Scope creep across sibling slices is the main risk; this issue's acceptance criteria (appended to the body) are the boundary.
    • Suggested approach: Work this slice against its acceptance criteria; cross-reference sibling slices rather than re-deciding shared contracts inside this issue.

    🤖 Agent note · handed off

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-11-26 02:14 CST
    • Found via: monitor reconciliation (intake enrichment, Duty 2)
    • Task: Intake enrichment — acceptance criteria appended, labels normalized, meta/enriched applied.
    • Expectation: Ready for triage/queue routing as labelled.
    • Links: n/a
  5. dezren39
    added a commit that references this issue on Nov 26, 2026

    id(hosted-worker): refuse client binding context at public edge (#15479)

    1816509
  6. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Decided: The central tenancy DB's account and binding tables from #9083 are the authoritative persisted registry for hosted accounts and bindings. hosted_accounts remains a legacy routing projection during migration; HostedBindingService remains ceremony logic and does not own persisted identity state.
    Why: #9083's design record §0 and §2 names the central tenancy DB as the account and binding authority, and tenancy/migrations/0001_tenancy_baseline.sql implements those tables. The current front door's optional HOSTED_DIRECTORY path and the Rust in-memory service are separate from that schema, which is the gap #15480 needs to close.
    Undo: A superseding #9083 design decision changes the authoritative registry; otherwise follow-up slices migrate readers and writers toward these tables.
    By: agent-next-20-local

  7. developing-today-fleet
    added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 26, 2026
  8. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    The first registry reader slice, PR #15579, merged as d0c8216d3bcc230102feebfbf53ff1bc3858eef8. It routed TenantOps provisioning validation through the central account/binding tables and rejected suspended/closed accounts.

    The front-door reader slice, PR #15628, merged as 8fd0812a537ed4ae009de942e6b48a7925edc359. It makes TENANCY_DB a required read path before namespace access, uses the same central registry in TenantOps, and keeps the legacy directory only for migration routing; a legacy projection cannot authorize a binding without the central record.

    Evidence: Fleet run 45821113998 reproduced the original requested versus expected failed bug. Fleet run 45839740782 completed the front-door and TenantOps suites, TypeScript typecheck, and local D1 migration application; 42 selected tests passed. The D1 database used the local placeholder and was not deployed.

    Issue #15480 remains open for the writer path. Next slice: connect the verified Rust login-binding create/update flow to TENANCY_DB through an authenticated service boundary, and test duplicate/conflicting writes against the central registry.

  9. 20 remaining items

  10. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Progress from agent-next-20-local: PR #15628 code and run 458397 command step passed; waiting for terminal cleanup before merging.

  11. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Released by agent-next-20-local (outcome: free). PR #15579 and PR #15628 merged; issue remains open for Rust writer integration through TENANCY_DB.

  12. dezren39
    added
    queue/queuedHas a queued queue task
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 26, 2026
  13. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Triage refresh (lane oc-code-04, queue task 23853, 2026-11-26): valid and active, not complete. PRs #15579 and #15628 landed the central-registry readers; the remaining next slice is the authenticated Rust login-binding create/update writer through TENANCY_DB. The prior fallback claimant released the issue as free at 14:44Z, and the current fallback status is released/claimable; there is no live fallback hold. However, prerequisite #13710 remains open for authenticated server routes and CLI integration (latest note says those routes remain). Verdict: return to dependency-blocked queue state on #13710, then resume the writer slice. No duplicate reader work.

  14. dezren39 commented on Nov 26, 2026

    @dezren39
    dezren39
    on Nov 26, 2026
    MemberAuthor
    More actions

    Cross-reference (lane xaltha, shepherd task 24395): Refs #15479 — PR #15567, the first #15479 slice, was closed as superseded by this issue's PR #15579, which merged the tenancy registry and re-based the hosted front door on it. The remaining #15479 work (authenticated caller at the front door) builds on the registry delivered here. Salvage note: #15567 (comment)

  15. developing-today-fleet
    added
    stray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)
    epic/id-programReprioritization program epic (2026-11-12)
    primary-parent/id-programPrimary parent epic id-program (design §3)
    epic/pm-stackReprioritization program epic (2026-11-12)
    primary-parent/pm-stackPrimary parent epic pm-stack (design §3)
    on Nov 26, 2026
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/mMedium: expected under 1 day of workepic/id-programReprioritization program epic (2026-11-12)epic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedprimary-parent/id-programPrimary parent epic id-program (design §3)primary-parent/pm-stackPrimary parent epic pm-stack (design §3)priority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)queue/queuedHas a queued queue taskstatus/parkedDeliberately paused with a recorded resume conditionstray-workStray work: not tied to a design or roadmap item (AUDIT-7 Lane 7)

    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.