← Registry
Loop Official

Silent Failure Hunt

Hunt down swallowed errors, empty catch blocks, ignored return codes, silent fallbacks, and skipped tests, then make each one fail loud or carry an explicit comment justifying the suppression.

A reliability audit loop that surfaces every place an error could vanish. Each pass triages one swallowed error — an empty catch, an `except: pass`, a skipped or xit test, an ignored fallback — and either makes it throw/log loudly or annotates it with an explicit comment justifying the deliberate suppression. Exits only when the scan finds no unjustified silent failure left.

Loop

Goal
no error is swallowed silently — every catch, fallback, and skipped test either surfaces loudly or carries an inline comment justifying the suppression
Exit when
the check prints NO_SILENT_FAILURES, or every remaining match has an inline comment justifying the deliberate suppression

Check between iterations

grep -rnE "catch ?\([^)]*\) ?\{ ?\}|except[^:]*: ?pass|\.skip\(|xit\(|todo!\(|// ?TODO: ?handle" --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" --include="*.py" --include="*.go" --include="*.rs" . | grep -v node_modules || echo NO_SILENT_FAILURES
$

Kickoff prompt

Start the "Silent Failure Hunt" loop. Goal: no error is swallowed silently — every catch, fallback, and skipped test either surfaces loudly or carries an inline comment justifying the suppression Max iterations: 10 Between iterations run: grep -rnE "catch ?\([^)]*\) ?\{ ?\}|except[^:]*: ?pass|\.skip\(|xit\(|todo!\(|// ?TODO: ?handle" --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" --include="*.py" --include="*.go" --include="*.rs" . | grep -v node_modules || echo NO_SILENT_FAILURES Exit when: the check prints NO_SILENT_FAILURES, or every remaining match has an inline comment justifying the deliberate suppression Step 1: Run the check, triage the first swallowed error, and make it either throw/log loudly or carry an explicit justification comment.