Migrate examples and guidance to shared domain inputs
This commit is contained in:
@@ -42,6 +42,14 @@ separate from execution integration.
|
||||
|
||||
## Prompt Construction
|
||||
|
||||
The [shared context preparer](../../internal/modules/dnd/shared/context.go)
|
||||
loads and validates selected party and glossary references at construction,
|
||||
then retains narrow immutable prompt projections. Each operation combines them
|
||||
with its own transcript; generated registry and scene handoffs remain dynamic.
|
||||
The spell catalog builds recognition views from the same shared glossary
|
||||
integration. The [shared input contract](../integrations/shared-domain-inputs.md)
|
||||
owns supported formats and selection semantics.
|
||||
|
||||
Content lives beneath [assets/dnd](../../assets/dnd/), with ordinary native
|
||||
declarations imported by [assets/notarius.yml](../../assets/notarius.yml).
|
||||
The root assets package stays a content-only leaf. Declaration-relative content
|
||||
@@ -275,7 +283,7 @@ not accepted-result cache identity.
|
||||
|
||||
| Lane | Intentional behavior |
|
||||
| --- | --- |
|
||||
| Spells | May use a spell-catalog overlay and optional NPC grounding; the catalog validator supplies domain-specific semantic checks. |
|
||||
| Spells | May use a shared glossary for recognition and optional NPC grounding; the catalog validator supplies domain-specific semantic checks. |
|
||||
| NPC registry | Establishes transcript-grounded NPC identities, including factual third-party mentions, without assigning occurrence categories. It does not consume an NPC registry, and its normalizer is the LLM-assisted reconciliation exception described above. |
|
||||
| Combat turns | Requires a scene-description artifact. It calls the LLM only for an exact `combat` classification; non-combat paths directly assess an empty result, while missing or mismatched classifications also retain a bounded warning. Optional NPC grounding never becomes evidence. |
|
||||
| Item occurrences | Requires the normalized item registry for exact deterministic grounding at extraction and normalization. Campaign context may disambiguate, but the registry never becomes occurrence evidence. |
|
||||
|
||||
Reference in New Issue
Block a user