Design 39 bus-and-switch: the lead's answer C5, how a carried switch is read #581

Merged
mesh-tools merged 2 commits from design/39-carried-switches into main 2026-11-12 14:42:06 +00:00
@@ -553,3 +553,7 @@ written; they are cited as "design 39 bus-and-switch B*n*".
`sessionPct` empty, so neither had room and the switch could choose no target): a licence's room is 100 less its
weekly percentage alone; the session window takes no part in room, the switch threshold, the warning or the
conditions, wherever §24 to §33 name it. A reading with no weekly percentage still has unknown room (B35).
- **C5** (met live 2026-11-12: `licences_switches` answered every switch carried from the old database with no `to` and
no `consumers`): a carried entry keeps the old manager's fields as §12 copies them, a switch written as its
`consumer`, its `licence` and `from`; §37's reader answers such an entry with `to` its `licence` and `consumers` the
one `consumer`, and its filters by licence and consumer read it the same way. The log is not rewritten (P3, P7).