ralph_workflow/phases/
commit.rs1use super::commit_logging::{AttemptOutcome, CommitLogSession, ExtractionAttempt};
9use super::context::PhaseContext;
10use crate::agents::AgentRegistry;
11use crate::files::llm_output_extraction::{
12 archive_xml_file_with_workspace, try_extract_from_file_with_workspace,
13 try_extract_xml_commit_with_trace, xml_paths, CommitExtractionResult,
14};
15use crate::pipeline::{run_with_prompt, PipelineRuntime, PromptCommand};
16use crate::prompts::TemplateContext;
17use crate::workspace::Workspace;
18use anyhow::Context as _;
19use std::collections::HashMap;
20use std::path::Path;
21
22include!("commit/diff_truncation.rs");
23include!("commit/prompt.rs");
24include!("commit/extraction.rs");
25include!("commit/runner.rs");
26
27#[cfg(test)]
28include!("commit/tests.rs");