Eve library

phase-7.md

Tracker

Revision 1

On this page

Historical task source. The Eve task board holds current task state.

Phase 7: Hathor (Worldbuilding & Narrative) Migration#

7.1 Hathor Library: Domain Models#

  • 7.1.1 Create libs/hathor/domain-models/ project
  • 7.1.2 Add project.json with scope:hathor, layer:domain tags
  • 7.1.3 Define Faction model
  • 7.1.4 Define Economy model
  • 7.1.5 Define Law model
  • 7.1.6 Define Culture model
  • 7.1.7 Define Geography model
  • 7.1.8 Define Timeline model
  • 7.1.9 Define Character model
  • 7.1.10 Define Location model
  • 7.1.11 Ensure models are engine-agnostic (no engine SDK types)

7.2 Hathor Library: Narrative Systems#

  • 7.2.1 Create libs/hathor/narrative/ project
  • 7.2.2 Add project.json with scope:hathor, layer:domain tags
  • 7.2.3 Migrate yemaya/packages/quest-dialogue
  • 7.2.4 Create Story Graph data structure
  • 7.2.5 Create Quest model and builder
  • 7.2.6 Create Dialogue Tree model
  • 7.2.7 Create Journal/Codex system
  • 7.2.8 Add narrative branching utilities

7.3 Hathor Library: Theory (Story/Cinematography)#

  • 7.3.1 Create libs/hathor/theory/ project
  • 7.3.2 Add project.json with scope:hathor, layer:domain tags
  • 7.3.3 Migrate story-related parts of yemaya/packages/theory
  • 7.3.4 Create MDA framework implementation
  • 7.3.5 Create story structure templates (hero's journey, etc.)
  • 7.3.6 Add visual composition rules

7.4 Hathor Library: Simulation ✅#

  • 7.4.1 Create libs/hathor/simulation/ project
  • 7.4.2 Add project.json with scope:hathor, layer:domain tags
  • 7.4.3 Create economy simulation engine
  • 7.4.4 Create politics simulation engine
  • 7.4.5 Create culture evolution simulation
  • 7.4.6 Create scenario generator

7.5 Hathor Library: Lore Compiler#

  • 7.5.1 Create libs/hathor/lore-compiler/ project
  • 7.5.2 Add project.json with scope:hathor, layer:domain tags
  • 7.5.3 Create engine-ready artifact generator (quests)
  • 7.5.4 Create film-ready artifact generator (script beats, scene cards)
  • 7.5.5 Create interchange format for Bellona

7.6 Hathor Library: Validation ✅#

  • 7.6.1 Create libs/hathor/validation/ project
  • 7.6.2 Add project.json with scope:hathor, layer:domain tags
  • 7.6.3 Create timeline consistency checker
  • 7.6.4 Create causality validator
  • 7.6.5 Create taxonomy validator
  • 7.6.6 Add lore contradiction detector

7.7 Hathor Library: Pre-Production ✅#

  • 7.7.1 Create libs/hathor/pre-production/ project
  • 7.7.2 Add project.json with scope:hathor, layer:domain tags
  • 7.7.3 Migrate yemaya/packages/pre-production
  • 7.7.4 Create scriptwriting tools
  • 7.7.5 Create storyboarding tools
  • 7.7.6 Create planning utilities

7.8 Hathor App: World Model API#

  • 7.8.1 Create apps/hathor/world-api/ project
  • 7.8.2 Add project.json with scope:hathor, type:app tags
  • 7.8.3 Create world state CRUD endpoints
  • 7.8.4 Create versioning endpoints
  • 7.8.5 Create world query endpoints
  • 7.8.6 Add diff/merge utilities for collaborative editing

7.9 Hathor App: Narrative API ✅#

  • 7.9.1 Create apps/hathor/narrative-api/ project
  • 7.9.2 Add project.json with scope:hathor, type:app tags
  • 7.9.3 Create story graph endpoints
  • 7.9.4 Create quest CRUD endpoints
  • 7.9.5 Create dialogue tree endpoints
  • 7.9.6 Add constraint validation endpoints

7.10 Hathor App: Simulation Workers ✅#

  • 7.10.1 Create apps/hathor/simulation-worker/ project
  • 7.10.2 Add project.json with scope:hathor, type:app tags
  • 7.10.3 Create economy simulation worker
  • 7.10.4 Create politics simulation worker
  • 7.10.5 Create culture simulation worker
  • 7.10.6 Create scenario generation worker

7.11 Hathor App: Worldbuilding Workbench ✅#

  • 7.11.1 Create apps/hathor/workbench/ project
  • 7.11.2 Add project.json with scope:hathor, type:app tags
  • 7.11.3 Create world editor UI
  • 7.11.4 Create timeline visualization
  • 7.11.5 Create faction relationship graph UI

7.12 Hathor Client SDK#

  • 7.12.1 Create libs/hathor/client/ project
  • 7.12.2 Add project.json with scope:hathor, layer:clients tags
  • 7.12.3 Generate TypeScript client from OpenAPI
  • 7.12.4 Create @oshun/hathor-client package
  • 7.12.5 Add world state helpers
  • 7.12.6 Add quest generation helpers
  • 7.12.7 Add lore validation helpers

7.13 Hathor Database Schema#

  • 7.13.1 Create libs/hathor/database/ project
  • 7.13.2 Add project.json with scope:hathor, layer:data tags
  • 7.13.3 Define Prisma schema for Hathor:
    • World model
    • WorldVersion model
    • Faction model
    • Character model
    • Location model
    • Timeline model
    • Quest model
    • DialogueTree model
    • SimulationRun model
  • 7.13.4 Create migrations (local dev environment setup completed)
  • 7.13.5 Add seed data

7.14 Integration with Sophia#

  • 7.14.1 Create Hathor → Sophia citation integration
  • 7.14.2 Add research grounding for world facts
  • 7.14.3 Create lore fact-checking against research

7.15 Migration from Lilith#

  • 7.15.1 Audit lilith/services/veilborn-core for Hathor migration
  • 7.15.2 Audit lilith/services/veilborn-strategy for Hathor migration
  • 7.15.3 Plan migration of Veilborn Chronicles to Hathor
  • 7.15.4 Create migration scripts for existing world data