Log deny_promote blocks as audit entries #6
Labels
No labels
enhancement
observability
research
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jbr870/claude-permit#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
When a
deny_promoterule prevents auto-promotion of an LLM-suggested rule, this is currently silent — no audit log entry, no user notification. The user has no way to know that a rule suggestion was suppressed.User Stories Served
Current Behavior
In
auto_promote.rs, when a deny_promote rule matches:Proposed Change
Log a new audit entry when deny_promote fires:
This is a low-effort change (one additional audit log call) with good transparency payoff.