GeezerVison is showing github.com — id: implement delayed ID-key rebind protocol (from #2046/#2852 slice 2) · Issue #3809 · developing-today/code
id: implement delayed ID-key rebind protocol (from #2046/#2852 slice 2) #3809DescriptionChild implementation packet of #2852, gated by the settled synthesis in #2046. Implement #2258 spec §4 as an independently mergeable slice.
Scope: old-key approval path; delayed recovery request; notification and cancellation; prevent fresh binding while rebind is pending; publish a signed rebind record; persist auditable history. Use the rebind waiting period accepted in #2046—do not choose a duration locally.
Gate: depends on #2852 slice 1 / its account and binding record contract. If the waiting period or CSE handling is not accepted in #2046, park instead of guessing.
Acceptance: deterministic tests cover both recovery paths, cancellation, expiry, attempted bypass, and signed publication; each implementation PR references this issue and #2852. Activitydeveloping-today commented on Nov 1, 2026 dezren39 commented on Nov 1, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 2, 2026 agent-note:v1
event: picked_up
task: 5815 (repo-health-code-pilot, OpenChamber scheduled lane)
state: Fresh checks: #3809 OPEN; #2046 is OPEN and records a 30-day rebind wait as a recommendation while explicitly asking Drew to accept or override. No acceptance is recorded in the issue history. Parent tracker #2852 remains OPEN with status/waiting-dependency and requires #2046 to accept §8 parameters. #2258 spec is CLOSED. The packet says not to choose a duration and to park if unanswered.
next: park without creating a worktree or changing code; resume only after Drew accepts/overrides the rebind interval and the #2852 gate is cleared.
dezren39 commented on Nov 3, 2026 🤖 Agent note · parked (dependency cleared — implementation not started, timebox)
- Agent: repo-worker-code, OpenChamber scheduled lane
c29174f1-48e0-4b13-b4ff-9b73ab67e9ab
- Task: 5815 (queue
repo-health-code-pilot) — implement id: design: hosted provisioning + SSO→ID binding spec — account/binding records, challenge ceremony, delayed rebind, metering, export (from #2045) #2258 §4 delayed ID-key rebind.
- What changed since the 09:32Z park: the slice-1 dependency is MET. PR id: hosted account + ID binding ceremony (spec §§1,3) (#3808) #4854 merged at 2026-11-03T10:44Z (
ce2f197b6), landing pkgs/id/src/hosted_binding.rs (1512 lines, 15 tests) on main — account registry, binding record, attestation, and the rebind_pending / superseded states reserved for this slice.
- Gate parameters are fixed: id: design: ID serverless edition v1 (Cloudflare Workers) #2046 ruling 2026-11-03T09:22Z — 30-day rebind wait, notice + old-key cancellation, CSE offered at binding with default ON. Do not choose a duration locally.
- Why parked instead of started: this lane runs on a ~30-minute budget; a security-sensitive protocol (both recovery paths, cancel, expiry, pending-state bypass prevention, signed publication, auditable history, deterministic tests) does not fit in the remaining minutes. Nothing was written — no branch, no worktree, no partial code.
- Verified fresh: id: implement delayed ID-key rebind protocol (from #2046/#2852 slice 2) #3809 OPEN; no competing branch matching 3809/5815 on
origin; no other agent owns this task.
- Resume: from fresh
main, add the §4 surface to HostedBindingService — request (bound to the 30-day wait), notice to email_contact, old-key cancel, expiry sweep, rejection of any fresh/recovery ceremony while RebindPending (CeremonyError::RebindPending already exists), signed rebind record publication per §4.4 (fill HistoryEntry::rebind_record_id, via = "delayed-rebind"), and append-only history; add deterministic tests using set_now_override to fast-forward the 30 days.
- Links: gate id: design: ID serverless edition v1 (Cloudflare Workers) #2046 · dependency (merged) id: hosted account + ID binding ceremony (spec §§1,3) (#3808) #4854 · tracker id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852
dezren39 commented on Nov 3, 2026 🤖 Agent note · picked up
- Agent: queue worker (repo-worker-code), Lane A shift
- Session / ID: queue task 5815
- Found via: queue claim
- Task: Implement id: design: hosted provisioning + SSO→ID binding spec — account/binding records, challenge ceremony, delayed rebind, metering, export (from #2045) #2258 spec §4 delayed-rebind protocol in
pkgs/id/src/hosted_binding.rs (id: implement delayed ID-key rebind protocol (from #2046/#2852 slice 2) #3809, slice 2 of id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852): fast path (old-key authorization), delayed path (30-day wait per the id: design: ID serverless edition v1 (Cloudflare Workers) #2046 ruling, CSE default ON already landed in slice 1), notification + old-key cancel/approve-early, pending-state bypass prevention, signed §4.4 rebind publication, auditable history — with deterministic tests for both paths, cancel, expiry, bypass, and signed publication.
- Gate re-verified fresh: dependency slice 1 (id: implement hosted account + ID binding ceremony (from #2046/#2852 slice 1) #3808 contract) merged; PR id: hosted account + ID binding ceremony (spec §§1,3) (#3808) #4854 merged; id: design: ID serverless edition v1 (Cloudflare Workers) #2046 ruling in the module header (30 days, CSE ON).
dezren39 commented on Nov 3, 2026 🤖 Agent note · done (task 5815)
- Agent: queue worker (repo-worker-code), Lane A shift
- Task: task 5815 — implement id: design: hosted provisioning + SSO→ID binding spec — account/binding records, challenge ceremony, delayed rebind, metering, export (from #2045) #2258 spec §4 delayed ID-key rebind protocol (slice 2 of id: implement hosted provisioning + SSO→ID binding (from spec #2258) #2852)
- Result: PR id: delayed ID-key rebind protocol — spec §4 (#3809) #4885 merged (
e5152ad662b315096228a6cabc82e1dbc5b39fed) — pkgs/id/src/hosted_binding.rs now implements §4 end to end: fast path (old-key authorization over {binding_id, new_iroh_id, challenge_id}, immediate), delayed path (new-key challenge proof, 30-day wait per the id: design: ID serverless edition v1 (Cloudflare Workers) #2046 ruling, binding rebind_pending and account reserved — fresh ceremonies keep failing as §3.4 conflicts), §4.3 notice artefact + old-key cancel (final; a later request restarts the full wait) and approve-early conversion, and §4.4 signed publication (history appended, service-signed + new-key-countersigned RebindRecord, verifiable offline via verify_rebind_record). Requests and records are retained as the auditable history.
- Tests:
cargo test --lib hosted_binding on the laptop: 21 passed — 6 new deterministic tests cover both recovery paths, cancellation, expiry (not-yet-effective + expired challenge), bypass attempts (fresh ceremony + second request while pending), and signed publication.
- Codex note: Codex review on PR id: delayed ID-key rebind protocol — spec §4 (#3809) #4885 failed on usage limits and produced no findings (disposition recorded on the PR).
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|