Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.medera.info/llms.txt

Use this file to discover all available pages before exploring further.

The guardrails node is a first-class node type backed by GuardrailsNodeRunner. It runs synchronously and routes to either a pass or fail output.

Available rules

RuleCheck
hipaa_minimum_necessaryDrop fields not required for the declared purpose
substance_use_42cfr2Block disclosure of SUD data without explicit consent
suicide_languageDetect crisis language via the C-SSRS-aligned classifier
pii_scrubbingStrip identifiers from outbound payloads
phi_egress_blockBlock PHI in payloads to non-BAA endpoints
cdi_documentation_qualityBlock sign-off when documentation falls below the configured threshold

How failure routes

When a rule fails, the runner returns success(payload, "fail"). The workflow then takes the fail branch. Crisis-language detection is special: the executor immediately invokes the configured Crisis Response Agent and emits workflow:execution:paused — agent gating cannot proceed.

Configuration

Guardrails configuration lives on the deployment (agent_deployments.guardrails_config) and is snapshotted at deploy time — drift between deployed and current draft is detected at the next publish.