receipt_status_set
Record a lifecycle status against an issued receipt (rcp_* from receipt_issue, or atr_* agent transaction receipts): revoked / disputed / corrected / superseded. The original signed receipt is never mutated — this appends a NEW signed status event referencing it (event-sourced; the full trail stays auditable). Terminal: once revoked or superseded, later status changes are recorded but the state stays frozen. 'corrected' requires corrected_by = the replacement receipt id. Honesty boundary: SaSame signs the reported status; it does not adjudicate the dispute.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| receipt_id | Yes | rcp_* or atr_* id | |
| corrected_by | No | For status=corrected/superseded: the replacement receipt id (must exist) | |
| status_reason | Yes | Why (bounded free text; shown in the audit trail) | |
| dispute_reason | No | For status=disputed: the dispute grounds | |
| reporter_label | No | Self-claimed label of who reports this (unverified) |