← Latest papers
💻 computer science

Drift-Aware Governance-as-Code for Agentic Cloud Operations: Formalizing State Certifiability and Testing Dynamic Authority Control in an AWS Testbed

This paper introduces and validates Drift-Aware Governance-as-Code (DAGA), a runtime authority-control model that significantly reduces policy violations in agentic cloud operations by dynamically certifying infrastructure state and enforcing lockout thresholds when observed divergence exceeds defined confidence limits, without unduly hindering necessary recovery actions.

Original authors: Albert Adusei Brobbey, Jin Lang, Brandon Taylor, Nasr Omar

Published 2026-10-08
📖 6 min read🧠 Deep dive

Original authors: Albert Adusei Brobbey, Jin Lang, Brandon Taylor, Nasr Omar

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the modern digital world, companies rely on vast networks of computer servers and software tools to run their businesses. To keep these systems running smoothly, organizations use automated programs, often powered by artificial intelligence, to make decisions and fix problems without human help. These programs can scale up services, change security settings, or restart broken components in a fraction of a second. However, these automated agents operate based on a map of the system they are supposed to manage. This map is a list of rules and configurations that describe how the system should look. The problem arises when the actual system changes in ways the map does not know about. This gap between what the system is supposed to be and what it actually is at any given moment is called "drift." If an automated agent tries to fix a problem using an outdated map, it might make a change that is safe according to the map but dangerous in reality. The core challenge for engineers is figuring out when the map is so unreliable that the agent should stop making changes and wait for a human to verify the situation.

A team of researchers set out to solve this specific problem by creating a new way to govern these automated agents. They developed a system that constantly checks how far the real system has drifted from its intended design. Instead of just looking at whether a rule was followed, their system measures the quality of the information the agent is using. They call this concept "state certifiability," which simply means asking: do we have enough trustworthy evidence to say that the agent's understanding of the system is accurate enough to let it act? If the evidence is weak because the system has changed too much or the data is too old, the system automatically reduces the agent's power. It does not shut the agent down completely; instead, it locks the agent out of making big, risky changes while still allowing it to perform a small, safe set of actions designed to fix the problem and restore order.

To test this idea, the researchers built a controlled environment using Amazon Web Services, a popular cloud computing platform. They created a testbed where they could simulate different levels of drift, ranging from no changes at all to severe, chaotic mismatches between the plan and reality. They ran thousands of experiments where automated agents tried to perform tasks like rotating security passwords, scaling up computer workloads, or isolating compromised resources. They compared three different approaches: letting the agents act without any restrictions, using a standard set of fixed rules that did not change based on the system's condition, and using their new "drift-aware" system that adjusted the agent's authority in real time. The results were striking. When the system was in a state of severe drift, the unrestricted agents broke the rules 92.3% of the time. The agents with fixed rules broke them 55.2% of the time. But the agents governed by the new drift-aware system broke the rules only 25% of the time. This showed that by making the agent's power dependent on how well it understood the current state of the system, the researchers could drastically reduce the risk of dangerous mistakes.

The study also explored what happens when the system decides to lock an agent out. A common fear is that locking out an agent might prevent it from fixing a critical problem, leaving the system broken. The researchers tested a specific design where, even when locked out, the agent was allowed to perform a limited set of "recovery-only" actions, such as isolating a compromised server or rolling back a bad change. They found that this approach was a smart middle ground. A strict lockout that stopped all actions reduced the risk of unsafe moves by over 80%, but it also prevented the agent from fixing the problem in most cases. However, the recovery-only approach reduced the risk of unsafe moves by about 55% while still allowing the agent to successfully fix the problem in nearly 84% of the cases. This demonstrated that it is possible to keep a system safe without paralyzing it, provided the agent is only allowed to take specific, pre-approved steps to restore order.

One of the most important findings of the research was about the nature of the "lockout" point. The team had set a specific threshold where they would stop the agent's normal operations, hoping this number would represent a natural breaking point where the system became too dangerous to manage. However, their data showed that the risk of mistakes did not suddenly jump at that specific number. Instead, the risk increased gradually as the system drifted further away from its plan. This means that the decision to lock out an agent is not a discovery of a natural law, but rather a deliberate choice made by the organization. It is a policy decision to say, "We are willing to accept some risk, but once the uncertainty goes beyond this point, we will no longer trust the agent's map." The researchers concluded that there is no single magic number that works for every situation; instead, organizations must carefully choose their own limits based on their specific needs and risk tolerance.

The study also confirmed that the new system works even when the data it relies on is imperfect. They tested how the system performed when the measurements of the drift were slightly off or when the data was a bit stale. The system remained robust, correctly identifying dangerous situations and restricting the agent's power in almost all cases. Furthermore, they ran a separate validation using real, live commands on the cloud platform to ensure the system worked outside of a simulation. In these real-world tests, the new system reduced unauthorized actions from nearly 9% down to just over 1%, proving that the concept works not just in theory, but in practice. The research suggests that the future of safe, automated cloud operations lies in treating the agent's authority as a flexible variable. By constantly asking whether the agent's knowledge is trustworthy enough to justify a specific action, organizations can let their automated systems work faster and more freely while keeping a tight grip on safety.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →