Parent: #210
Goal
Make worker death and retry behavior deterministic without orphaning analysis jobs.
Scope
- Detect worker loss or lease expiry.
- Restore jobs to a safe queued or terminal state.
- Bound retries and preserve the existing CANCELLED_CODE lifecycle.
- Record recovery events without logging source contents or secrets.
Acceptance criteria
Parent: #210
Goal
Make worker death and retry behavior deterministic without orphaning analysis jobs.
Scope
Acceptance criteria