GeezerVison is showing github.com — design(pm-stack): SSO relying-party integration — hosted editions consume #9077; tenancy accounts aligned with #1253 roles · Issue #9086 · developing-today/code
design(pm-stack): SSO relying-party integration — hosted editions consume #9077; tenancy accounts aligned with #1253 roles #9086Labels app/pm-stackpm-stack (Pad/Grist) in developing-today/codedesignDesign record / living design doc tracking homeeffort/lLarge: multi-day or open-ended; expect staged check-insepic/pm-stackReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default) DescriptionComponent H of epic #9078 (hosted editions program). Design first (design mill, under #9078). Identity is designed in #9077 — this issue is ONLY the integration of the hosted editions with it. Do not re-design identity here.
What
Open design questions
- Token/session flow per surface: browser dashboard (A) vs service-to-service (C) vs native instance sync (E) — which flows (auth code + PKCE, device, service tokens) apply where?
- Tenancy account ↔ identity links: where the link table lives (tenancy DB), and what happens on link/unlink (DB access continuity for per-user Turso DBs, component E credentials).
- Gating: Drew-only at first — how the gate is expressed (tenancy allowlist? role?) and how it relaxes later without a redesign.
- Agent identity: fleet/agent callers authenticate as design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253's agent role — how are agent credentials issued and scoped against tenancy?
Builds on / relations
Related program: #14261 (H3 browser session-core); the remaining OAuth PKCE callback/provider and worker-route integration stay tracked on #14261.
Acceptance
Activitydeveloping-today commented on Nov 12, 2026 dezren39 commented on Nov 17, 2026
🤖 Agent note · triaged — task 18836 (lane code-a)
- Work kind: design (design-mill route — no lane fix packet; see routing below) · Priority: priority/normal (priorities brief line 5) · Effort: effort/l (per-surface flows + tenancy link model + agent credential model) · Kind: kind/design (added)
- Fresh state (2026-11-17): issue design(pm-stack): SSO relying-party integration — hosted editions consume #9077; tenancy accounts aligned with #1253 roles #9086 OPEN, labels app/pm-stack + epic/pm-stack, no hard-stop labels, only comment is the Kaneo link — never triaged, never worked. No component design exists on origin/main (only the epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078 program note,
doc/2026-11-12T23-04-00Z_design_hosted-editions-workers/note.md, names it). Relations verified OPEN today: SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077 (provider-side SSO program), design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253 (identity + role vocabulary), id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852 (SSO→ID binding), design(pm-stack): one public URL for the dashboard behind Cloudflare Access (settled access model, not yet implemented) #1182 (interim Cloudflare Access door).
- Scope fence, as filed and binding: identity is designed in SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077 — this issue is ONLY the relying-party integration of the hosted editions (A PM service, B ID service, C fleet surface) with it. Any gap found in SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077's scope gets filed ON SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077, never forked into a parallel identity design here. The tenancy account model (component E) aligns to design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253's roles (owner / orchestrator / agent / read-only) — no parallel role system; the hosted ID edition consumes id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852's binding rather than inventing another.
- The design must answer the issue's four questions: per-surface token/session flows (browser dashboard vs service-to-service vs native instance sync — auth code + PKCE, device, service tokens, which where); the tenancy link table's home and link/unlink semantics (incl. per-user Turso DB access continuity); the Drew-only initial gate's mechanism (allowlist vs role) and how it relaxes without redesign; agent credential issuance/scoping against tenancy for design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253's agent role. It must also state how design(pm-stack): one public URL for the dashboard behind Cloudflare Access (settled access model, not yet implemented) #1182's interim door relates once SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077 exists.
- Routing (why no queue follow-on): design-mill item under epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078, like its sibling components — the epic's triage (task 18828, today) recorded the mill program in flight with components individually tracked; this triage is the intake record pinning scope, fence, relations, and acceptance. The queue's packet kinds carry no design kind, and a lane small_fix packet would misroute a design.
- Acceptance check (the issue's own): design merged under
doc/ as part of epic: hosted editions — PM service, ID service, and fleet tool as workable Cloudflare Workers equivalents (multi-tenant Turso/R2 architecture) #9078's build-out (per-surface flows, link-table home, gating mechanism, agent credential model) + granular implementation issues filed under this issue. Issue stays OPEN.
added kind/designA design proposal (design-architect): multi-step, phased, decision-bearing designDesign record / living design doc tracking home effort/lLarge: multi-day or open-ended; expect staged check-ins on Nov 17, 2026dezren39 commented on Nov 17, 2026 agent-note:v1
state: picked_up
task: 20289
lane: code-f
stage: claimed -> verified
OpenChamber scheduled lane claimed task 20289. Fresh GitHub revalidation confirms #9086 OPEN; related issues #9077 and #1253 are OPEN. No hard-stop labels are present. The prior completed triage note by task 18836 already provides the scoped design verdict, acceptance criteria, and routing rationale; verifying that as the current outcome before closing this duplicate follow-on packet. dezren39 commented on Nov 17, 2026 agent-note:v1
state: done
task: 20289
lane: code-f
stage: triaged
Fresh verification confirms #9086 remains OPEN and the completed triage record from task 18836 is present and complete: this is a design-mill relying-party integration under #9078, identity scope remains with #9077, tenancy roles align with #1253, and no lane small-fix follow-on is appropriate. The issue remains open for the design work; this duplicate triage task is complete as triaged. dezren39 commented on Nov 24, 2026 Design record landed for review: PR #14089 — doc/2026-11-24T04-50-00Z_design_sso-relying-party-9086/ (lane code-g, queue task 21564).
Covers the 9-point standard: problem/context, goals/non-goals, alternatives incl. do-nothing, approach (per-surface flows A/C/E, identity_link table + unlink semantics, Drew-only gate + relaxation, agent credentials, #1182 retirement rule, #2852 consumption), slices H1–H7 with acceptance criteria, rollout/rollback, verification, open questions with Drew as decider.
Remaining acceptance after merge: granular implementation issues H1–H7 filed as children of this issue. dezren39 commented on Nov 24, 2026
🤖 Agent note · second-pass verify-and-route — task 21950 (lane code-g)
Verdict: design demand CLOSED by merge; implementation demand routed. #9086 remains OPEN for the H1–H7 build slices, each now filed + queued below. Not closing: no slice has landed.
- Fresh state (2026-11-24): issue OPEN, labels priority/normal + effort/l + app/pm-stack + kind/design + design + epic/pm-stack. Design record merged: PR docs(9086): SSO relying-party integration design (component H) #14089 (
doc/2026-11-24T04-50-00Z_design_sso-relying-party-9086/, 9-point standard, answers all four design questions + design(pm-stack): one public URL for the dashboard behind Cloudflare Access (settled access model, not yet implemented) #1182 relation). Relations re-verified OPEN: SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077 (provider), design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253 (roles), id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852 (binding), design(pm-stack): one public URL for the dashboard behind Cloudflare Access (settled access model, not yet implemented) #1182 (interim door). SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077 claim-shape gap request filed on SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077 per acceptance.
- Remaining acceptance was: granular implementation issues H1–H7 filed as children. Done this pass — sub-issue attach API unavailable (404 on sub-issues endpoint), so parentage is by title/body link:
- No parallel identity design forked here (scope fence holds); no hold labels on design(pm-stack): SSO relying-party integration — hosted editions consume #9077; tenancy accounts aligned with #1253 roles #9086.
developing-today commented on Nov 27, 2026
Triage verdict (task 25227, 2026-11-27): parent remains open; implementation work is already routed, no duplicate packet.
Fresh readback: #9086 OPEN; design record PR #14089 remains the settled design and the H1–H7 slices are already filed. Current child states: H1 #14259 CLOSED, H2 #14260 CLOSED, H3 #14261 OPEN (callback slice PR #15799 reported, with linked-door same-account and revocation proof still outstanding), H4 #14262 OPEN and blocked on the H3/provider gates, H5 #14263 CLOSED, H6 #14264 OPEN for first-consumer full-loop/retirement proof, H7 #14265 OPEN pending H6 live proof (the drill itself is reported landed). No further packet was routed: remaining acceptance is tracked on those existing slices, and a parent-level packet would duplicate their work. #9086 stays open until the remaining slice and release evidence is reconciled; no code changed in this triage. developing-today-fleet commented on Nov 27, 2026
Coverage-reconciliation re-triage (task 25911): #9086 remains OPEN; the settled design and H1–H7 implementation decomposition are already in place. Fresh child readback: H1 #14259, H2 #14260, H5 #14263 are CLOSED; H3 #14261, H4 #14262, H6 #14264 and H7 #14265 remain OPEN. H3's PR #15799 is MERGED, but the existing child tracks remaining end-to-end proof. No duplicate parent-level implementation packet; remaining acceptance stays with those child issues.
MetadataMetadataapp/pm-stackpm-stack (Pad/Grist) in developing-today/codedesignDesign record / living design doc tracking homeeffort/lLarge: multi-day or open-ended; expect staged check-insepic/pm-stackReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default) DevelopmentNo branches or pull requestsIssue actions
|