pub struct PlanRevision {
pub revision_id: String,
pub session_id: String,
pub sequence: u32,
pub plan: TaskPlan,
pub reason: String,
pub supersedes: Option<String>,
pub status: PlanRevisionStatus,
pub created_at: i64,
}Expand description
A single plan revision within a session.
Tracks the evolution of the architect’s plan over time. When the verifier
or governance policy triggers a replan, a new PlanRevision is created,
the previous one is marked Superseded, and the new revision becomes
the active plan.
Fields§
§revision_id: StringUnique revision identifier.
session_id: StringSession this revision belongs to.
sequence: u32Monotonically-increasing sequence number within the session (1-based).
plan: TaskPlanThe plan content.
reason: StringWhy this revision was created ("initial", "verification_failure",
"scope_change", "governance_budget_exceeded", …).
supersedes: Option<String>If this revision supersedes an earlier one, its ID.
status: PlanRevisionStatusCurrent status of this revision.
created_at: i64Epoch seconds when this revision was created.
Implementations§
Source§impl PlanRevision
impl PlanRevision
Trait Implementations§
Source§impl Clone for PlanRevision
impl Clone for PlanRevision
Source§fn clone(&self) -> PlanRevision
fn clone(&self) -> PlanRevision
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 PlanRevision
impl Debug for PlanRevision
Source§impl<'de> Deserialize<'de> for PlanRevision
impl<'de> Deserialize<'de> for PlanRevision
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 PlanRevision
impl RefUnwindSafe for PlanRevision
impl Send for PlanRevision
impl Sync for PlanRevision
impl Unpin for PlanRevision
impl UnsafeUnpin for PlanRevision
impl UnwindSafe for PlanRevision
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