Migrate examples and guidance to shared domain inputs

This commit is contained in:
2026-11-29 18:22:32 +00:00
parent f05d2e593e
commit 9dc976afaf
24 changed files with 199 additions and 145 deletions

View File

@@ -376,7 +376,7 @@ Logical formats belong to [chunk-map](integrations/chunk-map.md) and
## References And Ordered Handoffs
Reference maps bind named slots that the selected target declares. An external
reference is an object with `path`. Pipeline-level maps accept only external
reference is an object with `path` and optional `collections`. Pipeline-level maps accept only external
paths; step-local and binding-local maps may also select a normalized artifact
from an earlier step:
@@ -409,6 +409,12 @@ slot. A generated binding supplies one normalized artifact in memory, including
supported qualified fallback; it does not name a file. A configured generated
dependency remains required even when that consumer slot is otherwise optional.
`collections` is an external-file selection, not an artifact selector. Omitted
or null uses the consuming slot's defaults; `[]` selects none. Names compare
exactly, empty names are invalid, and repeated names have no additional effect.
Explicit names must exist. See [shared domain inputs](integrations/shared-domain-inputs.md)
for the D&D collection roles and defaults.
Pipeline references are configuration defaults. A matching step-local or
binding-local external path overrides a pipeline default. CLI reference
bindings are then operational overrides of configured external paths; their
@@ -419,6 +425,9 @@ after configuration and CLI reference actions are applied. A YAML reference
path resolves from the file that supplies its surviving declaration, including
an imported fragment or selected overlay. CLI reference paths resolve relative
to the process working directory.
Replacing an external reference object in a more local configuration scope
replaces its selection too. A CLI path override retains the surviving configured
selection for each target; a CLI-only binding uses slot defaults.
### D&D Reference Slots
@@ -427,11 +436,11 @@ selected target declares them:
| Slot | Source and use |
| --- | --- |
| **party** | Optional text campaign context. This is the canonical party-roster spelling. |
| **party** | Optional shared party document; canonical party-roster spelling. |
| **roster** | Accepted compatibility alias for **party**. |
| **players** | Optional text player context. |
| **glossary** | Optional text campaign glossary. |
| **spell_catalog** | Optional JSON spell-catalog overlay for spell extraction and normalization. See [spell-catalog overlays](integrations/dnd-spell-catalog-overlays.md). |
| **glossary** | Optional shared glossary document for general campaign vocabulary. |
| **spell_catalog** | Optional shared glossary document for spell recognition and normalization. |
| **location_registry** | Required normalized location registry for location-occurrence extraction and normalization. |
| **item_registry** | Required normalized item registry for item-occurrence extraction and normalization. |
| **npc_registry** | Normalized NPC registry. Optional for spells and combat turns; required for NPC occurrences and enemy-event extraction and normalization. |