fix(settings): deny rtk read with a flag before a root .env

rtk read -n .env matched no deny and rtk passed it through. Bench R3-R7 prove the two new rules and that the */ twins already cover flagged forms. Bench hardened: checked mktemp, mandatory dir.
This commit is contained in:
bchanot committed 2026-11-06 16:43:45 +01:00
1 parent dc5f127ea5
commit 97c6afcbc8
7 files changed
+23 -4

No files matched your search

+2
View File
@@ -345,6 +345,8 @@
"Bash(tail * */.env*)",
"Bash(cat * .env*)",
"Bash(cat * */.env*)",
"Bash(rtk read * .env*)",
"Bash(*/rtk read * .env*)",
"Bash(rtk read */*.key*)",
"Bash(*/rtk read */*.key*)",
"Bash(rtk read */*.pem*)",