Skip to main content

ralph_workflow/phases/
mod.rs

1//! Pipeline Phase Orchestration Module
2//!
3//! This module contains the execution logic for each phase of the Ralph pipeline:
4//! - Development phase: iterative planning and execution cycles
5//! - Review phase: code review and fix cycles
6//! - Commit phase: automated commit message generation
7//!
8//! Each phase is encapsulated in its own submodule with a clean interface that
9//! takes a shared context and returns results. The phases module coordinates
10//! overall flow while keeping phase-specific logic separated.
11//!
12//! # Module Structure
13//!
14//! - [`context`] - Shared phase context for passing state between phases
15//! - [`development`] - Iterative development cycle execution
16//! - [`review`] - Code review and fix cycle execution
17//! - [`commit`] - Automated commit message generation with fallback
18//!
19//! # Note on Re-exports
20//!
21//! The functions below are public for use by the reducer architecture.
22//! They were previously private module internals.
23
24pub mod commit;
25pub mod commit_logging;
26pub mod context;
27pub mod development;
28pub mod integrity;
29pub mod review;
30
31pub use commit::generate_commit_message;
32pub use context::{get_primary_commit_agent, PhaseContext};