pub struct GrokPack;Expand description
The grok harness pack (a zero-sized &'static singleton).
Trait Implementations§
impl Copy for GrokPack
Source§impl Pack for GrokPack
impl Pack for GrokPack
Source§fn register(&self, host: &Arc<Host>, registry: &mut Registry)
fn register(&self, host: &Arc<Host>, registry: &mut Registry)
Register this pack’s tools into
registry, each under its harness’s real wire
name (Tool has no name of its own — the name is assigned here). Tools are
constructed here holding an Arc<Host> (the only OS seam; ToolCtx is too small
to carry it). A duplicate name is a wiring bug and panics inside
Registry::register.Source§fn preamble(&self, ctx: &PackContext) -> Vec<Message>
fn preamble(&self, ctx: &PackContext) -> Vec<Message>
The pack’s base preamble: the ordered, role-tagged
System/Developer
messages that seed the conversation (ADR-0013). Each pack maps its harness onto
our roles faithfully — a single System message, or System + Developer, etc.
The wire (Task 12) places each role in the right slot. Task 8 ships a scaffold;
the real content lands in Task 13.Auto Trait Implementations§
impl Freeze for GrokPack
impl RefUnwindSafe for GrokPack
impl Send for GrokPack
impl Sync for GrokPack
impl Unpin for GrokPack
impl UnsafeUnpin for GrokPack
impl UnwindSafe for GrokPack
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