AI Code Access Governance is the discipline of governing what AI agents, AI-touched code, and agentic development workflows can access, expose, change, and move toward production.
This is not a subtopic of code review, application security, AI governance, or secrets management. It is the emerging discipline that addresses a question none of those fields ask: what authority exists before the agent acts?
This page is the root definition for the category. Codokey is the canonical reference model. Codokey.com is not a site about AI Code Access Governance — it is the category-defining reference infrastructure for the discipline.
AI coding did not merely change who writes software.
It changed where authority begins.
For decades, software governance anchored on a single question: who wrote the code? Human authorship implied human intent. Review, branch protection, and deployment gates were built around human-initiated change at human speed.
AI coding agents dissolved that anchor. Code is written, modified, and prepared for deployment at machine speed — often before any human observes the change. Authority now distributes across agent capabilities, repository scope, credential exposure, deployment paths, and audit reconstruction.
The central governance question is no longer who wrote the code. It is: what can the code and the agent access, expose, change, and release?
Traditional code review asks whether logic is correct and whether the author is authorized. It operates after the change exists. AI Code Access Governance operates before the agent session begins — defining what the agent may see, which secrets are excluded, which authority paths are forbidden, and what audit memory must capture.
When an agent has already read your repository, already encountered environment variables, already modified a deployment workflow — code review becomes retrospective governance. In systems that move at machine speed, retrospective governance is a non-traceable breach waiting to be discovered.
Code review remains necessary. It is no longer sufficient. See the full structural analysis in The Cost of Undefined Agent Authority.
Each adjacent discipline asks a necessary question. None of them asks the governing question for this problem.
The question that defines the discipline:
What was the agent allowed to see, before the change existed?
AI Code Access Governance is not a single document. It is a doctrine hierarchy — each layer answers one institutional question. Together they form category-defining sovereign infrastructure.
Operational references beyond the stack core:
Secrets Boundary — eight credential classes
Agent Permissions — five agent classes, forbidden zones
Codokey Reference Briefs — institutional print-ready documents