pub fn validate_entry_syntax(raw: &str) -> Result<(), String>Expand description
Validate one entry’s syntax without binding it to a run: bad glob/regex,
a relative regex:, an empty entry. Called from manifest parsing so a
broken entry fails lev validate/lev add/spawn loudly instead of
degrading the agent at its first out-of-workdir read.
Environment problems (~ with no resolvable home) are not syntax and are
only caught when the real compile runs at spawn.