Shell quoting for recipes that compose command text.
A recipe splices its values into a command a shell reads: a script's check
and run, or a script it writes to a file. Each value goes in as one
single-quoted word, inside which a shell reads every byte literally except a
single quote — so a value can't change what the command means, whatever it
holds ($, backticks, ", ;, spaces, newlines).
A value may be a reference (env_ref / zap.env). Its marker holds no single
quote, so it lands inside the quotes, and zap refuses to resolve a reference
whose value holds one when the command runs. A literal single quote in the
text is escaped ('\''), which is what it means inside single quotes.
A pure function, like the recipes that import it: it only assembles a string.