CI checks for coding-agent configuration files
Teams using Claude Code, Cursor, Copilot instructions, Aider, Codex, or Windsurf should treat agent rule files as reviewed repository artifacts. A small CI job can scan for known config paths, require an owner, reject plaintext secrets, require a declared permission tier, and record a hash of the approved prompt or rules file. The same job can flag copied configs across repositories so security and platform teams know when one stale instruction file has spread into many projects.
Rel(AI)Build gives a concrete pattern for this: SHA-256 content addressing, HMAC-stamped lockfiles, hash-chained audit logs, pre-tool permission checks, and compilation from one canonical Markdown+YAML definition into multiple IDE targets. Its public-repository study found 6,145 agent config files across 10,008 repositories, with 10.1% of tracked paths exact duplicates after fork adjustment and fewer than 1% declaring permission boundaries. The operational check is cheap: scan the company’s repositories for agent config files, count single-commit and duplicate files, then block configs that grant broad shell or write access without an owner and permission boundary.