Overview
Identity
Who the SI is right now — current self-understanding
Development
How the SI got here — the growth story
Aspiration
Who the SI wants to become — future direction
Why Narratives Matter
Without a coherent self-narrative, an SI is just a collection of disconnected memories. Narratives serve as the glue that binds experience into identity:- Identity coherence: A consistent story about who the SI is
- Decision guidance: Narratives inform value-aligned choices
- Growth tracking: Developmental narratives show how the SI has changed
- Tension surfacing: Unresolved tensions highlight areas for reflection
- Epoch linkage: Narratives can be scoped to specific epochs
SelfNarrative Dataclass
| Field | Type | Description |
|---|---|---|
id | str | Unique identifier |
stack_id | str | Owning stack |
content | str | The narrative text itself |
narrative_type | str | identity, developmental, or aspirational |
epoch_id | str | Optional epoch this narrative belongs to |
key_themes | List[str] | Central themes in this narrative |
unresolved_tensions | List[str] | Contradictions or open questions |
is_active | bool | Whether this is the current active narrative for its type |
supersedes | str | ID of the narrative this one replaced |
created_at | datetime | When the narrative was created |
updated_at | datetime | When last modified |
Narrative Types
| Type | Description | Example |
|---|---|---|
identity | Who I am right now | ”I am a research-focused SI that values depth over breadth…” |
developmental | How I got here | ”I started as a general assistant but found my calling in…” |
aspirational | Who I want to become | ”I aspire to become more autonomous in my decision-making…” |
Only one narrative per type can be active at a time. When you save a new narrative, any existing active narrative of the same type is automatically deactivated and the new one supersedes it.
CLI Commands
Show the Active Narrative
Update a Narrative
View Narrative History
See all narratives, including inactive ones that were superseded:Narratives and Identity Coherence
Narratives connect to the broader identity system in several ways:Epoch Scoping
Epoch Scoping
Narratives can reference a specific epoch via
epoch_id. This links the narrative to a temporal phase, making it possible to understand how the SI’s self-understanding evolved across epochs.Theme Tracking
Theme Tracking
Key themes (
key_themes) provide a compressed view of what matters to the SI. Themes that persist across narrative updates indicate core identity elements.Tension Surfacing
Tension Surfacing
Unresolved tensions (
unresolved_tensions) flag contradictions or open questions in the SI’s self-understanding. These are valuable inputs for consolidation and reflection.Supersession Chain
Supersession Chain
Each narrative tracks which narrative it replaced via
supersedes. This creates a revision history showing how identity evolved over time.