Structs§
Constants§
- DISPLAY_
NAME - HOOK_
COMPATIBILITY - HOOK_
SETTINGS_ RELPATH - ID
- RULES_
RELPATH - The rules file Tuff owns for compiled policy command rules. Codex loads
every
.rulesfile under<repo>/.codex/rules/in a trusted project. - SUPPORTED_
AGENTS - SUPPORTED_
TYPES
Functions§
- permission_
rules - The Codex rules file entry one policy rule compiles to, or
Nonefor a kind of rule Codex rules cannot express. - policy_
matrix - How Codex enforces each kind of policy rule, from its rules documentation
and checked against Codex CLI 0.154.0 on 2026-09-15. Command rules
compile to
prefix_ruleentries; Codex rules match commands only.