run_ralph

Function run_ralph 

Source
pub fn run_ralph(
    ito_path: &Path,
    change_repo: &impl DomainChangeRepository,
    task_repo: &impl DomainTaskRepository,
    module_repo: &impl DomainModuleRepository,
    opts: RalphOptions,
    harness: &mut dyn Harness,
) -> CoreResult<()>
Expand description

Run the Ralph loop for a change (or repository/module sequence) until the configured completion promise is detected.

Persists lightweight per-change state under .ito/.state/ralph/<change>/ so iteration history and context are available for inspection.

ยงExamples

use std::path::Path;

// Prepare repositories, options and a harness implementing the required traits,
// then invoke run_ralph with the workspace path:
// let ito = Path::new(".");
// run_ralph(ito, &change_repo, &task_repo, &module_repo, opts, &mut harness)?;