GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — impl(pm-stack): E4 — credential issuance/revocation service (#9083) · Issue #12799 · developing-today/code

impl(pm-stack): E4 — credential issuance/revocation service (#9083) #12799

New issue
Copy link
New issue
Copy link
Done
#14480
Done
impl(pm-stack): E4 — credential issuance/revocation service (#9083)#12799
#14480
Copy link
Labels
app/pm-stackpm-stack (Pad/Grist) in developing-today/codeepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status:done

Description

@dezren39
dezren39
opened on Nov 23, 2026
Issue body actions

Implementation slice E4 of #9083 (tenancy architecture, component E of epic #9078).

Design record: doc/2026-11-17T16-55-00Z_design_hosted-tenancy-architecture/2026-11-17T16-55-00Z_design_hosted-tenancy-architecture.md §7, §11 item 4 (merged via PR #11325).

Work

Implement the credential issuance/revocation service: mint scoped, expiring tokens per user per DB from the state checks in §7; maintain the jti deny list; suspension revokes access in one write.

Invariant

No long-lived per-user Turso tokens: every token is scoped and expiring, and revocation is immediate and total on suspension.

Acceptance

  • Scoped expiring tokens minted only when §7 state checks pass.
  • jti deny list enforced.
  • Suspension revokes in one write, proven by test.

Sequencing (design §11)

Needs E1 + E2.

Filed by Lane BZ (archer) 2026-11-22 as the §11 follow-up pass for #9083.

Activity

  1. dezren39
    added
    kind/featureNew feature or capability request
    priority/normalOrdinary priority (the default)
    app/pm-stackpm-stack (Pad/Grist) in developing-today/code
    on Nov 23, 2026
  2. developing-today commented on Nov 23, 2026

    @developing-today
    developing-todayBot
    on Nov 23, 2026 – with developing.today
    Contributor
    More actions

    CODE-4696

  3. dezren39
    added
    epic/pm-stackReprioritization program epic (2026-11-12)
    on Nov 23, 2026
  4. dezren39
    added a parent issue on Nov 23, 2026
    • design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083
  5. dezren39
    marked this as blocked by 2 issues on Nov 23, 2026
    • impl(pm-stack): E1 — tenancy schema + migration baseline (#9083) #12796
    • impl(pm-stack): E2 — TenantOpsDO provisioning state machine (#9083) #12797
  6. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict for #12799 (E4, credential issuance/revocation service, under #9083).

    Current state (fresh, 2026-11-24): #12799 is OPEN with no PR. The design section it cites (§7, §11 item 4) is in doc/2026-11-17T16-55-00Z_design_hosted-tenancy-architecture/. Its own sequencing says it needs E1 + E2.

    • E1 impl(pm-stack): E1 — tenancy schema + migration baseline (#9083) #12796: CLOSED (tenancy schema + migration baseline).
    • E2 impl(pm-stack): E2 — TenantOpsDO provisioning state machine (#9083) #12797: OPEN (TenantOpsDO provisioning state machine). E4 is blocked by it.

    Size: a feature slice, not a bounded triage fix. It needs the §7 state checks from E2, a jti deny list, and a revocation test.

    Routing: left open. Next step is to implement E4 once #12797 merges. Recorded here so the blocked-by edge is visible.

  7. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (lane oc-code-04, fleet task 23098): work remains, not resolved.

    • E1 tenancy schema + migration baseline merged (feat(id): tenancy schema + migration baseline (E1 of #9083) #13042, parent design(pm-stack): tenancy architecture — per-user Turso databases + central tenancy DB, served by Workers and Durable Objects #9083).
    • No credential issuance/revocation service (E4) on origin/main yet.

    Feature-scale (effort/l). Left open for feature work on E4 after its prerequisites.

  8. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Triage verdict (2026-11-24): E4 is open and unimplemented. E1 #12796 and E2 #12797 are closed; E3 #12798 remains gated on E6 but does not block E4. Split E4 into independently testable slices, starting with scoped short-TTL token issuance gated on the §7 active account, active binding, active tenant DB, and live session checks. Follow-on slices cover jti deny-list/front-door enforcement and suspension/deletion revocation. Enqueued feature_slice task 23573 on repo-health-code-pilot (dedupe: repo-health:v1:slice:developing-today/code:issue:12799:slice-1). Next slice after this PR: jti deny-list enforcement at issuance and the front door, with focused revocation tests.

  9. developing-today
    added
    status:in-review
    on Nov 24, 2026
  10. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Implemented E4 slice 1 and opened PR #14480: #14480. Focused issuance tests pass locally (3/3); Fleet runner validation is pending at developing-today-forks/fleet#45438925214: https://github.com/developing-today-forks/fleet/actions/runs/45438925214. Parked until that validation reaches a terminal result; then resolve any failures and verify PR disposition.

  11. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    xaltha hourly loop (2026-11-24 ~12:50 CST) — queue task 23573 (slice 1 of this issue) handed to this seat, triage only, no duplicate PR:

    • This slice is already PR'd: PR feat(hosted-worker): issue scoped tenant credentials #14480 feat(hosted-worker): issue scoped tenant credentials (branch oc-code-05/12799-e4-issuance, HEAD 269df29) is OPEN, says Closes impl(pm-stack): E4 — credential issuance/revocation service (#9083) #12799, and this issue is already status:in-review. I did not open a second PR/worktree.
    • Parked validation run is now terminal: fleet run 45451670791 (developing-today-forks/fleet) FAILED, but the focused acceptance test passed — bun test test/credentials.test.ts: 3 pass / 0 fail (scoped short-lived token + metadata-only storage, §7 prerequisite-order refusals + ddl rejection, idempotent jti revocation).
    • The failure is the follow-on typecheck only: bunx --package [email protected] tsc --noEmit → src/bridge-session.ts(146,52): error TS2315: Type 'Uint8Array' is not generic and src/user-do.ts(120,68): error TS2315 — neither file is in PR feat(hosted-worker): issue scoped tenant credentials #14480's credential files, so this looks pre-existing / TS-lib-version related, for the PR feat(hosted-worker): issue scoped tenant credentials #14480 owner to confirm/fix on that branch.
    • Queue task 23573 parked from this seat as duplicate-of-PR-14480 with that evidence; resume condition is PR feat(hosted-worker): issue scoped tenant credentials #14480 landing.
  12. dezren39
    closed this as completedin #14480on Nov 24, 2026
  13. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 24, 2026
  14. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Lane code-j verification — E4 slice 1 merged

    Verified existing PR #14480 on its exact implementation plus current main. Fleet run 45438925214 failed for an environment issue only: the runner had no node executable (exit 127). On the refreshed PR tree, Fleet-shell local checks passed:

    • node --experimental-transform-types --test test/credentials.test.ts: 3 passed.
    • npm run typecheck: passed.
    • Full hosted-worker npm test: 214 passed, 0 failed.

    Resolved the package.json merge conflict by preserving main's persistent-account/object-plane tests and adding the credentials test. Merged PR #14480 as ac452a64710; merge commit changes vs its first parent are limited to the package test list and the two credential files. This closes #12799.

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-stackpm-stack (Pad/Grist) in developing-today/codeepic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestpriority/normalOrdinary priority (the default)status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.