feat(machine): apply the settle_transaction operator op (ADR-005 §6) #124

Merged
padreug merged 2 commits from feat/settle-transaction-op into dev 2026-10-10 20:30:29 +00:00

2 commits

Author SHA1 Message Date
5a4f70c90e docs(adr-005): record the NIP-17 alert and the settle-cash-owed path as built 2026-10-10 22:27:39 +02:00
651c43d7b0 feat(machine): apply the settle_transaction operator op
ADR-005 §6: the operator paid the customer by hand and recorded it in
spirekeeper. The op carries the txid and the note; the machine flips its
own dispense_error/partial row to remediated via remediateTransaction,
which only touches rows still in an error state, so re-delivery is a
no-op. Closes the machine side of the ledger for an owed-cash sale
without dispensing anything.
2026-10-10 22:27:39 +02:00