"""Reversible masking of sensitive infrastructure identifiers. Replaces pod names, cluster names, hostnames, account ids, service names, IP addresses, and emails with stable placeholders (````, ````) before sending text to external LLMs, and restores the originals in any user-facing output. Complementary to ``platform/guardrails`` which performs one-way redaction for hard-block rules. Activated per operator by ``OPENSRE_MASK_ENABLED=true``. Off by default. """ from __future__ import annotations from platform.masking.context import MaskingContext from platform.masking.detectors import DetectedIdentifier, find_identifiers from platform.masking.policy import ALL_KINDS, IdentifierKind, MaskingPolicy __all__ = [ "ALL_KINDS", "DetectedIdentifier", "IdentifierKind", "MaskingContext", "MaskingPolicy", "find_identifiers", ]