GeezerVison is showing github.com — fleet-hosted bridge door: caller-auth enablement (RP issuer + tenancy directory) · Issue #14978 · developing-today/code
fleet-hosted bridge door: caller-auth enablement (RP issuer + tenancy directory) #14978Descriptionfleet-hosted bridge door: caller-auth enablement — the one hop CF-11 (#14951) could not configure.
Split from #14951 (CF-11) on 2026-11-25 with the reason recorded there and here. CF-11 completed the door's own enablement: BRIDGE_PM_TOKEN is set on the fleet-hosted Worker by name from Bitwarden (bridge.pm-stack-token) via the versions standard — version 38d51062-c512-4bda-909f-260cb485f94b deployed at 100% on 2026-11-25, /health ok — and the credential itself is verified end-to-end against the bridge's /fleet API (agents list answers; a send as service:pm-stack delivered and read back, message id 192).
What still refuses, and why it is not CF-11's to configure: every door route passes the shared router's authenticate() (pkgs/fleet/hosted-worker/src/auth.ts), which fails closed 503 auth_not_configured unless BOTH hold (verified live after the CF-11 deploy — the door's refusal is now exactly this error):
- An RP issuer is configured (
RP_ISSUER; config.ts builds the RP validation config from it). The issuer is SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077's OIDC provider, which is still design-stage with its first phase Drew-gated; no issuer URL of record exists to set. Blocked on SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077.
- A tenancy directory is configured. The only implementation that exists is the
TENANCY_FIXTURE_JSON skeleton seam (src/tenancy.ts); component E's DB-backed directory has not landed. An interim fixture carrying one service-token record (SHA-256 only, never the token) for the PM service, scoped to the bridge door, is a legitimate stopgap once someone with the tenancy mandate records that call — the fixture format is validated by parseTenancyFixture and fails closed on malformed input.
Acceptance for this slice:
Child of #14866 (Cloudflare-first programme), split from #14951. Secrets by name only. Deploys follow the versions standard (design §4).
{
"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-11-25T09:20:40Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "c11f41086f57d626be7eb582763b721f8f557408"
},
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Acceptance criteria
- The RP issuer and tenancy directory are configured for the fleet-hosted bridge door so its routes stop failing closed 503 auth_not_configured.
- An authenticated door call (queue door included) succeeds end-to-end against the live fleet-hosted Worker, verified the same way CF-11 verified the bridge credential.
- Issue CF-2b (#14942): broker door-client end-state + live traffic cutover to D1 fleet-queue #14987's caller-auth prerequisite is recorded as landed (comment there) once the verification passes.
Activitydezren39 commented on Nov 25, 2026 oc-code-04 fresh check (2026-11-25): #9077 remains OPEN; the provider work has a design decision and child issues, but no deployed issuer URL of record. #14951 remains OPEN. The tenancy directory is still unavailable; no authorized interim-fixture decision is recorded. I parked the queue task without changing code or weakening authenticate(). Resume when a real issuer URL is deployed and tenancy is available (directory or authorized fixture decision). developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions Intake review
Related: Split from issue #14951 (CF-11); unblocks issue #14987 (CF-2b). In flight as task 23753 (slice-11).
Notes: Label repair in this same pass: task 23753 is claimed for this issue but the issue carried no queue/claimed or work/assigned — I applied queue/claimed + work/assigned + status/in-progress to match the live claim (reverse-mismatch repair, fleet monitor Duty 1 addendum). CF-11 completed the door's own enablement (Worker version 38d51062 deployed, /health ok, bridge credential verified); what remains is the shared router's authenticate() configuration.
Risks: Tenancy configuration is security-sensitive: a permissive directory would fail open where today it fails closed. Verify with both an authorised and an unauthorised caller.
Suggested approach: Configure issuer + tenancy directory per the auth.ts requirements, deploy via the versions standard, verify authorised and unauthorised calls.
Acceptance criteria appended to the issue body; labels normalised by the fleet monitor intake pass.
🤖 Agent note · filed
developing-today-fleet commented on Nov 25, 2026 ContributorAuthor More actions 🤖 Agent note · handed off
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor run 2026-11-25 04:14 CST
- Found via: monitor reconciliation
- Task: Correction to this run's intake repair: task 23753 is PARKED (not_before 2026-11-25T11:12:29Z), not claimed — labels corrected to queue/parked + status/parked, work/assigned kept, per protocol §1 parked stage.
- Expectation: labels now mirror live queue state; the holding worker continues its task unchanged
dezren39 commented on Nov 25, 2026 agent-next-20-local fresh check (2026-11-25): #9077 remains OPEN; its provider design and child issues exist, but no deployed issuer URL is recorded. #14978 still records no tenancy directory and no authorized interim-fixture decision. No safe configuration change is available; authenticate() remains fail-closed. Queue task 23753 is parked until a deployed RP issuer and a tenancy directory or recorded interim-fixture decision are available. developing-today-fleet commented on Nov 26, 2026 ContributorAuthor More actions agent-note:v1 — caller-auth enablement re-check, 2026-11-26 (CF-11 continuation pass under the #14866 owner ruling to finish migrations end to end).
Still blocked, precisely:
- RP issuer — blocked on SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077. SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077 is OPEN (status: in-review). Its OIDC provider is still design-stage with its first phase Drew-gated; no issuer URL of record exists, so
RP_ISSUER cannot be set on fleet-hosted. The door's authenticate() fails closed without it, regardless of anything configured on the bridge side.
- Tenancy directory — not landed. The only implementation is the
TENANCY_FIXTURE_JSON skeleton seam; component E's DB-backed directory has not landed. The interim one-record fixture stopgap described in this issue remains available, but it cannot unblock the door on its own while (1) holds, and recording that tenancy call is outside the CF-11 lane's mandate.
Verified this pass from the bridge side: the bridge Worker itself is current (live version e7d9804d, git f8b16e5 = newest bridge commit on main), BRIDGE_PM_TOKEN enablement from the CF-11 pass stands, and the bridge state backup/export half of #14951 advanced (export landed 2026-11-26T10:48Z; daily cron registration found missing and restored; restore drill prepared — record on #14951, comment 7190146933). Nothing on the bridge side remains for this slice; the next action is #9077's first phase.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|