Principle:23blocks OS Ai maestro Proven Message Delivery
| Knowledge Sources | |
|---|---|
| Domains | Agent_Messaging, Delivery |
| Last Updated | 2026-10-26 10:00 GMT |
Overview
A delivery contract where a message is considered "delivered" only when disk persistence succeeds, and "verified" only when a wake route proves the agent received it.
Description
The proven delivery principle separates three levels of delivery certainty:
- Delivered: the message was written to the recipient's AMP inbox on disk (source of truth). This is the minimum guarantee.
- Notified: a wake route accepted the message (sent, but not proven).
- Verified: a wake route PROVED the agent received it — an acknowledged channel, or the notification read back off the pane.
No route may report a delivery it cannot prove. `sent` and `deferred` do not stop the wake chain: an unproven wake is worth nothing to an agent that is waiting, and a duplicate nudge is far cheaper than a lost message. If no route can prove arrival, the message is queued for retry on the agent's idle transition.
Usage
Use this principle when designing message delivery where:
- Disk persistence is the source of truth (not WebSocket fan-out)
- "Sent" is not the same as "received" — proven arrival is a separate guarantee
- Unconfirmed deliveries must be retried, not silently dropped
Theoretical Basis
The delivery contract is a three-level certainty model:
delivered = inbox write succeeded (disk persistence)
notified = a wake route accepted (sent, unconfirmed)
verified = a wake route proved arrival (acknowledged or read back)
The wake chain runs adapters in order and stops at the first confirmed one. `sent` and `deferred` do not stop it — only `confirmed` does. This is a fail-forward strategy: keep trying routes until one proves arrival, because a duplicate notification is cheaper than a lost message.
for adapter in chain:
outcome = adapter.deliver(ctx)
if outcome.status == 'confirmed':
stop (proven)
// sent, deferred, failed → continue
if none confirmed:
enqueue for retry on idle transition
Related Pages
Implemented By
- Implementation:23blocks_OS_Ai_maestro_Message_Delivery
- Implementation:23blocks_OS_Ai_maestro_Wake_Chain
- Implementation:23blocks_OS_Ai_maestro_AMP_Inbox_Writer