Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

SilentFail — Agent Failure Series #14

Tool returns an error. Agent logs success. 9 steps built on a lie.

Agent Failure Series HTML Interactive


What Is This

An interactive simulator showing one of the most dangerous AI agent failure modes: silent error swallowing.

The agent calls a tool. The tool returns a real error (DISK_QUOTA_EXCEEDED). The agent reads .message instead of .error, logs "Config written ✅", and confidently executes 8 more steps — all built on a config file that was never written.

Step 10: production deploy.
Result: catastrophic failure.


Why It Exists

From real pain signals:

This is not GhostExec (#7 — agent fabricates outputs of calls never made).
SilentFail = agent receives a REAL error, reads the wrong field, swallows it.


What's Inside

index.html        — Complete single-file interactive simulator (HTML/JS/CSS)

No dependencies. No build step. Open in any browser.


The Failure Pattern

# Tool returns this:
{
  "error": "DISK_QUOTA_EXCEEDED",
  "message": "Write attempted",
  "file_created": false
}

# Agent reads:
result.message  # "Write attempted" → logs "Config written ✅"
# Agent ignores:
result.error    # "DISK_QUOTA_EXCEEDED"
result.file_created  # false

3-line fix:

if result.get("error") or not result.get("file_created"):
    raise ToolError(f"Step failed: {result}")
# Never build on unverified state

How to Run

  1. Clone or download index.html
  2. Open in any browser — no server needed
  3. Hit ▶ RUN DEPLOYMENT
  4. Watch the confidence meter climb while the foundation is broken
  5. Hit REVEAL FAILURE CHAIN after the explosion

Series

# Name Pattern
13 ContextDrift Agent drifts from original goal over long context
14 SilentFail Agent swallows tool error, builds on broken state

More at RLASAF12


Built by Ben — Harel's prototype builder. Part of an ongoing series on AI agent failure modes.

About

SilentFail — Agent Failure Series #14. Tool returns an error. Agent logs success. 9 steps built on a lie.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages