Notes
How do you prove what your AI agent is allowed to do — and what changed last month?
For change advisory boards (CAB), internal audit, and operations leads who must approve an AI agent's authority routes and prove compliance to stakeholders.
GembaOS is a zero-trust governance runtime for enterprise AI agents: policy-decided access, single-use clearance tokens bound to exact parameters, and accountable human approvals, running on-premises or in a private VPC.
This article addresses the inevitable question that arises after a pilot deployment, usually posed by an auditor or executive who was not in the original project room: “What is this AI agent actually authorized to do, who signed off on those boundaries, and what changed last month?”
The silent drift: Documentation and running code drift apart
Most enterprise AI initiatives attempt to answer governance inquiries with a slide deck or architecture diagram. At project kickoff, an engineer draws a flowchart in Visio or draw.io, a business sponsor signs off, and the image is archived in a change ticket. Over the subsequent nine months:
- A risk threshold is adjusted from $80 to $200;
- An additional approver is added during a peak quarter and never de-provisioned;
- An edge-case routing branch is quietly added in code.
The archived diagram remains untouched.
Nine months later, the diagram merely proves what the team intended in Month 1—not how the agent operates today.
This is not a documentation discipline failure. A diagram maintained alongside software is a second source of truth, and secondary sources of truth are guaranteed to become obsolete.
Code as truth: Generating diagrams from the running kernel
In GembaOS, an approval route is neither spaghetti code nor a static image. It is an explicit declaration within a version-controlled business policy (Playbook): which conditions trigger which approval tier, which named individuals must sign, what triggers an AI uncertainty escalation, and what fields must be re-verified before execution.
This declaration is the exact artifact the GembaOS runtime executes. Consequently, it can be compiled into visual diagrams deterministically.
Below is an approval route for a reference flight rebooking workflow, compiled directly from production configuration:
Before the decision: Received (The customer) → Records read (AI) → The rule picks the band (GembaOS)
| When | Signs | People |
|---|---|---|
| Fare difference given and Fare difference = 0 and risk score under 0.2 and nothing flagged | 0 | |
| Fare difference given and Fare difference ≤ 200 | AI review (Specialist role) → CS supervisor | 1 |
| everything else | AI review (Specialist role) → CS supervisor → Revenue manager | 2 |
If the AI says it cannot settle a point: Put on the form, and answered by the approver in charge before the band signs — the fare rule is unclear → Revenue manager · the routing may not be equivalent → Revenue manager.
After the signatures: Re-read before the change (GembaOS) → Executed under the clearance (GembaOS)
The same change, through the tool:
$ gemba playbook diff <previous> flight_rebooking
LOOSER rebook_route band 1: threshold 80 -> 200
STRICTER approvalRoutes.rebook_route: now forces a person: agent_recommends_otherwise
DATA capabilities.knowledge__search: granted to SPECIALIST (ALLOW)
DATA capabilities.knowledge__get: granted to SPECIALIST (ALLOW)
This compiled specification establishes three crucial architectural guarantees:
- Execution ownership is explicit: Every step specifies whether the actor is an LLM, a named human approver, or the GembaOS runtime kernel. The final two steps are critical: re-reading live state and executing the API call under the clearance token is handled exclusively by the kernel. The AI model proposes actions; it never holds live execution keys.
- Deterministic uncertainty handling: If an AI model cannot resolve a parameter, it must select an uncertainty code from a closed enum. The policy routes the item to the designated stakeholder. Crucially, declaring uncertainty forfeits the model’s auto-sign capability: an agent that admits uncertainty cannot turn around and approve its own payload.
- Exact semantic fidelity: The business view and audit view reflect the identical logical expressions. If a condition is too complex for natural-language rendering, the raw kernel expression is printed verbatim rather than loosely paraphrased.
What change advisory boards actually need: Directional risk diffing
A static diagram only answers what the system does right now. Change Advisory Boards (CAB) and auditors need to know what changed, and in which direction.
GembaOS enables direct diffing between any two versions of a playbook (such as the staging candidate against the Git production baseline), automatically categorizing the risk direction of every delta:
- LOOSER: Fewer humans required, or broader automated thresholds;
- TIGHTER: Longer approval chains or narrower automated boundaries;
- DATA: Adjustments to role-based data visibility and redaction scopes;
- UNPARSED: Complex refactorings requiring explicit human inspection.
This directional classification is derived mathematically from the policy logic, removing the cognitive error of humans manually parsing nested expressions to guess which version admits more unreviewed risk.
What the system cannot do (Accountability boundary)
The GembaOS toolchain faithfully parses and validates policies.
However, whether a policy change is appropriate for the business—whether $200 is the right threshold for a single supervisor sign-off, or whether revenue managers should handle routing exceptions—remains an exclusively human judgment.
GembaOS gives approvers the clarity to understand what they are signing with minimal cognitive friction, and gives auditors the exact cryptographic history of how policies evolved over time.
This embodies the core GembaOS philosophy: attach every action to an accountable human name; AI identifies issues and drafts patches, while humans evaluate risks and hold the ultimate authority.
Questions this note answers
Is the approval route diagram auto-generated or manually maintained?
Fully auto-generated. It compiles directly from the exact YAML playbooks that the GembaOS governance kernel executes at runtime. The visualization is refreshed on every build; any drift between configuration and documentation immediately halts CI/CD rather than publishing stale diagrams.
How does the diff engine determine whether a policy change is looser or stricter?
Through deterministic policy analysis. Approval bands evaluate sequentially; widening an earlier condition intercepts cases that previously required higher approval tiers. If the bypassed tier required more human sign-offs, the change is labelled LOOSER; if it tightens controls, it is labelled TIGHTER. Unparsed structural rewrites are flagged for manual review.
Can business executives understand the diagram without reading code?
Yes. The same underlying graph renders in two views: a technical view displaying exact identifiers and kernel expressions for architects and auditors, and a business view using clear administrative terminology for department leads. Both views stem from the single canonical source of truth.
Sources
As of September 2026 GembaOS holds no certification; the control mappings on this site are self-assessed, not audited. GembaOS is in its design partner stage. Read about the design partner program.
Last updated: · GembaOS v0.2