Skip to main content

From LinkedIn · · 1 min

The incident had other plans

An engineer approves a deployment at 09:00. An incident freezes deployments at 09:12. At 09:18 the AI agent picks up the queued task, checks the approval, and deploys.

By Olha Shevchenko. Builds and reviews production AI systems on Node.js and AWS.

The AI agent had approval to deploy.

The incident had other plans.

Suppose this happens in a production release workflow.

09:00. An engineer approves a deployment.
09:12. An incident is declared. Deployments are frozen.
09:18. The AI agent picks up the queued task, checks the approval, and deploys.

Perfectly obedient. Terrible timing.

The approval is genuine. The AI agent didn't invent it, bypass a check, or ignore an instruction.

It found a valid approval record and did exactly what the workflow told it to do.

There's just one small problem.

Production was already under a deployment freeze.

The approval was given under conditions that no longer existed. But nothing in the execution path checked whether those conditions had changed.

The approval hadn't changed. The conditions behind it had.

An approval ID tells us who said yes and when. It doesn't tell us whether that yes still applies when the action finally runs.

That's the check I want at the execution boundary.

Is this approval still applicable to this action, in this environment, under the rules in force right now?

And can the system actually stop the deployment if the answer is no?

Because otherwise, the audit trail can be perfectly accurate.

The audit trail can prove the AI agent had permission.

It can't make that permission current.