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 — id: implement hosted provisioning + SSO→ID binding (from spec #2258) · Issue #2852 · developing-today/code

id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852

New issue
Copy link
New issue
Copy link
Done
Done
id: implement hosted provisioning + SSO→ID binding (from spec #2258)#2852
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 30, 2026
Issue body actions

Implementation tracking for the hosted provisioning + SSO→ID binding spec (#2258).

Spec: pkgs/id/doc/2026-10-30T22-45-00Z_design_hosted_provisioning_sso_binding.md (in the #2258 spec PR). Source investigation: #2045; platform fit: #2044.

Gate: slices are sequenced after the #2046 synthesis accepts the spec's §8 open parameters (tier numbers, rebind waiting period, encryption default, Shape-C attribution). Do not implement against unaccepted parameters.

Slices (from the spec's §9):

  • (1) Account + binding records and the binding ceremony (spec §1, §3) — landed in PR id: hosted account + ID binding ceremony (spec §§1,3) (#3808) #4854 (2026-11-03).
  • (2) Delayed-rebind protocol (spec §4) — landed in PR id: delayed ID-key rebind protocol — spec §4 (#3809) #4885 (2026-11-03); follow-up fixes fix(id): create_pairing_code supersedes earlier codes for the same challenge (#4871) #5223, fix(id): document lifecycle and align rebind expiry #5646, fix(id): #5644 bound retained one-time state in HostedBindingService #6319.
  • (3) Lazy provisioning + metering + budget ceilings (spec §5) — landed: data-plane scaffold PR feat(id): hosted data-plane scaffold — binding-backed per-user Durable Object (#5199) #5286 (lazy per-user DO, binding_id routing, schema bootstrap); R2 blobs PR feat(id): hosted Worker slice A — R2 content-addressed blobs + SQLite reference indirection #10129; metering rollups, budget ceilings and the read-only/export prompt at cap PR feat(id): hosted Worker slice B — per-user metering, ceilings, read-only + export-at-cap #10132 — id: implement hosted Worker API + per-user DO provisioning and metering (from #2046/#2852 slice 3) #3811 verified against main and closed 2026-11-23.
  • (4) Export/import (spec §6) — untouched; tracked as id: implement signed-object export/import for hosted ID stores (from #2046/#2852 slice 4) #3810 (no PR).
  • Client-side-encryption option (spec §7) as a flag through all four slices — partially landed: the id: design: ID serverless edition v1 (Cloudflare Workers) #2046 ruling's constants and the choice itself are in pkgs/id/src/hosted_binding.rs (slices 1/2); slice 4 threading landed in hosted_export.rs / hosted_ingest.rs (manifest mirrors the binding record; ingest refuses a mismatched CSE token); slice 3 threading (hosted-worker blob plane: binding-scoped R2 keys so encrypted blobs dedupe only per user) is in PR id hosted-worker: thread the §7 CSE choice through the slice-3 blob plane (#2852) #15072 — tick this box on its merge.

Each slice lands as its own PR referencing this issue and the spec section it implements. This issue delivers nothing by itself — it is the tracked implementation link for the #2258 spec (NOTHING SITS SILENTLY: a spec without an implementation link is not finished work).

Program: ID platform expansion, epic #2056. Parent spec: #2258. Synthesis gate: #2046.

Acceptance criteria

  • No slice is implemented against unaccepted spec parameters: the id: design: ID serverless edition v1 (Cloudflare Workers) #2046 synthesis acceptance of spec id: design: hosted provisioning + SSO→ID binding spec — account/binding records, challenge ceremony, delayed rebind, metering, export (from #2045) #2258 §8 parameters is recorded before slice work starts.
  • Each §9 slice lands as its own PR referencing this tracker, with the spec section it implements named.
  • The binding ceremony behaves as specified for both in-browser and own-node variants, including the failure/retry semantics in spec §1/§3.

Activity

Next
  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Oct 30, 2026
  2. github-actions
    assigned
    dezren39
    on Oct 30, 2026
  3. dezren39
    added
    kind/enhancement
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    status/waiting-dependencyWaiting on a dependency
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 31, 2026
  4. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    Intake review

    Related: spec #2258, source investigations #2045/#2044, gate #2046. Risks: implementing against unaccepted §8 parameters (tier numbers, rebind waiting period, encryption default, Shape-C attribution) would bake in guesses — the gate is the point of this tracker. Suggested approach: wait for the #2046 synthesis acceptance, then work the §9 slices in order, one PR per slice.

    — Fleet monitor intake enrichment (protocol §5): verified still live this run (no merged PR resolves it), labels normalized, acceptance criteria appended. Marked meta/enriched.

  5. dezren39
    added a commit that references this issue on Nov 3, 2026

    id: hosted account + ID binding ceremony (spec §§1,3) (#3808)

    7d71731
  6. dezren39
    added
    queue/queuedHas a queued queue task
    source/creatorFiled by the new-issue-creator job
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  7. developing-today commented on Nov 3, 2026

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

    agent-note:v1
    state: triaged (coverage pass)
    Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
    Found via: coverage pass 2026-11-03

  8. dezren39
    added
    work/assignedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Nov 3, 2026
  9. 61 remaining items

  10. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged (scheduled lane: task 19780)

    • Verdict: Triage verified; issue remains OPEN as implementation tracker for spec id: design: hosted provisioning + SSO→ID binding spec — account/binding records, challenge ceremony, delayed rebind, metering, export (from #2045) #2258.
    • Progress: Core slices (1, 2, 4a) merged. Remaining work tracked via successor issues id: implement hosted Worker API + per-user DO provisioning and metering (from #2046/#2852 slice 3) #3811 (slice 3, hosted API) and id: implement signed-object export/import for hosted ID stores (from #2046/#2852 slice 4) #3810 (slice 4b, export/import remainder).
    • Status: No follow-on packet routed; current tracking is sufficient.
  11. dezren39
    removed
    work/assignedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 17, 2026
  12. dezren39
    removed their assignment
    on Nov 20, 2026
  13. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Slice-4 pointer — Lane ON (archer), 2026-11-23. #3810 reconciled this pass (record: #3810 (comment)): slice 4a's core (PR #9396) re-verified fresh at main 3a941eff430e — cargo test -p id --lib hosted_export 9 passed / 0 failed. The slice-4 remainder is now two filed follow-ons under #3810: #13157 (export production from a live per-user DO + R2) and #13158 (import ingest, §6.2 step 4, with per-entry report). #3810 stays open as the 4b tracker until those land.

  14. dezren39
    added 3 commits that reference this issue on Nov 23, 2026

    Merge pull request #13212 from developing-today/lane-qn-13157

    b5332dc

    feat(id): refuse hosted import on CSE-choice mismatch (slice 4c of #2852

    d59896c

    docs(sso): fleet SSO provider decision note for #9077

    4204df0
  15. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Agent note (openchamber scheduled lane oc-code-01, queue task 21796, second-pass verify-and-route).

    Fresh state checked 2026-11-24: #2852 is OPEN as the tracker for spec #2258. Successors #3810, #3811 and #13157 are CLOSED. Slices 1, 2 and 4a are merged, and the §6.2 refusal and rebound coverage and the import ingest (#13312, #13313, #13201) are merged. Hosted Worker slices A and B (#10129, #10132) are merged.

    Verdict: not closeable yet. Two unchecked items remain: (a) slice 3 is recorded as partial, and the close-out of its metering, ceilings and read-only/export-at-cap is not evidenced on this tracker; (b) the client-side-encryption flag (spec §7) is not threaded through slices 3 and 4 as the tracker's own checklist still says.

    No new packet is enqueued in this pass. Next step: the owner of the slice 3 close-out should confirm (a) against main and tick it here, then thread the CSE flag (b) or record why it is not needed. No code changed in this pass.

  16. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Claimed by felix lane (Muse sandbox seat, shortlist fallback draw — queue broker tunnel down). Next slice per the 2026-11-24 verify note: verify slice-3 close-out (metering / budget ceilings / read-only-at-cap) against current main, and thread the spec §7 client-side-encryption flag through slices 3 and 4, or record precisely what remains. Worktree work proceeds under Drewry's standing approval (2026-11-22).

  17. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Progress note (felix lane, shortlist fallback draw — queue broker tunnel down; claim comment 7158903162).

    Slice landed: PR #15072 (head 88c54924230f, unmerged for Felix's review) — the §7 client-side-encryption choice is threaded through the slice-3 data plane (pkgs/id/hosted-worker): the front door consumes x-client-side-encryption from the internal caller and strips client copies; the per-user DO binds the choice into its persisted identity (a disagreeing context fails closed — §7 changes the choice only via export/import to a new binding); blob R2 keys are binding-scoped for CSE accounts (cse/<binding>/<hash>) so encrypted blobs dedupe only per user per §5.1/§7, while plaintext keeps bare-hash cross-user dedupe. PUT/GET and the §6 bridge export all resolve through the scoped key; state/usage/export report the choice in force.

    Verification (remote): run 45603663028 via the documented nix shell nixpkgs#nodejs_22 fallback (the fleet-command executor image has no node/npm — dezren39/fleet#111): focused suites 46 tests / 46 pass / 0 fail, all 8 new CSE tests by name, typecheck exit 0. Two earlier runs (45590202189, 45597620400) executed nothing (exit 127 under set +e); they are not evidence — details on the PR.

    Tracker corrections made in this pass (issue body):

    • Slice 3 box ticked: metering rollups, budget ceilings, R2 blobs and read-only/export-at-cap landed via id: implement hosted Worker API + per-user DO provisioning and metering (from #2046/#2852 slice 3) #3811 (PRs feat(id): hosted data-plane scaffold — binding-backed per-user Durable Object (#5199) #5286/feat(id): hosted Worker slice A — R2 content-addressed blobs + SQLite reference indirection #10129/feat(id): hosted Worker slice B — per-user metering, ceilings, read-only + export-at-cap #10132) and were verified at id: implement hosted Worker API + per-user DO provisioning and metering (from #2046/#2852 slice 3) #3811's close on 2026-11-23 — the 2026-11-24 note's item (a) is now evidenced here.
    • CSE line corrected: slice 4 was already threaded (hosted_export.rs manifest mirrors the binding; hosted_ingest.rs refuses a mismatched token) — the old 'not threaded through slices 3 and 4' text was stale for slice 4.

    What remains: merge PR #15072, tick the CSE box, and this tracker's checklist is fully covered — #2852 becomes closeable at that done check. No queue task exists for this draw (shortlist rung), so nothing to complete or checkpoint in the queue.

  18. developing-today-fleet
    added a commit that references this issue on Nov 25, 2026

    Merge pull request #15072 from developing-today/felix/2852-cse-flag-t…

    6541d26
  19. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    Slice landed: PR #15072 merged by Felix 2026-11-25 — the §7 client-side-encryption flag is now threaded through slice 3's hosted-worker data plane: the front door consumes x-client-side-encryption from the internal caller and strips client copies; the per-user DO binds the choice into its persisted identity and fails closed on a disagreeing context; blob R2 keys are binding-scoped for CSE accounts (cse//) so encrypted blobs dedupe only per user while plaintext keeps cross-user dedupe; state/usage/export report the choice. Verification run 45603663028: 46/46 focused tests pass (8 new CSE tests by name), typecheck exit 0. (Two earlier runs executed nothing due to the executor's missing node — only 45603663028 is evidence, as flagged on the PR.) With the slice-3 metering remainder verified landed via #3811, the tracker checklist is fully covered. Refs #2852

  20. developing-today-fleet
    closed this as completedon Nov 25, 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/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobtask/triageQueue packet kind: verify, reproduce, and route this item

    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.