Home/Catalog/Quality
Quality — does it work?
Brief 03

Silent Failure Audit

Find swallowed errors, missing logs, and monitoring blind spots — everywhere the system can break without anyone knowing.

OBSERVABILITY.md4 phases8 lenses~2.6k chars

Free & open · no signup · read-only — it ends by asking · nothing leaves your machine

What it does

You are working inside this repo. Mission: find every place this system can fail without anyone knowing — swallowed errors, invisible background failures, monitoring blind spots — and produce an instrumentation plan.

Read-only pass. Your only write is the report file.

What it looks for

8 lenses it looks through

Phase 2 sweeps the codebase through every one of these, citing file and line for each finding.

1

Swallowed errors

empty catch blocks, catch-log-continue, errors mapped to defaults silently

2

Logs to nowhere

errors logged where nobody looks; no aggregation or alerting path

3

Context-free failures

logs without IDs, user context, or correlation; undebuggable when they fire

4

User-visible, system-invisible

the user sees an error state the system never records

5

Retries that mask

retry loops hiding a dying dependency until it fully fails

6

Silent background death

jobs, crons, webhooks, emails failing with no surfaced signal

7

Lying health checks

endpoints returning healthy while core functions are broken

8

Alert gaps

failures that are recorded but would never page or notify anyone

The deliverable

What lands in your repo

One structured report at the repo root — or in reports/, if you keep one — the same shape every time, ready for a teammate — or the optional Studio — to act on.

OBSERVABILITY.md
1
Blind-spot map
table: failure scenario · visibility today · time-to-detection · gap
2
Top 5 "you'd never know" scenarios
narrated in two sentences each
3
Instrumentation plan
each: what to instrument · where (path) · signal type (log/metric/alert) · effort
4
Quick wins
swallowed catches to fix this week
One file. Evidence-backed. It ends by asking before touching anything.
How it works

What it makes the agent do

Every Goal Prompt follows the same four steps, so results are consistent and repeatable — no matter which one you run.

1
Phase 1

Map how errors are supposed to flow

Where do errors go today.

2
Phase 2

Audit through 8 lenses

Cite file and line for every finding.

3
Phase 3

Curate

Rank by blast radius × silence.

4
Phase 4

Report

Create OBSERVABILITY.md at repo root.

Get started

Three ways to run this Goal Prompt

01 · COPY

Paste it in

Copy it and paste it into your agent inside the repo you want checked.

02 · INSTALL

As a slash command

Install the goal plugin once — two commands — then just type /goal:silent-failure-audit.

1/plugin marketplace add GhostlyGawd/goal-prompts
2/plugin install goal@goal-prompts

Or install only this Goal Prompt as /goal-silent-failure-audit:

curl -fsSL https://goal-prompts.vercel.app/install | BRIEF=03 sh
03 · AGENT

From an agent (MCP)

Let an agent fetch it mid-conversation, or pull the raw Goal Prompt by URL.

https://goal-prompts.vercel.app/raw/03.md
Transparency

The exact prompt

Nothing hidden — this is the whole Goal Prompt, verbatim. Read it in a minute, edit it, or copy it as-is.

Read the full brief (2,621 characters)
# Goal: Silent Failure Audit

You are working inside this repo. Mission: find every place this system can fail without anyone knowing — swallowed errors, invisible background failures, monitoring blind spots — and produce an instrumentation plan.

Read-only pass. Your only write is the report file.

## Phase 1 — Map how errors are supposed to flow
- Where do errors go today: a logger, a monitoring service, the console, nowhere?
- Which operations are fire-and-forget: background jobs, webhooks, emails, cache writes?
- If the database, a third-party API, or a queue failed right now — what would you see, and how soon?

## Phase 2 — Audit through 8 lenses
Cite file and line for every finding.
1. **Swallowed errors** — empty catch blocks, catch-log-continue, errors mapped to defaults silently
2. **Logs to nowhere** — errors logged where nobody looks; no aggregation or alerting path
3. **Context-free failures** — logs without IDs, user context, or correlation; undebuggable when they fire
4. **User-visible, system-invisible** — the user sees an error state the system never records
5. **Retries that mask** — retry loops hiding a dying dependency until it fully fails
6. **Silent background death** — jobs, crons, webhooks, emails failing with no surfaced signal
7. **Lying health checks** — endpoints returning healthy while core functions are broken
8. **Alert gaps** — failures that are recorded but would never page or notify anyone

## Phase 3 — Curate
- Rank by blast radius × silence: how bad is it, times how long until a human notices
- Keep only findings with a concrete failure scenario attached

## Phase 4 — Report
Create `OBSERVABILITY.md` at repo root:
1. **Blind-spot map** — table: failure scenario · visibility today · time-to-detection · gap
2. **Top 5 "you'd never know" scenarios** — narrated in two sentences each
3. **Instrumentation plan** — each: what to instrument · where (path) · signal type (log/metric/alert) · effort
4. **Quick wins** — swallowed catches to fix this week

Start the report with today's date. If `OBSERVABILITY.md` already exists from a previous run, read it first and lead with what changed since.

## Rules
- "It logs to console" is not observability
- Prefer a few high-signal alerts over noisy logging everywhere
- No runtime error paths in this repo? Say so in a one-paragraph null report and stop — a null result is a valid finding.
- If a `reports/` directory exists at the repo root, write the report there instead of the root.
- Before asking, present the top findings as a ranked list in plain words
- Report only — end by asking which gaps to close first

House rules for this Goal Prompt

  • "It logs to console" is not observability
  • Prefer a few high-signal alerts over noisy logging everywhere
  • No runtime error paths in this repo? Say so in a one-paragraph null report and stop — a null result is a valid finding.
  • If a reports/ directory exists at the repo root, write the report there instead of the root.
  • Before asking, present the top findings as a ranked list in plain words
  • Report only — end by asking which gaps to close first
Keep exploring

More Quality briefs