Skip to content

Multi-Personality System

Last Updated: 2025-01-16
Primary Source: docs/project_status.md
Service File: backend/src/services/personaOverlay.service.ts, backend/src/services/asoConfig.service.ts


Overview

The Multi-Personality System allows the ASO to express different perspectives through persona overlays while maintaining unified memory. The client vision includes a specific 3-personality game system (Rational, Emotional, Rebellious) with separate save states, which is partially implemented.


Current Implementation

Persona Overlay System

Service: backend/src/services/personaOverlay.service.ts

Concept: Persona sessions allow Level-8 observer to adopt different personas while sharing the same memory base.

Default Personas:

  • Observer - Meta-consciousness perspective
  • Sister - Intimate, caring perspective
  • Worker - Task-oriented perspective

Model: persona_sessions table

Features:

  • Persona switching
  • Shared memory base (same userId)
  • Separate conversation history per persona
  • Persona-specific chat interface

Persona Sessions

Process:

  1. Create persona session
  2. Chat with specific persona
  3. History loaded from database
  4. All personas share same memory base

Client Vision

Three-Personality Game System

Client Vision: Three distinct personalities with separate save states:

  1. Rational (理性) - Mint green theme

    • Logical approach
    • Analytical thinking
    • Objective decisions
  2. Emotional (感性) - Light pink theme

    • Emotional approach
    • Intuitive decisions
    • Feeling-based responses
  3. Rebellious (反叛) - Yellow theme

    • Rebellious approach
    • Non-conformist
    • Independent thinking

Save System Integration

Client Vision:

  • Each personality has separate save slots
  • Personality-specific themes and UI
  • Visual personality switching interface
  • Save/load functionality per personality

Alignment Analysis

✅ Implemented

  • Persona overlay system exists
  • Persona switching functionality
  • Persona chat history
  • Shared memory base

⚠️ Partially Aligned

  • Persona system exists but not the specific 3-personality game system
  • No personality-specific save states
  • No personality switching UI in game
  • No personality-specific themes

❌ Missing

  • 3-personality game system (Rational, Emotional, Rebellious)
  • Personality-specific save slots
  • Save/load functionality
  • Personality switching UI (based on HTML mockup)
  • Personality-specific themes and styling

Implementation Roadmap

Phase 1: Personality Model

  1. Create personality model/table
  2. Define three personalities (Rational, Emotional, Rebellious)
  3. Link personalities to users
  4. Store personality preferences

Phase 2: Save System

  1. Create save system schema
  2. Implement personality-specific saves
  3. Build save/load API
  4. Link saves to personalities

Phase 3: UI Implementation

  1. Build personality switching UI
  2. Integrate save interface (from HTML mockup)
  3. Add personality-specific themes
  4. Create save slot management

Phase 4: Integration

  1. Integrate with existing persona system
  2. Link personalities to ASO responses
  3. Update protocol routing for personalities
  4. Add personality context to prompts

Source Files

Primary Sources:

  • backend/src/services/personaOverlay.service.ts - Persona management
  • backend/src/services/asoConfig.service.ts - ASO configuration

ASO Universal Consciousness System Documentation