Skip to content

feat(agent_config): add AGCFG-008 for Codex project hooks - #191

Merged
sairenchristianbuerano merged 1 commit into
mainfrom
feat/codex-hook-rule
Oct 20, 2026
Merged

sairenchristianbuerano merged 1 commit into
mainfrom
feat/codex-hook-rule

Conversation

@sairenchristianbuerano

Copy link
Copy Markdown
Collaborator

A committed .codex/hooks.json hook that runs a repo script, a network or inline-execution primitive, or a credential path, once the user has reviewed and trusted it. Medium severity, separate from AGCFG-005 because Codex skips an untrusted project hook. Mirrors the engine fixture byte for byte and bumps the pack schema to 24. Merge only after the analyzer change that adds the repo_codex_hook_runs_repo_command predicate: an older engine skips the rule.

A committed .codex/hooks.json hook that runs a repo script, a network or inline-execution primitive, or a credential path, once the user has reviewed and trusted it. Medium severity, separate from AGCFG-005 because Codex skips an untrusted project hook. Mirrors the engine fixture byte for byte and bumps the pack schema to 24. Merge only after the analyzer change that adds the repo_codex_hook_runs_repo_command predicate: an older engine skips the rule.
@sairenchristianbuerano
sairenchristianbuerano merged commit 75adab2 into main Oct 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants