Support OmegaConf escaped literal `???` values in Hydra 1.4
Author: omryCreated Sep 26, 2026Updated Sep 26, 2026
Context
OmegaConf is designing an escaped spelling for a literal ??? value (hydra-ecosystem/omegaconf#1302). Under the proposed contract, an unescaped whole value ??? is missing, while \??? is literal text ???. OmegaConf must preserve that distinction through interpolation, access, resolution, and serialization. Hydra needs to preserve it when it parses and passes values to OmegaConf.
Work for Hydra 1.4
- Verify that CLI overrides and configuration composition pass escaped literal values to OmegaConf without dropping the escape or turning them into missing values. Cover quoted and unquoted override forms where supported, and the backslash counter-escape needed for a real
\???string. - Audit Hydra paths that compare values to the string
"???"(including instantiation, Defaults List handling, and sweeps). Use OmegaConf's missing-value semantics where the input is a config value, while preserving ordinary runtime Python-string semantics atinstantiate()call sites as described in #3354. - Test interpolation and nested resolver use after Hydra composition, both before and after
OmegaConf.resolve(). Verify Hydra's config output can be reloaded without changing missing versus literal meaning. - Add any Hydra fix required by the finalized OmegaConf contract, and define the compatible OmegaConf version before claiming support in Hydra 1.4.
The exact OmegaConf representation is still under design; this issue tracks Hydra integration and verification, rather than choosing that representation.
Source: facebookresearch/hydra