Post-failure autopsy

# The 2am job that fixes itself.

When a run dies, Smithers does not just leave a corpse. It runs an autopsy on the spot, works out what killed it, and hands you a fix waiting behind an approval gate.

$ smithers workflow run fail-probe
Auto-autopsy on failure Gated before it acts Fleet medic sweeps runs
monitor · run 7f3a● FAILED
✗ run 7f3a failed · step test · exit 137
↳ post-failure autopsy launched automatically
◆ diagnosis: OOM kill · heap 2.1GB exceeded 2GB cap
✚ proposed fix: raise --max-old-space-size, retry test
⏸ awaiting your approval to apply

Why this exists

## You went to sleep. The run went down with it.

A transient network blip, a rate limit, one bad edit, and the overnight job is dead. You wake up to a stalled run, a burned quota window, and a morning spent reading logs to reconstruct what went wrong.

How it works

## Detect, diagnose, then ask.

1

### It notices the death

The moment a run fails, Smithers launches a post-failure autopsy workflow on its own. No cron, no babysitting.

2

### It reads the body

The autopsy inspects the run with real tools: what step, what error, what state. It writes a diagnosis, not a guess.

3

### It waits for your yes

A fix is proposed behind an approval gate. Nothing changes your code until you say so. Approve, and it retries.

What you get

## An on-call engineer for your runs.

⚑ auto-autopsy

### Triggers itself on failure

A failed run launches the autopsy with no wiring. You wake up to a diagnosis, not a mystery.

◆ real diagnosis

### Cause, not vibes

The autopsy inspects the actual run and names the failure, so the fix targets the real problem.

⏸ gated fix

### Never acts without you

Remediation is a proposal behind an approval gate. Your codebase is safe while you sleep.

✚ fleet medic

### Sweeps the whole fleet

A medic step patrols your monitored runs and applies the same treatment across everything at once.

## Stop waking up to dead runs.

Let the autopsy do the forensics and hand you the fix. Smoke-test it now with the fail-probe.

$ smithers workflow run fail-probe