tractor/tests/discovery
Gud Boi 3f675323fa Support nested `wg` maddrs
Teach discovery to preserve WireGuard bearer and identity metadata
around a bindable TCP overlay.

Deats,
- encode `wg(8)` keys as strict 32-byte multibase values
- peel nested stacks with `Multiaddr.decapsulate_code()` and compose
  them with `.encapsulate()` instead of splitting strings
- integrate wrappers with `parse_maddr()`, `mk_maddr()`,
  `wrap_address()` and `parse_endpoints()`
- pin the unreleased py-multiaddr#108 codec in package metadata
- cover exact round trips, nesting, bad grammar and missing codecs

Prompt-IO: ai/prompt-io/opencode/20260818T075031Z_dd02c7c0_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-08-18 23:25:56 -04:00
..
__init__.py Add `test_multiaddr.py` suite for `mk_maddr()` 2026-04-14 19:54:14 -04:00
conftest.py Mv `daemon` + `test_multi_program` to `discovery/` 2026-06-17 17:39:44 -04:00
test_multi_program.py Use `aid.uid` over manual `(name, uuid)` tuples 2026-06-27 21:38:30 -04:00
test_multiaddr.py Support nested `wg` maddrs 2026-08-18 23:25:56 -04:00
test_registrar.py Harden `test_registrar` with reap fixtures, timeouts 2026-06-17 17:39:44 -04:00
test_tpt_bind_addrs.py Fix `test_registrar_merge_binds_union` for UDS collision 2026-04-14 19:54:15 -04:00
test_tunnelled_addr.py Support nested `wg` maddrs 2026-08-18 23:25:56 -04:00