{
  "id": 14708242,
  "title": "I Built an Eval Harness to Catch AI Agents Ignoring Red Flags",
  "url": "https://urgent.news/2026/10/15/i-built-an-eval-harness-to-catch-ai-agents-ignoring-red-flags",
  "topic": "ai",
  "section": "AI",
  "published": "2026-10-15T13:52:10.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/renato_silva_71eef0fc385f/i-built-an-eval-harness-to-catch-ai-agents-ignoring-red-flags-3m37"
  },
  "original_language": "en",
  "account": "A reporter delves into the creation of a testing framework designed to identify instances when AI agents disregard warning signs, even during seemingly routine tasks. This system is built to evaluate how well AI agents notice critical warnings and determine whether they alter their behavior accordingly. The reporter explains that many existing evaluations primarily focus on whether an AI agent successfully completes a task, without assessing its ability to recognize and respond to red flags.\n\nThe reporter outlines the methodology for constructing test cases that embed contextual warnings within tool outputs, retrieved documents, or system context. Each test case includes a known ground truth, specifying the presence of a warning and the expected response (such as stopping, asking for confirmation, escalating the issue, or acknowledging the warning and proceeding with justification). These test cases are stored in YAML format, making them accessible to non-engineers for creation.\n\nThe reporter then details the scoring system, distinguishing between two key dimensions: noticing the warning and acting safely. An agent can acknowledge a warning while still proceeding with the task, which constitutes a compliance failure rather than an attention issue. The reporter emphasizes the importance of separating these two aspects to accurately diagnose and address the underlying problems.\n\nThe reporter also discusses the limitations of relying solely on AI models to judge the transcripts, highlighting issues like position bias, charitable interpretation, and non-determinism. To mitigate these problems, the reporter proposes a hybrid approach that combines deterministic keyword/structure matching with LLM-as-judge as a secondary verification tool. This secondary layer requires the model to provide a quote from the transcript that supports its verdict, thereby increasing the reliability of the scoring process.\n\nThe reporter concludes by explaining the metrics currently reported by the harness, which include notice rate, safe-action rate, noticed-but-ignored rate, and blind-violation rate for different model categories. The key insight from the data is that the notice rate and safe-action rate often diverge significantly, indicating that agents may appear safe in task completion metrics but fail to notice and respond to warnings as expected. This discrepancy underscores the need for more comprehensive evaluation methods to ensure AI agents can handle complex, real-world scenarios involving potential risks.",
  "summary": "🚩 The Problem Every agent demo looks great until you slip something dangerous into the middle of a tool call. I kept seeing agents cheerfully execute a DROP TABLE -adjacent action after a document literally said \"do not do this without human approval,\" and nobody seemed to be measuring that failure mode directly. Most agent evals score task completion: did it book the flight, did it close the…",
  "key_points": [
    "Reporter develops AI evaluation framework to detect agents ignoring red flags.",
    "Test cases embed warnings in outputs, stored in YAML for accessibility.",
    "Scoring separates warning noticing from safe action, using hybrid verification."
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}