feat(models): settle_transaction op, alerts_pubkey, operator_notified_at (m017)

ADR-005 §6 groundwork. settle_transaction is a machine-wide op like
resume_cash_out; it carries the machine txid it closes and the operator's
provenance note. super_config.alerts_pubkey overrides where owed-cash
alerts go; dca_settlements.operator_notified_at stops a report resend
from re-alerting.
This commit is contained in:
Padreug 2026-10-10 22:26:45 +02:00
commit 786857f568
4 changed files with 106 additions and 6 deletions

View file

@ -126,6 +126,8 @@ class TestWireShape:
"empty": {},
# machine-wide (ADR-005 §5): position 0, no position on the wire
"resume_cash_out": {"position": 0},
# machine-wide too (ADR-005 §6): carries the txid it closes
"settle_transaction": {"position": 0, "txid": "tx_1"},
}[op_type]
wire = op(op_type=op_type, **kw).to_wire_dict()
assert None not in wire.values()