ralph_workflow/
lib.rs

1//! Ralph workflow library for commit message parsing and validation.
2//!
3//! This library exposes the core functionality used by the ralph binary,
4//! including commit message extraction from LLM output.
5
6pub mod agents;
7pub mod app;
8pub mod banner;
9pub mod checkpoint;
10pub mod cli;
11pub mod common;
12pub mod config;
13pub mod diagnostics;
14pub mod files;
15pub mod git_helpers;
16pub mod guidelines;
17pub mod interrupt;
18pub mod json_parser;
19pub mod language_detector;
20pub mod logger;
21pub mod phases;
22pub mod pipeline;
23pub mod platform;
24pub mod prompts;
25pub mod review_metrics;
26pub mod templates;
27
28// Re-export XML extraction and validation functions for use in integration tests
29pub use files::llm_output_extraction::extract_development_result_xml;
30pub use files::llm_output_extraction::extract_fix_result_xml;
31pub use files::llm_output_extraction::extract_issues_xml;
32pub use files::llm_output_extraction::format_xml_for_display;
33pub use files::llm_output_extraction::validate_development_result_xml;
34pub use files::llm_output_extraction::validate_fix_result_xml;
35pub use files::llm_output_extraction::validate_issues_xml;