pub struct AgentMission { /* private fields */ }Expand description
Structured unit of Atelier agent work.
Implementations§
Source§impl AgentMission
impl AgentMission
Sourcepub fn new(id: Symbol, leased_repo: impl Into<String>) -> Self
pub fn new(id: Symbol, leased_repo: impl Into<String>) -> Self
Builds a mission scoped to one leased repository.
Sourcepub fn with_capability(self, capability: GuardCapability) -> Self
pub fn with_capability(self, capability: GuardCapability) -> Self
Adds a granted guard capability.
Sourcepub fn with_scope_summary(self, summary: impl Into<String>) -> Self
pub fn with_scope_summary(self, summary: impl Into<String>) -> Self
Sets a concise scope summary while preserving the primary repository.
Sourcepub fn with_allowed_repo(self, repo: impl Into<String>) -> Self
pub fn with_allowed_repo(self, repo: impl Into<String>) -> Self
Adds an allowed repository to the mission scope.
Sourcepub fn with_denied_path(self, path: impl Into<String>) -> Self
pub fn with_denied_path(self, path: impl Into<String>) -> Self
Adds a denied path prefix such as .meta-workspace/.
Sourcepub fn with_code_free_repo(self, repo: impl Into<String>) -> Self
pub fn with_code_free_repo(self, repo: impl Into<String>) -> Self
Adds a repository that must stay Rust-code-free.
Sourcepub fn with_lease(self, lease: WorkspaceLease) -> Self
pub fn with_lease(self, lease: WorkspaceLease) -> Self
Adds a workspace lease.
Sourcepub fn with_validation(self, run: MissionRun) -> Self
pub fn with_validation(self, run: MissionRun) -> Self
Adds a required validation command.
Sourcepub fn with_docs_run(self, run: MissionRun) -> Self
pub fn with_docs_run(self, run: MissionRun) -> Self
Adds a required docs command.
Sourcepub fn with_decision_point(self, point: HumanDecisionPoint) -> Self
pub fn with_decision_point(self, point: HumanDecisionPoint) -> Self
Adds a human decision point.
Sourcepub fn with_recipe_pattern(self, recipe_pattern: Symbol) -> Self
pub fn with_recipe_pattern(self, recipe_pattern: Symbol) -> Self
Selects the 30-agent recipe pattern that frames this mission.
Sourcepub fn with_evidence_stream(self, evidence_stream: Symbol) -> Self
pub fn with_evidence_stream(self, evidence_stream: Symbol) -> Self
Sets the deterministic Dev Cassette stream id.
Sourcepub fn scope(&self) -> &MissionScope
pub fn scope(&self) -> &MissionScope
Returns the mission scope.
Sourcepub fn leased_repo(&self) -> &str
pub fn leased_repo(&self) -> &str
Returns the primary leased repository.
Sourcepub fn allowed_repos(&self) -> &[String]
pub fn allowed_repos(&self) -> &[String]
Returns the repository allow-list.
Sourcepub fn denied_paths(&self) -> &[String]
pub fn denied_paths(&self) -> &[String]
Returns the denied path prefixes.
Sourcepub fn code_free_repos(&self) -> &[String]
pub fn code_free_repos(&self) -> &[String]
Returns the repositories that must stay Rust-code-free.
Sourcepub fn capabilities(&self) -> &[GuardCapability]
pub fn capabilities(&self) -> &[GuardCapability]
Returns the granted guard capabilities.
Sourcepub fn leases(&self) -> &[WorkspaceLease]
pub fn leases(&self) -> &[WorkspaceLease]
Returns the workspace leases.
Sourcepub fn validations(&self) -> &[MissionRun]
pub fn validations(&self) -> &[MissionRun]
Returns the required validation commands.
Sourcepub fn docs_runs(&self) -> &[MissionRun]
pub fn docs_runs(&self) -> &[MissionRun]
Returns the required docs commands.
Sourcepub fn decision_points(&self) -> &[HumanDecisionPoint]
pub fn decision_points(&self) -> &[HumanDecisionPoint]
Returns the declared human decision points.
Sourcepub fn recipe_pattern(&self) -> &Symbol
pub fn recipe_pattern(&self) -> &Symbol
Returns the recipe pattern that frames this mission.
Sourcepub fn roles(&self) -> &[AtelierAgentRole]
pub fn roles(&self) -> &[AtelierAgentRole]
Returns the agent roles assigned to this mission.
Sourcepub fn evidence_stream(&self) -> &Symbol
pub fn evidence_stream(&self) -> &Symbol
Returns the deterministic Dev Cassette evidence stream id.
Sourcepub fn descriptor(&self) -> AgentPattern
pub fn descriptor(&self) -> AgentPattern
Builds the SUP.56 agent-pattern descriptor for this mission.
Trait Implementations§
Source§impl Clone for AgentMission
impl Clone for AgentMission
Source§fn clone(&self) -> AgentMission
fn clone(&self) -> AgentMission
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AgentMission
impl Debug for AgentMission
impl Eq for AgentMission
Source§impl PartialEq for AgentMission
impl PartialEq for AgentMission
Source§fn eq(&self, other: &AgentMission) -> bool
fn eq(&self, other: &AgentMission) -> bool
self and other values to be equal, and is used by ==.