tractor/ai/prompt-io/opencode/20260820T033107Z_ba07e09d_p...

993 B

Raw output - tagged address readers

The human requested a migration away from ambiguous untagged transport tuples. They established ('tcp', host, port) and ('unix', path) as canonical forms, retained ('uds', path) as an input alias, and required a reader-first compatibility boundary before changing emitted values.

git diff HEAD~1..HEAD -- tractor/discovery/_addr.py tractor/ipc/_tcp.py tractor/ipc/_uds.py tests/discovery/test_address_serialization.py

Added explicit tagged address aliases and dispatch, taught TCP and UDS readers to decode tagged tuple/list payloads, preserved legacy pair input, and retained native IPv6 socket-address decoding. Added focused tests for canonical tags, the UDS alias, msgpack-style lists, legacy pairs, and IPv6 socket values.

Focused reader tests and Ruff checks passed before the writer migration was applied.