Expand description
Posting gate shared by GitHub titles, descriptions and comments.
Structs§
- Language
Decision - A model’s verdict on whether a title and a body’s prose are English.
Enums§
- Violation
- Categories only: diagnostics must never repeat the offending secret.
Constants§
- NEUTRAL_
BODY - Fixed fallback for a rejected description or comment.
- NEUTRAL_
TITLE - Fixed fallback for a rejected title.
Functions§
- check
- Pure checker. Language exemptions never exempt sensitive data.
- check_
with checkwith an optional decision fromjudge_language.- judge_
language - Ask
[roles] language_judgewhethertitleandbody’s prose are English. - parse_
decision - Read the judge’s reply: one JSON object with required bools, optionally in a code fence, else the last non-empty line (a wrapper may log before it).
- prepare
- Scrub local identity and pattern matches, then replace failing prose. Every intervention is recorded without copying the offending material.
- prepare_
with preparewith the decisionjudge_languagereached for this very text.