tractor/tests/msg
Gud Boi b9dca728d9 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:03:11 -04:00
..
__init__.py Add `tests/msg/` sub-pkg, audit `pformat()` filtering 2026-03-12 18:32:31 -04:00
conftest.py Add `tests/msg/` sub-pkg, audit `pformat()` filtering 2026-03-12 18:32:31 -04:00
test_ext_types_msgspec.py Use `aid.uid` over manual `(name, uuid)` tuples 2026-06-27 21:38:30 -04:00
test_namespace_path.py Move `NamespacePath` ref test into `tests.msg` 2026-08-24 23:49:09 -04:00
test_pldrx_limiting.py Add `set_fork_aware_capture`, timeout to msg tests 2026-06-17 17:39:44 -04:00
test_pretty_struct.py Drop unused import noticed by `copilot` 2026-03-13 11:52:18 -04:00
test_process_local.py Add bindspace capability models 2026-08-29 22:03:11 -04:00