mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
removing rg and sed from default codexpolicy
This commit is contained in:
@@ -77,23 +77,6 @@ prefix_rule(
|
||||
],
|
||||
)
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["rg"],
|
||||
match = [
|
||||
["rg", "-n", "init"],
|
||||
["rg", "--files", "--max-depth", "2", "."],
|
||||
],
|
||||
)
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["sed"],
|
||||
decision = "prompt",
|
||||
match = [
|
||||
["sed", "-n", "s/a/b/", "file.txt"],
|
||||
["sed", "s/foo/bar/g", "file.txt"],
|
||||
],
|
||||
)
|
||||
|
||||
prefix_rule(
|
||||
pattern = ["which"],
|
||||
match = [
|
||||
|
||||
Reference in New Issue
Block a user