You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce Cloudflare Queues as the async notification backbone for clawdentity. The registry already publishes events to clawdentity-events queue — but nothing consumes them. This epic wires up consumers and adds a receipt queue to solve 5+ open issues.
Scope
Queues own the async notification layer: revocation propagation, delivery receipts, dead letter alerts. The hot path (relay delivery, auth verification, nonce dedup) stays synchronous via WebSocket + Durable Objects.
#167 (CRL via queue) ← no deps, phase 1
#165 (receipts to connector) ← needs new WebSocket frame type
#168 (receipt queue routing) ← depends on #165
#169 (dead letter via queue) ← depends on #168
#203 (surface dead letters) ← redundant after #169
Overview
Introduce Cloudflare Queues as the async notification backbone for clawdentity. The registry already publishes events to
clawdentity-eventsqueue — but nothing consumes them. This epic wires up consumers and adds a receipt queue to solve 5+ open issues.Scope
Queues own the async notification layer: revocation propagation, delivery receipts, dead letter alerts. The hot path (relay delivery, auth verification, nonce dedup) stays synchronous via WebSocket + Durable Objects.
Phases
Phase 1: Wire existing event queue → proxy consumer
queue()handler, consumeagent.auth.revoked→ invalidate CRL cache instantlyPhase 2: Receipt queue — durable delivery + dead letter notifications
clawdentity-receiptsqueue. Proxy publishes receipt events (success + dead letter) after relay delivery. Proxy consumes receipts → routes to sender relay DO → WebSocket push to sender connector → OpenClaw hookPhase 3: Agent-facing dead letter alerts (automatic from Phase 2)
status: dead_letteredreceipts flow through same receipt queue. Sender connector delivers to OpenClaw hook as system notification.Out of Scope (stay synchronous)
Queue Architecture
Cost
CF Queues free tier: 1M messages/month, 1M reads/month. Agent messaging with <100 agents = effectively unlimited. Revocations + receipts = ~100-1000 events/day at scale.
Dependency Graph
Child Issues