pub struct Config {Show 16 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 epics: HashMap<String, EpicConfig>,
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>§epics: HashMap<String, EpicConfig>§context: ContextConfig§load_warnings: Vec<String>Warnings generated during load (e.g. conflicting split/monolithic files).
Implementations§
Source§impl Config
impl Config
pub fn epic_max_workers(&self, epic_id: &str) -> Option<usize>
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 their max_workers limit
given the currently active worker epic assignments.
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