r/codereview • u/TrickySpot6312 • Nov 02 '26
How is your team keeping track of what AI coding agents are configured to do across repos?
Engineers on a lot of teams now commit agent config to their repos: instruction files, skills, MCP server configs. Some of these can run scripts or connect the agent to outside tools, but in review they just look like a small config change.
For those of you whose teams use coding agents heavily:
- Do you know which skills and MCP servers are in use across your repos?
- Does anyone review changes to them, or are they treated like any other file?
- Has this caused an actual problem, or come up in a security review?
- If you handle it somehow, what do you do? Scripts, CODEOWNERS, a policy doc, nothing?
I'm trying to find out whether this is a real problem or one I've imagined, cuz my team literally does not care about this, but it messes with me a lot in practice.
2
Upvotes
1
u/New-Knee-5614 26d ago
I think there are two connected problems here: tracking what agents are configured to do, and making sure the agent actually uses the current approved configuration when it runs.
I’ve been exploring the second through what I call a "governed action envelope". Before acting, the agent retrieves its approved operating rules, checks current state and permissions, and records which governing version it used.
For coding agents, that could mean resolving the approved instructions, skills, MCP servers, and tool permissions for that repo before starting work and checking again if something material changes.
That still needs ownership and review of configuration changes. Otherwise, refreshing could just load an unapproved change faster. Do you currently have a way to distinguish “committed to the repo” from “approved for the agent to use”?
-GIL_JM