roboticus-core 0.11.1

Shared types, config parsing, personality system, and error types for the Roboticus agent runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Composition domain types shared across crates.

/// Structured result of composing a subagent, including validation outcomes.
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct CompositionResult {
    pub agent_name: String,
    pub validated_skills: Vec<String>,
    pub missing_skills: Vec<String>,
    pub auto_created_skills: Vec<String>,
    pub warnings: Vec<String>,
}

impl CompositionResult {
    /// Returns true if all requested skills were validated (none missing).
    pub fn is_complete(&self) -> bool {
        self.missing_skills.is_empty()
    }
}