Skip to content

M-10: View Story #22

@spuentesp

Description

@spuentesp

Category: manage | Epic: 6 | Priority: medium

Summary

Display detailed information about a specific Story including metadata,
scene list with summaries, participating characters, plot threads, and
event timeline.

Acceptance Criteria

  • neo4j_get_story returns full story data
  • Scene list shows title, status, turn count
  • Plot threads categorized by status (open/resolved)
  • Event timeline shows chronological events
  • Participating characters listed with roles
  • Actions displayed as interactive options

Dependencies

This use case depends on:

  • DL-4
  • DL-6
  • M-9

Implementation

Layer: 3

Files to modify:

  • packages/cli/src/monitor_cli/commands/manage/story.py

NEO4J Operations:

  • neo4j_get_story (authority: *)
  • neo4j_list_plot_threads (authority: *)
  • neo4j_list_events (authority: *)

MONGODB Operations:

  • mongodb_list_scenes (authority: *)

Notes:

  • Consider adding --json flag for export

Testing Requirements

Minimum coverage: 80%

Unit tests:

  • test_view_story_full: returns all story details
  • test_view_story_not_found: 404 handled gracefully
  • test_view_story_with_scenes: scenes listed correctly
  • test_view_story_with_threads: plot threads shown

Integration tests:

  • test_view_story_cli: CLI output formatted correctly

References

Documentation:


Generated from /home/sebas/monitor2/docs/use-cases/manage/M-10.yml

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedBlocked by unfinished dependenciesmanageWorld administration (M-*)

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions