mirror of
https://github.com/torlando-tech/pyxis.git
synced 2026-08-05 18:29:41 +00:00
Adds two harness hooks for testing pyxis as the LXST callee: - T:LXSTDEST: returns pyxis's lxst.telephony destination hash. The caller-side bot (real LXST.Telephony.Telephone in this case) needs this to dial pyxis. Backed by a new test_lxst_dest_hex() accessor on UIManager that reads _lxst_destination and returns hex (or empty if the destination isn't registered yet). - T:ANNLXST: forces a fresh announce of the lxst.telephony destination. The TCP-reconnect handler in main.cpp:963 only announces LXMF, so on a fresh boot the lxst.telephony destination is missing from rnsd's cache and link requests addressed to it get dropped with "no known path to final destination" (rnsd debug log). The harness pings this before each callee test to ensure rnsd has a fresh path. Also adds INFO logging to announce_lxst() mirroring the LXMF announce log (Announcing destination: <hash> ... announce sent), so it's visible in tdeck-side traces when an announce actually went out vs. silently no-oped. Validated: bot dials, pyxis transitions IDLE -> INCOMING_RINGING (UI shows incoming-call screen), harness sends T:CALL_ANSWER, state becomes ACTIVE. (Audio path crashes shortly after via the same Ed25519 announce-validation bug — fix landed in microReticulum f4bad06, but PIO's libdeps cache had been holding a stale copy; a manual rm -rf .pio/libdeps/tdeck/microReticulum was needed to pick it up. Tracked in #73.) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>