pub struct Stalk {
pub snapshot_id: u64,
pub capability_lease_id: u64,
pub topic_prefix: String,
pub agent_did: String,
}Expand description
A stalk — an isolated agent context (T47).
The stalk is a pointer to an isolated PoetSnapshot, not a copied
transcript. It carries:
- A snapshot ID (opaque handle to the host’s snapshot store).
- A capability lease ID (what capabilities this stalk is allowed).
- A pulse topic prefix (what events this stalk subscribes to).
The stalk is the agent’s “local patch” — the region of the graph it can see and act on. Outside the stalk, the agent is blind.
Fields§
§snapshot_id: u64Opaque handle to the host’s snapshot store.
capability_lease_id: u64Capability lease ID — what capabilities this stalk is allowed.
topic_prefix: StringPulse topic prefix — what events this stalk subscribes to.
agent_did: StringThe agent DID that owns this stalk.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stalk
impl RefUnwindSafe for Stalk
impl Send for Stalk
impl Sync for Stalk
impl Unpin for Stalk
impl UnsafeUnpin for Stalk
impl UnwindSafe for Stalk
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