struct TreeMeta {
description: String,
control_only: bool,
call_signatures: HashSet<String>,
steps: Vec<TreeStep>,
}Expand description
Metadata for one in-flight RTDL tree in the forest. Trees are keyed by
pilot-assigned plan_id; this carries what the supervisor and the LLM need
to reason about a running tree (and, later, what the chat UI renders).
Fields§
§description: StringLLM-supplied rtdl_description (sub-task label).
control_only: boolTrue when this tree is purely control ops (only cancel_plan /
cancel_all_plans). Such trees are NOT advertised to the LLM as
cancellable in-flight work — a cancel is not itself a task tree, and
listing it makes the model cancel its own cancels in a loop.
call_signatures: HashSet<String>Canonical provider/contract/args signatures for calls in this tree. The harness rejects a second tree containing an identical call while the first is still in flight; execution latency must not duplicate a physical or external command.
steps: Vec<TreeStep>Ordered executable leaves from the original RTDL graph. Keeping these visible lets the model target any semantic boundary in one control call instead of querying live state first or guessing what “current” means.
Auto Trait Implementations§
impl Freeze for TreeMeta
impl RefUnwindSafe for TreeMeta
impl Send for TreeMeta
impl Sync for TreeMeta
impl Unpin for TreeMeta
impl UnsafeUnpin for TreeMeta
impl UnwindSafe for TreeMeta
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].