Skip to content

docs(id): decision record — rendezvous & discovery for UDP-denied clients (#5793) - #8213

Merged
dezren39 merged 1 commit into
mainfrom
queue/12886-5793-rendezvous-design
Nov 10, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/12886-5793-rendezvous-design

Conversation

@dezren39

@dezren39 dezren39 commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Decision record: rendezvous & discovery for UDP-denied clients (#5793)

Task 12886 (queue repo-health-code-pilot, lane code-y). Lands the decision record #5793's acceptance asks for, as doc/2026-11-10_rendezvous_discovery_udp_denied_design.md. Docs only — no code changes.

Decisions recorded

  1. The advertisement is a signed object; substrates are untrusted transports for it. One TransportAdvertisement per server: subject = its pinned ID identity fingerprint, transports[] (kind/endpoint/priority/broker identity), TTL ≤ 24h (1h recommended), strictly increasing sequence, Ed25519 signature over a domain-separated canonical encoding.
  2. Substrate selection: last-known-good cache → well-known HTTPS on a known host (authoritative self-hosted) → Cloudflare Workers rendezvous (hosted mirror; push of opaque signed blobs keyed by subject hash — required when the server has no inbound path) → DNS as bootstrap hints only, never authoritative. Disagreement rule (answers id: design: ID transport fallback for UDP-denied networks v1 #5671's open question in this scope): no substrate outranks another — the valid ad with the highest sequence wins.
  3. Freshness/replay: sequence is the replay defence; expired ads are degraded last-known-good only, with background revalidation.

Alternatives rejected with reasons (DNS-authoritative, Workers-only, unsigned DHT/mDNS discovery for this case, handshake-only advertisement, per-substrate formats), and 8 explicit invariants implementation must hold (hostile substrate fails closed, rendezvous holds no keys, sequence durably monotonic, …).

Parent discipline

#5671's fixed decisions (fallback order, broker dumb-pipe/E2E boundary, HTTPS-reachable rendezvous, signed records + TTL + last-known-good, authenticated broker default) are listed as not re-decided; the one parent open question answered here is named explicitly. Relation to the 2026-03-22 DHT/gossip peer-discovery design is stated (disjoint, composable).

Follow-on

One implementation issue is filed and linked from #5793 (advertisement format + sign/verify + fetch/cache in pkgs/id + the .well-known handler, with the hostile-substrate and sequence tests). The Workers component stays its own #5671 decomposition ticket; this record fixes only the blob interface it must serve.

Refs #5793 · #5671 · task 12886


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 10, 2026 20:00
@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 36 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 37e09af2-5295-438a-b0d5-4c1f31783c3e
Commits

Reviewing files that changed from the base of the PR and between 7fd9511 and 067ad91.

Files selected for processing: 1

  • doc/2026-11-10_rendezvous_discovery_udp_denied_design.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-10T20:00:36.348611Z
We couldn’t complete this review. Comment @codex review to try again.
067ad91 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant