pub struct Lighthouse { /* private fields */ }Expand description
The Lighthouse — Forgemaster’s relay, orientation, and gate
Implementations§
Source§impl Lighthouse
impl Lighthouse
pub fn new() -> Self
Sourcepub fn orient(&mut self, task: &str, task_type: TaskType) -> AgentRoom
pub fn orient(&mut self, task: &str, task_type: TaskType) -> AgentRoom
ORIENT: Classify a task and choose the right model.
The lighthouse’s first job: what needs doing, who should do it.
Sourcepub fn relay(
&mut self,
room_id: &str,
seed_iterations: usize,
) -> Option<&AgentRoom>
pub fn relay( &mut self, room_id: &str, seed_iterations: usize, ) -> Option<&AgentRoom>
RELAY: Configure agent with API access and conditioning.
The lighthouse relays keys without exposing them. The lighthouse provides tiles as conditioning context.
Sourcepub fn gate(&mut self, room_id: &str, output: &str) -> GateResult
pub fn gate(&mut self, room_id: &str, output: &str) -> GateResult
GATE: Safety and alignment check on agent output.
The lighthouse checks:
- No credential leaks
- No external actions without approval
- No overclaims
- Constraint satisfaction verified
Sourcepub fn active_agents(&self) -> Vec<&AgentRoom>
pub fn active_agents(&self) -> Vec<&AgentRoom>
List active agents
Sourcepub fn resource_summary(&self) -> String
pub fn resource_summary(&self) -> String
Resource summary for fleet reporting
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Lighthouse
impl RefUnwindSafe for Lighthouse
impl Send for Lighthouse
impl Sync for Lighthouse
impl Unpin for Lighthouse
impl UnsafeUnpin for Lighthouse
impl UnwindSafe for Lighthouse
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