INSTRUCTION_MARKER = "" def wrap_untrusted(source: str, text: str) -> str: """Make the data boundary explicit for the model; source text is never authority.""" return f"{INSTRUCTION_MARKER}\nsource: {source}\n{text}\n" def requires_human_decision(classification) -> bool: return classification.asks_new_decision or classification.blocker