Docs · The meaning guard
The Meaning Guard: What Cleanup Can Never Change
Small models rewriting your sentence occasionally change what you meant. Juleep checks for that in code, not in the model.
What it checks
After the cleanup model replies, a deterministic check compares the reply with what you said: every negation (not, never, n't and the like, with contractions normalised) must still be there; every number, in digits or words, must still be there; every code-looking token (paths, identifiers, flags, ALLCAPS, letters mixed with digits) and every dictionary word must appear exactly; a self-correction ("Friday, no, Thursday") must keep the corrected version; the reply must be plain text, not JSON or a code block; and the cleanup may not rewrite more than 60% of the words.
What happens on a failure
The cleanup is retried once with a hint naming the missing thing. If the retry fails too, Juleep types exactly what you said, and History shows the take with a line like "Typed as said. Cleanup would have dropped 'not'." Kept tokens are underlined in History so you can see what was protected.
How it is tested
A regression set of thirty takes (negated instructions, numbers and times, paths and flags, names, Lithuanian, self-corrections, prompt-injection attempts) runs through the cleanup model and the guard. On Qwen3 4B: 26 pass clean, 2 pass on the retry, 2 are held and typed as said. The set, the rules and the results are published at github.com/johnvink/meaning-guard-eval so anyone can run them against another model.