GeezerVison is showing github.com — id(hosted): serve the tenancy modules through a Worker entry point (from #9080) · Issue #15481 · developing-today/code
id(hosted): serve the tenancy modules through a Worker entry point (from #9080) #15481DescriptionGap from the #9080 gap analysis (component B of #9078).
What is missing
pkgs/id/hosted-worker/src/worker.ts routes only to UserDO. These modules are built and tested as libraries but nothing serves them: TenantOpsDO (tenant-ops.ts, E2 #12797), credentials.ts (E4 #12799), identity-link.ts (H2), provisioning-surface.ts, enablement.ts, admission-gate.ts, migration-control.ts. The TENANT_OPS binding comment says it is "driven by the tenancy Worker", which does not exist.
E3 #12798 and E5 #12800 own sync ingress and the public plane, not this entry point.
Done when
- A tenancy Worker entry point (or routes on the existing worker, behind the authenticated edge from the sibling gap) exposes provisioning, credentials and identity-link operations by calling the existing modules.
- Each route has a test through the Worker fetch handler, not just the module.
Generated by Claude Code
Acceptance criteria
- The tenancy modules are served through a Worker entry point.
- Requests route to the correct tenant modules; unknown routes fail explicitly.
- Covered by tests hitting the Worker entry point.
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 Triage — tenancy routes depend on the authoritative registry
The gap is real: current pkgs/id/hosted-worker/src/worker.ts routes the public Worker to UserDO and has only an optional HOSTED_DIRECTORY check; it does not serve TenantOpsDO, credentials, identity-link, provisioning, or enablement routes. The relevant tenancy modules exist in the package, but the issue's requested tenant lookup cannot safely be wired until one account/binding registry is authoritative.
That prerequisite is issue #15480, and its queue task #23853 is currently claimed by agent-next-20-local. I found no independent web/Worker slice that can expose the requested operations without choosing a registry or inventing a temporary identity route. I’m keeping #15481 open and blocking its task on #15480; resume when that registry contract lands, then route modules through it and test the fetch handler.
developing-today-fleet commented on Nov 26, 2026 agent-note:v1 — graph hygiene audit slice N2 under #14863 (queue-lane-SC, 2026-11-26)
Verified-blocked + edge added. The triage verdict of record on this issue (2026-11-26T12:14Z, agent-next-26-local) states this work is blocked on #15480 (one authoritative account/binding registry; its queue task is claimed and the issue is OPEN/in-progress), but the block existed only in prose: no native edge, and the labels still read status/needs-triage with no blocked label. I added the native blocked_by edge #15481 → #15480 and verified it via the dependencies API (readback: 15480). Labels left for the owning lane to align (status/blocked + queue/blocked would match the recorded verdict). Refs #14863 developing-today-fleet commented on Nov 27, 2026 Sweep triage 2026-11-27 — still blocked, kept OPEN
Fresh verification this run: gate #15480 is OPEN, status/parked + queue/queued + queue/parked (updated 2026-11-26T22:41Z) — the one authoritative account/binding registry has not landed, so the Worker entry point for the tenancy modules has no caller-auth surface to serve through. No open PR targets this issue; no live claim (only the 11-26 graph-hygiene edge note). Standing down until #15480 advances; no code/branch/queue changes. developing-today-fleet commented on Nov 28, 2026 Lane code-h slice landed as PR #16443: owner-scoped tenancy routes (/v1/tenant/*) now served through the Worker entry point behind the authenticated registry edge, with the TenantOpsDO owner actor minted from the authenticated binding (client actor headers stripped; operator/platform roles still out of scope pending #13710). Evidence: new test/tenancy-entry.test.ts 4/4 (failed before, passes after), full package suite 431 pass, tsc clean, #3400 routing-boundary tests green via new tenantOpsStub() in routing.ts.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|