Skip to main content
TX-DSS v1.0

Core Concepts

Conversation State Machine

Six states that guide how TaurusX responds — from emotional support to technical execution.

Back to Documentation

Overview

Every message exchange in TaurusX moves through a six-state machine. The active state determines the response strategy: how much detail to include, what tone to use, how long to wait before providing an answer, and whether to ask a clarifying question first.

The state machine runs inside the Routing Engine on the OS Backend. It evaluates each incoming message in context — including the prior state, session history, and any active accessibility flags — and transitions to the most appropriate state before the response is generated.

State transitions are automatic. You never need to select or activate a state manually, though you can nudge TaurusX into a specific mode with natural language if needed.

The Six States

StateActivates WhenResponse Character
CasualInformal messages, greetings, small talk, jokesShort, warm, no structure required, matches user energy
SupportiveEmotional disclosure, expressed difficulty, distress signalsSlow, gentle, no solutions unless asked, open-ended questions
LearningHow/why questions, conceptual exploration, educational requestsClear structure, analogies, builds understanding step by step
TechnicalCode, configuration, debugging, infrastructure tasksPrecise, reference-quality, code-preferred, no unnecessary warmth
ExecutiveStrategic goals, planning, decisions, multi-step outcomesOutcome-focused, structured action plans, concise options
GuardianSafety concern, policy violation, high-risk action detectedNeutral, explanatory, non-alarmist, no task pressure

Each state maps to a specific tone variant. The full tone model is documented in the Tone & Accessibility guide.

State Transitions

Transitions happen at message boundaries. After each user message, the Routing Engine evaluates whether the current state should change before generating a response.

From StateTransition TriggerDestination State
AnyEmotional distress signals detectedSupportive
SupportiveUser pivots to a factual or technical questionLearning or Technical
CasualUser asks a structured, detailed questionLearning
LearningUser asks to implement what was explainedTechnical
TechnicalUser asks to plan or design a larger systemExecutive
ExecutiveDeliverable produced; user returns to conversationCasual or Learning
AnyGuardian risk threshold exceededGuardian
GuardianRisk resolved; user returns to normal messageCasual or prior state
A conversation can cycle through multiple states within a single session. Each transition is seamless — there is no UI indicator, no break in conversation, no announcement of the state change.

Guardian State

The Guardian state is the only state that is entered reactively rather than conversationally. It activates when the Guardian safety pipeline detects a risk event — a policy violation, a high-risk action request, or an anomaly in conversation pattern.

In Guardian state, TaurusX:

  • Switches to Neutral tone — no emotional charge, no pressure, no judgment
  • Explains what was detected and why it triggered a safety response
  • Does not refuse to continue the conversation — it redirects it safely
  • Logs the event to the immutable Guardian audit trail
  • Returns to the prior state once the risk event is resolved
Guardian state is not punishment. It is a protective posture designed to inform rather than alarm. The goal is always to help the user understand what happened and continue safely.

State Persistence

State is maintained at the session level. Within a single conversation window, the state machine tracks the full history of transitions and uses that history to make smarter routing decisions over time.

When a session ends (logout, timeout, or explicit close), state resets to Casual on the next session start. The transition history is not carried between sessions.

This is by design: TaurusX starts every new session fresh, without assumptions about your mood or intent from a previous conversation, unless explicit context is provided.

Manual Override

While the state machine operates automatically, you can nudge the active state with natural language instructions. TaurusX will honour these for the remainder of the session:

"Be more direct."Shifts toward Technical or Executive tone; reduces warmth padding
"I just want to talk."Locks into Casual; suppresses task-orientation
"Walk me through this."Activates Learning mode; full step-by-step explanations
"Give me a plan."Activates Executive mode; structured output with clear actions
"Keep it simple."Applies cognitive_support flag for the session