Files
notarius/docs/roadmap/dnd.md

1.1 KiB

D&D Shared Module Helper Refactor

The D&D shared module helper refactor is complete.

The implemented package split is:

  • internal/modules/sharedassets: generic shared prompt filesystem composition and domain-neutral shared asset plumbing.
  • internal/modules/sharedassets/dnd: D&D shared prompt fragments, accepted reference media types, players/party/glossary reference slot helpers, deprecated roster alias handling, prompt input assembly, deterministic reference rendering, and D&D shared prompt hash parts.
  • Concrete D&D modules: stage contracts and registration, module keys, provided/required capabilities, prompt IDs and versions, module-local prompt definitions, response schemas, validators, artifact or scene interpretation, and manifest metadata.

The dnd/scenes chunker and dnd/spells extractor now use the shared D&D helper package for common prompt and reference behavior while keeping stage-specific semantics in their concrete module packages. D&D shared prompt fragments are exposed to Scriptorium through each module's local ./sharedassets/ prompt paths.