Category: play | Epic: 4 | Priority: high
Summary
Begin a new scene within an active story. Sets location, participants,
purpose, and generates opening narration. Transitions to the turn loop.
Acceptance Criteria
Dependencies
This use case depends on:
Blocks
This use case blocks:
Implementation
Layer: 2
Files to modify:
packages/agents/src/monitor_agents/orchestrator.py
packages/agents/src/monitor_agents/narrator.py
packages/agents/src/monitor_agents/context_assembly.py
NEO4J Operations:
neo4j_get_entity (authority: *)
neo4j_list_entities (authority: *)
MONGODB Operations:
mongodb_create_scene (authority: *)
mongodb_append_turn (authority: *)
QDRANT Operations:
qdrant_search (authority: *)
Notes:
- Scene opening sets the mood
- Purpose helps Narrator choose appropriate style
- Consider weather/time of day from world time
Testing Requirements
Minimum coverage: 80%
Unit tests:
- test_start_scene_basic: scene created
- test_start_scene_with_location: location validated
- test_start_scene_opening: narration generated
- test_start_scene_context: context assembled
Integration tests:
- test_scene_to_turn_flow: P-2 -> P-3 transition
- test_scene_opening_quality: narration appropriate
References
Documentation:
Generated from /home/sebas/monitor2/docs/use-cases/play/P-2.yml
Category: play | Epic: 4 | Priority: high
Summary
Begin a new scene within an active story. Sets location, participants,
purpose, and generates opening narration. Transitions to the turn loop.
Acceptance Criteria
Dependencies
This use case depends on:
Blocks
This use case blocks:
Implementation
Layer: 2
Files to modify:
packages/agents/src/monitor_agents/orchestrator.pypackages/agents/src/monitor_agents/narrator.pypackages/agents/src/monitor_agents/context_assembly.pyNEO4J Operations:
neo4j_get_entity(authority: *)neo4j_list_entities(authority: *)MONGODB Operations:
mongodb_create_scene(authority: *)mongodb_append_turn(authority: *)QDRANT Operations:
qdrant_search(authority: *)Notes:
Testing Requirements
Minimum coverage: 80%
Unit tests:
Integration tests:
References
Documentation:
Code:
packages/agents/src/monitor_agents/orchestrator.pypackages/data-layer/src/monitor_data/schemas/scenes.pyGenerated from
/home/sebas/monitor2/docs/use-cases/play/P-2.yml