mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-03 02:08:18 +00:00
Add commit_preparation_spend_and_release: the shared label spend mints its custody receipt from preparation.label_release_request, which is what the core's shared-spend validation requires (arm id and influenced artifact digest of the authority). commit_spend_and_release keeps its behaviour and its mint order; its receipts cannot satisfy a preparation and are refused by the replay, as a contrast test now pins. Closed refusals, all before any write unless stated: wrong preparation type, head unavailable or moved (no CAS), lost CAS, labels unreadable after the committed spend (labels_spent true).