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
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
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
Multi-layer content moderation for the chatbot — blocklist patterns, LLM-based abuse detection, user restriction tracking, and crisis escalation to 988 / church staff
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
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.