-
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.3CLI EnhancementsCLI Enhancements
Description
Task: Enhance cch explain rule command
Phase: 2.3 - CLI Enhancements
Estimated: 0.5 day
File: cch_cli/src/cli/explain.rs
Depends on: P2.1-T03
Description
Display governance fields in cch explain rule output.
Acceptance Criteria
- Display mode (with default indicator)
- Display priority (with default indicator)
- Display full metadata block
- Format output for readability
- Add
--jsonflag for structured output
Output Format
Rule: <name>
Event: <event_type>
Mode: <mode> (default: enforce)
Priority: <priority> (default: 0)
Matchers:
tools: [...]
extensions: [...]
Action:
<action_type>: <action_config>
Metadata:
author: <author>
created_by: <created_by>
reason: <reason>
confidence: <confidence>
last_reviewed: <date>
ticket: <ticket>
tags: [...]
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfeature:phase2-governancePhase 2 Governance featuresPhase 2 Governance featuresphase:P2.3CLI EnhancementsCLI Enhancements