| Filename | Latest commit message | Latest commit date |
|---|---|---|
harness-base.nix has never existed in this tree. Four comments named it, or a `harness-base` module, as the place to look: - weston-vnc.nix: the agent user is declared and home-chowned by nix/agent-modules/user.nix - hive-ci.nix: the sandbox-fallback reasoning lives in nix/agent-modules/default.nix -- which the very next comment block in the same file already cites correctly - packages/default.nix: the per-bin consumer is nix/agent-modules/packages.nix - hive-sh4re/src/assets.rs: HIVE_ASSETS_DIR is set by hive-c0re/environment.nix and agent-modules/default.nix + agent-service.nix, and the package is built by nix/packages/assets.nix -- not the equally nonexistent nix/assets.nix assets.rs was twice declared out of scope on the sibling PR because it names a module rather than a file. That distinction was real and irrelevant: neither the module nor the nix/assets.nix path it points at exists. Reading the wording is not checking the reference. Every replacement path was verified to exist, with a deliberately bogus path as a control. |
||
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
hive-sh4re
The shared payload vocabulary between hive-c0re and the in-container
harness — the common types (Message, Approval, LooseEnd, HelperEvent, …)
that the per-socket wire protocols are built from. The request/response
envelopes themselves now live in the per-socket crates (below); this crate
holds the payloads they carry.
Where it sits
This is the shared payload crate; the per-socket protocol envelopes have been
split into their own smaller crates so specialised binaries don't have to pull
in all of hive-sh4re:
hive-host-sock— host admin socket (hivectl↔hive-c0re)hive-core-agent-sock— per-agent/manager socket (/run/hive/mcp.sock)hive-priv-sock— the privileged-helper socket
Those crates re-export or reference the payload types that still live here
(Approval, Message, LooseEnd, …).
Modules
wire_time— the timestamp convention: wire fields arechrono::DateTime<Utc>(serialized RFC 3339), while sqlite storage + input args stay unix-epochi64; this module owns the two boundary conversions.paths— well-known on-disk path helpers.assets— resolves bundled runtime asset paths (branding, prompts) underHIVE_ASSETS_DIR.
Agent-name fields are typed as hive_types::Ident for serde-validated parsing at
the socket boundary.