Files
curriculum-project-hub/.scratch/saas-production-readiness/issues/23-durable-feishu-inbox-and-queue.md
T

669 B

Make Feishu intake and queued work durable

Type: task Status: open Blocked by: 18, 44

Question

Replace receipt-before-success and process-local batching/queueing with one durable inbound work lifecycle that atomically claims duplicate events, records processing/completion/failure, survives restart, retries recoverable failures, and proves concurrent redelivery cannot duplicate a run or silently lose an accepted prompt. Preserve execution-time authorization from ticket 18 when deferred work is finally started, and expose the durable identity/state needed by ADR-0022's Organization-fair admission scheduler rather than recreating a second queue lifecycle.