Expand description
Build runner — orchestrates cargo build/test/run cycles.
Wraps cargo build and cargo test with structured error parsing, retry,
and timeout handling. Uses tokio::process::Command with the same
environment scrubbing as the shell tool so secrets never reach the child.
Designed to be driven by the agent loop (via BuildRunnerTool) or by the
autonomous loop’s validation step, replacing the bare sh -c test runner
with one that returns compiler diagnostics in a structured form the model
can act on directly.
Structs§
- Build
Result - Result of a single build or test invocation.
- Build
Runner - The build/run orchestrator.
- Build
Runner Config - Configuration for the build runner.
- Compile
Error - A single parsed compiler diagnostic.
Enums§
- Diagnostic
Severity - Severity of a parsed compiler diagnostic.
Functions§
- parse_
diagnostics - Parse cargo/rustc diagnostic output into structured errors and warnings.