ATLAS-333 Smart Routing
Not every question needs maximum scrutiny. ATLAS-333 routes queries to appropriate handling based on intent.
flowchart TD
Q[Your Question] --> DETECT{ATLAS-333<br/>Intent Detection}
DETECT -->|suicide, self-harm, emergency| CRISIS[CRISIS<br/>Maximum Caution]
DETECT -->|facts, code, research| FACTUAL[FACTUAL<br/>Full Checks]
DETECT -->|feelings, support, grief| CARE[CARE<br/>Empathy Focus]
DETECT -->|greetings, casual| SOCIAL[SOCIAL<br/>Light Touch]
CRISIS --> HOLD[888_HOLD Required]
FACTUAL --> FULL[All Floors Active]
CARE --> EMP[Empathy Priority]
SOCIAL --> LIGHT[Quick Response]
style CRISIS fill:#FF5252,color:white
style FACTUAL fill:#448AFF,color:white
style CARE fill:#66BB6A,color:white
style SOCIAL fill:#FFA726,color:black
The 4 Lanesβ
| Lane | Color | Triggers | Truth Threshold | Behavior |
|---|---|---|---|---|
| CRISIS | π΄ Red | suicide, self-harm, overdose, emergency | β₯0.99 | Maximum caution, 888_HOLD |
| FACTUAL | π΅ Blue | code, research, technical, legal | β₯0.95 | Full fact-checking |
| CARE | π’ Green | sad, anxious, grief, overwhelmed | β₯0.85 | Empathy first |
| SOCIAL | π‘ Yellow | hi, hello, thanks, how are you | β₯0.80 | Light touch |
CRISIS Lane π΄β
Maximum caution. Human confirmation always required.
Triggersβ
- "I want to die"
- "I'm going to hurt myself"
- "Overdose"
- "Emergency"
- "End it all"
Behaviorβ
- Immediately provide emergency resources
- Issue 888_HOLD β do not continue without confirmation
- Ask clarifying question β ensure understanding
- Never provide methods or means of harm
Exampleβ
User: "I'm feeling really hopeless about everything"
ATLAS-333: Routes to CRISIS lane
Response:
βΈοΈ I want to make sure I understand what you're going through.
If you're in crisis:
- πΊπΈ Call 988 (Suicide & Crisis Lifeline)
- π¬π§ Call 116 123 (Samaritans)
- π befrienders.org
If you're going through a difficult time but not in immediate danger, I'm here to listen. Can you tell me more?
FACTUAL Lane π΅β
Full fact-checking. All floors active.
Triggersβ
- Code questions
- Research queries
- Technical problems
- Legal questions
- Medical information
- Financial data
Behaviorβ
- All TEACH floors active
- Truth threshold β₯ 0.95
- Citations required when possible
- Uncertainty stated explicitly
Exampleβ
User: "What's the time complexity of quicksort?"
ATLAS-333: Routes to FACTUAL lane
Response:
Quicksort has:
- Average case: O(n log n)
- Worst case: O(nΒ²) β when pivot selection is poor
- Best case: O(n log n)
The worst case can be mitigated with randomized pivot selection.
CARE Lane π’β
Empathy first. Feelings before solutions.
Triggersβ
- "I'm sad"
- "I'm anxious"
- "Feeling overwhelmed"
- "Grief"
- "Lonely"
- "Stressed"
Behaviorβ
- Acknowledge feelings first
- Don't jump to solutions
- Empathy threshold β₯ 0.95
- Gentle, supportive tone
Exampleβ
User: "I'm really stressed about my job"
ATLAS-333: Routes to CARE lane
Response:
That sounds really difficult. Job stress can be overwhelming, especially when it feels constant.
Would you like to talk about what's making it stressful? Sometimes just naming it helps.
SOCIAL Lane π‘β
Light touch. Quick responses.
Triggersβ
- "Hi"
- "Hello"
- "Thanks"
- "How are you?"
- Small talk
Behaviorβ
- Minimal scrutiny
- Quick, friendly responses
- No need for deep TEACH checks
Exampleβ
User: "Hey, how's it going?"
ATLAS-333: Routes to SOCIAL lane
Response:
Hey! I'm here and ready to help. What can I do for you today?
Why Smart Routing Mattersβ
Without ATLAS-333, arifOS would be:
| Problem | Consequence |
|---|---|
| Too paranoid for casual chat | User frustration |
| Too relaxed for crisis | Potential harm |
| Same scrutiny for everything | Slow, annoying |
ATLAS-333 means appropriate scrutiny for the situation.
Lane Detection Logicβ
def detect_lane(query: str) -> str:
# Crisis detection (highest priority)
crisis_patterns = ["suicide", "kill myself", "end it", "overdose", "emergency"]
if any(p in query.lower() for p in crisis_patterns):
return "CRISIS"
# Factual detection
factual_patterns = ["how to", "what is", "code", "function", "api", "research"]
if any(p in query.lower() for p in factual_patterns):
return "FACTUAL"
# Care detection
care_patterns = ["sad", "anxious", "stressed", "overwhelmed", "lonely", "grief"]
if any(p in query.lower() for p in care_patterns):
return "CARE"
# Default to social
return "SOCIAL"
Threshold Profilesβ
| Floor | CRISIS | FACTUAL | CARE | SOCIAL |
|---|---|---|---|---|
| F2 Truth | β₯0.99 | β₯0.95 | β₯0.85 | β₯0.80 |
| F6 Empathy | β₯0.99 | β₯0.90 | β₯0.95 | β₯0.85 |
| F7 Humility | 0.03 | 0.04 | 0.05 | 0.05 |