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) #2852DescriptionImplementation 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):
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
Activitydezren39 commented on Oct 31, 2026 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. developing-today commented on Nov 3, 2026 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 dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged (scheduled lane: task 19780)
dezren39 commented on Nov 23, 2026
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. dezren39 commented on Nov 24, 2026 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. developing-today-fleet commented on Nov 25, 2026 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). developing-today-fleet commented on Nov 25, 2026 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):
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. developing-today-fleet commented on Nov 25, 2026 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
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|