Queued messages lived in memory. A crash lost them, a restored finish
subscription then reported a child that never ran its task, and a clean
shutdown forced a flush into busy agents and swallowed the failures.
The daemon now saves a message before acknowledging it, leaves the queue
in place on shutdown, and checks the recipient's history after a crash
before sending an interrupted dispatch again.
Behavior changes:
- A provider that refuses to start a turn no longer drops the message. It
stays queued and the queue is held, because retrying alone would be
refused again and add the prompt to the history each time. The sender's
finish notice waits until the message is delivered.
- Retrying a queued send with the same messageId is acknowledged at once
instead of blocking until delivery.
Refs #8436