pub async fn run_optimization(
agent: &RegisteredAgent,
config: &OptimizeConfig,
) -> Result<Vec<OptimizationRun>>Expand description
Optimizer entrypoint and run records. These are unstable during the v1 beta. 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