Both from the adversarial review gate, both regressions this branch
introduced rather than pre-existing faults.
1. `timeoutMs` reaches updateMessageFromSent as a raw readUInt32LE off the
RESP_CODE_SENT frame with nothing bounding it. While the local
computation overwrote that value it did not matter; making the radio's
estimate a floor meant a garbage frame could arm a timer 49 days long,
and one message in flight per contact is a queue invariant, so that
wedged every later DM to that contact until an app restart. Clamped to
60 s, about four times the longest real round trip in OB-ZRNBY.
2. The pinned-route write was gated on `message.retryCount == 0`, so a user
changing the override between attempts left the radio transmitting the
old pin while this side had already re-armed its timeout and its
path-weight bookkeeping for the new one. `updatePendingContact` hands the
new override to the retry in flight, so attempt 0 is the wrong key. Now
keyed on the route itself: a change is written, an unchanged pin is not.
That keeps it from becoming the per-attempt re-assert #1198 removed.
Tests, both proven to fail first: 4294967295 ms armed where 60000 was
required, and the new pin never reaching the radio. The unchanged-pin case
is covered too, at maxRetries 3 so the retry under test is an ordinary
attempt rather than the final flooding one, which would have passed for the
wrong reason.
Third review finding, not fixed, justified: existing installs without a
stored `max_message_retries` move from 5 attempts to 3 on upgrade. That is
the ruling, it applies to everyone by design, the slider still spans 2 to
10, and the total time to failure is comparable because the window widened.