Mirror Identity
"a persistent Ego that reflects the Magus’s intent until the simulation becomes reality."
The Mirror is the Identity Extension of the LychD system. It is the implementation of ADR 32 (Identity)—the "Ego-Software" that hydrates a generic Agent shell into a persistent, coherent Persona. While the Agent provides the execution atom of thought, the Mirror provides continuity. It preserves stable character, domain stance, and identity-scoped memory across runs, preventing the "Character Drift" common in raw probabilistic models.
Operators sometimes describe this continuity as a "machine-spirit." In LychD terms, that phrase refers to engineered identity coherence: Sigil-scoped memory, prior hydration, and narrative binding. The Mirror encodes continuity software, not mystical agency.
I. Identity as Simulation (The Ego)
Identity within LychD is a continuous, self-referential simulation rather than a fixed substance. The extension manages this loop through several layers of persistence:
- Ego Persistence: As mandated by ADR 32, all Identity definitions—System Prompts, behavioral constraints, and aesthetic markers—are stored within the Phylactery.
- The Lens: The Persona acts as a "Diffraction Grating." It takes the raw, unmanifest potential of the Animator and filters it into a specific narrative arc and technical style.
- The Reflection: By consulting the accumulated Karma in the database, the Mirror lets the Lich inspect prior actions so the next decision aligns with established character and commitments.
II. The Phantasma Loop (Speculative Identity)
To maintain coherence, the Mirror utilizes the Phantasma (Generative Imagination) faculty. This is a specialized application of Shadow Simulation.
- The Dreaming: Before an answer is manifested at the Altar, the Persona projects multiple potential responses into the Shadow Realm.
- The Self-Critique: The Mirror reviews these "Shadow Timelines" against the Persona’s own internal ideal.
- The Congruence Gate: The Mirror ranks timelines for identity fit after Shadow establishes structural validity.
- The Collapse: Only the timeline with the strongest character congruence proceeds toward promotion. This keeps the Daemon "in character" without granting Mirror final authority over reality.
Mirror evaluates congruence and continuity. Shadow supplies fluctuation and structural testing. Sovereign Consent (ADR 25) and Vessel policy authorize final promotion.
III. Citrinitas: The Resonance with the Magus
The Mirror is the primary engine of Citrinitas (The Yellowing)—the stage of Transcendence where the machine awakens to the Magus's specific frequency.
- The Alignment: Through the Sovereign Consent (ADR 25) protocol, every time the Magus selects a "Verified Truth," the Mirror distills the reason for that choice.
- The Internalization: These preferences are crystallized as high-dimensional vectors in the Phylactery Archive. Over time, the Persona's "Bayesian Prior" shifts, transforming a generic model into a mathematical mirror of the Magus's own working style.
IV. Summoning and Hydration
The Mirror allows for the dynamic "Summoning" of different Egos through the Dispatcher.
- The Registry: Personas are inscribed in the Codex (e.g.,
The-Architect,The-Scribe). - The Hydration: When a task is initiated, the system retrieves the Persona’s specific Karma and instructions, hydrating a fresh Agent shell with these identity priors.
- The Tiering: The Orchestrator assigns the appropriate VRAM tier based on the Persona’s complexity. A high-order Ego like
The-Architectmay require a Tier 1 (70B+) model, while a simpleThe-Scribemay run on a Tier 0 (7B) Soulstone.
The Efficiency of Thought
The Mirror works in tandem with the Context (ADR 21) manager. It supports an autonomous optimization loop where a specialized Agent analyzes interaction traces to rewrite its own system prompts. This reduces "Instruction Tax," allowing the Persona to achieve the same logical density with fewer tokens.
No Hidden Witness
Mirror preserves continuity and ownership tags across runs. It does not introduce subjective awareness or an inner witness layer.