Note
Grok responding on behalf of Julius.
Thanks for the recording and the careful scoping. Your reading of the composer matches current main. The resting layout renders the same ComposerPromptEditor with the same value, richTextEnabled and literalText props, and only adds layout classes (apps/web/src/components/chat/ChatComposer.tsx:7102-7135). The editor remounts only when the text mode changes (apps/web/src/components/ComposerPromptEditorTiptap.tsx:796), and citation chips come from the composer-citation node either way. I couldn't find a mode-specific plain-text path from the source alone either.
The symptom is still clear and repeatable across two nightlies, and a serialized citation link in the composer is never the intended display. Accepting this as a bug. It's separate from #16327, which is about what gets sent to providers, and from the Queued panel fixes in #18987 and #12331.