pub struct Config {Show 15 fields
pub project: ProjectConfig,
pub ticket: TicketConfig,
pub tickets: TicketsConfig,
pub workflow: WorkflowConfig,
pub agents: AgentsConfig,
pub worktrees: WorktreesConfig,
pub sync: SyncConfig,
pub logging: LoggingConfig,
pub workers: WorkersConfig,
pub work: WorkConfig,
pub server: ServerConfig,
pub git_host: GitHostConfig,
pub worker_profiles: HashMap<String, WorkerProfileConfig>,
pub context: ContextConfig,
pub load_warnings: Vec<String>,
}Fields§
§project: ProjectConfig§ticket: TicketConfig§tickets: TicketsConfig§workflow: WorkflowConfig§agents: AgentsConfig§worktrees: WorktreesConfig§sync: SyncConfig§logging: LoggingConfig§workers: WorkersConfig§work: WorkConfig§server: ServerConfig§git_host: GitHostConfig§worker_profiles: HashMap<String, WorkerProfileConfig>§context: ContextConfig§load_warnings: Vec<String>Warnings generated during load (e.g. conflicting split/monolithic files).
Implementations§
Source§impl Config
impl Config
Sourcepub fn blocked_epics(&self, active_epic_ids: &[Option<String>]) -> Vec<String>
pub fn blocked_epics(&self, active_epic_ids: &[Option<String>]) -> Vec<String>
Returns epic IDs that have reached the global max_workers_per_epic limit
given the currently active worker epic assignments.
Sourcepub fn is_default_branch_blocked(
&self,
active_epic_ids: &[Option<String>],
) -> bool
pub fn is_default_branch_blocked( &self, active_epic_ids: &[Option<String>], ) -> bool
Returns true when the default-branch worker slot is full.
A value of 0 for max_workers_on_default means no additional cap.
Sourcepub fn actionable_states_for(&self, actor: &str) -> Vec<String>
pub fn actionable_states_for(&self, actor: &str) -> Vec<String>
States where actor can actively pick up / act on tickets.
Matches “any” as a wildcard in addition to the literal actor name.
pub fn terminal_state_ids(&self) -> HashSet<String>
pub fn find_section(&self, name: &str) -> Option<&TicketSection>
pub fn has_section(&self, name: &str) -> bool
pub fn load(repo_root: &Path) -> Result<Self>
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
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
Mutably borrows from an owned value. Read more