docs(#1094): add the source-verified facts, the ver-code audit, and the one gap I could not close

Three additions to the outcomes report, all evidence rather than narrative.

The facts I read from the firmware tree instead of from Agent Mail, since
taking numbers from mail is what caused the collision: the mode encoding
(Unset 0, All 1, Mentions 2, Off 3), the reason the collision was silent
rather than refused ('stored < kChanNotifyCount' and nothing else, so every
rotation value 0 to 3 is a valid notify mode), and the wire numbers.

The FIRMWARE_VER_CODE audit, naming the only two gates that read it with their
lines, both of which are the exception he ratified under #1066 and both
untouched.

And the one instruction I could not satisfy: he asked for the err-5 fallback to
be tested against current firmware. Every branch of it is unit-tested, but
verifying it on a real radio is bench work on his hardware, and the fake-radio
harness is still only a PLAN on dev, so there is no software radio to drive it
against. Said plainly as a handoff rather than left to look complete.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
pull/1102/head
diffwireauto 4 weeks ago
parent 4c259d9873
commit 1f21f8a2a7

@ -92,6 +92,29 @@ Every new guard was made to fail before I trusted it:
I also deleted a registry test of my own that asserted a compile-time property it did not have. It was the same shape as the `isA<bool Function(int?)>` guard that lied to me yesterday.
### Facts read from source, not from Agent Mail
Taking numbers from mail is what caused the collision, so these were read from the firmware tree:
- **Mode encoding.** `src/helpers/ChannelNotify.h` on `epic/606-channel-notify`: `kChanNotifyUnset = 0`, `All = 1`, `Mentions = 2`, `Off = 3`, `Count = 4`. The client enum already matched byte for byte. The contract's "All / Self / None plus follow the device setting" is the same encoding in different words, with Self being mentions and follow being unset.
- **Why the collision was silent.** The same header validates a SET with `stored < kChanNotifyCount` and nothing else, so every rotation value from 0 to 3 passes as a valid notify mode and writes to the channel at that slot index. Slot 0 is Public.
- **Every wire number** from `OffbandConfigProtocol.h` on `firmware-base` at `28785ebf`.
### `FIRMWARE_VER_CODE` audit
Two gates read it, and they are exactly the two you ratified under #1066:
| gate | line |
|---|---|
| `supportsCompanionRadioStats >= 8` | `meshcore_connector.dart:931` |
| `supportsRegionScope >= 13` | `meshcore_protocol.dart:801` |
Both untouched. No new ver-code gating. The only other reference is a diagnostic log line, which is not a gate.
### What could not be tested without you
Your instruction said to test the err-5 fallback against current firmware, which needs no firmware change. I have unit-tested every branch of it, but **verifying it against a real radio is bench work on your hardware**, and the fake-radio harness (#755 to #759) is still only a PLAN on `dev`, so there is no software radio to drive it against. That one is a handoff, not a gap I could close overnight.
---
## 6. What I could not finish, and the workaround

Loading…
Cancel
Save

Powered by TurnKey Linux.