mirror of
https://github.com/openai/codex.git
synced 2026-11-12 21:20:34 +00:00
feat: add forbidden_reason arg to prefix_rule() in *.rules
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
prefix_rule(
|
||||
pattern = ["git", "reset", "--hard"],
|
||||
decision = "forbidden",
|
||||
justification = "destructive operation",
|
||||
match = [
|
||||
["git", "reset", "--hard"],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user