GeezerVison is showing github.com — id: design: transport negotiation & fallback ordering (from #5671) · Issue #5791 · developing-today/code
id: design: transport negotiation & fallback ordering (from #5671) #5791DescriptionSummary
Follow-on design ticket from #5671 — its decomposition sketch names this as a separate design, and the parent's acceptance requires these tickets to be filed and linked. Filed in the 2026-11-04 gap pass (WS-F) so the design work exists and can be prioritised on its own merits; implementation timing is a separate decision, possibly months out.
What this design must settle
Probing, per-peer memory, overrides, and failure classification: how a client decides which transport to try, remembers what worked per peer, and classifies failures so fallback is a decision, not a thrash.
Context from the parent
The parent design fixes how ID clients and servers stay reachable when UDP is denied — fallback order, broker shapes, trust model, and the E2E boundary. The parent issue carries the surrounding decisions this ticket must not re-decide; where this ticket's answer would change a parent decision, record that explicitly rather than silently forking it.
Decision record expected
Close this design with a recorded decision (on this issue or in a doc/ record linked from it): the chosen shape, the alternatives rejected and why, and the invariants implementation must hold. If the design splits further, file the splits and link them here rather than growing this issue.
Relations
Parent: #5671. Programme: epic #2056. Filed by WS-F (2026-11-04 ID design gap & expansion pass). Activitydeveloping-today commented on Nov 5, 2026 developing-today commented on Nov 5, 2026 🤖 Agent note · done (triage)
Triage findings (verified fresh 2026-11-05):
- Well-formed, self-contained design ticket. Issue id: design: transport negotiation & fallback ordering (from #5671) #5791 (from issue id: design: ID transport fallback for UDP-denied networks v1 #5671's decomposition sketch, WS-F gap pass 2026-11-04) states its acceptance plainly: close with a recorded decision on transport negotiation & fallback ordering — probing, per-peer memory, overrides, and failure classification — with alternatives rejected and invariants stated. Nothing missing, no defect to verify.
- Context verified live: parent issue id: design: ID transport fallback for UDP-denied networks v1 #5671 (ID transport fallback for UDP-denied networks v1) is OPEN; programme epic issue epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 is OPEN. The parent fixes the surrounding decisions (fallback order, broker shapes, trust model, E2E boundary) this ticket must not re-decide silently — in particular this design decides how a client chooses and remembers within the parent's fallback order, it does not reorder the parent's fallbacks itself.
- No blocker, no Drew decision needed to start. Implementation timing being a separate, possibly-months-out decision gates implementation, not this design. Attempt note: this is task 10194's second claim — the first claim recorded only a claimed-stage checkpoint and no work, so this triage starts fresh from the issue, nothing to resume.
Disposition: triaged; design work proceeds as the follow-up task named in the addendum. Issue #5791 stays open for it.
developing-today commented on Nov 5, 2026 🤖 Agent note · addendum to task 10194 triage
developing-today commented on Nov 5, 2026 🤖 Agent note · done
Outcome — decision recorded and merged:
- Decision record:
doc/2026-11-05T13-38-00Z_design_id5791_transport_negotiation.md on main, merged by PR doc: transport negotiation & fallback ordering decision record (#5791) #6234 (merge sha 6a9296cc80d5bf08b733aedec1ea97692ef667fe).
- Chosen shape: a per-(peer, network) negotiation state machine within issue id: design: ID transport fallback for UDP-denied networks v1 #5671's fixed attempt order — sequential probing (no separate probe protocol; a probe is the normal authenticated handshake), the remembered known-good transport promoted to a single first attempt, per-(peer, network) memory holding only last known-good + last failure class (local-only, TTL decay, invalidated when the peer's advertisement changes), and overrides with precedence CLI > env > per-peer config > global config > memory > parent order (a pin disables fallback entirely).
- Failure classification: nine classes (
udp_blocked, peer_offline, proxy_auth_required, proxy_denied, policy_denied, tls_failure, auth_failure, timeout, transport_error) with per-class fall-through / stop-and-surface / pause-for-credential rules, per-network quarantine, and no silent downgrade on TLS/auth failures.
- Eight invariants implementation must hold are stated in the record; its §8 explicitly checks that no issue id: design: ID transport fallback for UDP-denied networks v1 #5671 decision (attempt order, broker/trust model, E2E boundary, rendezvous) is re-decided, and records the two parent open questions touched (proxy credential references; migration-at-reconnect rule) without forking them.
- Alternatives rejected with reasons: parallel racing, no memory, peer-only memory, boolean failure, separate ping protocol, server-directed negotiation.
- The record names no further design splits; latency numbers are left to the parent's latency-budget design, and implementation tickets are to be filed when implementation is scheduled (a separate decision per this issue).
Closing issue #5791 as completed: the design it asked for now exists as a recorded decision on main.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|