pub struct DecisionRecord {
pub id: Uuid,
pub author: String,
pub reasoning: String,
pub citations: Vec<String>,
pub timestamp: DateTime<Utc>,
}Expand description
A record representing a curated decision within the CHORUS system.
§What
This struct captures the essential metadata of a decision made by an autonomous agent, including who authored it, the reasoning behind it, any citations to external knowledge, and a timestamp.
§Why
Decision records are persisted in the graph database so that downstream components (e.g., provenance analysis) can reason about the provenance and justification of actions. Storing them as a dedicated table enables reproducibility and auditability across the CHORUS architecture.
Fields§
§id: UuidUnique identifier for the decision.
Identifier of the agent or human that authored the decision.
reasoning: StringFree‑form textual reasoning explaining the decision.
citations: Vec<String>Serialized UCXL addresses that serve as citations for the decision.
Each entry should be a valid UCXLAddress string.
timestamp: DateTime<Utc>The moment the decision was created.
Trait Implementations§
Source§impl Clone for DecisionRecord
impl Clone for DecisionRecord
Source§fn clone(&self) -> DecisionRecord
fn clone(&self) -> DecisionRecord
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more