[STUDY] Permission wildcard rules — Bash(git:*) auto-approve #169
Reference in New Issue
Block a user
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?
src/utils/permissions/permissions.ts and permissionRuleParser.ts. Rules like Bash(git:*) match tool + input patterns. Sources: user/project/policy with precedence. preparePermissionMatcher() compiles patterns per tool.
Hermes target: tools/approval.py
Estimate: medium
Maps to epic #154, pattern #4.