pub struct Config {Show 16 fields
pub worktree_dir: PathBuf,
pub worktree_retention_ms: Option<i64>,
pub project_dir: PathBuf,
pub ticket_dir: PathBuf,
pub ticket_source: TicketSourceConfig,
pub max_parallel_tasks: usize,
pub stall_report_after_ms: i64,
pub stall_after_ms: i64,
pub running_hours: Option<RunningHours>,
pub agent: Option<AgentConfig>,
pub flows: BTreeMap<String, Flow>,
pub default_flow: String,
pub flow_test_cmd: Option<Vec<String>>,
pub ticket_prefix: String,
pub project_prefix: String,
pub delete_missing_after_ms: i64,
}Fields§
§worktree_dir: PathBuf§worktree_retention_ms: Option<i64>How long settled run worktrees remain available. None disables
automatic removal.
project_dir: PathBuf§ticket_dir: PathBuf§ticket_source: TicketSourceConfig§max_parallel_tasks: usize§stall_report_after_ms: i64§stall_after_ms: i64§running_hours: Option<RunningHours>§agent: Option<AgentConfig>Repository-scoped exec-shaped agent adapters. Absent means the repository has not configured an agent yet; queued work stays queued.
flows: BTreeMap<String, Flow>Committed flow definitions plus the built-in default when it is not
overridden by a repository file.
default_flow: String§flow_test_cmd: Option<Vec<String>>The implicit test stage spliced into every flow at index 1: an argv
run in the worktree. Absent means the run branch merges without a test
gate; an unchanged branch completes as a no-op.
ticket_prefix: StringRepository-scoped prefixes for durable IDs stamped into committed files. These deliberately do not inherit user defaults.
project_prefix: String§delete_missing_after_ms: i64How long a ticket row stays stamped missing after its committed file disappears before reconciliation deletes it.
Implementations§
Source§impl Config
impl Config
Sourcepub fn validate_client_essentials(
repository: &Repository,
) -> Result<(), ConfigError>
pub fn validate_client_essentials( repository: &Repository, ) -> Result<(), ConfigError>
Validates only the repository configuration needed before contacting an existing daemon. Runtime policy and authored definitions are owned by the daemon snapshot and must not hold operational verbs hostage.
pub fn load(repository: &Repository) -> Result<Self, ConfigError>
Trait Implementations§
impl Eq for Config
impl StructuralPartialEq for Config
Auto 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.