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 more