pub struct AgentSchema {
pub judgment_shape: &'static str,
pub echo_field: &'static str,
pub anchoring_rule: &'static str,
pub action_vocabulary: &'static [&'static str],
pub concern_vocabulary: &'static [&'static str],
}Expand description
The shape the agent must return, embedded in the guide so a thin skill needs no frozen copy. Documents the anchoring + staleness contract in the wire.
Fields§
§judgment_shape: &'static strHow the agent must structure each judgment: cite an emitted signal_id
or change_anchor, add free-text framing (non-deterministic, fenced),
an optional concern, and an optional action from the closed
vocabulary.
echo_field: &'static strThe agent MUST echo this graph_snapshot_hash back in its JSON; a
mismatch on reentry REFUSES the payload as stale.
anchoring_rule: &'static strThe anchoring rule name.
action_vocabulary: &'static [&'static str]The closed action vocabulary (JUDGMENT_ACTIONS): a judgment with
any other value is rejected on reentry.
concern_vocabulary: &'static [&'static str]The recommended concern vocabulary (JUDGMENT_CONCERNS), documented
for grouping; free text is still accepted.
Trait Implementations§
Source§impl Clone for AgentSchema
impl Clone for AgentSchema
Source§impl Debug for AgentSchema
impl Debug for AgentSchema
Auto Trait Implementations§
impl Freeze for AgentSchema
impl RefUnwindSafe for AgentSchema
impl Send for AgentSchema
impl Sync for AgentSchema
impl Unpin for AgentSchema
impl UnsafeUnpin for AgentSchema
impl UnwindSafe for AgentSchema
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