bctx-conductor 0.1.7

bctx-conductor — Spiral Cycle agent runtime, SignalGraph, PassageRun
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use chrono::Utc;

#[derive(Debug, Clone)]
pub struct AuditEntry {
    pub skill_id: String,
    pub decision: String,
    pub timestamp: String,
}

impl AuditEntry {
    pub fn new(skill_id: &str, decision: &str) -> Self {
        Self {
            skill_id: skill_id.to_string(),
            decision: decision.to_string(),
            timestamp: Utc::now().to_rfc3339(),
        }
    }
}