pub struct CouncilRun {
pub id: String,
pub goal: String,
pub graph_json: Option<String>,
pub status: CouncilRunStatus,
pub hitl_mode: HitlMode,
pub conversation_id: Option<i64>,
pub created_at: String,
pub updated_at: String,
}Expand description
A persisted record of a single orchestrator run.
Created by execute() at the start of execution and updated on each state
transition. The graph_json field stores the latest serialised graph (with
node statuses and compacted outputs) so that interrupted/awaiting runs can
be resumed.
Fields§
§id: StringUnique identifier (UUID v4 string).
goal: StringThe high-level goal supplied by the user.
graph_json: Option<String>Latest serialised TaskGraph (JSON).
Updated on plan approval and after each node completes.
status: CouncilRunStatusCurrent lifecycle status.
hitl_mode: HitlModeHITL mode used for this run.
conversation_id: Option<i64>Optional conversation ID linking this run to a chat session.
created_at: StringISO-8601 creation timestamp.
updated_at: StringISO-8601 last-updated timestamp.
Implementations§
Trait Implementations§
Source§impl Clone for CouncilRun
impl Clone for CouncilRun
Source§fn clone(&self) -> CouncilRun
fn clone(&self) -> CouncilRun
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CouncilRun
impl Debug for CouncilRun
Source§impl<'de> Deserialize<'de> for CouncilRun
impl<'de> Deserialize<'de> for CouncilRun
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CouncilRun
impl RefUnwindSafe for CouncilRun
impl Send for CouncilRun
impl Sync for CouncilRun
impl Unpin for CouncilRun
impl UnwindSafe for CouncilRun
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