Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:23blocks OS Ai maestro Proven Message Delivery

From Leeroopedia
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:

  1. Delivered: the message was written to the recipient's AMP inbox on disk (source of truth). This is the minimum guarantee.
  2. Notified: a wake route accepted the message (sent, but not proven).
  3. 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

Uses Heuristic

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment