-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or requestfeature:phase2-governancePhase 2 Governance featuresPhase 2 Governance featuresphase:P2.2Enhanced LoggingEnhanced Logging
Description
Task: Add Decision enum
Phase: 2.2 - Enhanced Logging
Estimated: 0.25 day
File: cch_cli/src/models/mod.rs
Description
Create the Decision enum to represent rule evaluation outcomes in logs.
Acceptance Criteria
- Create
Decisionenum inmodels/mod.rs - Values:
Allowed,Blocked,Warned,Audited - Implement
Serializefor JSON output - Add to log entries
Code Reference
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize)]
#[serde(rename_all = "lowercase")]
pub enum Decision {
Allowed,
Blocked,
Warned,
Audited,
}Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfeature:phase2-governancePhase 2 Governance featuresPhase 2 Governance featuresphase:P2.2Enhanced LoggingEnhanced Logging