# what is the bernstein dead letter queue

Canonical URL: https://bernstein.run/q/what-is-the-dead-letter-queue
Markdown URL: https://bernstein.run/q/what-is-the-dead-letter-queue.md
Tags: safety, dead-letter

tasks that fail their quality gates after max retries do not merge. instead they move to the dead-letter queue (.sdd/runtime/dlq.jsonl), with the full agent transcripts, last-known worktree path, gate output, and a synth-generated failure-class label from the eval taxonomy. you can inspect each entry, fix the prompt or split the task, and re-queue. the dead-letter pile is bernstein's escape hatch: rather than burn budget retrying a broken brief, the orchestrator parks it for a human. the eval harness also pulls from these entries to build regression cases for future runs. source: src/bernstein/core/tasks/dead_letter_queue.py.

## Related

- https://bernstein.run/q/fail-closed-agent-orchestrator
- https://bernstein.run/q/how-does-bernstein-work
