Correcting my own earlier report (earendil-works/pi#8624). That issue blamed Kitty CSI-u sequences arriving split across stdin chunks. That effect is real in a pty harness, but it is not what was happening on my machine.
pi's tty falls back to canonical mode with ECHO on while pi keeps running: