Settle campaign and session configuration decisions

This commit is contained in:
2026-11-29 20:22:11 +00:00
parent b472ccfbbe
commit f2829f31e8
2 changed files with 23 additions and 32 deletions

View File

@@ -1,4 +1,4 @@
# Proposed Narratio interface: see ../../pipeline.md, OD-1.
# Planned Narratio interface: see ../../pipeline.md.
schema_version: maximumdirect.rpg.campaign.v1
id: lantern-coast
name: Lantern Coast expedition

View File

@@ -6,8 +6,8 @@ This is the consolidated feature roadmap for one end-to-end Narratio cutover.
It includes shared domain inputs, the campaign operator contract, reference
catalog adoption, Audita v4.3.0, Notarius v0.10.0, and workspace reorganization.
It defines the final behavior; a subsequent implementation plan will assign
code changes and verification to stages. The proposed field layout is identified
under [Open decisions](#open-decisions).
code changes and verification to stages. The campaign/session interface is
settled, and the roadmap is ready for implementation planning.
Implement the final state in one sprint. Intermediate commits need not compile
or support mixed old/new formats. Do not introduce compatibility aliases,
@@ -86,11 +86,11 @@ file, or per-campaign template is required. Native imports and optional authorin
splits remain available; the three-file bundle is the standard onboarding path,
not a limit on the number of files.
### Concrete field layout for review
### Campaign and session field layout
The following layout is the proposal in OD-1. It keeps shared fields at the root
and groups Narratio-only settings under `narratio`. Names below are future fields,
not claims about the current CLI or configuration.
Keep shared fields at the root and group Narratio-only inputs under
`narratio.inputs`. The following agreed fields describe the target interface,
not the current CLI or configuration.
| Campaign field | Meaning and omission behavior |
| --- | --- |
@@ -107,7 +107,7 @@ not claims about the current CLI or configuration.
| `narratio.session_template_file` | Optional campaign template; omission uses the installation template, or Narratio's built-in default. |
Use optional `pipeline.campaigns.session_template_file` for the installation
template in this proposal. Do not require installation of a separate template
template. Do not require installation of a separate template
to make ordinary `session init` usable. Keep its existing explicit session/audio
selection and narrow templating behavior.
@@ -120,6 +120,13 @@ supplied inline glossary or autocorrection data replaces the corresponding
campaign contribution as a whole, with null clearing it. Explicit empty/null
required paths fail validation rather than silently selecting defaults.
File and inline glossary contributions are independent: clearing inline data
does not clear a selected glossary file. A session `inputs.autocorrect: []`
explicitly disables campaign replacements; omission inherits them. Do not
implicitly accumulate campaign and session lists. Express these domain rules
through supported ConfigKit mechanisms without changing native composition or
the shared schemas' null rules.
Retire campaign/session `autocorrect_file` authoring in favor of inline rules
or native imported mapping contributions; preparation still supplies Seriatim
a file. Retire `spell_catalog_file` entirely. Do not introduce session
@@ -135,14 +142,14 @@ snapshots or a hand-built inspection view.
### Worked campaign bundle
The proposed complete files are under
The complete target-interface files are under
[examples/campaign/](examples/campaign/campaign.yml):
[campaign.yml](examples/campaign/campaign.yml),
[party.yml](examples/campaign/party.yml), and
[speakers.yml](examples/campaign/speakers.yml). They are planning fixtures, not
inputs supported by the current Narratio release. The campaign and party
documents conform to the released shared schemas; OD-1 concerns Narratio's
extension and session interface.
documents conform to the released shared schemas and illustrate the agreed
Narratio extension.
With the synthetic catalog installed, the example selects
`lantern_coast_sample` and `sample_magic`, references its adjacent roster and
@@ -548,7 +555,7 @@ cleanup targets.
The implementation plan should sequence these outcomes within the single sprint:
1. Settle OD-1, define the supported-state boundary, and establish canonical
1. Define the supported-state boundary and establish canonical
shared acquisition and workspace paths.
2. Migrate the catalog and maintained campaign examples; prepare the roster,
autocorrection input, four glossaries, combined projection, and references.
@@ -603,25 +610,9 @@ gate or fallback adapter is needed; unsupported executable interfaces fail norma
## Open decisions
### OD-1: Confirm the concrete campaign and session extension interface
The three-document workflow, optional campaign vocabulary/autocorrection,
Narratio-wide roster policy, combined glossary, and workspace cutover are settled.
The exact field names and clearing behavior in
[Concrete field layout for review](#concrete-field-layout-for-review) are proposed
here to make implementation planning concrete.
**Recommendation:** use that layout: shared identity/selectors/references at the
root, `narratio.inputs` for operational campaign inputs, matching session `inputs`
overrides, and explicit inline autocorrection lists with native imports for splits.
Use campaign, installation, then built-in template selection. It preserves
existing input vocabulary where useful without preserving the old campaign shape.
**Alternative:** flatten the campaign extension (`narratio.speakers_file`,
`narratio.glossary`, etc.) and choose corresponding session spellings. This changes
the public interface but not the established workflow. Settle the spelling and
presence rules together before writing field-level implementation tasks.
No upstream capability request or catalog release machinery blocks this scope.
None. The campaign/session layout, replacement and clearing behavior, inline
autocorrection with native imports, and campaign → installation → built-in
template selection are settled. No upstream capability request or catalog
release machinery blocks this scope.
Package placement, the exact state-version value, and implementation task ordering
belong in the implementation plan, not additional product decisions.