forked from bai/curriculum-project-hub
17 lines
669 B
Markdown
17 lines
669 B
Markdown
# 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.
|