pub struct FeaturesConfig {
pub parallel: bool,
pub auto_merge: bool,
pub loop_naming: LoopNamingConfig,
pub chaos_mode: ChaosModeConfig,
}Expand description
Feature flags for optional Ralph capabilities.
Example configuration:
features:
parallel: true # Enable parallel loops via git worktrees
auto_merge: false # Auto-merge worktree branches on completion
loop_naming:
format: human-readable # or "timestamp" for legacy format
max_length: 50
chaos_mode:
enabled: false
max_iterations: 5Fields§
§parallel: boolWhether parallel loops are enabled.
When true (default), if another loop holds the lock, Ralph spawns a parallel loop in a git worktree. When false, Ralph errors instead.
auto_merge: boolWhether to automatically merge worktree branches on completion.
When false (default), completed worktree loops queue for manual merge. When true, Ralph automatically merges the worktree branch into the main branch after a parallel loop completes.
loop_naming: LoopNamingConfigLoop naming configuration for worktree branches.
Controls how loop IDs are generated for parallel loops.
Default uses human-readable format: fix-header-swift-peacock
Legacy timestamp format: ralph-YYYYMMDD-HHMMSS-XXXX
chaos_mode: ChaosModeConfigChaos mode configuration.
Chaos mode activates after LOOP_COMPLETE to explore related improvements and learnings based on the original objective.
Trait Implementations§
Source§impl Clone for FeaturesConfig
impl Clone for FeaturesConfig
Source§fn clone(&self) -> FeaturesConfig
fn clone(&self) -> FeaturesConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FeaturesConfig
impl Debug for FeaturesConfig
Source§impl Default for FeaturesConfig
impl Default for FeaturesConfig
Source§impl<'de> Deserialize<'de> for FeaturesConfig
impl<'de> Deserialize<'de> for FeaturesConfig
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 FeaturesConfig
impl RefUnwindSafe for FeaturesConfig
impl Send for FeaturesConfig
impl Sync for FeaturesConfig
impl Unpin for FeaturesConfig
impl UnwindSafe for FeaturesConfig
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> Erasable for T
impl<T> Erasable for T
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 more