cbtop/remote_agent/mod.rs
1//! Remote SSH/Headless Agent Integration (PMAT-044)
2//!
3//! Distributed benchmark collection from remote hosts via SSH.
4//!
5//! # Design
6//!
7//! - SSH-based command execution with connection pooling
8//! - Multi-host result aggregation with statistical merging
9//! - Host health monitoring and automatic failover
10//! - Secure credential handling (no plaintext storage)
11//!
12//! # Falsification (FKR-045)
13//!
14//! Hâ‚€: Remote agent cannot collect metrics from heterogeneous hosts
15//! Test: Connect to 3+ hosts with different architectures, verify metric aggregation
16
17mod agent;
18mod json;
19mod metrics;
20mod types;
21
22pub use agent::RemoteAgent;
23pub use types::{
24 AggregatedResult, AggregationStrategy, AuthMethod, CommandResult, HostBenchmark, HostConfig,
25 HostHealth, HostState, RemoteAgentConfig, RemoteError, RemoteResult,
26 DEFAULT_HEALTH_CHECK_INTERVAL_SEC, DEFAULT_MAX_CONCURRENT, DEFAULT_RETRY_DELAY_MS,
27};
28
29#[cfg(test)]
30mod tests;