pub async fn judge_language(
cfg: &Config,
cwd: &Path,
title: &str,
body: &str,
) -> Option<LanguageDecision>Expand description
Ask [roles] language_judge whether title and body’s prose are English.
None whenever there is no usable answer: the guard is off, the role is
unset, no agent can run, the call failed, timed out or hit its quota, or
the reply does not parse. The caller then keeps the heuristics, so this
never needs a key or a network. Only prose goes out (code, quotes and
details are left behind) and only after local identity is scrubbed.