mirror of
https://github.com/openai/codex.git
synced 2026-11-13 21:30:47 +00:00
14 lines
271 B
Plaintext
14 lines
271 B
Plaintext
# Execpolicy v2 smoke-test policy
|
|
prefix_rule(
|
|
pattern = ["echo", ["a", "b"]],
|
|
decision = "allow",
|
|
match = ["echo c"],
|
|
not_match = ["echo-policy-allowed"],
|
|
)
|
|
|
|
prefix_rule(
|
|
pattern = ["echo", "c"],
|
|
decision = "forbidden",
|
|
match = ["echo c"],
|
|
)
|