pub struct RalphConfig {Show 19 fields
pub prd_path: String,
pub max_iterations: usize,
pub progress_path: String,
pub auto_commit: bool,
pub quality_checks_enabled: bool,
pub model: Option<String>,
pub use_rlm: bool,
pub parallel_enabled: bool,
pub max_concurrent_stories: usize,
pub worktree_enabled: bool,
pub story_timeout_secs: u64,
pub max_steps_per_story: usize,
pub conflict_timeout_secs: u64,
pub relay_enabled: bool,
pub relay_max_agents: usize,
pub relay_max_rounds: usize,
pub max_quality_retries: usize,
pub max_rate_limit_retries: usize,
pub rate_limit_base_delay_ms: u64,
}Expand description
Ralph configuration
Fields§
§prd_path: StringPath to prd.json
max_iterations: usizeMaximum iterations
progress_path: StringPath to progress.txt
auto_commit: boolWhether to auto-commit changes
quality_checks_enabled: boolWhether to run quality checks
model: Option<String>Model to use for iterations
use_rlm: boolWhether to use RLM for progress compression
parallel_enabled: boolEnable parallel story execution
max_concurrent_stories: usizeMaximum concurrent stories to execute
worktree_enabled: boolUse worktree isolation for parallel execution
story_timeout_secs: u64Timeout in seconds per step for story sub-agents (resets on each step)
max_steps_per_story: usizeMaximum tool call steps per story sub-agent Increase this for complex stories that need more iterations
conflict_timeout_secs: u64Timeout in seconds per step for conflict resolution sub-agents
relay_enabled: boolEnable per-story relay teams (multi-agent collaboration per story)
relay_max_agents: usizeMaximum agents per relay team (2-8)
relay_max_rounds: usizeMaximum relay rounds per story
max_quality_retries: usizeMaximum quality-gate-retry attempts per story. After quality gates fail, errors are fed back to the agent for self-repair.
max_rate_limit_retries: usizeMaximum rate-limit retries before giving up on a story.
rate_limit_base_delay_ms: u64Base delay in milliseconds for rate-limit exponential backoff.
Trait Implementations§
Source§impl Clone for RalphConfig
impl Clone for RalphConfig
Source§fn clone(&self) -> RalphConfig
fn clone(&self) -> RalphConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RalphConfig
impl Debug for RalphConfig
Source§impl Default for RalphConfig
impl Default for RalphConfig
Source§impl<'de> Deserialize<'de> for RalphConfig
impl<'de> Deserialize<'de> for RalphConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for RalphConfig
impl RefUnwindSafe for RalphConfig
impl Send for RalphConfig
impl Sync for RalphConfig
impl Unpin for RalphConfig
impl UnsafeUnpin for RalphConfig
impl UnwindSafe for RalphConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request