A same-id resend of a delivery the FIFO refused (nothing committed) answers
its terminal refused receipt, which has no admission. CanonicalBotDeliverResult
required admission_id, so through AuthorityConnection.dispatch the answer was a
ContractViolation under test isolation, and in production Desktop's
settleRelayDelivery() treated it as "identity unavailable" and kept the
envelope retained: the refusal never reached the sender.
The contract now declares the refused shape explicitly: admission_id is
optional and `refused: true` marks the receipt, with a validator that a result
either names its admission or is a refused `failed` receipt without one. The
resend carries `refused`; the generated TS/OpenRPC are regenerated with
scripts/gen_gateway_contracts.py. The relay settles a refused failed receipt
for its envelope as the sender's terminal answer (posted back, no longer
retained); an answer with neither an admission nor a refusal is still retained.
The first refusal is unchanged: a JSON-RPC 4001 refusal whose data.reason the
relay already forwards.
Refs #134889 (MSG-9)
Refs #139162
Refs #139138