Define the campaign operator contract and shared input decisions
This commit is contained in:
@@ -18,11 +18,24 @@ Adopt `glossary@0.2.0` from schemas distribution `2026.11.1`, with marker
|
|||||||
[coordinating roadmap](schemas.md). This adoption is a clean cutover, not a
|
[coordinating roadmap](schemas.md). This adoption is a clean cutover, not a
|
||||||
second adapter or wrapperless-input fallback.
|
second adapter or wrapperless-input fallback.
|
||||||
|
|
||||||
|
The [coordinating roadmap's operator contract](schemas.md#agreed-operator-contract)
|
||||||
|
defines `party.yml`, `campaign.yml`, and `speakers.yml` as the standard
|
||||||
|
campaign-owned bundle, with setting and spell vocabulary selected from a shared
|
||||||
|
catalog. Optional campaign vocabulary and autocorrection rules live in the
|
||||||
|
campaign's Narratio extension. Narratio retains its application-wide roster
|
||||||
|
requirements and generates a combined glossary for Notarius; Audita continues
|
||||||
|
receiving the four individual prepared sources. Its adapter needs no knowledge
|
||||||
|
of the operator's authoring splits.
|
||||||
|
|
||||||
## Required changes
|
## Required changes
|
||||||
|
|
||||||
- Prepare shared envelopes and keep the existing repeated `--glossary-file`
|
- Prepare shared envelopes and keep the existing repeated `--glossary-file`
|
||||||
interface. Audita accepts multiple files or multi-collection files; no new
|
interface. Audita accepts multiple files or multi-collection files; no new
|
||||||
Narratio configuration generator or CLI collection-selection layer is needed.
|
Narratio configuration generator or CLI collection-selection layer is needed.
|
||||||
|
- Consume the prepared sources derived from the agreed campaign contract;
|
||||||
|
standalone campaign glossary and autocorrection authoring are not prerequisites.
|
||||||
|
Explicit autocorrection rules remain part of Narratio's preparation/Seriatim
|
||||||
|
boundary, separate from Audita glossary context.
|
||||||
- Continue forwarding the four intended entry lists, including empty lists,
|
- Continue forwarding the four intended entry lists, including empty lists,
|
||||||
through manifest-verified prepared sources. Explicit files replace supplied
|
through manifest-verified prepared sources. Explicit files replace supplied
|
||||||
same-named entry lists at CLI priority; unrelated application collections and
|
same-named entry lists at CLI priority; unrelated application collections and
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ Narratio machinery for retired upstream interfaces. Preserve Narratio's ownershi
|
|||||||
of prepared inputs, extraction requirements, durable artifacts, and stage reuse.
|
of prepared inputs, extraction requirements, durable artifacts, and stage reuse.
|
||||||
|
|
||||||
This is a proposed Narratio cutover. Upstream schema and readiness gaps are
|
This is a proposed Narratio cutover. Upstream schema and readiness gaps are
|
||||||
resolved; remaining Narratio projection choices are recorded in the
|
resolved; agreed operator, glossary, and roster decisions are recorded in the
|
||||||
[coordinating schema roadmap](schemas.md). Implementation is one end-to-end
|
[coordinating schema roadmap](schemas.md). Implementation is one end-to-end
|
||||||
cutover, without compatibility aliases, legacy conversion, or a second adapter.
|
cutover, without compatibility aliases, legacy conversion, or a second adapter.
|
||||||
|
|
||||||
@@ -181,15 +181,20 @@ CLI path overrides retain each effective configured selection. Narratio does not
|
|||||||
need a new flag or a duplicate selection policy to forward those paths.
|
need a new flag or a duplicate selection policy to forward those paths.
|
||||||
|
|
||||||
Supply a shared roster through the existing party identity and preserve
|
Supply a shared roster through the existing party identity and preserve
|
||||||
character/player/class values and extensions. Notarius now derives player
|
character/player/class values and extensions. Narratio applies the
|
||||||
relationships from it. The players slot remains optional supplemental text;
|
[agreed Narratio-wide roster requirements](schemas.md#agreed-roster-validation)
|
||||||
Narratio's existing players projection can remain for other consumers without
|
before forwarding it. Notarius now derives player relationships from it. The
|
||||||
requiring a duplicate default Notarius binding.
|
players slot remains optional supplemental text; Narratio's existing players
|
||||||
|
projection can remain for other consumers without requiring a duplicate default
|
||||||
|
Notarius binding.
|
||||||
|
|
||||||
The [coordinating roadmap](schemas.md#remaining-narratio-decisions) recommends a
|
Use the agreed derived `narratio.input.glossary.combined` source for both glossary
|
||||||
saved combined shared glossary while preserving the four logical sources;
|
roles, preserving the four individual logical sources. The
|
||||||
settle that choice before implementation. A per-role projection is also viable.
|
[coordinating roadmap](schemas.md#agreed-combined-glossary) owns its preparation,
|
||||||
Do not require every consumer to use all collections.
|
evidence, and ordinary whole-file invalidation. Operators supply the
|
||||||
|
[three-file campaign bundle](schemas.md#agreed-operator-contract) and select shared
|
||||||
|
setting/spell vocabulary through the campaign document; they author no combined
|
||||||
|
file or private spell overlay. Notarius owns each role's collection selection.
|
||||||
|
|
||||||
Spell recognition still starts with Notarius's embedded D&D 5e 2014 SRD
|
Spell recognition still starts with Notarius's embedded D&D 5e 2014 SRD
|
||||||
vocabulary. Selected shared names/aliases augment it; canonical display names and
|
vocabulary. Selected shared names/aliases augment it; canonical display names and
|
||||||
@@ -303,8 +308,9 @@ fail normally; no runtime version gate or compatibility fallback is required.
|
|||||||
|
|
||||||
OD-3 is resolved by pipeline-aware preflight and OD-5 by the published shared
|
OD-3 is resolved by pipeline-aware preflight and OD-5 by the published shared
|
||||||
reference contracts. No further upstream feature request is needed for those
|
reference contracts. No further upstream feature request is needed for those
|
||||||
capabilities. Settle the combined glossary/task projection and Narratio roster
|
capabilities. The [coordinating roadmap](schemas.md) records the settled
|
||||||
requirements in [the coordinating roadmap](schemas.md#remaining-narratio-decisions),
|
three-file campaign contract, combined glossary, and Narratio-wide roster
|
||||||
then prepare one implementation plan covering shared preparation and both
|
requirements. Prepare one implementation plan covering those changes, shared
|
||||||
consumer upgrades. Do not implement the old private overlay as an intermediate
|
preparation, and both consumer upgrades. Do not implement the old private
|
||||||
destination or claim tested Narratio compatibility before that cutover.
|
overlay as an intermediate destination or claim tested Narratio compatibility
|
||||||
|
before that cutover.
|
||||||
|
|||||||
@@ -41,15 +41,123 @@ ConfigKit v1.4.0 owns native acquisition/resolution through the handoff. Validat
|
|||||||
completed domain mappings after composition. Preserve supported resolved values,
|
completed domain mappings after composition. Preserve supported resolved values,
|
||||||
extensions, and omission/null distinctions; numeric binding and source limits
|
extensions, and omission/null distinctions; numeric binding and source limits
|
||||||
follow upstream. Schema-resource JSON retains exact numeric constraints.
|
follow upstream. Schema-resource JSON retains exact numeric constraints.
|
||||||
|
Narratio applies its additional roster requirements after shared validation.
|
||||||
No private input inspection, scalar repair, second parser, runtime schema
|
No private input inspection, scalar repair, second parser, runtime schema
|
||||||
downloads, or extra global extension restrictions are needed.
|
downloads, or extra global extension restrictions are needed.
|
||||||
|
|
||||||
The glossary envelope has `schema_version` and `collections`. Task instructions
|
The glossary envelope has `schema_version` and `collections`. Task instructions
|
||||||
belong to consumer configuration. An `instruction` extension remains data.
|
belong to consumer configuration. An `instruction` extension remains data.
|
||||||
The shared party contract allows optional players/classes and uses `aliases`.
|
The shared party contract allows optional players/classes and uses `aliases`.
|
||||||
Narratio must distinguish shared conformance from data needed by a particular
|
Narratio retains its documented additional roster requirements across the
|
||||||
artifact-family operation; its current strict roster rules are not automatically
|
application, including required player/class information. These are Narratio's
|
||||||
requirements of the shared contract.
|
consumer requirements; they do not change the upstream shared contract.
|
||||||
|
|
||||||
|
## Agreed operator contract
|
||||||
|
|
||||||
|
### Three campaign-owned documents
|
||||||
|
|
||||||
|
Given a configured Narratio installation and an installed shared reference
|
||||||
|
catalog, an operator onboards a campaign with three primary authored documents:
|
||||||
|
|
||||||
|
| Document | Responsibility |
|
||||||
|
| --- | --- |
|
||||||
|
| `party.yml` | Canonical character roster: stable IDs, characters, players, classes, and optional aliases, using shared RPG party `0.2.0` plus Narratio's roster requirements. |
|
||||||
|
| `campaign.yml` | Shared RPG campaign `0.2.0` identity and context, including campaign name and setting/system selections, the party reference, and a `narratio` extension for operational settings, optional campaign glossary, and optional autocorrection rules. |
|
||||||
|
| `speakers.yml` | Explicit mappings from recording filenames or speaker identifiers to transcript speaker labels, retaining the supported speaker-mapping format. |
|
||||||
|
|
||||||
|
The campaign identifies its roster and speaker mappings; the standard bundle
|
||||||
|
uses the adjacent `party.yml` and `speakers.yml`. Speaker labels can represent
|
||||||
|
players, a GM, or other recorded participants. Recording identity has a separate
|
||||||
|
role from fictional character identity.
|
||||||
|
|
||||||
|
Adapt the existing authored `campaign.yml` to the shared envelope, with
|
||||||
|
Narratio-owned operational fields grouped under `narratio`. The shared `id`
|
||||||
|
becomes the campaign identity used by Narratio. Party relationships use
|
||||||
|
`references.party`. Replace the old operational document shape through the
|
||||||
|
coordinated cutover; no additional authored campaign-context file is required.
|
||||||
|
The shared schema owns its fields; Narratio defines its extension and consumer
|
||||||
|
requirements.
|
||||||
|
|
||||||
|
Operators can include campaign-specific vocabulary and autocorrection rules in
|
||||||
|
the campaign document. Omitted autocorrection rules mean no campaign-specific
|
||||||
|
replacements. Preparation materializes the downstream autocorrection input from
|
||||||
|
the completed configuration. A standalone authored `autocorrect.yml` or campaign
|
||||||
|
glossary file is not required for the standard bundle. Explicit replacement
|
||||||
|
rules remain distinct from glossary entries.
|
||||||
|
|
||||||
|
Keep ordinary session initialization usable with installation-level/default
|
||||||
|
templating. Per-campaign template customization remains an option. Native
|
||||||
|
ConfigKit imports and optional authoring splits remain available; three primary
|
||||||
|
documents define the onboarding path, not a prohibition on additional files.
|
||||||
|
|
||||||
|
### Two selected shared vocabulary documents
|
||||||
|
|
||||||
|
The campaign selects a setting glossary and a system spell catalog from an
|
||||||
|
installed shared repository. For example, a Forgotten Realms setting selection
|
||||||
|
and a D&D 5e 2014 SRD system selection identify the corresponding shared
|
||||||
|
documents. The spell catalog uses the shared glossary envelope and `spells`
|
||||||
|
collection rather than Notarius's retired private overlay.
|
||||||
|
|
||||||
|
Use stable setting/system keys in the campaign document to select entries in
|
||||||
|
the installation's reference catalog. Its mapping owns source paths. Document
|
||||||
|
Narratio's interpretation of those keys: the generic shared campaign schema
|
||||||
|
does not itself prescribe a catalog lookup. Operators select shared vocabulary
|
||||||
|
rather than authoring campaign-local copies. Optional campaign vocabulary adds
|
||||||
|
local terms through the established composition behavior. General shared
|
||||||
|
glossary references express relationships; their ordering does not implicitly
|
||||||
|
replace Narratio's documented composition precedence.
|
||||||
|
|
||||||
|
### Responsibility and documentation boundaries
|
||||||
|
|
||||||
|
- Installation setup supplies pipeline configuration, services, credentials,
|
||||||
|
and the selected shared reference catalog.
|
||||||
|
- Campaign setup supplies the three documents and selects the two shared
|
||||||
|
vocabulary sources.
|
||||||
|
- Session execution supplies session identification, audio, and applicable
|
||||||
|
session-specific metadata or overrides.
|
||||||
|
|
||||||
|
Publish one operator-facing contract with each field's required/optional status,
|
||||||
|
omission/default behavior, selection rules, and reference-path resolution when
|
||||||
|
implementation lands. Keep the onboarding checklist and worked workflow in the
|
||||||
|
operator guide, field definitions in the configuration reference, and reusable
|
||||||
|
domain formats in their integration contracts. Link upstream for shared schema
|
||||||
|
and ConfigKit semantics. A complete maintained example must demonstrate the
|
||||||
|
standard three-file campaign bundle without additional campaign-owned files.
|
||||||
|
|
||||||
|
## Agreed roster validation
|
||||||
|
|
||||||
|
Retain Narratio-wide domain requirements during the shared-format cutover:
|
||||||
|
|
||||||
|
- A nonempty roster with stable IDs satisfying Narratio's artifact-key rules.
|
||||||
|
- Required player and character names, and a nonempty class list for every
|
||||||
|
character; class names are required and supplied levels remain positive.
|
||||||
|
- Existing trimmed/nonempty display-name checks, character-name/alias ambiguity
|
||||||
|
checks, and duplicate-class checks. Player names may repeat.
|
||||||
|
|
||||||
|
Apply these requirements consistently when Narratio resolves the roster, rather
|
||||||
|
than conditioning them on selected artifacts. Adopt the shared marker and
|
||||||
|
`aliases` spelling and preserve supported shared extensions. Document the
|
||||||
|
Narratio-specific profile separately from upstream conformance. Update the
|
||||||
|
architecture/configuration documentation to distinguish Narratio-owned typed
|
||||||
|
configuration from shared domain documents and their supported extensions.
|
||||||
|
|
||||||
|
## Agreed combined glossary
|
||||||
|
|
||||||
|
Retain the four logical prepared sources: party, campaign, setting, and spells.
|
||||||
|
Save one additional derived shared envelope containing all four collections,
|
||||||
|
including empty collections, with the explicit source identity
|
||||||
|
`narratio.input.glossary.combined`. Bind that verified prepared file to both
|
||||||
|
Notarius's `glossary` and `spell_catalog` roles. Each role retains native
|
||||||
|
collection selection. Audita and other consumers can continue using the
|
||||||
|
individual sources where appropriate.
|
||||||
|
|
||||||
|
The combined file is generated by Narratio and requires no additional operator
|
||||||
|
authoring. Record its dependencies on the four sources and use the existing
|
||||||
|
whole-file content evidence for reference snapshots and reuse. Changing a
|
||||||
|
collection can invalidate extraction even when a Notarius role does not select
|
||||||
|
it; collection-aware cache evidence is not required for this feature. The new
|
||||||
|
identity does not restore the retired `narratio.input.glossary` alias. The
|
||||||
|
separate private spell-overlay source is retired as part of the same cutover.
|
||||||
|
|
||||||
## Upstream capabilities now available
|
## Upstream capabilities now available
|
||||||
|
|
||||||
@@ -78,16 +186,26 @@ from offline validation and ordinary execution. Details belong in the
|
|||||||
|
|
||||||
### Shared acquisition and preparation
|
### Shared acquisition and preparation
|
||||||
|
|
||||||
Replace Narratio's competing party/glossary contracts with the pinned shared
|
Adopt the pinned party, glossary, and campaign contracts together with the
|
||||||
contracts. Keep operational campaign configuration distinct from shared campaign
|
agreed Narratio roster profile and three-file operator contract. Refactor the
|
||||||
context; do not automatically introduce a second authored campaign file.
|
existing campaign acquisition into one shared-conforming authored document with
|
||||||
|
its explicit Narratio extension. Update identity selection, configuration
|
||||||
|
inspection, resource resolution, campaign-to-session defaults, and session
|
||||||
|
initialization for that shape through the native ConfigKit lifecycle.
|
||||||
|
|
||||||
Retain the four logical glossary sources: party, campaign, setting, spells.
|
Replace mandatory standalone autocorrection authoring with the optional campaign
|
||||||
Derive party vocabulary from the canonical roster; do not require duplicate
|
section and its prepared downstream projection. Retain the dedicated speaker
|
||||||
authored party or spell lists. Preserve the choice of imported or inline campaign
|
mapping document and existing Seriatim behavior. Update prepared campaign and
|
||||||
vocabulary through ConfigKit composition. Update the catalog's maintained
|
autocorrection records, their semantic evidence, and session override handling
|
||||||
vocabulary and synthetic local examples to shared envelopes rather than keeping
|
together. Define field paths and omission/override behavior in the subsequent
|
||||||
a second format owner. Catalog adoption remains outstanding.
|
implementation plan and operator contract without adding new prerequisites.
|
||||||
|
|
||||||
|
Derive party vocabulary from the canonical roster and prepare the four logical
|
||||||
|
glossary sources and the combined envelope described above. Preserve optional
|
||||||
|
imported or inline campaign vocabulary through ConfigKit composition. Update
|
||||||
|
the catalog's maintained vocabulary and synthetic local examples to shared
|
||||||
|
envelopes rather than keeping a second format owner. Catalog adoption remains
|
||||||
|
outstanding.
|
||||||
|
|
||||||
Retain whole shared documents for forwarding and derive separate task views for
|
Retain whole shared documents for forwarding and derive separate task views for
|
||||||
artifact families and prompts. Update `alias` to `aliases`, shared markers, and
|
artifact families and prompts. Update `alias` to `aliases`, shared markers, and
|
||||||
@@ -131,50 +249,25 @@ prerequisite for shared-schema adoption.
|
|||||||
|
|
||||||
## Proposed next scope and verification
|
## Proposed next scope and verification
|
||||||
|
|
||||||
Prepare one Narratio implementation plan covering shared acquisition/preparation,
|
Prepare one Narratio implementation plan covering the three-file campaign
|
||||||
catalog/example migration, Audita v4.3.0, and Notarius v0.10.0. Consumers and shared
|
contract, Narratio-wide roster validation, shared acquisition/preparation, the
|
||||||
preparation must reach a coherent final state in one sprint; intermediate commits
|
combined glossary, catalog/example migration, Audita v4.3.0, and Notarius
|
||||||
need not provide mixed-version compatibility.
|
v0.10.0. Consumers and shared preparation must reach a coherent final state in
|
||||||
|
one sprint; intermediate commits need not provide mixed-version compatibility.
|
||||||
|
|
||||||
Reuse existing adapter, preparation, resume, and controlled subprocess tests.
|
Reuse existing adapter, preparation, resume, and controlled subprocess tests.
|
||||||
Verify one synthetic authored roster/vocabulary set reaches both applications
|
Verify a synthetic three-file campaign bundle with selected shared setting and
|
||||||
without duplicate spell authoring, extensions survive forwarding, native task
|
spell documents reaches both applications without duplicate vocabulary authoring
|
||||||
failures occur at the correct boundary, and forced/reused extraction and analysis
|
or a separate autocorrection/template file. Cover omitted and supplied campaign
|
||||||
continue to work. Exercise readiness with controlled local providers rather than
|
glossary/autocorrection sections, speaker mapping, catalog selection, campaign
|
||||||
requiring paid services. Verify the real upstream executables in opt-in boundary
|
identity, shared-format roster rejection under Narratio's additional requirements,
|
||||||
tests before claiming tested interoperability.
|
and combined-file bindings and content invalidation. Verify extensions survive
|
||||||
|
forwarding, native task failures occur at the correct boundary, and forced/reused
|
||||||
|
extraction and analysis continue to work. Exercise readiness with controlled
|
||||||
|
local providers rather than requiring paid services. Verify the real upstream
|
||||||
|
executables in opt-in boundary tests before claiming tested interoperability.
|
||||||
|
|
||||||
## Remaining Narratio decisions
|
The operator-contract, combined-glossary, and roster-policy choices are settled.
|
||||||
|
The next implementation plan defines concrete extension fields and migration
|
||||||
### Shared file supplied to Notarius's two glossary roles
|
steps within those decisions. No further upstream feature request is currently
|
||||||
|
required for the reviewed party/glossary and readiness capabilities.
|
||||||
**Recommendation:** retain the four logical prepared sources and save one derived
|
|
||||||
combined shared envelope containing their collections, with a new explicit source
|
|
||||||
identity such as `narratio.input.glossary.combined`. Bind it to both native slots.
|
|
||||||
This supplies campaign and setting context and the same spells source with one
|
|
||||||
verified file, leaves collection selection downstream, and needs no duplicated
|
|
||||||
operator authoring. A new identity must not revive the retired monolithic source
|
|
||||||
as a compatibility alias.
|
|
||||||
|
|
||||||
**Alternative:** bind a saved campaign/setting envelope to `glossary` and the
|
|
||||||
existing prepared spells envelope to `spell_catalog`. This avoids exposing
|
|
||||||
irrelevant collections to each role but retains another prepared task projection
|
|
||||||
and its evidence. Binding only campaign to general context is smaller but does
|
|
||||||
not make setting vocabulary available under the native defaults.
|
|
||||||
|
|
||||||
### Narratio-specific party and campaign task requirements
|
|
||||||
|
|
||||||
**Recommendation:** accept shared-conforming roster/context data, preserve
|
|
||||||
extensions, and require extra player/class information only for configured tasks
|
|
||||||
that need it. Keep operational campaign YAML as the authoring entry point and
|
|
||||||
derive shared context where useful. This avoids duplicating data or imposing
|
|
||||||
Narratio's historical roster restrictions on every consumer.
|
|
||||||
|
|
||||||
**Alternative:** document additional Narratio roster prerequisites at acquisition
|
|
||||||
and require a separate shared campaign file. This can simplify some consumers'
|
|
||||||
preconditions, but rejects otherwise valid shared inputs and adds operator
|
|
||||||
maintenance; adopt only with a demonstrated task requirement.
|
|
||||||
|
|
||||||
Concrete projection names, task requirements, and reference bindings need to be
|
|
||||||
settled before the implementation plan. No further upstream feature request is
|
|
||||||
currently required for the reviewed party/glossary and readiness capabilities.
|
|
||||||
|
|||||||
Reference in New Issue
Block a user