pub async fn run_optimization(
agent: &RegisteredAgent,
config: &OptimizeConfig,
) -> Result<Vec<OptimizationRun>>Expand description
Optimizer entrypoint and run records. These are unstable before 1.0.
Placeholder for the full optimization engine.
In a real implementation this would orchestrate:
- the runner
- the analysis crate (for bundling + editing)
- an LLM client (for diagnosis + candidate generation)
- the safe editing/validation pipeline