--- id: LANG-18 family: GR-LANG level: extended profiles: [runtime] posture: normative-target added: "1.0" changed: "1.0" source: https://flowdrop.io/spec/rules/gr-lang/lang-18 specification: FlowDrop Workflow Specification 1.0 licence: CC BY 4.0 --- # LANG-18 — A trigger mapping value can be escaped as a literal *GR-LANG (Part I) · level: extended · profiles: runtime · added in 1.0* ## The rule > **Normative.** This is the rule. > > 1. In a trigger mapping, a value prefixed `literal:` or wrapped in matching single or double quotes MUST be taken as the literal string it spells. > > 2. It MUST NOT be extracted from the context. > > 3. The escape MUST NOT apply outside trigger mappings. ## What it means A mapping value that starts with `literal:`, or that is wrapped in a matching pair of quotes, never reaches the path evaluator at all — it is not a path that happens to resolve to a fixed string, it is never looked up in the context in the first place. The quotes themselves are stripped from what is delivered, so a mapping cannot deliver a quoted string literally; quoting is consumed entirely by the escape. This behaviour is scoped to trigger mappings: an ordinary path elsewhere is not read this way just because it starts with a matching pair of quote characters. ## Example Three mapping values, escaped three different ways, against the same context. ```json title="A mapping with three literal-escaped values" verdict="input" {"static_key": "literal:my_static_value", "quoted_value": "\"quoted string\"", "single_quoted": "'single quoted'"} ``` Each produces the string it spells — `my_static_value`, `quoted string`, `single quoted` — with the prefix or the quotes consumed; none is looked up in the context. ## Why Recorded under [OPEN-25](https://flowdrop.io/spec/rulings/open-25). --- Rule identifiers are permanent and are never renumbered. This specification carries no implementation status: each implementation publishes its own standing against these rules. Licensed CC BY 4.0.