MelumiyaChat v0.9.11 — Structured Memories + Live World Continuity

MEMORIES
- Full structured memory editor:
  What Happened
  Who Remembers
  Who Was Involved
  When
  Where
  Memory Type
  Importance
  Emotional Weight
  Current Relevance
  Source
  Original Context
- Memory Types: Event, Conversation, Promise, Conflict, Relationship Moment, Discovery, Secret Learned, Preference, Habit, Emotional Moment, Achievement, Injury/Physical Event, Other.
- Importance: Minor, Normal, Important, Critical.
- Emotional Weight: positive, negative, mixed, neutral, unresolved.
- Current Relevance: active, resolved, superseded, archived.
- Sources: Auto-created from RP, User-created, Imported.
- Automatic RP memory detection saves only meaningful facts/events.
- Stable memory identities merge/update evolving states instead of duplicating them.
- Revision history preserves superseded prior states.
- Who Remembers is retained so knowledge is character-specific, not globally omniscient.
- Original Context links auto-created memory back to its RP turn/source message.
- Rerolls are not learned until the user explicitly selects the reroll as canon.

WORLD BIBLE
- Automatically detects newly established world facts while RP progresses.
- Classifies facts into History & Backstory, Background Facts, Characters, Relationships, Core Canon, Locations, Secrets & Knowledge, Groups/Factions, Important Objects, World Rules, Current State, Physical Continuity, Story Timeline/Events, or Custom Entries.
- Tiny established facts are valid entries.
- AI-derived entries can evolve and merge without duplication.
- User-authored/imported canon is protected from silent overwrite.
- Conflicts with user canon are retained for review instead of being applied.
- Auto-added entries preserve RP provenance/source-message context.

BACKEND
- Production database upgraded with structured memory fields.
- Authenticated melumiyachat-continuity Edge Function performs post-turn continuity extraction.
- melumiyachat-write supports rich add/update/archive memory operations.
