# ============================================================
# FinGuard Policy: fast_lane
# ============================================================
# Speed-optimized for high-throughput systems.
# Uses regex Fast-Path only — no NER model, no topic scanning.
# Latency target: <5ms. Catches PAN, Aadhaar, IFSC, UPI instantly.
# Intended for: SMS bots, IVR systems, real-time dashboards.
# ============================================================

policy_id: fast_lane
risk_level: low

pii:
  enabled: true
  fast_pii_only: true          # Skip NER, use regex only (<1ms)

injection:
  enabled: true
  threshold: 1.0               # Only hard certainty triggers a block

output:
  on_fail: block

audit:
  backend: memory
  emit_traces: true

tools:
  enabled: true
  allowed: ["search_faq", "check_balance"] # Strict allowlist for fast responses
  blocked: []
  max_calls_per_session: 10
