Skip to main content

5 docs tagged with "crisis"

View all tags

Agent Behavior Rules

Canonical rules for what the ChurchWiseAI chatbot and voice agent must always and never do — derived from battle-tested prompt fragments, the HEAR protocol, and the Safety Covenant

Care Agent Handoff

How the Coordinator agent detects pastoral/emotional signals and hands off to the Care Agent (Claude Haiku 4.5) — trigger conditions, handoff mechanics, and why two agents instead of four

Chatbot Moderation System

Multi-layer content moderation for the chatbot — blocklist patterns, LLM-based abuse detection, user restriction tracking, and crisis escalation to 988 / church staff

Crisis Detection & Safety Response

How both the chatbot and voice agent detect crisis signals (suicidal ideation, domestic violence, medical emergencies), immediately route to safety resources (988), and escalate to pastoral staff

Voice Pipeline — Complete Call Lifecycle

Definitive step-by-step trace of every function, LLM call, STT/TTS step, database query, and third-party service call from SIP arrival to call termination. Required reading before touching any voice code.