Define reference catalog distribution and development workflow

This commit is contained in:
2026-11-27 14:26:25 +00:00
parent fa22c89622
commit f2cc45ea26

View File

@@ -39,7 +39,7 @@ against v4.2.0. Its README still describes the runtime interface as unreleased;
updating that upstream statement is a documentation follow-up, not an adapter updating that upstream statement is a documentation follow-up, not an adapter
dependency. There is no remaining upstream feature blocker for the glossary dependency. There is no remaining upstream feature blocker for the glossary
handoff or synthetic-transcript preflight. The Open Decisions below concern the handoff or synthetic-transcript preflight. The Open Decisions below concern the
reference catalog's distribution and selection model. remaining configuration-contract choices.
## Current Narratio Behavior ## Current Narratio Behavior
@@ -110,8 +110,11 @@ Narratio supplies four separate logical collections:
| `spells` | Select and prepare spell vocabulary from a catalog using a system ID, such as `5e`. | | `spells` | Select and prepare spell vocabulary from a catalog using a system ID, such as `5e`. |
Setting and system catalogs are configuration data mapping identifiers to Setting and system catalogs are configuration data mapping identifiers to
reference sources, extensible without Go changes or a custom loader. Their reference sources, extensible without Go changes or a custom loader. Each
distribution and single-source versus ordered-source selection remain open. identifier selects one entry file; that file may use native ConfigKit imports
to compose reusable fragments. The campaign selects its setting and system.
Unknown identifiers and unreadable selected sources fail early with contextual
diagnostics.
Narratio supplies prepared collection files with repeatable `--glossary-file` Narratio supplies prepared collection files with repeatable `--glossary-file`
arguments. Files use Audita's wrapperless native collection shape. A file may arguments. Files use Audita's wrapperless native collection shape. A file may
@@ -292,7 +295,7 @@ owners. Bind polish's required inputs and semantic
evidence to the prepared content it actually consumes. Keep generated glossary evidence to the prepared content it actually consumes. Keep generated glossary
data separate from immutable resolved Narratio configuration. Final filenames, data separate from immutable resolved Narratio configuration. Final filenames,
projection details, and schema fields belong in the implementation plan once projection details, and schema fields belong in the implementation plan once
the remaining catalog choices are resolved. Use shared resolution/projection the remaining configuration-contract choices are resolved. Use shared resolution/projection
helpers and reuse prepared content between preflight and execution rather than helpers and reuse prepared content between preflight and execution rather than
independently rebuilding it for each path. independently rebuilding it for each path.
@@ -389,19 +392,54 @@ quality or live-provider readiness.
[outputs]: https://forge.maximumdirect.net/eric/audita/src/tag/v4.2.0/docs/integrations/output-files.md [outputs]: https://forge.maximumdirect.net/eric/audita/src/tag/v4.2.0/docs/integrations/output-files.md
[recipes]: https://forge.maximumdirect.net/eric/audita-pipelines-dnd/src/commit/6d5e66dcfca4bb5971a8423332a19ce884b846c0/README.md [recipes]: https://forge.maximumdirect.net/eric/audita-pipelines-dnd/src/commit/6d5e66dcfca4bb5971a8423332a19ce884b846c0/README.md
## Reference Catalog Distribution and Development
The separate [narratio-reference-catalog repository][catalog] owns vocabulary,
catalog entries, source organization, attribution, and bundle release history.
Narratio owns the catalog configuration contract, domain selection, projections,
prepared inputs, and preflight. Audita owns native glossary interpretation.
Install a selected catalog tag or commit locally and import its configuration
fragment through Narratio's native ConfigKit workflow. Catalog identifiers map
to entry files using source-relative paths. A setting entry supplies `setting`;
a system entry supplies `spells`. Entry files may import reusable fragments;
Narratio does not introduce another ordered-source composition interface.
Operators extend catalogs through their own native configuration. Narratio does
not download references, manage updates, or resolve versions at runtime.
Vocabulary releases are independent of Narratio releases. Record tested
Narratio/Audita versions in catalog release documentation without synchronized
version numbers. Ordinary vocabulary corrections can retain an identifier;
materially different rulesets can coexist under distinct identifiers. Prepared
session vocabulary changes through normal input-change and preparation behavior,
not merely because an installed catalog was updated during processing.
Use sibling checkouts of Narratio, the reference catalog, and Audita for local
development. Local development configuration can import the sibling catalog;
maintained production examples must not depend on developer checkout paths.
No submodule or Go workspace is required for the data repository.
Develop the configuration contract and a minimal bundle together. The bundle
should contain its catalog fragment, one setting entry, one system entry, and
representative vocabulary demonstrating native imports. Then exercise one
complete production path: selection, party/campaign preparation, all four
prepared collections, and full Audita preflight. Expand reference content once
that handoff works. Implementation stages belong in the subsequent plan.
Narratio's default tests use checked-in synthetic fixtures without sibling
checkout dependencies. The catalog should have an offline compatibility check
that loads its actual bundle through the supported configuration path and
checks the resulting collections against Audita's native contract. Controlled
integration checks can exercise working checkouts before release; provider smoke
calls remain explicit integration runs, not ordinary catalog tests.
[catalog]: https://forge.maximumdirect.net/eric/narratio-reference-catalog
## Open Decisions ## Open Decisions
### 1. Reference catalog distribution The catalog distribution and single-entry-file selection model are settled.
Before implementation planning, finalize the configuration contract shared with
**Recommendation:** Maintain setting and system vocabulary in a separately the minimal catalog bundle: where catalog definitions and campaign selections
versioned data bundle installed alongside the application's configuration. live, how campaign glossary terms are supplied, and whether sessions can override
Narratio owns catalog selection and preparation; vocabulary updates need not those campaign choices. Use native ConfigKit semantics throughout. Exact prepared
require a Narratio release. Confirm the bundle's location and maintenance owner filenames and package-level mechanics belong in the implementation plan.
before implementation planning.
### 2. Reference catalog selection model
Decide whether each setting/system identifier selects one collection source or
an ordered group of sources. In either case, catalog definitions are configuration
data and use native ConfigKit resolution and composition. Exact schema fields
and prepared filenames belong in the implementation plan.