Streaming script-token decoding shared by Editor::feed_text and headless. Tokens retain physical modifiers until the engine selects the input owner. Unknown tokens stay literal; a lone ‘<’ never fabricates a closing ‘>’.