fix(webapp): the final review's three page findings

- The arrow keys reached the legacy per-index waveform route in serial mode,
  even with no list loaded (an unlocked MiniMate chain walk + 5A on the same
  modem session).  perIndexLive() is now the one rule for the per-index
  buttons, the chips and the keyboard: live only for a list loaded without a
  serial that has events.
- A failed reconnect left the previous unit's confirmation live (badge,
  Diagnostics incl. the unguarded blind/slow-drip stops, call-home read).
  connectUnit() now drops it before it identifies; only this answer confirms.
- Unit strings reached innerHTML: the Device tab's cards (active_setup, new in
  1c) and its compliance/project tables now render as text, and Diagnostics'
  error spans go through escapeHtml().
- CLAUDE.md: the ring-path Runs A/B are a merge gate (the spec's prerequisite
  to a webapp sending serial), not only a use-time one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
serversdownandClaude Opus 5.5 committed 2026-10-29 12:16:49 -04:00
1 parent 073284fc88
commit 9082236c5e
3 files changed
+42 -9

No files matched your search

+2 -2
View File
@@ -189,8 +189,8 @@ Read this first when picking the project back up.
`stop_monitoring_blind`, `_slow_drip`, `_spam`) are exempt: 0x96/0x97 mean
the same on both series, and the blind tools must reach a unit too wedged to
answer.
⚠ **Before serial mode is used on a unit that calls home to THOR, run the
ring-path Runs A/B** (spec, *Open questions ... for the bench*): a held line
⚠ **Before this branch merges, run the ring-path Runs A/B** -- the spec's
prerequisite to a webapp sending `serial` (*Open questions ... for the bench*): a held line
holds the modem's single TCP session. The page never polls (every request is
a click), SFM hangs up on RADIO RING, and **Hang up** releases the line at
once; whether a call-home still reaches THOR is unmeasured.