hive-types
Foundational shared newtypes for the hyperhive workspace. A zero-dependency
(bar serde) leaf crate, so every wire-type crate (hive-sh4re,
hive-host-sock, hive-core-agent-sock) and both binaries (hive-c0re,
hivectl) can share them without cross-crate coupling and without growing
hive-sh4re.
What's here
Ident— a validated agent-name newtype. Typing agent-name fields asIdent(rather than bareString) gets serde-validated parsing at the socket boundary for free: a malformed name is rejected at deserialize time instead of flowing into a handler that has to re-validate by hand.
The crate is deliberately a leaf with the smallest possible dependency footprint
so anything in the workspace can depend on it. See docs/conventions.md
("identity = socket") for how agent identity is modelled across the sockets.