pub struct ImprovementProposal {Show 16 fields
pub proposal_id: String,
pub tenant_id: String,
pub agent_id: String,
pub version: i64,
pub type: ImprovementProposalType,
pub title: Option<String>,
pub description: Option<String>,
pub rationale: Option<String>,
pub failed_run_ids: Option<Vec<String>>,
pub changes: Option<Map<String, Value>>,
pub baseline_success_rate: Option<f64>,
pub sandbox_success_rate: Option<f64>,
pub status: ImprovementProposalStatus,
pub vote_proposal_id: Option<String>,
pub created_at: String,
pub updated_at: Option<String>,
}Expand description
Self-improvement proposal — multi-stage state machine (proposed → arbiter_review → voting → sandbox_testing → approved → applied | rejected at any step).
Fields§
§proposal_id: String§tenant_id: String§agent_id: String§version: i64Was declared string here while the record has always carried a number.
type: ImprovementProposalType§title: Option<String>The proposal’s heading. Undeclared until now, so a client built from this document rendered the card without one.
description: Option<String>§rationale: Option<String>§failed_run_ids: Option<Vec<String>>The failed runs that prompted the proposal.
changes: Option<Map<String, Value>>The proposed changes. Declared as diff here and stored as changes, so a client reading
the documented name found nothing and showed “no diff” over a proposal that had one.
baseline_success_rate: Option<f64>§sandbox_success_rate: Option<f64>Present only after the sandbox stage has run.
status: ImprovementProposalStatus§vote_proposal_id: Option<String>Set once the proposal reaches a vote.
created_at: String§updated_at: Option<String>Trait Implementations§
Source§impl Clone for ImprovementProposal
impl Clone for ImprovementProposal
Source§fn clone(&self) -> ImprovementProposal
fn clone(&self) -> ImprovementProposal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImprovementProposal
impl Debug for ImprovementProposal
Source§impl Default for ImprovementProposal
impl Default for ImprovementProposal
Source§fn default() -> ImprovementProposal
fn default() -> ImprovementProposal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImprovementProposal
impl<'de> Deserialize<'de> for ImprovementProposal
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
Source§impl PartialEq for ImprovementProposal
impl PartialEq for ImprovementProposal
Source§impl Serialize for ImprovementProposal
impl Serialize for ImprovementProposal
impl StructuralPartialEq for ImprovementProposal
Auto Trait Implementations§
impl Freeze for ImprovementProposal
impl RefUnwindSafe for ImprovementProposal
impl Send for ImprovementProposal
impl Sync for ImprovementProposal
impl Unpin for ImprovementProposal
impl UnsafeUnpin for ImprovementProposal
impl UnwindSafe for ImprovementProposal
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