pub fn run_agent_loop(
provider: &dyn LlmProvider,
git_ops: &dyn GitOps,
context: &AnnotationContext,
) -> Result<(CollectedOutput, String), AgentError>Expand description
Run the annotation agent loop. Calls the LLM with tools until it finishes or hits the turn limit. Returns collected v2 output (narrative, decisions, markers) plus a summary string.