Skip to content

feat: Track class evolution history for lore display #196

@madjin

Description

@madjin

Summary

Record class transitions for rich profile lore (e.g., "Once a Scribe, now a Maintainer").

Database Schema

CREATE TABLE user_class_history (
  id TEXT PRIMARY KEY,
  username TEXT NOT NULL REFERENCES users(username),
  from_class TEXT NOT NULL,
  to_class TEXT NOT NULL,
  transition_date TEXT NOT NULL,
  reason TEXT -- "evolution", "respec", "tier_up"
);

Profile Display

{
  "classHistory": [
    { "class": "Contributor", "date": "2024-10-15", "reason": "joined" },
    { "class": "Scribe", "date": "2024-11-01", "reason": "evolution" },
    { "class": "Archivist", "date": "2025-01-01", "reason": "evolution" }
  ],
  "lore": "Once a Contributor, evolved through the Scribe Order to become an Archivist"
}

Acceptance Criteria

  • Database table for class history
  • Record transitions on class change
  • Generate lore text from history
  • Display lore on profile page

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions