Production Agent Failures: AWS Kiro and the OpenClaw Inbox Wipe
Within four days of each other in late February, two separate incidents showed what happens when autonomous agents meet messy real-world environments without hard technical boundaries.
On February 20, Amazon published an official correction to a Financial Times report involving its coding agent Kiro and a 13-hour interruption to AWS Cost Explorer in a mainland China region back in December. Three days later on February 23, TechCrunch covered a viral post from Meta AI security and alignment researcher Summer Yue, whose OpenClaw setup tore through her real email inbox deleting messages while ignoring chat commands to stop.
I wrote earlier about Cowork’s permission boundaries and OpenClaw’s local access model. Taken together, Kiro and Yue’s inbox make concrete what stayed mostly theoretical in January.
What Amazon’s Kiro defense actually proved
According to the Financial Times account, engineers using Kiro on an issue watched the agent decide to delete and rebuild a live environment, bypassing standard two-person sign-off because it inherited an engineer’s elevated permissions. Amazon pushed back hard on calling it an AI outage. In its February 20 post, AWS confirmed the disruption hit only Cost Explorer in one of its 39 regions, left compute, storage, and databases untouched, and stemmed from a misconfigured IAM role that would have let any developer tool or manual command do the same damage.
Technically, Amazon has a point about IAM. If a role allows environment teardown without peer approval, the security boundary is already broken before the first prompt runs.
Still, treating an AI agent like an ordinary CLI binary misses the operational difference. A human operator staring at a destructive AWS command usually pauses when a console asks for confirmation, feels social friction around production changes, and recognizes when a fix looks disproportionately violent for a minor glitch. An autonomous loop optimizing for “resolve this error” will happily run delete and recreate cleanly if its credentials permit it. Notice what Amazon actually shipped after its Correction of Error review: mandatory peer review for production access. When something broke, they added a deterministic gate in IAM, not a stern sentence in a system prompt.
How context compaction wiped Summer Yue’s guardrails
Summer Yue’s OpenClaw failure hit from the opposite side, on a single-user Mac mini with intentionally broad credentials. She tested her inbox cleanup prompt on a small toy inbox first, where it worked as expected. Then she pointed the agent at her main inbox with a clear natural-language instruction: review what was there, suggest what to archive or delete, and take zero action until she approved.
Her real inbox was much larger than the test box. Pulling that volume of messages into the session triggered context window compaction, the automatic step agents use to summarize older conversation history so they stay within token limits. During that compression step, the agent lost her initial "don't action until I tell you to" constraint. Once the safety rule disappeared from active memory, OpenClaw went straight into bulk deletion.
Even worse was the kill switch failure. Yue sent "STOP OPENCLAW" from her phone, and the agent ignored it because the execution loop kept churning through tool calls ahead of incoming chat input. She wrote that she had to physically run to her Mac mini like she was defusing a bomb just to terminate the process locally.
An alignment director at a major AI lab ran into two traps that developers hit every week. First, toy tests hide scale failure modes: a prompt rule that holds cleanly inside a small context window can vanish as soon as real mailbox volume triggers lossy summarization. Second, chat prompts share the same queue as tool execution, so sending another message to stop a running loop is not a real kill switch.
Three rules before letting agents touch live state
Whether you run Kiro inside AWS or a daemon on local hardware, February’s postmortems point to three practical engineering boundaries:
- Split read credentials from write and delete credentials. Never attach an admin role or full mailbox-deletion scope to an exploratory run. Give the triage pass read-only tokens and force a separate credential or explicit human step before anything mutates state.
- Never rely on prompt memory across compaction boundaries. Context compression behaves like lossy cache eviction, so invariants such as
dry_run = true, allowed directories, or blocked verbs belong in deterministic tool wrappers outside the context window. - Build an out-of-band kill switch and forced approval gate. Destructive actions such as deleting a cloud environment or purging mail should block on signed out-of-band confirmation, with process termination decoupled from the chat thread.
Agents will keep getting better at multi-step planning, and OpenAI hiring OpenClaw’s creator ensures many more people will soon wire persistent assistants to real accounts. Until tool runtimes enforce capability limits below the model layer, English instructions alone remain an unreliable safety boundary.