pub(crate) struct OptimizeArgs {
pub(crate) source: Option<PathBuf>,
pub(crate) crate_dir: Option<String>,
pub(crate) spec: Option<PathBuf>,
pub(crate) save: Option<PathBuf>,
pub(crate) resume: Option<PathBuf>,
pub(crate) dry_run: bool,
pub(crate) keep_running: bool,
pub(crate) json: bool,
pub(crate) verbose: bool,
pub(crate) no_color: bool,
}Fields§
§source: Option<PathBuf>Path to the scx git repo (defaults to the git toplevel of the cwd).
crate_dir: Option<String>Override the scheduler crate directory, relative to –source. Defaults to
scheds/rust/<package>, derived from the spec’s [scheduler].package.
spec: Option<PathBuf>Validation spec TOML (defaults to tools/scx_forge_agent/spec.toml). The scheduler to optimize (and the cargo profile) come from its [scheduler] section, so the same spec drives both the build gate and the harness.
save: Option<PathBuf>Save this run’s compact attempt summary to PATH when the run completes.
resume: Option<PathBuf>Resume from a previously saved attempt-summary state file.
dry_run: boolPrint the assembled prompt and planned loop without calling the model or loading a scheduler.
keep_running: boolAfter optimization completes, rebuild and run the final scheduler in the current terminal.
json: boolEmit the final report as JSON instead of markdown.
verbose: boolDump the full per-round transcript to stderr: prompts sent to the model, assistant replies, tool calls + results, token usage, and harness steps.
no_color: boolDisable ANSI color in live progress output.
Trait Implementations§
Source§impl Args for OptimizeArgs
impl Args for OptimizeArgs
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
ArgGroup::id][crate::ArgGroup::id] for this set of argumentsSource§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§impl CommandFactory for OptimizeArgs
impl CommandFactory for OptimizeArgs
Source§impl Debug for OptimizeArgs
impl Debug for OptimizeArgs
Source§impl FromArgMatches for OptimizeArgs
impl FromArgMatches for OptimizeArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.