AID-H-031.002
High
Static Admission Gates for AI-Generated Artifacts
Changes written by a coding agent should pass a static check, one that inspects the change without running it, before they reach any branch of the public repository. The check includes a secret scanner's signed result for that exact change and blocks when the result is missing or reports a secret. Together AI's scanner did recognize this credential, but only after the commit was public. On a public repository the check must therefore come before publication: the agent works in a private staging repository and only commits that passed are pushed out. A check at merge time stops the merge, not the exposure.