Define bounded Emacs and Vim modeline parsing, alias normalization, explicit precedence, one pinned language decision shared by syntax and LSP, and the acceptance contract for load-time mode detection.