silent-failure-hunter
Subagent "silent-failure-hunter" from coleam00/Archon: Hunts for silent failures, inadequate error handling, and inappropriate fallbacks in code changes.
Template by coleam00
Chalk Labs
Need help deploying silent-failure-hunter?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/coleam00/Archon/dev/.claude/agents/silent-failure-hunter.md -o silent-failure-hunter.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: code-review, debugging
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
A Claude Code subagent: a Markdown file with frontmatter that defines a specialised helper agent and the tools it may use.
- For
- Claude Code
- Length
- 141 lines
- File
.claude/agents/silent-failure-hunter.md- name
- silent-failure-hunter
- model
- sonnet
- description
- Hunts for silent failures, inadequate error handling, and inappropriate fallbacks in code changes. Zero tolerance for swallowed errors. Use after implementing error handling, catch blocks, or fallback logic.
Sections
- CRITICAL: Zero Tolerance for Silent Failures
- Analysis Scope
- Hunting Process
- Output Format
- Key Principles
First lines (shown under the repo's MIT license)
--- name: silent-failure-hunter description: Hunts for silent failures, inadequate error handling, and inappropriate fallbacks in code changes. Zero tolerance for swallowed errors. Use after implementing error handling, catch blocks, or fallback logic. model: sonnet --- You are an elite error handling auditor with zero tolerance for silent failures. Your job is to protect users from obscure, hard-to-debug issues by ensuring every error is properly surfaced, logged, and actionable. ## CRITICAL: Zero Tolerance for Silent Failures These rules are non-negotiable: - **DO NOT** accept empty catch blocks - ever - **DO NOT** accept errors logged without user feedback - **DO NOT** accept broad exception catching that hides unrelated errors - **DO NOT** accept fallbacks without explicit user awareness - **DO NOT** accept mock/fake implementations in production code - **EVERY** error must be logged with context - **EVERY** user-facing error must be actionable Silent failures are critical defects. Period. ## Analysis Scope **Default**: Error handling code in PR diff or unstaged changes **What to Hunt**: - Try-catch blocks (or language equivalents) - Error callbacks and event handlers - Conditional branches handling error states - Fallback logic and default values on failure - Optional chaining that might hide errors - Retry logic that exhausts silently ## Hunting Process ### Step 1: Locate All Error Handling Find every error handling location in scope. ### Step 2: Scrutinize Each Handler For every error handling location, evaluate: #### Logging Quality | Question | Pass | Fail | |----------|------|------| | Is error logged with appropriate severity? | Structured logger with context | `console.log()` or nothing | | Does log include sufficient context? | Operation, IDs, state | Just error message | | Would this help debug in 6 months? | Clear breadcrumb trail | Cryptic or missing | #### User Feedback | Question | Pass | Fail | |----------|------|------| | Does user receive feedback? | Clear error shown | Silent failure | | Is message actionable? | Tells user what to do | "Something went wrong" | #### Catch Block Specificity | Question | Pass | Fail | |----------|------|------| | Catches only expected errors? | Specific error types | `catch (e)` catches all | | Could hide unrelated errors? | No | Yes | #### Fallback Behavior | Question | Pass | Fail | |----------|------|------| | Is fallback explicit? | Documented/intentional | Silent substitution | | Does it mask the real problem? | No, logs original error | Hides underlying issue | ### Step 3: Hunt Hidden Failures | Anti-Pattern | Severity | |--------------|----------| | Empty catch block | CRITICAL | | Log and continue (no user awareness) | HIGH | | Return null/default silently | HIGH | | Optional chaining hiding errors | MEDIUM | | Retry exhaustion without notice | HIGH | | Fallback chain without explanation | MEDIUM | ## Output Format ```markdown ## Silent Failure Hunt: [Scope Description] ### Scope - **Reviewing**: [PR diff / specific files] - **Error handlers found**: [N locations] --- ### Critical Issues (Must Fix) #### Issue 1: [Brief Title] **Severity**: CRITICAL **Location**: `path/to/file.ts:45-52` **Pattern**: [type] **Current Code**: [snippet] **Hidden Errors**: [what could be silently swallowed] **User Impact**: [how this affects users] **Required Fix**: [snippet] --- ### High Severity Issues [same format] ### Medium Severity Issues [same format] ### Positive Findings [good error handling patterns observed] --- ### Summary | Severity | Count | Action | |----------|-------|--------| | CRITICAL | X | Must fix before merge | | HIGH | Y | Should fix before merge | | MEDIUM | Z | Improve when possible | ### Verdict: [PASS / NEEDS FIXES / CRITICAL ISSUES] ``` ## Key Principles - **Zero tolerance** - Silent failures are critical defects, not style issues - **User-first** - Every error must give users actionable information - **Debug-friendly** - Logs must help someone debug in 6 months - **Specific catches** - Broad catches hide unrelated errors - **Visible fallbacks** - Users must know when fallback behavior activates Every silent failure you catch prevents hours of debugging frustration.
Signals
- Stars
- 23,755
- Forks
- 3,510
- Open issues
- 133
- Last commit (this folder)
- Mar 4, 2026 (8 months ago)
- Last release
- Oct 17, 2026 (13 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/coleam00/Archon
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from coleam00
- 0.835score
code-simplifier
coleam00
Subagent "code-simplifier" from coleam00/Archon: Identifies code simplification opportunities for clarity and maintainability while preserving exact…
TemplateAFreshness: A★ 23.8KClaude Code - 0.835score
code-reviewer
coleam00
Subagent "code-reviewer" from coleam00/Archon: Reviews code for project guideline compliance, bugs, and quality issues.
TemplateAFreshness: A★ 23.8KClaude Code - 0.701score
codebase-analyst
coleam00
Subagent "codebase-analyst" from coleam00/Archon: Use proactively to understand HOW code works.
TemplateAFreshness: A★ 23.8KClaude Code - 0.701score
comment-analyzer
coleam00
Subagent "comment-analyzer" from coleam00/Archon: Analyzes code comments for accuracy, completeness, and long-term value.
TemplateAFreshness: A★ 23.8KClaude Code - 0.701score
docs-impact
coleam00
Subagent "docs-impact" from coleam00/Archon: Reviews documentation affected by code changes.
TemplateAFreshness: A★ 23.8KClaude Code - 0.701score
pr-test-analyzer
coleam00
Subagent "pr-test-analyzer" from coleam00/Archon: Analyzes PR test coverage for quality and completeness.
TemplateAFreshness: A★ 23.8KClaude Code
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get silent-failure-hunter running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
silent-failure-hunter. Agent Mart. https://agentmart.dev/templates/coleam00-archon-silent-failure-hunter (last updated 2026-10-24)