receipts: assemble im_deliveries at the read edge, not in core's receipt #46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "protocol-receipt-deliveries"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Edge 2 of the downstream split, prerequisite for im's own database. The receipt's im_deliveries was santi embedding a downstream's data via a cross-context join (im_inbox x receipt_transitions) that can't survive im moving to a separate db. The receipt builder now leaves im_deliveries empty; the im projection moves to a standalone im_deliveries_for_receipt method; the api receipt handler merges the two. ReceiptStatus type/route/handler/OpenAPI untouched -> wire byte-identical, only the assembly point moves core->read-edge. Isolates the last santi->im read to one method. 0 faults, core 0, 48 test groups green.