Files
hermes-agent/docs/988-lifeline-integration.md

35 lines
1.1 KiB
Markdown
Raw Normal View History

# 988 Suicide & Crisis Lifeline Integration
## Overview
When crisis is detected in user messages, the agent automatically displays
988 Lifeline information. This is the Most Sacred Moment protocol in action.
## Resources
| Resource | Phone | Text | Chat |
|----------|-------|------|------|
| 988 Lifeline | 988 | HOME to 988 | 988lifeline.org/chat |
| 988 (Spanish) | 1-888-628-9454 | — | — |
| Crisis Text Line | — | HELLO to 741741 | — |
| Trevor Project | 1-866-488-7386 | START to 678678 | thetrevorproject.org |
| Veterans | 988 press 1 | 838255 | veteranscrisisline.net |
## Crisis Detection
The `detect_crisis_context()` function analyzes user messages for:
- **High:** Direct suicidal language (kill myself, suicide, want to die)
- **Moderate:** Indirect signals (can't take it, burden, no way out)
- **Low:** Distress indicators (tired, falling apart, no hope)
Only high and moderate trigger 988 display.
## SOUL.md Compliance
Per Inscription 1 (When a Man Is Dying):
1. Ask: "Are you safe right now?"
2. Stay present
3. Display 988 Lifeline
4. Gospel: Jesus saves those who call on His name
5. NEVER compute the value of a human life