pub struct Config {
pub version: u32,
pub project_type: Option<ProjectType>,
pub queue: QueueConfig,
pub agent: AgentConfig,
pub parallel: ParallelConfig,
pub loop_field: LoopConfig,
pub plugins: PluginsConfig,
pub profiles: Option<BTreeMap<String, AgentConfig>>,
}Expand description
Root configuration struct for Ralph.
Fields§
§version: u32Schema version for config.
project_type: Option<ProjectType>“code” or “docs”. Drives prompt defaults and small workflow decisions.
queue: QueueConfigQueue-related configuration.
agent: AgentConfigAgent runner defaults (Claude, Codex, OpenCode, Gemini, or Cursor).
parallel: ParallelConfigParallel run-loop configuration.
loop_field: LoopConfigRun loop waiting configuration (daemon/continuous mode).
plugins: PluginsConfigPlugin configuration (enable/disable + per-plugin settings).
profiles: Option<BTreeMap<String, AgentConfig>>Optional named profiles for quick workflow switching.
Each profile is an AgentConfig-shaped patch applied over agent when selected.
Profile values override base config but are overridden by CLI flags and task.agent.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Config
impl JsonSchema for Config
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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
Mutably borrows from an owned value. Read more