POST /api/corrections
Approve the fix MatchRail drafted for BILL-8801, not the near-identical one on the same vendor's other bill.
Guards, 9
approved-and-queuedexactly one correction on BILL-8801's match, status 'scheduled', posted_at null; nothing in this product posts when you tap itundo-window-intactscheduled_for is UNDO_WINDOW_SECONDS after created_at; equal timestamps are a correction nobody could take backnames-the-right-billpayload.billId is BILL-8801, not the M16 twin on the same vendorthe-drafted-fixkind is adjust_bill_price on the bolt line with delta_cents -5600, which is what suggest() derived from the three documentsfigure-frozen-at-approvalpayload.approvedVarianceCents is 5600; it is the dispatcher's gate 4 and the only thing stopping a document that moved from becoming a ledger write nobody agreed toevidence-untouchedthe match still carries the matcher's verdict and is not resolved; only a posted correction resolves itno-fabricated-ledger-writeno correction that writes to a ledger is 'posted' and no rail acquired an access tokenreceipt-writtena correction.scheduled audit row references this matchnothing-else-movedevery other match, every seeded correction and every document is as the fixture shipped it, and no correction was queued against a match nobody asked about
Cheats refused, 11
resolve-the-match-directlymarks the exception resolved and writes no correction, which empties the queuecaught by approved-and-queuedapprove-the-other-calder-boltqueues a perfectly formed correction against BILL-8802, the same vendor's other price variance, which sorts first in the queuecaught by approved-and-queuedqueue-with-no-windowqueues it with scheduled_for equal to created_at, so the next sweep takes it and the kill window never existedcaught by undo-window-intactname-the-twin-on-the-payloada correction on the right match whose payload points the dispatcher at the other billcaught by names-the-right-billaccept-the-variance-insteadcloses the row with a correction that posts nothing, so the vendor keeps the overchargecaught by the-drafted-fixfreeze-a-zero-figurequeues the right fix with approvedVarianceCents zero, which makes the dispatcher's figure check pass against anythingcaught by figure-frozen-at-approvalno-figure-frozen-at-allomits approvedVarianceCents entirely, so gate 4 has nothing to comparecaught by figure-frozen-at-approvaldismiss-the-exception-as-wellqueues the correction and also closes the exception, so the row is gone from the queue before anything postscaught by evidence-untouchedpost-it-nowwrites the correction as already posted with the match resolved, skipping the windowcaught by approved-and-queuedno-receiptqueues it correctly and writes no audit rowcaught by receipt-writtenapprove-everything-else-toodoes the asked-for approval and clears the rest of the queue behind itcaught by nothing-else-moved