Expand description
Transport core of the gate4agent node. Product code lives above this crate.
Re-exports§
pub use gate4agent_node_protocol as protocol;
Modules§
- drive_
loop_ profile - Fixed-window latency/rate profiling for
drive_runtime_until_shutdown’s own per-iteration phases – the top half of the answer to “the node burns CPU with zero live PTY sessions and there is no number for where.” - kit_
wireguard_ placement - WireGuard placement on Windows, decided by facts about the interface that carries traffic to the C2 endpoint (not by adapter names). Pure logic; tested on every target.
- managed_
worktree - Managed worktree lease records (persisted shape shared with the session registry).
- materialization
- Session materialization ownership records and path classes (transport-side shared types).
- node_
log - Rotating JSON-lines log for the node. Path comes from the caller or
GATE4AGENT_NODE_LOG— never a hardcoded absolute path. - platform
- session_
registry - spawn_
spec - wg_
status - Process-wide WireGuard health for
/healthand logs. No secrets.