mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-09-25 04:37:01 +00:00
oumike. Closes #301. Suggestions come from identities whose named adverts the device actually heard this session, not the stored contact list, so the list stays short and is evidence the node is reachable rather than a name someone once saved. The advert-path cache it reads was 16 entries with no validity flag and no ordering beyond insertion, so it grew an explicit used flag, the advertised node type and a monotonic receive sequence. Reads take a snapshot under a short critical section and sort it outside the lock, which is the right shape: the cache is written from packet receive and read from the UI thread. Token parsing works from the real LVGL caret through a UTF-8 codepoint-to-byte conversion rather than assuming one byte per character, does not fire on email-like text, and replaces only the active token. Built on all eight S3 envs and both ESP32-P4 targets. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>