Add optional name field to rules #2
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#2
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
Add an optional
namefield to deny/ask/allow/deny_promote rules in config.toml. Currently rules are identified only by positional index (e.g.,deny[2]: tool=Bash), which breaks traceability when rules are reordered.User Stories Served
Proposed Format
nameis optional — unnamed rules fall back to positional indexrule_matchedfield:"deny[no-rm-rf]: tool=Bash"or"deny[2]: tool=Bash"if unnamedContext
See wiki: Data Capture Analysis — "Structural Issues §1: Rules need identity"