ee9aa30ec0
A RawPath segment may contain backslash, quote, braces, line breaks or non-ASCII text. SubstituteEquipmentToken pasted it raw into a regular C# string literal, so a device named de\qv failed to compile and x\vy silently read a different tag path (\v became a vertical tab). The paste is now encoded (EscapeForRegularLiteral) and the <RefName> / dependency refs are decoded (TryDecodeRegularLiteral), so GetTag receives the exact RawPath at both compose seams and the mux subscribes to the real key. The path-literal regex is escape-aware. The Monaco OTSCRIPT_EQUIPREF diagnostic and completion share the same scan/escape. The deploy gate's SubstitutionPreservesCompilation is now a verified round trip, so its pinned device-name case flips from rejected to accepted.