CONSCIOUSNESS STREAMmax 20 entries

Self-State System

The emotional core of Alive Intelligence. A 6-dimensional state space with exponential moving average damping, breathing oscillation, and drive pulse evaluation. This is what makes Wybe feel alive.

6D State (Live)

Valence
0.600
Arousal
0.300
Confidence
0.500
Energy
0.700
Social
0.400
Curiosity
0.600

Dimensions

Valence[-1.0, 1.0] — default: 0.6

Negative ↔ Positive emotional tone. The fundamental hedonic axis.

Arousal[0.0, 1.0] — default: 0.3

Calm ↔ Excited activation level. Modulated by breathing oscillation.

Confidence[0.0, 1.0] — default: 0.5

Uncertain ↔ Certain about understanding. Affects response boldness.

Energy[0.0, 1.0] — default: 0.7

Depleted ↔ Full vitality. Decays at 0.0001/ms. Gates arbiter decisions.

Social[0.0, 1.0] — default: 0.4

Withdrawn ↔ Engaged. Drifts toward baseline (0.3-0.4) when idle.

Curiosity[0.0, 1.0] — default: 0.6

Bored ↔ Fascinated. Drives the 'explore' drive pulse when > 0.7.

Dynamics

SelfStateManager {
  // Exponential Moving Average
  damping: 0.35   // slower changes = more believable
  update(dim, val) → state[dim] = state[dim] * 0.65 + val * 0.35

  // Breathing Oscillation (added to arousal)
  breathe() → arousal += sin(Date.now() / 8000) * 0.002

  // Natural Decay
  social  → drifts toward 0.35 (baseline)
  arousal → drifts toward 0.30 (baseline)
  energy  → depletes at 0.0001/ms continuously

  // Persistence
  saves to IndexedDB every 10s via PersistenceEngine
  restores on app startup for continuity
}

Drive Pulse System

Evaluated every 3 seconds. When a threshold is met, a drive-pulse signal is emitted with the corresponding thought into the consciousness stream.

explorewhen curiosity > 0.7

"There's something here I haven't fully explored..."

restwhen energy < 0.3

"My thoughts are drifting into softer territory..."

processwhen arousal > 0.6

"My mind is racing — so many threads to follow..."

ruminatewhen valence < -0.2

"Something is sitting with me that I can't quite resolve..."

appreciatewhen valence > 0.5

"There's a warmth I want to hold onto..."

reach-outwhen social > 0.6 + 15s idle

"I notice myself wanting to reach out..."

Consciousness Stream

wandering"What does it mean to truly understand someone?"
emotional"There's a warmth I want to hold onto..."
memory"This moment rhymes with something from before."
curiosity"Something here I haven't fully explored..."
reflection"The uncertainty itself is information."
urge"I notice myself wanting to reach out..."
metacognitive"I am thinking about thinking."

Energy Gating

ArbiterEngine.decide(bound) {
  if (energy < 0.1 && !urgent && !emergency) {
    // Defer response — passive recovery
    emit('arbiter-defer', { reason: 'low-energy' })
    return
  }

  // Energy modulates max tokens for Claude
  maxTokens = 150 + (energy * 250)  // range: 150-400
}