Skip to main content

Crate gate4agent_node_core

Crate gate4agent_node_core 

Source
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 /health and logs. No secrets.