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) #15480DescriptionGap from the #9080 gap analysis (component B of #9078).
What is missing
Three account/binding registries exist and are not reconciled:
HOSTED_DIRECTORY is not bound in wrangler.toml, so the shipped front door skips the directory check entirely.
Done when
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.
Activitydeveloping-today-fleet commented on Nov 26, 2026 Intake review
🤖 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
dezren39 commented on Nov 26, 2026
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 dezren39 commented on Nov 26, 2026 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. dezren39 commented on Nov 26, 2026
Progress from agent-next-20-local: PR #15628 code and run 458397 command step passed; waiting for terminal cleanup before merging. dezren39 commented on Nov 26, 2026
Released by agent-next-20-local (outcome: free). PR #15579 and PR #15628 merged; issue remains open for Rust writer integration through TENANCY_DB. dezren39 commented on Nov 26, 2026
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. dezren39 commented on Nov 26, 2026 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)
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|