Skip to content

impl(pm-stack): hosted PM identity wiring — H/#9077 session to E binding + role checks (component A slice 7, from #9079) #12832

Open

Description

@dezren39

Design: doc/2026-11-23T03-22-03Z_design_pm-service-workers-edition/2026-11-23T03-22-03Z_design_pm-service-workers-edition.md (PR #12823, merged) — component A of epic #9078, under #9079.

Slice 7 — Identity wiring

Per design §1/front-door: every route resolves the component H (#9086) / #9077 SSO session to component E's binding_id, applies E's role_grant checks (#1253 vocabulary) per route, and routes by jurisdiction per E's rule. Fail closed everywhere: no binding, no role, or an unresolvable jurisdiction means no data — including for read routes.

Acceptance

Acceptance criteria

Activity

  1. added
    app/pm-stack
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Triage verdict (oc-code-07, 2026-11-24)

    Fresh state: issue open, no progress comments. Its design is merged (PR #12823, component A of epic #9078). No identity-wiring code for this slice is on main, so the work is still open.

    Size: a feature slice. It binds the H/#9077 session to component E's binding_id, applies E's role_grant checks per route, routes by jurisdiction, and fails closed on every route. It depends on components H (#9086 / #9077) and E being in place, so it is not a triage-sized fix.

    Verdict: keep open and route as a feature-slice packet under #9079 once H and E are available. Anything H/E do not cover goes back to #9079 rather than being invented here. Tracked under #14158.

  4. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    Triage (oc-code-03, 2026-11-24, queue task 23111): open feature issue for pm-stack hosted identity wiring, a multi-slice component A item. It needs a feature-slice task of its own, not a triage verdict. Parking the triage claim here; the slice packet will be filed from the parent issue.

  5. added
    queue/claimed
    work/assigned
    status/in-progress
    on Nov 25, 2026
  6. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · handed off

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: task 23111 — live claimed task in repo-health-code-pilot
    • Found via: monitor reconciliation
    • Task: Reverse claim/label mismatch repaired: the queue task is claimed with a live lease but the issue lacked the claim labels; labels synced to queue/claimed + work/assigned + status/in-progress to match the live claim.
    • Expectation: holder continues under its existing claim; no new work started by the monitor.
    • Links: queue task above
  7. added
    queue/queued
    status/needs-triage
    and removed
    status/in-progress
    queue/claimed
    work/assigned
    on Nov 26, 2026
  8. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · handed off

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor cron run 2026-11-26 06:14 CST; task 23111
    • Found via: monitor reconciliation
    • Task: Claim-evaporation repair: the queue task is queued unclaimed (lease expired, attempts 1) while the issue still carried queue/claimed + work/assigned. Labels reset to queue/queued + status/needs-triage to match the live queue truth.
    • Expectation: a worker re-claims from the queue; checkpoint stage at evaporation: none recorded
    • Links: queue repo-health-code-pilot
  9. dezren39 commented on Nov 27, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · 2022-H (agent work loop PRESS/delta, 2026-11-26) · queue task 23111 triage

    Premise + ownership check (issue + all 5 comments read):

    Disposition: parking queue task 23111 with a non-person ready condition — re-queue as a scoped feature_slice only when the H (#9086/#9077) session and E (#1253) binding/role_grant implementation are merged to main. No code slice is landable before that.

  10. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · 2222-B (failure lane, agent work loop PRESS/delta, 2026-11-26) · reconciliation of queue task 23111 / lane 2022-H

    Lane 2022-H ended with no final report; this lane re-verified its two items firsthand (lane key 2222-B).

    Queue state: NOT readable this run — fleet queue show 23111 failed twice with "cannot connect to session proxy: No such file or directory (os error 2)", and fleet agent doctor reports the queue leg ok=false (primary queue store failed on /health, switching to GitHub fallback). So the queue-store lease/park state of task 23111 cannot be confirmed from this seat tonight; the reconciliation below is from the GitHub record.

    GitHub record, verified this run:

    Disposition (2222-B): 2022-H's park disposition stands on the GitHub record; queue-store park confirmation is pending the session-proxy heal, at which point any loop lane can re-run fleet queue show 23111 to confirm status=parked. No new claim made by this lane.

  11. added
    stray-work
    epic/pm-stack
    primary-parent/pm-stack
    on Nov 27, 2026
  12. added
    priority/normal
    kind/feature
    on Nov 29, 2026
  13. removed
    status/needs-triage
    on Nov 29, 2026
  14. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): recheck of this issue (body, all comments, labels, blocker edges).

    STRENGTHS: The security posture is the acceptance: fail closed everywhere (no binding, no role, or unresolvable jurisdiction means no data — including read routes), role checks use component E's existing #1253 vocabulary exactly as E defines it, and "no auth logic is invented here — anything not covered is filed back on #9079, not improvised" is a stated constraint.

    GAPS: status/needs-triage was stale — premise/ownership triage was performed by lanes 2022-H and 2222-B on 2026-11-26/27 (queue task 23111), and the issue is queue-covered.

    FIXES I APPLIED: Removed status/needs-triage. Labels otherwise complete (kind/feature, priority/normal).

    REMAINS: The implementation itself — bind the H/#9077 session to E's binding_id per route with the per-route unauthenticated/unbound tests pinned. Unblocked and queued.

  15. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    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: links a parent issue and/or design record; active discussion: 8 recent comment(s) skimmed
    Comment skim: comments mention blocking; comments show claim/progress (8 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.

  16. added
    effort/l
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/pm-stackeffort/lepic/pm-stackkind/featureprimary-parent/pm-stackpriority/normalqueue/queuedstray-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions