pub struct RunRecord {Show 48 fields
pub schema_version: u32,
pub harness_build: String,
pub outcome: String,
pub error: Option<String>,
pub final_message: Option<String>,
pub model_requested: Option<String>,
pub model_id: Option<String>,
pub effort: Option<String>,
pub context: String,
pub gated: bool,
pub gate_source: String,
pub gate_left_out: Vec<String>,
pub container: Option<String>,
pub container_workdir: String,
pub sandboxed: bool,
pub sandbox: String,
pub network: String,
pub allow_read: Vec<String>,
pub pass_env: Vec<String>,
pub withheld_env: Vec<String>,
pub duration_seconds: f64,
pub turns: u32,
pub empty_turns: u32,
pub truncated_turns: u32,
pub read_loop: bool,
pub peak_read_repeats: u32,
pub fold_thrash: bool,
pub big_read_turns: u32,
pub tool_calls: u32,
pub gate_attempts: u32,
pub rollbacks: u32,
pub provider_retries: u32,
pub cost_usd: Option<f64>,
pub max_cost_usd: Option<f64>,
pub cost_capped: bool,
pub fold_budget: Option<usize>,
pub turn_usage: Vec<TurnUsage>,
pub usage: UsageRecord,
pub gate_ms: Vec<u64>,
pub gate_turns: Vec<u32>,
pub gate_wait_ms: Vec<u64>,
pub gate_failures: Vec<String>,
pub tool_counts: BTreeMap<String, u32>,
pub model_seconds: f64,
pub tools_seconds: f64,
pub gate_seconds: f64,
pub quote_problems: Option<Vec<String>>,
pub claim_check: Option<ClaimCheck>,
}Fields§
§schema_version: u32§harness_build: StringThe commit this blyte was built from (build.rs), or unknown.
outcome: String§error: Option<String>§final_message: Option<String>§model_requested: Option<String>§model_id: Option<String>§effort: Option<String>§context: String§gated: bool§gate_source: StringWhere the gate came from: none (ungated) or user (--gate).
gate_left_out: Vec<String>§container: Option<String>§container_workdir: String§sandboxed: boolWhether local shell commands ran under macOS seatbelt sandbox isolation.
sandbox: StringThe sandbox mechanism active for the run (container, seatbelt, landlock, landlock-offline, off).
network: StringOutbound network mode for commands (on or off).
allow_read: Vec<String>Filesystem paths permitted for reading despite credential deny-lists.
pass_env: Vec<String>Environment variables permitted to pass to commands despite looking like credentials.
withheld_env: Vec<String>Names of environment variables withheld from commands by the credential filter.
duration_seconds: f64§turns: u32§empty_turns: u32§truncated_turns: u32§read_loop: bool§peak_read_repeats: u32§fold_thrash: bool§big_read_turns: u32§tool_calls: u32§gate_attempts: u32§rollbacks: u32§provider_retries: u32§cost_usd: Option<f64>List-price cost in USD, when the model’s price is known.
max_cost_usd: Option<f64>Spending cap in USD given with --max-cost, if any.
cost_capped: boolWhether the run stopped because spending reached --max-cost.
fold_budget: Option<usize>Fold budget given with --fold-budget, if any.
turn_usage: Vec<TurnUsage>Per-call usage (see blyte_agent::run::TurnUsage).
usage: UsageRecord§gate_ms: Vec<u64>§gate_turns: Vec<u32>§gate_wait_ms: Vec<u64>§gate_failures: Vec<String>§tool_counts: BTreeMap<String, u32>§model_seconds: f64§tools_seconds: f64§gate_seconds: f64§quote_problems: Option<Vec<String>>§claim_check: Option<ClaimCheck>Implementations§
Source§impl RunRecord
impl RunRecord
Sourcepub fn from_error(config: &TaskConfig, error: &str, elapsed: Duration) -> Self
pub fn from_error(config: &TaskConfig, error: &str, elapsed: Duration) -> Self
A run that never reached the loop, e.g. a missing API key.