MicroFish/backend/app/services/narrative
anadoris007 484689735f feat(narrative): add GodModeView, WorldBuilderView, cinematic locations
- New Vue views: GodModeView (inject event, modify emotions with
  preloaded current values, kill character with typed-name
  confirmation) and WorldBuilderView (rules editor, locations with
  cinematic atmosphere field, event log viewer)
- Shared sim-nav strip across Story/GodMode/World views
- Location schema extended with optional atmosphere field — a short
  mood phrase that anchors the opening visual of every scene set there
- Translator's _format_world_locations surfaces atmosphere to the LLM
  prompt so the field actually influences generation
- Routes added for /godmode/:simId and /world/:simId

Tests: 39/39 passing (added test_location_atmosphere_surfaces_in_prompt).
Frontend builds clean.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-22 15:01:08 +05:30
..
__init__.py feat(narrative): add action-to-verb mapping for OASIS actions 2026-04-20 20:50:05 +05:30
action_mapper.py feat(narrative): add action-to-verb mapping for OASIS actions 2026-04-20 20:50:05 +05:30
character_engine.py feat(narrative): set status=alive on new characters 2026-04-20 22:23:59 +05:30
god_mode.py feat(narrative): add god_mode.kill_character with auto-death event 2026-04-20 22:25:24 +05:30
narrative_translator.py feat(narrative): add GodModeView, WorldBuilderView, cinematic locations 2026-04-22 15:01:08 +05:30
story_store.py feat(narrative): add StoryStore for file-based narrative persistence 2026-04-20 20:50:55 +05:30
world_state.py feat(narrative): add WorldStateStore for rules, locations, event log 2026-04-20 22:23:38 +05:30