Expand description
The observability-only aion_integrations::AgentHarness over a plain-stdout CLI agent.
CliHarness — the [AgentHarness] implementation that drives a plain-stdout CLI agent.
[AgentHarness::start] spawns the configured command with piped stdout (stdin and stderr are
inherited/ignored — there is no structured channel to write, and stderr stays the agent’s human
logs), and hands the child’s stdout to a CliSession whose pump demuxes it into neutral
events. There is no handshake: a plain-stdout agent advertises nothing, so the session’s
capability set is empty by construction (the observability-only tier).
The harness is deliberately generic over the command it runs — it names no specific agent — so it drives any line-oriented process. The spec’s input is passed to the child as a single argument, so a fake in-crate line-emitter can echo the run identity back for tests.
Structs§
- CliHarness
- A harness that runs each activity attempt as a plain-stdout CLI child process.