From d0261787fd04d8733fd8672582a48412744b1914 Mon Sep 17 00:00:00 2001 From: goodboy Date: Thu, 27 Aug 2026 19:14:34 -0400 Subject: [PATCH] Plan typed tunnel address decoding Record native tagged encoding for complete `TunnelledAddress` graphs as a deferred design follow-up. Deats, - cover concrete overlay-address and tunnel-spec unions - preserve optional `BindspaceRef` metadata through decoding - replace untyped payload inspection with typed roundtrip tests (this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`)) --- ai/tpt-backends/03_wg_tunnel_bindspace.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ai/tpt-backends/03_wg_tunnel_bindspace.md b/ai/tpt-backends/03_wg_tunnel_bindspace.md index 295528e7..396cb722 100644 --- a/ai/tpt-backends/03_wg_tunnel_bindspace.md +++ b/ai/tpt-backends/03_wg_tunnel_bindspace.md @@ -571,6 +571,13 @@ composed maddr can name a server source or client destination (ยง5.4). `Server.pformat()` expose that value as the cheapest proof the layer is wired. +Deferred follow-ups: + +- add native tagged encoding for the complete `TunnelledAddress` graph, + including its concrete overlay-address union, tunnel-spec union and + optional `BindspaceRef`. Once that codec exists, tests should perform + typed roundtrips instead of inspecting an untyped decoded payload. + Use `github/ns_aware@e4688cad` as prototype evidence, not code to cherry-pick unchanged. Its `/proc//ns/` inode reader and `ip netns identify` probe establish the useful `(key, inode)` reference