The 2 a.m. problem
It's 2 a.m., and an agent just approved a $40,000 reimbursement that should have gone to a person for review.
Nobody wrote bad code. The agent did what its prompt said. The orchestration ran every step on schedule. The demo went well three weeks ago.
What was missing was the architecture between "the agent decided" and "the agent acted": a policy check before the action, a record of why, and a contract saying what this agent may and may not do.
Contracts
Every Router, Orchestrator, Squad and Agent extends a framework base class. The class diagram is the compliance report.
Checks first
Governance runs at every agent boundary, before the action. Operators can lock config keys that no application can override.
A record of why
Every routing decision is stored. "The model decided" is not an answer that survives an audit.
No drift
k9aif inspect checks that the code still matches the design, every time you run it.
K9X