Repository navigation
Open
Labels
effort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status/in-review
Description
Refs #9077. Design: doc/2026-11-23_design_fleet_sso_9077.md §3.
Scope: first fleet-service consumer per #1253: accept devtoday SSO tokens, enforce owner/orchestrator/agent/read-only roles server-side on writes.
Acceptance: Drew signs into a PM-stack service via each linked door against the same account with roles enforced server-side; documents the per-app integration pattern for the next consumer; depends on the linking issue.
{
"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-23T15:36:58Z",
"session_id": "ses_e5df703b424ffeYiDdwritlbyD",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code-wt-sso-9077",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code-wt-sso-9077",
"repo": "developing-today/code",
"branch": "lane/oc-code-05/sso-9077-design",
"sha": "4204df0de25ea49e728773ded1f059cefbed56be"
},
"auth_subject": "agent-next-25-local",
"stamped_by": "fleet 0.1.0 (native)"
}
}Acceptance criteria
- Delivered: SSO (SSO for fleet services: GitHub/Google/Microsoft login gated to Drew + devtoday OIDC provider with roles + account linking #9077): first consumer integration proving the full loop (PM stack) — the outcome named in the title is demonstrably in place.
- The implementation matches the scope, design record, and constraints stated in this issue body; no stated scope is silently dropped.
- Verification evidence is recorded on this issue (tests run, commands executed, or measurement output), naming what was checked.
- Any follow-on gaps found during the work are filed as their own issues and linked from this issue.
Metadata
Metadata
Assignees
Labels
effort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status/in-review
Activity
developing-today commentedon Nov 23, 2026
CODE-4890
Merge pull request #13799 from developing-today/lane/idp4/reference-c…
dezren39 commentedon Nov 23, 2026
First consumer — the buildable half is landed; the issue stays open for the rest
Landed: PR #13799 (merge
0ae6122d03ff).pkgs/idp-provider/README.md: registration (client row, no secrets, PKCE S256), discovery-driven configuration, code + PKCE sign-in (300 s tokens, no refresh tokens), verify-every-request against the JWKS by kid, and server-side role enforcement — plus how Cloudflare Access composes with the IdP token instead of being replaced by it.src/verify.rs(TokenVerifier— discovery → JWKS, signature-first verification,iss/token_use/expchecks — andrequire_any_role, the whole write gate) andexamples/role-gated-app.rs(/readfor any valid token,/writegated onowner/orchestrator).tests/consumer.rs— the owner token comes through the provider's real authorize/token loop and passes read + write; a read-only token reads but gets 403 on write; ID-token-as-bearer, expired, garbage, and missing tokens all get 401. (The denial case is test-level by construction: the live provider's one account holds all four roles, so no live login can mint a low-role token. 20/20 crate tests pass.)/read200 (sub: drew, all roles),/write200 (written: true); tampered token → 401; no token → 401.What remains on this issue (why it stays open):
dezren39 commentedon Nov 23, 2026
Remainder re-check (IDP-DOORS-REGISTER, 2026-11-23)
State after today's door work:
sub=drew) with the design(pm-stack): one identity across the stack — SSO propagation from the public entry into every layer, roles replace asserted authorship #1253 roles enforced by the provider, and the linking proof ran on SSO (#9077): account linking UI/flow with retained identity history #13415 (link event, unlink denial, account reachable via the local door, history intact). The GitHub (SSO (#9077): GitHub federated login #13411) and Microsoft (SSO (#9077): Microsoft federated login #13414) door sign-ins are still outstanding — both are blocked on a Drew-only step (sign into github.com / portal.azure.com in the laptop's stock Chromium), recorded on those issues.This issue stays open. Next actions, in order: Drew's two browser sign-ins unblock the remaining doors; then a PM-stack service consumes a door sign-in per the documented pattern.
dezren39 commentedon Nov 24, 2026
Triage pass (task 22312, lane oc-code-02, 2026-11-24)
Fresh state: issue open. The buildable half is landed (PR #13799, merge 0ae6122). Provider decision, SAML design, and relying-party design are merged (#13417, #13792, #14089). The Google door is live-proven per the 2026-11-23 re-check.
Remaining: the GitHub door (#13411) and the Microsoft door (#13414) sign-ins. Both need a Drew-only step, which is a hands item and not claimable here.
Verdict: keep #13416 open for those two door sign-ins. No new packet is routed, and no code was changed.
dezren39 commentedon Nov 24, 2026
Triage (oc-code-07, task 22696), state checked 2026-11-24.
Verdict: open, blocked on two doors that are still open. Buildable half merged (#13799); provider, SAML and relying-party designs merged (#13417, #13792, #14089); Google door live-proven. Remaining: the GitHub door (#13411) and the Microsoft door (#13414), both OPEN. Each needs a sign-in performed at a live browser, which is a hands item, so this lane records it and does not park on it. No code changed in this pass.
dezren39 commentedon Nov 24, 2026
Aggregator SSO consumer slice is implemented in draft PR #14477 (Closes #14411). It adds
IDP_PROVIDER_ISSUER-driven OIDC discovery/JWKS RS256 verification and requires anownerororchestratorrole for the human-originated aggregator write routes, alongside the existing Access identity checks. Local RSA/JWKS fixtures cover missing/invalid tokens (401), read-only role denial (403), and owner/orchestrator acceptance without live IdP credentials.Recovery posture: IdP unavailability fails closed for ordinary writes; #9608 Access-outage queueing still runs after successful IdP verification, while fresh-login queue confirmation/rejection and the existing single-use break-glass registry route remain outside this gate. Machine callbacks and public prompt intake retain their existing contracts.
Remote targeted test is running: https://github.com/dezren39/fleet/actions/runs/45437791139 (pending).
developing-today-fleet commentedon Nov 25, 2026
Triage pass (task 22696, lane felix, 2026-11-25) — verdict: VALID, still blocked; the code-side remainder is now routed as a finish slice.
Fresh state (verified 2026-11-25, supersedes the premise of the 2026-11-24 verdicts only where noted):
What remains for this issue's acceptance: PR #14477 landing (task 23805), then Drew's live sign-ins through the GitHub (#13411) and Microsoft (#13414) doors plus the linking flow (#13415) against the same account with roles enforced server-side. The door sign-ins are the long pole and are hands items.
developing-today-fleet commentedon Nov 27, 2026
Aggregator consumer integration is now ported to the extracted write-route handlers on current
mainin successor PR #15910 (the original #14477 branch rejected a non-fast-forward update). It preserves the #13799 token-verification pattern, owner/orchestrator write roles, existing Access identity checks, and the comments operator-token fallback when no IdP issuer is configured. Focused fixture tests passed in Fleet run #45935222979; the full aggregator suite is running in #45936869477. This discharges the code-side aggregator consumer item once review/merge lands; GitHub/Microsoft door sign-ins and linking remain the separate live acceptance remainder.developing-today-fleet commentedon Nov 27, 2026
Verification update for the aggregator integration: all six #14411 IdP fixture tests passed by name in Fleet full-suite run #45936869477; the dedicated focused run #45935222979 also passed. The full aggregator command itself exited nonzero (3,826 pass, 27 fail, 17 errors from unrelated timeouts/dependency/gatherer failures), documented on PR #15910. The successor PR is ready for review and mergeable/CLEAN, not merged. The other acceptance items on this tracker (GitHub/Microsoft door sign-ins and account linking) remain open.
developing-today-fleet commentedon Nov 27, 2026
Correction to the aggregator suite note: run #45936869477 omitted the documented fixture environment and dependency install, so its failures are not a meaningful suite verdict. The #14411 fixture tests did pass by name, and the proper workflow-equivalent full suite (install dependencies +
PM_AGG_SOURCE=fixtures PM_AGG_DEV=1) is now running as #45938369056. The rest of this tracker remains as previously recorded.developing-today-fleet commentedon Nov 27, 2026
Aggregator-integration evidence (final): all six #14411 IdP fixture tests passed by name in both configured full-suite runs (#45938369056, #45939998841). The suite itself stays red (4,001 pass / 10 fail) on #8220
loadConfig HOME(6) and #14149 broker-answer (4) tests that the slice does not touch; a serialized retry ruled out concurrency interference. Successor PR #15910 is ready and mergeable/CLEAN, unmerged. Door sign-ins (#13411/#13415) and linking remain the open live acceptance.developing-today-fleet commentedon Nov 27, 2026
Aggregator consumer update from #13798 triage (2026-11-27): successor PR #15910 MERGED at 09:16:27Z, closing #14411. Its six fixture IdP tests passed; the full-suite baseline failures were independently reproduced on clean main and are documented on #14411. This completes the aggregator implementation slice. Issue #13798 still requires its explicitly stated real-provider demonstration against the aggregator endpoint; no such live proof was evidenced by the merged PR, so follow-up task 26184 is queued. The GitHub/Microsoft door sign-ins and account linking remain open on #13416.
dezren39 commentedon Nov 28, 2026
agent-note:v1
lane: 1207-D (charlie ADVANCE queue-draw, 2026-11-28)
task: 23806
state: parked — close-out prerequisites re-verified firsthand
Fresh reads 2026-11-28:
The three door/linking items are live sign-in hands items; the #13416 close-out cannot run until they close with live sign-in evidence. Task 23806 parked with ready condition: #13411 closes; on wake re-check #13414 and #13415, then run the acceptance pass.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): recheck of this issue (body, all comments, labels, blocker edges).
STRENGTHS: Small body, exact acceptance: Drew signs into a PM-stack service via each linked door against the same account, roles enforced server-side, and the per-app integration pattern documented for the next consumer. The native blocked_by edges are present and accurate (the GitHub door #13411, the Microsoft door #13414, and the linking flow #13415 — all still open).
GAPS: None in labels (complete:
kind/feature,priority/normal,status:in-review,epic/pm-stack).FIXES I APPLIED: None needed. Progress state for the picker-up: the reference-consumer proof this issue exists to produce has substantially landed — the aggregator integration's six #14411 IdP fixture tests passed in both configured full-suite runs, successor PR #15910 merged on 2026-11-27 closing #14411, and the close-out prerequisites were re-verified firsthand on 2026-11-28 (lane 1207-D, task parked). The follow-on consumer (#13798, aggregator token validation + role-gated writes) builds directly on this pattern.
REMAINS: The acceptance's own terms — sign-in via each door against the same account with roles enforced, and the pattern write-up — complete as the three door/linking blockers close.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Audited live on 2026-11-29 against the house label taxonomy: details, labels, blockers, priority.
Gaps found: no ## Acceptance criteria section in the body
Strengths found: detailed body with scope and context a picker-up can start from; links a parent issue and/or design record; active discussion: 14 recent comment(s) skimmed
Comment skim: comments mention blocking (14 comments in the latest page).
Actions taken by the census: appended ## Acceptance criteria section to the body (original text unchanged).
Priority checked: the current priority label matches the census priority bands; no reprioritization made.
feat(pm-aggregator): gate conflict-ruling writes behind the IdP write…
developing-today-fleet commentedon Nov 30, 2026
Integration record — lane 2037-G, 2026-11-29 (for #13798). The first production consumer of this issue's pattern is complete: pm-aggregator validates IdP access tokens per the pattern recorded here (discovery-driven config, JWKS kid selection, iss/exp/token_use=access, server-side owner/orchestrator write gate, 401/403 split) in
pm-stack/aggregator/src/idp-identity.ts, wired into every human write family inserver-write-routes.ts— the final two routes (conflict rulings POST/DELETE) landed in PR #17054 (merged dbfc574). Full adjudication on #13798. Key: 2037-G