Module phases

Module phases 

Source
Expand description

Pipeline Phase Orchestration Module

This module contains the execution logic for each phase of the Ralph pipeline:

  • Development phase: iterative planning and execution cycles
  • Review phase: code review and fix cycles
  • Commit phase: automated commit message generation

Each phase is encapsulated in its own submodule with a clean interface that takes a shared context and returns results. The phases module coordinates the overall flow while keeping phase-specific logic separated.

§Module Structure

  • [context] - Shared phase context for passing state between phases
  • [development] - Iterative development cycle execution
  • [review] - Code review and fix cycle execution
  • commit - Automated commit message generation with fallback

Re-exports§

pub use commit::generate_commit_message;

Modules§

commit
Commit message generation phase.
commit_logging
Per-attempt logging infrastructure for commit message generation.

Structs§

PhaseContext
Shared context for all pipeline phases.

Functions§

get_primary_commit_agent
Get the primary commit agent from the registry.
run_development_phase
Run the development phase.
run_review_phase
Run the review and fix phase.