My agent reported a long re-embedding job as finished, with exit code 0. That exit code belonged to the date command that ran after the job. The job had died at 53%. Every tool call in that sequence was allowed.
AWS spent re:Invent 2026 building gates in front of what agents do. AWS Greenlight , in preview since December 1, drafts an agent's rules from your procedures and from its own traces, then enforces the approved ones outside the agent "with deterministic checks on every action before it runs." IAM's new agent identities give each agent its own identity, so every request traces back to the agent that made it. The re:Invent news brief adds Amazon Bedrock Gateway, a gated preview that sets a dollar spending limit per user, group or IAM role and stops requests before they reach a model.
Every piece of that stack is about what the agent does: the call it's about to make, the money it's about to spend, the permissions it acts with.…