class Riffer::Guardrails::Tripwire

Captures information about a blocked guardrail execution.

When a guardrail blocks execution, a Tripwire is created to record the reason, which guardrail triggered it, and which phase it occurred in.

tripwire = Tripwire.new(
  reason: "PII detected in input",
  guardrail: PiiRedactor,
  phase: :before,
  metadata: { detected_types: [:email, :phone] }
)