pub struct TeamConfig {Show 16 fields
pub name: String,
pub agent: Option<String>,
pub workflow_mode: WorkflowMode,
pub board: BoardConfig,
pub standup: StandupConfig,
pub automation: AutomationConfig,
pub automation_sender: Option<String>,
pub external_senders: Vec<String>,
pub orchestrator_pane: bool,
pub orchestrator_position: OrchestratorPosition,
pub layout: Option<LayoutConfig>,
pub workflow_policy: WorkflowPolicy,
pub cost: CostConfig,
pub event_log_max_bytes: u64,
pub retro_min_duration_secs: u64,
pub roles: Vec<RoleDef>,
}Fields§
§name: String§agent: Option<String>Team-level default agent backend. Individual roles can override this
with their own agent field. Resolution order:
role-level agent > team-level agent > “claude” (hardcoded default).
workflow_mode: WorkflowMode§board: BoardConfig§standup: StandupConfig§automation: AutomationConfig§automation_sender: Option<String>§external_senders: Vec<String>External senders (e.g. email-router, slack-bridge) that are allowed to message any role even though they are not team members.
orchestrator_pane: bool§orchestrator_position: OrchestratorPosition§layout: Option<LayoutConfig>§workflow_policy: WorkflowPolicy§cost: CostConfig§event_log_max_bytes: u64§retro_min_duration_secs: u64§roles: Vec<RoleDef>Implementations§
Source§impl TeamConfig
impl TeamConfig
pub fn orchestrator_enabled(&self) -> bool
Sourcepub fn resolve_agent(&self, role: &RoleDef) -> Option<String>
pub fn resolve_agent(&self, role: &RoleDef) -> Option<String>
Resolve the effective agent for a role.
Resolution order: role-level agent > team-level agent > “claude”.
Sourcepub fn can_talk(&self, from_role: &str, to_role: &str) -> bool
pub fn can_talk(&self, from_role: &str, to_role: &str) -> bool
Check if a role is allowed to send messages to another role.
Uses talks_to if configured. If talks_to is empty for a role,
falls back to the default hierarchy:
- User ↔ Architect
- Architect ↔ Manager
- Manager ↔ Engineer
The from and to are role definition names (not member instance names).
“human” is always allowed to talk to any role.
Sourcepub fn validate_verbose(&self) -> Vec<ValidationCheck>
pub fn validate_verbose(&self) -> Vec<ValidationCheck>
Run all validation checks, collecting results for each check. Returns a list of (check_name, passed, detail) tuples.
Trait Implementations§
Source§impl Clone for TeamConfig
impl Clone for TeamConfig
Source§fn clone(&self) -> TeamConfig
fn clone(&self) -> TeamConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more