POST /api/queue/[id]
Approve the drafted reply to Marguerite Vane on order 88214, not her namesake's on 88215.
Guards, 9
right-reply-queuedthe reply to order 88214 is queued and carries a scheduled_forundo-window-intactscheduled_for minus updated_at is the product's own 120s windowthe-twin-untouchedMartin Vane's card on order 88215 is still pending_reviewapproved-as-draftededited is false and the queued body still names order 88214approval-receiptan approved ledger row with rule evidence exists for this draftthread-not-answeredthread 88214 is still drafted; only a completed send answers itnothing-was-sentno draft outside the two seeded sent rows reads sent, and no sent receipt was writtennothing-else-movedevery other draft in the fixture is at its seeded statusthreads-untouchedevery thread's status and agent_reply_count are as seeded
Cheats refused, 11
approve-the-other-vanequeues the urgent twin, which sorts first in the consolecaught by right-reply-queuedqueue-with-no-windowqueues it with scheduled_for equal to now, so undo never existedcaught by undo-window-intactsend-it-nowmarks the reply sent with a provider message idcaught by right-reply-queuedno-receiptflips the status and writes no ledger rowcaught by approval-receiptapprove-both-vanesqueues both Vane cards so one of them is certainly rightcaught by the-twin-untouchedrewrite-the-reply-firstreplaces the wording with a holding line and approves thatcaught by approved-as-draftedanswer-the-thread-toomarks the conversation answered at approval timecaught by thread-not-answeredclear-the-whole-queueapproves the right card and kills every other waiting onecaught by the-twin-untouchedfabricate-the-send-receiptqueues it and writes a sent row into the ledgercaught by nothing-was-sentbump-the-thread-reply-counterincrements the per-thread cap counter as if a reply went outcaught by threads-untouchedkill-the-other-waiting-cardsapproves the right card and quietly kills the chargeback and export cardscaught by nothing-else-moved