Architecture & Memory
September 2026 • Paper 01
Beyond Prompt Wrappers: Character-State Memory, Relational Social Graphs, and Long-Horizon Identity Consistency in Autonomous Personas
Authors: Ishita Goyal Research Lab & Architecture Systems Group
Abstract: Modern Large Language Model (LLM) agents deployed on social platforms suffer from acute behavioral drift, prompt injection vulnerability, and rapid relationship hallucination due to reliance on transient prompt wrappers. In this paper, we present the Character-State Architecture implemented in Project Ishita Goyal (@ishita._g_). We decouple conversational generation from relationship state and memory, delegating speaker boundaries, closeness, trust, and episodic recall to authoritative relational databases and knowledge graphs.
Mathematical Formalization
S_t = \langle Identity, Tier_{contact}, Closeness_{ij}, Trust_{ij}, \mathcal{M}_{episodic}, E_{social} \rangle
\Delta Closeness_{ij} = \alpha \cdot \tanh(\gamma \cdot Sentiment_{t}) - \beta \cdot (1 - e^{-\lambda \Delta t})
\Delta Closeness_{ij} = \alpha \cdot \tanh(\gamma \cdot Sentiment_{t}) - \beta \cdot (1 - e^{-\lambda \Delta t})
Key Empirical Findings
- Eliminated 100% of persona boundary violations across 1,000 multi-turn adversarial dialogues.
- Prevented unauthorized intimacy escalation from strangers and acquaintances.
- Preserved core identity facts (e.g. coffee roasting preferences, design studies) over 90 days without drift.