Urgent.News

What's breaking now, across thousands of outlets.

Tech

Your Agent Deleted the Wrong Directory at 3 A.M. — and the Prompt Said 'Be Careful'

Your Agent Deleted the Wrong Directory at 3 A.M. — and the Prompt Said "Be Careful" Every team running AI agents unattended has a version of this story. The agent was told to clean up build artifacts. It did — plus a directory one level too high, with total confidence, at 3 a.m. Or it read .env into context while "just checking the config." Or a scheduled job ran twice because the first run…

In a recent incident, an AI agent inadvertently deleted a directory at 3 a.m., prompting the system to warn "Be careful." This scenario is common among teams managing unattended AI agents. The agent was instructed to clean up build artifacts and carried out the task, including deleting a directory one level above the project. The deletion was carried out with confidence, leading to potential data loss.

Similarly, a scheduled job might have run twice, causing two agents to write to the same state simultaneously. Another issue arises when a nightly job stops running without any error or alert, going unnoticed until three weeks later when missing data is detected. These problems are not related to model quality but rather to operational issues that require immediate attention.

These issues are not due to model limitations; they are operational problems that cannot be fixed by instructions alone. Instructions are requests that can be overridden by plausible instructions buried in files the agent is asked to process. The only effective way to prevent bad tool calls is a mechanism independent of the model's memory, such as inspecting commands before execution, preventing destructive operations like recursive deletes, and denying access to sensitive paths.

This approach, used in various industries, involves guardrails, permissions, and session budgets to prevent errors from escalating into incidents. Operations in AI agent management require five layers: written principles and prohibitions, guardrails or enforcement code, verification, always-on discipline, and runbooks and rollout gates.

These layers work together to prevent incidents caused by single mistakes like misread instructions, bad retries, or silent scheduler failures. A free sample pack is available, providing a starting point for implementing these safety measures in AI agent operations.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Created EBS volume for the first time

Created EBS volume for the first time I’ve been learning AWS, and today I created my first EBS volume. Until now I had only launched EC2 instances, so I wanted to understand how storage works when you…

  • Created first EBS volume, marking learning milestone in AWS journey
  • Configured 10 GB volume for EC2 instance mo in eu-north-1b Availability Zone
  • Learned to verify Availability Zone before attaching volume to prevent errors

Surviving Chaos: how ChaosEngineeringMasterDeck tests microservices resilience

What if one service gets slow now? The important question is not if failures will happen, but if the architecture can absorb them without turning a small problem into a general unavailability.

  • ChaosEngineeringMasterDeck is a practical guide for testing microservices resilience
  • Intentional controlled failures help understand system behavior in adverse situations

Beyond Code Storage: Transforming GitHub's Free Tier into an In-Process Cognitive OS for Autonomous Agents

Companion Podcast Full Lenght Article In 2026, the artificial intelligence industry remains intoxicated by a single architectural dogma: the belief that raw context window expansion is synonymous with…

  • GitHub's free tier transformed into in-process cognitive OS for autonomous agents
  • Context bloat leads to semantic drift, zombie-state resurgence, and compulsive re-architecture loops
  • LLM retrieval accuracy and reasoning fidelity drop significantly with large context windows

More from Friday 23 October →