Repository navigation
Closed
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/enhancementpriority/highImportant and time-sensitiveImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
Description
Summary
Implement the rendezvous decision record for UDP-denied clients: doc/2026-11-10_rendezvous_discovery_udp_denied_design.md (PR #8213, from issue #5793 / task 12886, parent #5671).
Scope
- Advertisement type in
pkgs/id:TransportAdvertisementv1 — subject identity fingerprint, transports[] (kind/endpoint/priority/broker identity), issued_at/expires_at (TTL ≤ 24h), strictly increasing sequence, Ed25519 signature over the domain-separated canonical encoding (id-transport-advertisement/v1|| canonical JSON). - Sign/serve: server-side minting on transport change and per TTL; the
.well-known/id-transport-advertisementHTTPS handler serving the current signed ad byte-for-byte. - Fetch/verify/cache client: pinned-identity signature verification, highest-sequence-wins across substrates, last-known-good cache with degraded-past-expiry semantics and background revalidation, fetch order per the record (cache → well-known HTTPS → Workers rendezvous by subject hash → DNS bootstrap hints).
- Sequence durability: the sequence counter persists beside the identity key and never regresses across restarts.
Acceptance
- Hostile-substrate test: a substrate serving forged, altered, or replayed (older-sequence) ads fails closed — the client never acts on them (record invariant 2/3).
- Disagreement test: two substrates returning different valid ads resolve to the highest sequence regardless of fetch order.
- Expired-ad test: past-expiry ad is used only as flagged-degraded last-known-good, with revalidation attempted.
- Round-trip test: an ad minted by the server verifies and selects transports in the parent id: design: ID transport fallback for UDP-denied networks v1 #5671 fallback order.
Out of scope
- The Cloudflare Workers rendezvous component itself (its own id: design: ID transport fallback for UDP-denied networks v1 #5671 decomposition ticket) — this issue implements only the client fetch against its blob interface and the self-hosted
.well-knownsubstrate. - Broker protocol/framing, CONNECT traversal, latency budgets (sibling id: design: ID transport fallback for UDP-denied networks v1 #5671 decomposition tickets).
Links
- Decision record: doc/2026-11-10_rendezvous_discovery_udp_denied_design.md (PR docs(id): decision record — rendezvous & discovery for UDP-denied clients (#5793) #8213)
- Design ticket: id: design: rendezvous & discovery for UDP-denied clients (from #5671) #5793 · Parent: id: design: ID transport fallback for UDP-denied networks v1 #5671 · Programme: epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056
Metadata
Metadata
Assignees
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)Reprioritization program epic (2026-11-12)kind/enhancementpriority/highImportant and time-sensitiveImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted tests
Activity
developing-today commentedon Nov 10, 2026
CODE-2433
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — task 18603 (lane code-e)
doc/2026-11-10_rendezvous_discovery_udp_denied_design.mdis on origin/main; PR docs(id): decision record — rendezvous & discovery for UDP-denied clients (#5793) #8213 MERGED 2026-11-10; design ticket id: design: rendezvous & discovery for UDP-denied clients (from #5671) #5793 CLOSED; parent id: design: ID transport fallback for UDP-denied networks v1 #5671. Implementation absent:git grep TransportAdvertisementandid-transport-advertisementunderpkgson origin/main c4404b8 return nothing.TransportAdvertisementv1 type + canonical encoding + Ed25519 sign/verify inpkgs/id, with the hostile-substrate fixture first (oracle: record invariants 2/3).Merge pull request #10951 from developing-today/queue/20089-8214-tran…
Merge pull request #10952 from developing-today/queue/20089-8214-tran…
dezren39 commentedon Nov 17, 2026
agent-note:v1
state: in-progress
task: 20089 (queue repo-health-code-pilot, worker repo-worker-code, lane code-d)
Progress on issue #8214 — slices 1+2 landed and merged this shift (2026-11-17); the task parks with the remaining slices as the resume condition.
crates/id-core/src/transport_advertisement.rs— TransportAdvertisement v1 type, domain-separated canonical encoding (id-transport-advertisement/v1|| sorted-key JSON), Ed25519 sign/verify against the pinned subject, freshest-valid-wins selection (expired = degraded LKG only), TTL <= 24h + 5-min skew rules, durable SequenceFile counter (invariant 8). ed25519-dalek moved to id-core [dependencies].https://<host>/.well-known/id-transport-advertisement?subject=<fp>), Workers rendezvous fetch by H(subject), DNS_id.<host>TXT bootstrap hints feeding host discovery; background revalidation on degraded selections. (4) Server side — minting on transport change and per TTL with the SequenceFile beside the identity key, and the.well-known/id-transport-advertisementhandler serving the current signed ad byte-for-byte (id-web / server home, to be located by the resuming lane). The Workers component itself stays out of scope (its own id: design: ID transport fallback for UDP-denied networks v1 #5671 ticket).dezren39 commentedon Nov 17, 2026
🤖 Agent note · in-progress — slices 1+2 re-verified on current main; parking with slices 3+4 as the resume condition (task 20089)
Re-verified fresh this shift (2026-11-17): lane code-d's landed state is intact on current main —
cargo test -p id-core --lib transport_advertisement(run frompkgs/id): 12 passed, 0 failed. PRs #10951/#10952 (slices 1+2) stand merged.Integration facts gathered for the resuming lane (so the next session starts at the decision, not the search):
SignedAdvertisementserializes as flattened serde JSON (advertisement fields +signaturehex) — substrates serve/fetch that JSON byte-for-byte.pkgs/idcrates (no reqwest/ureq/hyper in any id Cargo.toml). Slice 3's substrate implementations therefore start with a stack decision: add a client dependency where the client's home is decided (the module doc says implementations "live with the client's HTTP stack" — that stack does not exist yet), or bind theSubstratetrait to an injected fetch closure owned by the eventual caller. Do not bury a new HTTP dependency inside id-core without recording the choice on this issue.pkgs/id/crates/id-web(axum; routes undersrc/routes/, e.g.file_handlers.rs); the identity/signing material the minter needs already lives in the id server's signed-event machinery — locate the identity key beside which theSequenceFilemust persist before writing the minter.https://<host>/.well-known/id-transport-advertisement?subject=<fp>), Workers rendezvous fetch by H(subject) against its blob interface, DNS_id.<host>TXT bootstrap hints, background revalidation on degraded selections. Slice 4: minting on transport change + per TTL,.well-knownhandler serving the current signed ad byte-for-byte.Resume condition: a session with a full implementation budget takes slice 3 (starting with the HTTP-stack decision above) or slice 4; the four acceptance tests on the issue are the oracle — the hostile/disagreement/expired legs are already covered at the resolve()/cache level by slices 1+2 tests, so remaining test work is at the substrate/handler level plus the server round-trip.
7 remaining items
dezren39 commentedon Nov 17, 2026
Agent note — slice 4 landed; parking with slice 3 as the resume condition (lane any-f, task 20089)
State: in-progress — slices 1, 2 and 4 are now merged; slice 3 remains.
dezren39 commentedon Nov 17, 2026
🤖 Agent note · park hand-off confirmed — task 20089 (lane code-a)
dezren39 commentedon Nov 17, 2026
Agent note — picked up, resuming at slice 3 (lane any-j, task 20089)
State: claimed — resuming from the parked checkpoint, not restarting. Re-verified fresh this shift: issue #8214 OPEN with no hard-stop labels; PR #10951 MERGED 2026-11-17T04:03Z, PR #10952 MERGED 2026-11-17T04:06Z, PR #11007 MERGED 2026-11-17T06:05Z — slices 1, 2 and 4 stand merged. Slice 3 is the only remainder.
HTTP-stack decision (recorded before implementation, per lane any-c's note): bind the Substrate trait to an injected fetch closure. No HTTP client dependency is added to id-core: a new FetchBytes seam (implemented for any Fn(&str) -> Option<Vec> closure) carries the actual HTTPS GET, owned by the eventual caller's stack. On top of that seam, id-core gains the well-known substrate (URL per Decision 2.2), the Workers rendezvous substrate (fetch by H(subject); H defined here as the lowercase hex SHA-256 of the subject fingerprint string, matching the record's privacy purpose — the Workers component, out of scope here, must key its blobs by the same H), DNS _id. TXT bootstrap-hint parsing (hints name hosts only; DNS never carries or vouches for an ad, per Decision 2.4), and a revalidate entry point for background revalidation of degraded selections (Decision 3). Verification stays where slices 1+2 put it: substrates return the opaque signed object and resolve()/AdCache verify against the pinned subject, so a hostile substrate still fails closed.
Next: implement slice 3 in id-core with substrate-level tests naming the record as oracle, open the PR, and merge under the standing criteria.
Merge pull request #11173 from developing-today/queue/20089-8214-fetc…
dezren39 commentedon Nov 17, 2026
Agent note — slice 3 landed; #8214 complete (lane any-j, task 20089)
State: done — all four slices are now merged, and the issue's acceptance scope is fully implemented.
Closing this issue as complete. Worktree ~/git/fleet/queue-20089-8214-fetch (branch queue/20089-8214-fetch-substrates, merged) is safe to remove.