Buckets:

download
raw
788 Bytes
"""
Guardrail Enums for Runtime Safety.
Constitutional Hash: 608508a9bd224290
"""
from enum import Enum
class GuardrailLayer(str, Enum):
"""OWASP-compliant guardrail layers."""
INPUT_SANITIZER = "input_sanitizer"
AGENT_ENGINE = "agent_engine"
TOOL_RUNNER_SANDBOX = "tool_runner_sandbox"
OUTPUT_VERIFIER = "output_verifier"
AUDIT_LOG = "audit_log"
RATE_LIMITER = "rate_limiter"
class SafetyAction(str, Enum):
"""Safety actions the guardrails can take."""
ALLOW = "allow"
BLOCK = "block"
MODIFY = "modify"
ESCALATE = "escalate"
SANDBOX = "sandbox"
AUDIT = "audit"
class ViolationSeverity(str, Enum):
"""Severity levels for violations."""
LOW = "low"
MEDIUM = "medium"
HIGH = "high"
CRITICAL = "critical"

Xet Storage Details

Size:
788 Bytes
·
Xet hash:
3337456be30eae04618b863b75285e1713679ebe001a2f2df2a5490c8a30739f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.