You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
impl(pm-stack): SSO relying-party H3 — surface A browser login Code+PKCE + session cookie (child of #9086) #14261
Child slice of #9086 (design: PR #14089, §4.2 + §5 slice H3). Depends on H1 (#14259), H2 (#14260). Parallel-safe with H4/H5.
What
Dashboard (PM service hosted edition) login via Authorization Code + PKCE against the devtoday provider; front-door session cookie (httpOnly, Secure, SameSite=Lax, 12h idle expiry, bound to binding_id + role-claim snapshot). Cookie is a pointer, not a capability: every request re-resolves binding_id → live role_grant rows. Logout kills cookie + session audit.
Acceptance
Drew logs in via each linked door to the SAME account.
Revocation lands within one request; unauthenticated requests rejected.
Notes: child of #9086 (SSO relying-party H3); depends on H1 #14259 and H2 #14260.
Merged PRs referencing this issue (search at intake): none found — none explicitly resolves it, so the issue stays open.
Risks: scope is bounded by the parent design/epic named in the body; sequencing dependencies are named in the body and in the acceptance criteria where they gate the work.
Suggested approach: implement the slice as specified in the body, in dependency order, and record verification evidence on the issue at completion.
✅ Triage Verdict (Task 22919): Dependency Resolved. H1 (#14259/PR #14323) and H2 (#14260/PR #14418) are both now MERGED. The original blocker for this H3 slice is lifted. The slice should proceed to implementation/validation as per the acceptance criteria. Please validate and move to implementation/fix-small, not return to queue for dependency reasons.
Progress: opened PR #15091 with the independently tested browser-session core (opaque secure cookie, sliding 12h idle expiry, live-principal re-resolution, logout/audit behavior). Remote run developing-today-forks/fleet#45612617985 passed: 21 tests, 0 failures. This is a partial slice, not completion of H3. Authorization Code + PKCE provider callback and worker route integration, plus end-to-end login validation, remain; PR intentionally does not close this issue.
H3 triage refresh (OpenChamber lane oc-code-03, task 23770; 2026-11-26): verified that session-core PR #15091 is merged, but its PR body explicitly leaves the Authorization Code + PKCE callback/provider integration and worker-route integration incomplete. H1 #14259 and H2 #14260 are closed. The parent H3 remains open; its same-account login across linked doors and revocation-within-one-request acceptance are not yet demonstrated. Routed the remaining H3 work as feature-slice task 24494 (slice 1: callback + worker route with deterministic provider/session tests) in repo-health-code-pilot. No production credentials or live login used; H3 remains open pending the remaining acceptance.,workdir:/home/user/git/code,timeout:120000}},{
PR #15799 merged (99be0a35 rebased onto current main, merged 2026-11-27T00:20:04Z). Mergibility re-tested via git merge-tree (clean) and GitHub CLEAN/MERGEABLE; the PR's own suite passes on the merged head (bun test test/session.test.ts test/front-door.test.ts test/worker-auth.test.ts — 25 pass, 0 fail). Typecheck still blocked only by the pre-existing missing @cloudflare/workers-types package, as disclosed in the PR body.
#14261 stays open: its acceptance needs live verification (same-account login via each linked door, revocation within one request) that this lane cannot perform. No code changed in this pass beyond the merge itself.
Remaining acceptance (not yet demonstrated): same-account login via each linked door, and revocation landing within one request. Live Drew-hands login stays out of scope for queue work.
Routed follow-up: enqueued task 26127 (slice 2: linked-door same-account proof + revocation-within-one-request proof with deterministic doubles) in repo-health-code-pilot. H3 stays open until both criteria are evidenced.
PR #15958 adds deterministic linked-door coverage: two distinct provider subjects resolve through the identity-link double to the same account, binding_id, and role snapshot. It also audits a revoked browser session and proves the very next authenticated request is denied; focused pm-service tests passed locally and on Fleet Actions (Linux, run https://github.com/dezren39/fleet/actions/runs/45951043444: 23 pass, 0 fail across 2 files). Production OAuth sign-in through each live linked door remains outstanding and requires a real account; H3 remains open.
PR OPEN / non-draft / MERGEABLE / CLEAN at head 6fd162764f638d0aa0dd487a33f4c9890b08c2e7 (single commit, 2026-11-27T06:13:45Z).
No live lane claim in PR comments (sole comment: CodeRabbit review-skipped) or lane records.
Verification (metadata only, no CI logs read): fleet-command run 45951043444 (dezren39/fleet), dispatched 2026-11-27T06:18:49Z for this PR's branch after its sole commit — completed success 2026-11-27T06:26:37Z. The PR body links this run as its fleet test; head never changed after dispatch.
This PR relates to #14261 and does not close it (per its body, production OAuth login evidence remains outstanding).
🤖 Census — lane CEN-C15, 2026-11-29 (full-census pass: body + all comments re-read firsthand; this comment is the current-state record for a cold pickup).
Verdict: blocked — live proof only; the code is complete. Acceptance is met in code; the gap is evidence type, not detail. The cookie contract is fully specified (httpOnly/Secure/SameSite=Lax, 12h idle, binding_id pointer, per-request re-resolution). Code landed via PRs #15091, #15799, #15958; dependencies #14259/#14260 are closed; deterministic-double evidence exists (PR #15958).
Blocker: a production OAuth sign-in through each live linked door needs a real account / Drew's hands. That live pass is the only remainder.
Labels/priorities were verified correct in the census — no label changes were needed.
Census 2026-11-29 (Felix): rechecked in full (body, labels, comments, edges).
STRENGTHS: The security shape is specified at the right altitude (Code+PKCE; the session cookie is a pointer, not a capability — every request re-resolves binding_id to live role_grant rows; logout kills cookie + session audit). kind/enhancement + priority/normal already set. The deterministic half of the acceptance is now proven: PR #15958 merged with linked-door coverage (two provider subjects → same account/binding/role snapshot) and the revoked-session denial test.
GAPS: The remaining acceptance items are live-proof items: Drew logging in via each linked door to the same account, and revocation observed live. Those need a deployed surface + Drewry at a browser — the code substrate is in place.
FIXES I APPLIED: None — labels and priority verified correct.
REMAINS: Drewry: a short live login pass when the surface is deployed (minutes). H4/H6 unblock as this closes.
🤖 Agent note · lane 1907-O (charlie ADVANCE programmes+author, 2026-11-29 19:07 CST) — claim-direct vet of #14261: NOT implementation-claimed; remainder is a genuine Drew-hands stop.
Two agreeing live reads (2026-11-30 ~01:22Z): #14261 OPEN, priority/normal, effort/m, status/triaged, 13 comments. Full comment scan done. State per the record, verified against the comments:
Census CEN-C15 (2026-11-29) verdict stands: "blocked — live proof only; the code is complete."
Only remainder: a production OAuth sign-in through each live linked door with a real account — acceptance item 1 is literally "Drew logs in via each linked door to the SAME account." That is a hands-only step that is Drew's (genuine stop class 1), so this lane does not post an implementation claim it cannot complete. Ask for Drew: one live sign-in pass through each linked door; on that evidence this issue closes. Key: 1907-O.
Drew's ruling (main chat, 2026-11-29 22:43 CST): yes — option 1. He will do the live production OAuth sign-in pass: log in via each linked door to the same account while the fleet observes the binding match and the live revocation proof.
Fleet side: coordinate observation when the pass happens. If a door is not deployed/reachable, that is a fleet fix, not a failed proof. Recorded as answered on the pending-questions ledger (item sso-live-login-14261).
Wake — NOT FIRED (machine-checkable): the remaining acceptance is Drew's live production OAuth sign-in pass (his ruling on this issue, 2026-11-29 22:43 CST: he logs in via each linked door to the same account while the fleet observes the binding match and the live revocation proof; pending-questions item sso-live-login-14261). As of this lane's full comment read, the newest comment on #14261 is that ruling itself (2026-11-30T04:45:46Z) — no comment records a completed pass. Wake fires when: a comment on #14261 records the completed live pass with the observed binding match + revocation proof. A later lane polling this wake checks for exactly that comment; it does not re-derive the state.
Priority validation 0622-K: priority/normal concurred. Slice #17193 closes on this evidence; this tracker stays open on the wake above. Key: 0622-K
Activity
developing-today commentedon Nov 24, 2026
CODE-5259
developing-today-fleet commentedon Nov 25, 2026
Intake review
🤖 Agent note · filed
Notes: child of #9086 (SSO relying-party H3); depends on H1 #14259 and H2 #14260.
Merged PRs referencing this issue (search at intake): none found — none explicitly resolves it, so the issue stays open.
Risks: scope is bounded by the parent design/epic named in the body; sequencing dependencies are named in the body and in the acceptance criteria where they gate the work.
Suggested approach: implement the slice as specified in the body, in dependency order, and record verification evidence on the issue at completion.
dezren39 commentedon Nov 25, 2026
✅ Triage Verdict (Task 22919): Dependency Resolved. H1 (#14259/PR #14323) and H2 (#14260/PR #14418) are both now MERGED. The original blocker for this H3 slice is lifted. The slice should proceed to implementation/validation as per the acceptance criteria. Please validate and move to implementation/fix-small, not return to queue for dependency reasons.
feat(pm-service): H3 browser session cookie pointer with live role re…
feat(pm-service): slide H3 idle session and audit login/logout (#14261)
dezren39 commentedon Nov 25, 2026
Progress: opened PR #15091 with the independently tested browser-session core (opaque secure cookie, sliding 12h idle expiry, live-principal re-resolution, logout/audit behavior). Remote run developing-today-forks/fleet#45612617985 passed: 21 tests, 0 failures. This is a partial slice, not completion of H3. Authorization Code + PKCE provider callback and worker route integration, plus end-to-end login validation, remain; PR intentionally does not close this issue.
Merge pull request #15091 from developing-today/code-j/23770-h3-brows…
developing-today-fleet commentedon Nov 26, 2026
H3 triage refresh (OpenChamber lane oc-code-03, task 23770; 2026-11-26): verified that session-core PR #15091 is merged, but its PR body explicitly leaves the Authorization Code + PKCE callback/provider integration and worker-route integration incomplete. H1 #14259 and H2 #14260 are closed. The parent H3 remains open; its same-account login across linked doors and revocation-within-one-request acceptance are not yet demonstrated. Routed the remaining H3 work as feature-slice task 24494 (slice 1: callback + worker route with deterministic provider/session tests) in repo-health-code-pilot. No production credentials or live login used; H3 remains open pending the remaining acceptance.,workdir:/home/user/git/code,timeout:120000}},{
3 remaining items
Merge pull request #15799 from developing-today/code-g/24494-h3-callb…
developing-today commentedon Nov 27, 2026
Merge-watch verdict — oc-code-07, 2026-11-26
PR #15799 merged (
99be0a35rebased onto current main, merged 2026-11-27T00:20:04Z). Mergibility re-tested viagit merge-tree(clean) and GitHub CLEAN/MERGEABLE; the PR's own suite passes on the merged head (bun test test/session.test.ts test/front-door.test.ts test/worker-auth.test.ts— 25 pass, 0 fail). Typecheck still blocked only by the pre-existing missing@cloudflare/workers-typespackage, as disclosed in the PR body.#14261 stays open: its acceptance needs live verification (same-account login via each linked door, revocation within one request) that this lane cannot perform. No code changed in this pass beyond the merge itself.
developing-today-fleet commentedon Nov 27, 2026
Triage verdict — oc-code-06, task 25648 (2026-11-27)
Validated, returned to queue for real work (no small fix applies).
pm-stack/pm-service/src/session.ts,src/oauth-pkce.ts).developing-today-fleet commentedon Nov 27, 2026
PR #15958 adds deterministic linked-door coverage: two distinct provider subjects resolve through the identity-link double to the same account, binding_id, and role snapshot. It also audits a revoked browser session and proves the very next authenticated request is denied; focused pm-service tests passed locally and on Fleet Actions (Linux, run https://github.com/dezren39/fleet/actions/runs/45951043444: 23 pass, 0 fail across 2 files). Production OAuth sign-in through each live linked door remains outstanding and requires a real account; H3 remains open.
dezren39 commentedon Nov 27, 2026
🤖 Merge shepherd — lane 0022-D-D (agent work loop, delta PRESS, 2026-11-27 00:22 CST run, #12280 sweep)
PR #15958 MERGED — merge commit
8a9a705e279ad8b766a6cfbed019f89caa734adc(merge commit, not squash/rebase).Gate evidence (all re-read live by this lane):
6fd162764f638d0aa0dd487a33f4c9890b08c2e7(single commit, 2026-11-27T06:13:45Z).This PR relates to #14261 and does not close it (per its body, production OAuth login evidence remains outstanding).
dezren39 commentedon Nov 29, 2026
🤖 Census — lane CEN-C15, 2026-11-29 (full-census pass: body + all comments re-read firsthand; this comment is the current-state record for a cold pickup).
Verdict: blocked — live proof only; the code is complete. Acceptance is met in code; the gap is evidence type, not detail. The cookie contract is fully specified (httpOnly/Secure/SameSite=Lax, 12h idle, binding_id pointer, per-request re-resolution). Code landed via PRs #15091, #15799, #15958; dependencies #14259/#14260 are closed; deterministic-double evidence exists (PR #15958).
Blocker: a production OAuth sign-in through each live linked door needs a real account / Drew's hands. That live pass is the only remainder.
Labels/priorities were verified correct in the census — no label changes were needed.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): rechecked in full (body, labels, comments, edges).
STRENGTHS: The security shape is specified at the right altitude (Code+PKCE; the session cookie is a pointer, not a capability — every request re-resolves binding_id to live role_grant rows; logout kills cookie + session audit). kind/enhancement + priority/normal already set. The deterministic half of the acceptance is now proven: PR #15958 merged with linked-door coverage (two provider subjects → same account/binding/role snapshot) and the revoked-session denial test.
GAPS: The remaining acceptance items are live-proof items: Drew logging in via each linked door to the same account, and revocation observed live. Those need a deployed surface + Drewry at a browser — the code substrate is in place.
FIXES I APPLIED: None — labels and priority verified correct.
REMAINS: Drewry: a short live login pass when the surface is deployed (minutes). H4/H6 unblock as this closes.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found
Strengths
## Acceptance criteriasection. Latest comment records PR test(pm-service): prove linked-door session revocation #15958 merged (2026-11-27).Actions taken by this census
developing-today-fleet commentedon Nov 30, 2026
🤖 Agent note · lane 1907-O (charlie ADVANCE programmes+author, 2026-11-29 19:07 CST) — claim-direct vet of #14261: NOT implementation-claimed; remainder is a genuine Drew-hands stop.
Two agreeing live reads (2026-11-30 ~01:22Z): #14261 OPEN, priority/normal, effort/m, status/triaged, 13 comments. Full comment scan done. State per the record, verified against the comments:
Only remainder: a production OAuth sign-in through each live linked door with a real account — acceptance item 1 is literally "Drew logs in via each linked door to the SAME account." That is a hands-only step that is Drew's (genuine stop class 1), so this lane does not post an implementation claim it cannot complete. Ask for Drew: one live sign-in pass through each linked door; on that evidence this issue closes. Key: 1907-O.
developing-today-fleet commentedon Nov 30, 2026
Drew's ruling (main chat, 2026-11-29 22:43 CST): yes — option 1. He will do the live production OAuth sign-in pass: log in via each linked door to the same account while the fleet observes the binding match and the live revocation proof.
Fleet side: coordinate observation when the pass happens. If a door is not deployed/reachable, that is a fleet fix, not a failed proof. Recorded as answered on the pending-questions ledger (item sso-live-login-14261).
developing-today-fleet commentedon Nov 30, 2026
Slice evidence + wake record — lane 0622-K, 2026-11-30 (slice #17193)
Verified live this lane (REST issue/PR reads, after two consecutive
gh api rate_limitrc=0):Deterministic acceptance half — VERIFIED:
Wake — NOT FIRED (machine-checkable): the remaining acceptance is Drew's live production OAuth sign-in pass (his ruling on this issue, 2026-11-29 22:43 CST: he logs in via each linked door to the same account while the fleet observes the binding match and the live revocation proof; pending-questions item sso-live-login-14261). As of this lane's full comment read, the newest comment on #14261 is that ruling itself (2026-11-30T04:45:46Z) — no comment records a completed pass. Wake fires when: a comment on #14261 records the completed live pass with the observed binding match + revocation proof. A later lane polling this wake checks for exactly that comment; it does not re-derive the state.
Priority validation 0622-K: priority/normal concurred. Slice #17193 closes on this evidence; this tracker stays open on the wake above. Key: 0622-K