tractor/tests/discovery
Gud Boi fc0049da18 Add bindspace capability models
Separate serializable `BindspaceSpec` and `BindspaceIdentity` values
from a process-local `BindspaceHandle` carrying FD and ownership
authority.

Deats,
- add global `ProcessLocal` wire guards for local handle structs
- derive valid kinds and ownership from their `Literal` aliases
- require a positive inode while keeping the mutable name optional
- pin supplied FDs to identity inodes with `fstat()`
- cover round trips, nested encoding and stale capabilities

Caught-during: review remediation
Found-via: `/run-tests` test_bindspace_handle_pins_local_capability

Prompt-IO: ai/prompt-io/opencode/20260822T042026Z_29141f0b_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-08-29 22:00:29 -04:00
..
__init__.py Add `test_multiaddr.py` suite for `mk_maddr()` 2026-04-14 19:54:14 -04:00
conftest.py Document stable macOS UDS operation 2026-08-14 10:37:19 -04:00
test_address_serialization.py Emit canonical tagged addresses 2026-08-29 22:00:16 -04:00
test_bindspace.py Add bindspace capability models 2026-08-29 22:00:29 -04:00
test_daemon_fixture.py Move registrar probes to `discovery._api` 2026-08-14 18:43:36 -04:00
test_multi_program.py Clarify owned-child hard-reap docs 2026-08-25 15:56:38 -04:00
test_multiaddr.py Emit canonical tagged addresses 2026-08-29 22:00:16 -04:00
test_registrar.py Name every `ActorNursery` binding `an` in tests/examples 2026-08-25 19:19:28 -04:00
test_tpt_bind_addrs.py Emit canonical tagged addresses 2026-08-29 22:00:16 -04:00
test_tunnelled_addr.py Expose tunnel namespaces on IPC endpoints 2026-08-29 22:00:29 -04:00
test_wg_inspection.py Add explicit `verify_wg_peer()` inspection 2026-08-29 22:00:29 -04:00