pub struct RunFlags {
pub modified_files: Vec<String>,
pub modified_file_count: usize,
pub empty_output: bool,
pub max_iterations_hit: usize,
pub gates_forced: usize,
pub workspace_lost: bool,
}Expand description
Post-hoc diagnosis of a run’s productivity, persisted in meta.json so a
harness (or the dashboard) can tell an empty run from a successful one
without inspecting the workspace or parsing logs.
The motivating failure: 13/300 SWE-bench runs completed their whole stage pipeline and produced no file changes at all. Nothing on disk said so, or said why.
Fields§
§modified_files: Vec<String>Paths passed to file-modifying tools that succeeded, in first-touch
order. Capped at MAX_TRACKED_MODIFIED_FILES; modified_file_count
keeps the true total.
modified_file_count: usizeTotal successful file-modifying tool calls across the run (uncapped).
empty_output: boolThe run reached a terminal status having modified nothing.
max_iterations_hit: usizeHow many stages exhausted their max_iterations.
gates_forced: usizeHow many transitions proceeded past an unsatisfied gate because the gate’s re-run budget ran out.
workspace_lost: boolThe working directory disappeared mid-run.