Update shared schema adoption plans for released consumer support
This commit is contained in:
54
docs/roadmap/audita.md
Normal file
54
docs/roadmap/audita.md
Normal file
@@ -0,0 +1,54 @@
|
||||
# Adopt Audita v4.3 shared glossary inputs
|
||||
|
||||
## Baseline and target
|
||||
|
||||
Reviewed release: `v4.3.0`, source commit
|
||||
`6f97f31ccb1436c9b1e144182f6ad0b1fd9524be`, on 2026-11-29.
|
||||
Narratio currently invokes Audita v4.2 and supplies wrapperless prepared glossary
|
||||
files. Audita v4.3.0 requires the shared envelope; installing it alone is not a
|
||||
compatible upgrade for the current Narratio workflow.
|
||||
|
||||
Canonical references:
|
||||
[release](https://forge.maximumdirect.net/eric/audita/src/tag/v4.3.0/docs/releases/v4.3.0.md),
|
||||
[runtime input](https://forge.maximumdirect.net/eric/audita/src/tag/v4.3.0/docs/integrations/transcript-glossary-files.md),
|
||||
[migration](https://forge.maximumdirect.net/eric/audita/src/tag/v4.3.0/docs/migrations/v4.3.md).
|
||||
|
||||
Adopt `glossary@0.2.0` from schemas distribution `2026.11.1`, with marker
|
||||
`maximumdirect.glossary.v1`. Shared acquisition/preparation belongs to the
|
||||
[coordinating roadmap](schemas.md). This adoption is a clean cutover, not a
|
||||
second adapter or wrapperless-input fallback.
|
||||
|
||||
## Required changes
|
||||
|
||||
- Prepare shared envelopes and keep the existing repeated `--glossary-file`
|
||||
interface. Audita accepts multiple files or multi-collection files; no new
|
||||
Narratio configuration generator or CLI collection-selection layer is needed.
|
||||
- Continue forwarding the four intended entry lists, including empty lists,
|
||||
through manifest-verified prepared sources. Explicit files replace supplied
|
||||
same-named entry lists at CLI priority; unrelated application collections and
|
||||
native disjoint overrides remain downstream concerns.
|
||||
- Keep acquisition separate from Audita's selection of correction/protection
|
||||
collections. Empty shared collections are valid, but a configured glossary
|
||||
correction must select at least one entry. Native readiness reports that task
|
||||
failure; Narratio should not invent a universal nonempty-glossary requirement.
|
||||
- Obtain instructions through Audita configuration. A shared `instruction`
|
||||
extension is ordinary data. Operators relying on auto-discovered glossary
|
||||
companions must pass them explicitly downstream; Narratio already supplies
|
||||
explicit prepared paths. Automatic prompt companions remain upstream behavior.
|
||||
- Apply the same saved envelopes in processing and preflight. Retain existing
|
||||
config/overlay/profile forwarding, native provider checks, stream supervision,
|
||||
credential forwarding, and diagnostic handling. Transcript/report contracts,
|
||||
application configuration version 3, and ordinary reporting remain unchanged.
|
||||
- Update result-affecting evidence and examples for the new prepared bytes;
|
||||
preserve ordinary reuse/invalidation and manifest-backed restore/publication.
|
||||
|
||||
## Verification and delivery
|
||||
|
||||
Refresh controlled real-Audita compatibility tests for v4.3.0. Verify repeated
|
||||
shared files, envelope rejection, empty collections, extension/instruction
|
||||
handling, and processing/preflight parity without paid provider requirements.
|
||||
Keep the upstream schema and semantic documents canonical; local documentation
|
||||
owns Narratio's integration and migration only.
|
||||
|
||||
Implement alongside shared preparation and the coordinated consumer cutover.
|
||||
This roadmap authorizes neither code changes nor release publication by itself.
|
||||
@@ -1,4 +1,4 @@
|
||||
# Adopt Notarius v0.9.0
|
||||
# Adopt Notarius v0.10.0
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -6,28 +6,29 @@ Adopt Notarius's native execution, output, and cache contracts while removing
|
||||
Narratio machinery for retired upstream interfaces. Preserve Narratio's ownership
|
||||
of prepared inputs, extraction requirements, durable artifacts, and stage reuse.
|
||||
|
||||
This is a proposed feature roadmap. Open decisions appear at the end; settle
|
||||
them before preparing the implementation plan. Implementation is one end-to-end
|
||||
This is a proposed Narratio cutover. Upstream schema and readiness gaps are
|
||||
resolved; remaining Narratio projection choices are recorded in the
|
||||
[coordinating schema roadmap](schemas.md). Implementation is one end-to-end
|
||||
cutover, without compatibility aliases, legacy conversion, or a second adapter.
|
||||
|
||||
## Upstream Baseline
|
||||
|
||||
The latest upstream release verified on 2026-11-27 is **v0.9.0**, at commit
|
||||
`f01df93d352811be9fb1c97cd2efc94449f184c9`. Notarius remains a separately installed
|
||||
The latest upstream release verified on 2026-11-29 is **v0.10.0**, at commit
|
||||
`752c9b44d2c0bb3bfb1e02a5d4379f7cc5b6261e`. Notarius remains a separately installed
|
||||
executable; adopting it does not require importing its Go packages into Narratio.
|
||||
|
||||
Canonical references:
|
||||
|
||||
- [Release notes](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.9.0/docs/releases/v0.9.0.md)
|
||||
- [Migration guide](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.9.0/docs/consumers/native-migration.md)
|
||||
- [Subprocess guide](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.9.0/docs/consumers/subprocess.md)
|
||||
- [CLI reference](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.9.0/docs/cli.md)
|
||||
- [Configuration](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.9.0/docs/config.md)
|
||||
- [Published domain files](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.9.0/docs/integrations/json-output.md)
|
||||
- [Complete D&D workflow](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.9.0/docs/consumers/dnd-pipeline.md)
|
||||
- [Release notes](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/releases/v0.10.0.md)
|
||||
- [Migration guide](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/consumers/native-migration.md)
|
||||
- [Subprocess guide](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/consumers/subprocess.md)
|
||||
- [CLI reference](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/cli.md)
|
||||
- [Configuration](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/config.md)
|
||||
- [Published domain files](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/integrations/json-output.md)
|
||||
- [Complete D&D workflow](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/consumers/dnd-pipeline.md)
|
||||
|
||||
The [current integration](../integrations/notarius.md) targets the v0.8.1
|
||||
receipt/index contract. v0.9.0 removes that protocol and changes invocation,
|
||||
receipt/index contract. v0.10.0 removes that protocol and changes invocation,
|
||||
configuration, caching, and validation controls. Its domain artifact schemas and
|
||||
lane filename mapping remain unchanged.
|
||||
|
||||
@@ -164,83 +165,84 @@ work. The four glossary collections remain shared domain inputs. Consumers may
|
||||
use a subset or a saved domain projection; do not force every subprocess to
|
||||
accept all four collections.
|
||||
|
||||
Notarius v0.9.0 retains text slots for `party`, `players`, and `glossary`, plus
|
||||
the separate structured `spell_catalog` slot. It does not introduce four typed
|
||||
glossary inputs. Preserve explicit selector-to-source mappings and verify source
|
||||
content through the same paths used for execution.
|
||||
Notarius v0.10.0 accepts shared RPG party `0.2.0` in `party` and
|
||||
accepted `roster` slots, and shared glossary `0.2.0` in `glossary` and
|
||||
`spell_catalog`, all from schemas distribution `2026.11.1`. The
|
||||
[shared input contract](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/integrations/shared-domain-inputs.md)
|
||||
owns native loading, defaults, task projections, and migration.
|
||||
|
||||
Supply the prepared `campaign` glossary, `narratio.input.glossary.campaign`,
|
||||
through Notarius's `glossary` slot using the existing explicit binding mechanism.
|
||||
The canonical roster and players projection remain separate from the party
|
||||
glossary. This adoption adds no combined glossary projection.
|
||||
Replace the private spell-overlay acquisition and `narratio.input.spell_catalog`
|
||||
binding with shared vocabulary. Retire the separate authored overlay setting
|
||||
rather than aliasing it to a new source. One shared file can serve both native
|
||||
glossary slots. General context defaults to available campaign/setting collections;
|
||||
a bound spell slot defaults to spells, which must exist. Explicit configured
|
||||
collection names must exist; omission/null uses defaults and [] selects none.
|
||||
CLI path overrides retain each effective configured selection. Narratio does not
|
||||
need a new flag or a duplicate selection policy to forward those paths.
|
||||
|
||||
Keep `narratio.input.spell_catalog` as the optional
|
||||
[Notarius spell-catalog overlay](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.9.0/docs/integrations/dnd-spell-catalog-overlays.md).
|
||||
That structured rules catalog has a different purpose and schema from the spells
|
||||
glossary. Do not convert one into the other or infer a Notarius ruleset from a
|
||||
Narratio reference-catalog system selector.
|
||||
Supply a shared roster through the existing party identity and preserve
|
||||
character/player/class values and extensions. Notarius now derives player
|
||||
relationships from it. The players slot remains optional supplemental text;
|
||||
Narratio's existing players projection can remain for other consumers without
|
||||
requiring a duplicate default Notarius binding.
|
||||
|
||||
Generated same-run registry, scene, combat, and occurrence handoffs stay owned
|
||||
by the Notarius pipeline. Narratio supplies only its configured external inputs.
|
||||
The [coordinating roadmap](schemas.md#remaining-narratio-decisions) recommends a
|
||||
saved combined shared glossary while preserving the four logical sources;
|
||||
settle that choice before implementation. A per-role projection is also viable.
|
||||
Do not require every consumer to use all collections.
|
||||
|
||||
Spell recognition still starts with Notarius's embedded D&D 5e 2014 SRD
|
||||
vocabulary. Selected shared names/aliases augment it; canonical display names and
|
||||
collision checks stay upstream. Ruleset provenance is not required, and Narratio
|
||||
does not infer a recognition ruleset from a catalog selector. References are
|
||||
context, not transcript evidence. Generated same-run handoffs remain configured
|
||||
inside Notarius.
|
||||
|
||||
## Preflight
|
||||
|
||||
Extend `internal/preflight` and the shared adapter wiring. Automatic checks run
|
||||
after selected preparation and before processing when enabled extraction remains
|
||||
to be executed. `session validate` checks enabled Notarius definitions against
|
||||
existing prepared inputs independently of stage reuse. `session plan` remains
|
||||
subprocess-free, and preflight does not create a successful stage record.
|
||||
Use the existing preflight service and lazy wiring. Automatic checks follow
|
||||
selected preparation and precede processing when extraction needs execution;
|
||||
explicit session validation uses prepared inputs and planning remains
|
||||
subprocess-free.
|
||||
|
||||
The native offline check is:
|
||||
Notarius v0.10.0 supplies the pipeline-aware readiness command:
|
||||
|
||||
```text
|
||||
notarius pipeline validate <pipeline_id> --config <config_path> [--overlay <selector>] --format json
|
||||
notarius preflight <pipeline_id> --input-file <transcript> --config <config_path> [--overlay <selector>] --reference <selector>=<verified_path>... --output-dir <probe_destination> --format json
|
||||
```
|
||||
|
||||
It validates configuration, modules, and known pipeline/resource dependencies.
|
||||
It needs no transcript, reference bytes, credentials, provider calls, or state
|
||||
directory. A separate `config validate` call would duplicate configuration
|
||||
acquisition without establishing provider readiness.
|
||||
Use the execution selections, credential environment, and verified reference
|
||||
paths. Native preflight chooses the applicable provider targets itself and checks
|
||||
modules, supplied transcript/references, destinations, and applicable cache access.
|
||||
It performs native reachability, authentication, and structured-generation probes
|
||||
without running extraction or publishing domain artifacts. It can incur inference
|
||||
charges, create probe directories/temporary files, and retain selected debug
|
||||
capture. Cache access warnings do not by themselves make readiness false.
|
||||
|
||||
Use native `pipeline show` with the same configuration selection to verify that
|
||||
Narratio's required lane IDs exist before processing begins. This is a check of
|
||||
Narratio's output requirements against the public pipeline description, not a
|
||||
reimplementation of downstream scheduling or validation. Actual output checks
|
||||
remain authoritative after execution.
|
||||
Require successful process status and a complete assessment for the expected
|
||||
pipeline with `ready: true`. Preserve native failed/warning facts and optional
|
||||
debug location. Nonzero exit fails even if a delivered report says ready; early
|
||||
errors can have no report and failed delivery can leave partial bytes. Do not
|
||||
reconstruct an independent provider/profile planner or turn cache warnings into
|
||||
stronger readiness failures.
|
||||
|
||||
Combining `pipeline validate` with native `promptkit test all` is a viable
|
||||
preflight option for this adoption. Run the smoke tests with the same configuration
|
||||
and overlay selection, explicitly selected profiles, and the execution credential
|
||||
environment. `all` selects reachability, authentication, text inference, and
|
||||
structured-output checks for a target; it does not enumerate pipeline profiles.
|
||||
Retain required-lane inspection and shared prepared-reference integrity checks.
|
||||
The assessment applies only to the supplied input. Use a real available
|
||||
execution transcript where appropriate; early preflight can use the shared
|
||||
synthetic fixture as Audita does, with that limitation explicit. A synthetic
|
||||
success is not validation of the future final trimmed transcript. Run still
|
||||
validates its actual inputs. Do not introduce two mandatory paid probe passes.
|
||||
|
||||
Smoke tests can contact providers and incur inference costs. Consume their native
|
||||
reports: successful command status alone does not establish positive observations.
|
||||
Keep failed, unsupported, inapplicable, and unknown findings distinct, and define
|
||||
which observations are required for readiness before implementation. A generic
|
||||
smoke case does not validate the application's prompts, transcript, or references.
|
||||
Keep Narratio's required-output lane checks against native pipeline inspection
|
||||
and prepared-reference integrity checks. Preflight does not know Narratio's own
|
||||
required-output map. Offline `pipeline validate` remains an operator diagnostic;
|
||||
it is not a substitute for runtime-reference/provider readiness and need not be
|
||||
an additional mandatory subprocess before native preflight.
|
||||
|
||||
Two coverage limits must remain explicit:
|
||||
|
||||
1. `pipeline validate` does not accept run-time `--reference` bindings. It cannot
|
||||
validate the exact invocation's selector bindings; a pipeline relying on CLI
|
||||
files to satisfy required external slots can fail offline validation before
|
||||
those bindings are supplied.
|
||||
2. It does not verify credentials, completed provider targets, or model access.
|
||||
Native `promptkit test` commands can probe explicitly selected profiles, but
|
||||
v0.9.0 has no pipeline-aware provider readiness command equivalent to Audita's
|
||||
full preflight. Pipeline inspection does not enumerate every completed target.
|
||||
|
||||
Use shared prepared-reference integrity checks where they apply. Do not supply
|
||||
dummy references, rewrite downstream configuration, or build another pipeline
|
||||
planner to disguise missing coverage. Do not treat an ordinary synthetic
|
||||
Notarius run as an upstream readiness command: it executes real pipeline work.
|
||||
|
||||
OD-3 determines the supported readiness coverage and treatment of the binding
|
||||
gap. Selected checks must preserve native failures; unsuccessful inspection must
|
||||
not become a successful readiness result. Reports must distinguish offline
|
||||
validation from live provider checks.
|
||||
The former OD-3 reference-binding/provider-discovery gap is resolved upstream.
|
||||
Separate `promptkit test all` calls and hand-maintained profile lists are no longer
|
||||
needed for the proposed readiness path. The
|
||||
[upstream preflight contract](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/cli.md#preflight)
|
||||
owns assessment fields and check semantics.
|
||||
|
||||
## Diagnostics
|
||||
|
||||
@@ -278,9 +280,9 @@ Use focused tests at the production boundaries to establish:
|
||||
reuse, changed-reference invalidation, and obsolete extraction evidence.
|
||||
- Shared automatic and explicit preflight selection, preparation ordering,
|
||||
missing required lane definitions, subprocess failures, and accurate reporting
|
||||
of the coverage selected in OD-3.
|
||||
of native readiness coverage and input-specific limitations.
|
||||
|
||||
Refresh the opt-in real Notarius boundary test for v0.9.0 using a controlled local
|
||||
Refresh the opt-in real Notarius boundary test for v0.10.0 using a controlled local
|
||||
provider fixture. Exercise the maintained complete pipeline and native reuse
|
||||
without making paid provider access a routine test prerequisite. Run focused
|
||||
tests during development and the repository checks in [Development](../development.md)
|
||||
@@ -294,52 +296,15 @@ version 6. Link to upstream migration guidance for resource composition,
|
||||
producer modes, semantic correction turns, and concurrency. Narratio must not
|
||||
translate those downstream settings or own their defaults.
|
||||
|
||||
Use v0.9.0 as the tested native integration baseline. Unsupported old interfaces
|
||||
Use v0.10.0 as the tested native integration baseline. Unsupported old interfaces
|
||||
fail normally; no runtime version gate or compatibility fallback is required.
|
||||
|
||||
## Open Decisions
|
||||
## Remaining Coordination
|
||||
|
||||
### OD-3: Readiness coverage for this release
|
||||
|
||||
Native `pipeline validate` combined with explicitly selected
|
||||
`promptkit test all` probes is an accepted viable option for a reasonable
|
||||
preflight check. The selected profile list must cover the intended execution
|
||||
and remain aligned with downstream configuration; Narratio must not reconstruct
|
||||
Notarius's profile-selection logic to discover it. Required-lane inspection and
|
||||
prepared-reference checks supplement this option.
|
||||
|
||||
Decide whether to adopt that combination now or request pipeline-aware upstream
|
||||
readiness before implementation. An upstream command could accept the execution
|
||||
selectors and reference bindings, select the relevant provider targets itself,
|
||||
and return a domain readiness outcome. Its contract remains to be discussed;
|
||||
this roadmap does not assume that such a command exists in v0.9.0.
|
||||
|
||||
If using the existing commands, settle profile selection and interpretation of
|
||||
negative or inconclusive smoke observations. Preserve upstream diagnostic facts
|
||||
and native command outcomes while applying Narratio's readiness requirements.
|
||||
|
||||
Also settle how to support pipelines whose required references are supplied
|
||||
only through run flags. The maintained complete D&D pipeline passes native
|
||||
offline validation, but that does not close the general binding gap. Do not
|
||||
silently require all operator pipelines to duplicate those bindings in downstream
|
||||
configuration or suppress failures that might represent real errors.
|
||||
|
||||
### OD-5: Upstream D&D glossary alignment
|
||||
|
||||
Explore upstream revisions that align Notarius's D&D pipeline with Narratio's
|
||||
four shared glossary artifacts: `party`, `campaign`, `setting`, and `spells`.
|
||||
Determine which collections each part of the pipeline would benefit from and
|
||||
how callers should supply them; alignment need not mean every operation consumes
|
||||
all four.
|
||||
|
||||
Investigate whether Notarius enforces a glossary format or relies on a particular
|
||||
structure through its prompts. Where a format matters, seek alignment with
|
||||
Audita's glossary format so both consumers can use the same prepared artifacts.
|
||||
If Notarius consumes glossary content as unrestricted text, establish whether
|
||||
the existing Audita-compatible documents are already suitable before proposing
|
||||
new format requirements or conversion machinery.
|
||||
|
||||
Keep glossary terms distinct from Notarius's structured spell-catalog overlay
|
||||
and its roster/player references. Decide the useful upstream changes and their
|
||||
relationship to this adoption after reviewing those consumer needs. Until then,
|
||||
the agreed `campaign` glossary binding remains the adoption baseline.
|
||||
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
|
||||
capabilities. Settle the combined glossary/task projection and Narratio roster
|
||||
requirements in [the coordinating roadmap](schemas.md#remaining-narratio-decisions),
|
||||
then prepare one implementation plan covering shared preparation and both
|
||||
consumer upgrades. Do not implement the old private overlay as an intermediate
|
||||
destination or claim tested Narratio compatibility before that cutover.
|
||||
|
||||
@@ -1,321 +1,180 @@
|
||||
# Adopt shared domain schemas across the pipeline
|
||||
|
||||
## Purpose and status
|
||||
## Purpose and current status
|
||||
|
||||
Operators should maintain one set of domain inputs, primarily in YAML, that
|
||||
Narratio, Audita, Notarius, and relevant Scriptorium prompts can consume through
|
||||
published contracts. Consumers own the interpretations and projections needed
|
||||
for their tasks.
|
||||
Operators maintain one set of domain inputs, primarily in YAML. Narratio prepares
|
||||
durable snapshots and necessary projections; consumers own task-specific
|
||||
interpretation. Adopt the shared contracts as complete cutovers without legacy
|
||||
readers, duplicate authored vocabulary, or a schema SDK dependency.
|
||||
|
||||
The [schemas repository](https://forge.maximumdirect.net/eric/schemas) is
|
||||
implemented and reviewed, including fixes for JSON Unicode decoding and malformed
|
||||
YAML floats. Before its initial release, revise its layout, versioning, inventory,
|
||||
and release workflow to implement the design below. The initial release remains
|
||||
pending; this roadmap does not authorize publication.
|
||||
Reviewed on 2026-11-29 against released tags and their source documents:
|
||||
|
||||
This roadmap coordinates adoption across repositories. Consumer-specific roadmaps
|
||||
will define their external interfaces and implementation work. The shared
|
||||
[contracts and compatibility guidance](https://forge.maximumdirect.net/eric/schemas/src/branch/main/docs/compatibility.md)
|
||||
remain owned by `schemas`; implementation does not yet establish application
|
||||
compatibility.
|
||||
| Component | Released baseline | Source commit | Status relative to Narratio |
|
||||
| --- | --- | --- | --- |
|
||||
| Shared schemas | `2026.11.1`; glossary, RPG party, RPG campaign `0.2.0` | `f7e3cedeca11ed903311cdf29ca4d81fb1f216b7` | Published; Narratio still uses its own roster and wrapperless glossary formats. |
|
||||
| Audita | `v4.3.0` | `6f97f31ccb1436c9b1e144182f6ad0b1fd9524be` | Shared runtime glossaries implemented upstream; Narratio currently targets v4.2. |
|
||||
| Notarius | `v0.10.0` | `752c9b44d2c0bb3bfb1e02a5d4379f7cc5b6261e` | Shared references and pipeline-aware preflight implemented upstream; Narratio still targets v0.8.1. |
|
||||
|
||||
The [staged implementation plan](schemas-implementation.md) covers repository
|
||||
alignment in step 1. Consumer adoption remains separate work.
|
||||
Canonical release records:
|
||||
[schemas](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.1/docs/releases/2026.11.1.md),
|
||||
[Audita](https://forge.maximumdirect.net/eric/audita/src/tag/v4.3.0/docs/releases/v4.3.0.md),
|
||||
[Notarius](https://forge.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/releases/v0.10.0.md).
|
||||
|
||||
## Ownership and delivery
|
||||
The schema repository foundation and both applications' upstream adoption are
|
||||
complete. The former [schema-repository implementation plan](schemas-implementation.md)
|
||||
records historical work, not the next sprint. This roadmap now owns Narratio's
|
||||
remaining coordinated cutover, together with the focused [Audita](audita.md) and
|
||||
[Notarius](notarius.md) roadmaps. No application changes are implemented here.
|
||||
|
||||
- `schemas` owns domain structures, field meanings, examples, and compatibility.
|
||||
- ConfigKit owns configuration composition and resolution. Validate completed
|
||||
domain documents after composition; partial authoring fragments need not
|
||||
satisfy a complete-document schema.
|
||||
- Narratio owns preparation, durable shared inputs, domain projections, and
|
||||
orchestration. Each consumer owns its task requirements and interpretation.
|
||||
- Shared snapshots preserve extension fields. Task-specific projections may
|
||||
select a subset without changing the source document's meaning.
|
||||
## Shared contracts and ownership
|
||||
|
||||
Use maintained validation libraries and pin schemas for offline use. The schema
|
||||
repository's Go harness remains a development tool, not an application SDK or
|
||||
runtime dependency. Do not add a registry service, runtime schema downloads, or
|
||||
a second configuration system.
|
||||
Pin exact `0.2.0` schema files, their semantics, and source distribution
|
||||
`2026.11.1` for offline use. Markers remain `maximumdirect.glossary.v1`,
|
||||
`maximumdirect.rpg.party.v1`, and `maximumdirect.rpg.campaign.v1`.
|
||||
The marker alone does not identify the exact schema version. Canonical IDs use
|
||||
`https://schemas.maximumdirect.net/<name>/v0.2.0/schema.json`.
|
||||
The [upstream compatibility policy](https://forge.maximumdirect.net/eric/schemas/src/tag/2026.11.1/docs/compatibility.md)
|
||||
owns CalVer, independent schema SemVer, and marker policy. Pre-1.0 changes may
|
||||
retain `.v1`; schema major 2 introduces `.v2`.
|
||||
|
||||
Deliver consumer migrations as complete cutovers with release guidance. Do not
|
||||
add legacy conversion, compatibility shims, or duplicate operator-maintained
|
||||
vocabulary. Intermediate implementation commits need not provide a working
|
||||
mixed-format application.
|
||||
ConfigKit v1.4.0 owns native acquisition/resolution through the handoff. Validate
|
||||
completed domain mappings after composition. Preserve supported resolved values,
|
||||
extensions, and omission/null distinctions; numeric binding and source limits
|
||||
follow upstream. Schema-resource JSON retains exact numeric constraints.
|
||||
No private input inspection, scalar repair, second parser, runtime schema
|
||||
downloads, or extra global extension restrictions are needed.
|
||||
|
||||
## 1. Prepare and publish the shared schema collection
|
||||
The glossary envelope has `schema_version` and `collections`. Task instructions
|
||||
belong to consumer configuration. An `instruction` extension remains data.
|
||||
The shared party contract allows optional players/classes and uses `aliases`.
|
||||
Narratio must distinguish shared conformance from data needed by a particular
|
||||
artifact-family operation; its current strict roster rules are not automatically
|
||||
requirements of the shared contract.
|
||||
|
||||
### Repository and contract versioning
|
||||
## Upstream capabilities now available
|
||||
|
||||
Release repository snapshots using CalVer `YYYY.MM.MICRO`. Use the UTC release
|
||||
year and zero-padded month; `MICRO` is a publication counter starting at zero each
|
||||
month. For example, `2026.11.0`, `2026.11.1`, and `2026.12.0` are successive
|
||||
releases. The counter carries no compatibility meaning. Record exact publication
|
||||
dates in release metadata. Select the actual version when preparing the release.
|
||||
Audita accepts repeatable explicit `--glossary-file` inputs in the shared format.
|
||||
It composes and validates the completed envelope before applying entry lists.
|
||||
Supplied entry lists override same-named configured lists; unrelated collections
|
||||
remain. Loading and collection selection are separate. Automatic glossary
|
||||
companions were removed; inline application instructions remain supported.
|
||||
See the [focused adoption roadmap](audita.md).
|
||||
|
||||
Version each schema independently with full SemVer. A repository release can
|
||||
contain unchanged versions of most schemas and a new version of just one. Record
|
||||
compatibility and migration notes per changed schema. Compatible additions and
|
||||
corrections follow its SemVer policy; incompatible structure or meaning requires
|
||||
an explicit contract transition. Preserve the distinction between pre-stable
|
||||
schema development and stable contracts when selecting initial schema versions.
|
||||
The former repository-wide `v0.1.0` target is replaced by CalVer.
|
||||
Notarius accepts shared party documents in `party`/accepted `roster` slots and
|
||||
shared glossaries in `glossary` and `spell_catalog`. One shared file may serve
|
||||
both glossary roles. General context defaults to available campaign/setting;
|
||||
spells default to a required `spells` collection when the slot is bound.
|
||||
Explicit collection selection and CLI path overrides follow native semantics.
|
||||
A private spell overlay and ruleset provenance are no longer required.
|
||||
|
||||
Operator documents continue to declare major contract generations:
|
||||
Notarius also provides native pipeline-aware preflight with run selectors,
|
||||
transcript, and runtime reference bindings. The former required-reference gap
|
||||
and need for hand-maintained PromptKit profile lists are resolved upstream.
|
||||
Preflight remains online, potentially billable, input-specific, and separate
|
||||
from offline validation and ordinary execution. Details belong in the
|
||||
[Notarius roadmap](notarius.md).
|
||||
|
||||
| Schema | Document `schema_version` |
|
||||
| --- | --- |
|
||||
| RPG party | `maximumdirect.rpg.party.v1` |
|
||||
| RPG campaign | `maximumdirect.rpg.campaign.v1` |
|
||||
| Glossary | `maximumdirect.glossary.v1` |
|
||||
## Required Narratio changes
|
||||
|
||||
Use the `rpg` namespace for party and campaign to distinguish these contracts
|
||||
from unrelated domains. The glossary remains domain-neutral. Rename the
|
||||
unpublished candidate identifiers directly, including examples and fixtures;
|
||||
no compatibility aliases or version increment are needed for this rename.
|
||||
### Shared acquisition and preparation
|
||||
|
||||
Compatible schema updates retain these markers. Incompatible contract changes
|
||||
change the affected marker, including during pre-stable schema development;
|
||||
unaffected schemas retain their identifiers. Document markers identify contract
|
||||
generations, not repository dates or pre-stable release maturity. Schema versions,
|
||||
repository releases, and application versions evolve independently.
|
||||
Replace Narratio's competing party/glossary contracts with the pinned shared
|
||||
contracts. Keep operational campaign configuration distinct from shared campaign
|
||||
context; do not automatically introduce a second authored campaign file.
|
||||
|
||||
### Layout and canonical identities
|
||||
Retain the four logical glossary sources: party, campaign, setting, spells.
|
||||
Derive party vocabulary from the canonical roster; do not require duplicate
|
||||
authored party or spell lists. Preserve the choice of 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.
|
||||
|
||||
Organize the repository root to match canonical URL paths, with no publication
|
||||
step that rearranges contract files. An illustrative layout is:
|
||||
Retain whole shared documents for forwarding and derive separate task views for
|
||||
artifact families and prompts. Update `alias` to `aliases`, shared markers, and
|
||||
current field assumptions deliberately. Keep stable manifest-backed logical
|
||||
sources and dependency evidence where their meaning is retained; new projections
|
||||
need explicit identities and invalidation relationships.
|
||||
|
||||
```text
|
||||
glossary/
|
||||
v1.0.0/
|
||||
schema.json
|
||||
semantics.md
|
||||
examples/
|
||||
v1.1.0/
|
||||
schema.json
|
||||
semantics.md
|
||||
examples/
|
||||
rpg/
|
||||
party/
|
||||
v1.0.0/
|
||||
schema.json
|
||||
semantics.md
|
||||
examples/
|
||||
campaign/
|
||||
v1.0.0/
|
||||
schema.json
|
||||
semantics.md
|
||||
examples/
|
||||
catalog.json
|
||||
README.md
|
||||
```
|
||||
### Consumer bindings and readiness
|
||||
|
||||
These version numbers illustrate the layout, not initial stability declarations.
|
||||
A schema's `$id` identifies its exact version, for example
|
||||
`https://schemas.maximumdirect.net/glossary/v1.1.0/schema.json`. Repository
|
||||
snapshots containing that same schema version retain the same `$id` and content.
|
||||
Pin cross-schema references to exact versioned identities; validate them both
|
||||
through local registration and the published path layout.
|
||||
Coordinate [Audita adoption](audita.md) with shared preparation so the new
|
||||
executable never receives old wrapperless files. Its current repeated file
|
||||
interface can remain; the payload changes.
|
||||
|
||||
RPG schema URLs mirror their domain-qualified paths, for example
|
||||
`https://schemas.maximumdirect.net/rpg/party/v1.0.0/schema.json` and
|
||||
`https://schemas.maximumdirect.net/rpg/campaign/v1.0.0/schema.json`.
|
||||
Coordinate the [Notarius native cutover](notarius.md) with shared references:
|
||||
remove receipt/index assumptions, old invocation/cache flags, and private spell
|
||||
overlay acquisition. Bind the shared roster and glossary data explicitly.
|
||||
Keep native collection selection and embedded spell recognition policy in
|
||||
Notarius rather than reconstructing them in Narratio.
|
||||
|
||||
Published version directories, including their semantic documentation and
|
||||
examples, remain immutable and available. Corrections produce a new version
|
||||
rather than replacing published files. Keep development tooling and tests outside
|
||||
these directories. A root page or unversioned documentation link may aid discovery;
|
||||
a moving latest alias must not become a pinned schema identity.
|
||||
Use the existing preflight service and lazy adapter composition. Automatic
|
||||
readiness still follows selected preparation and precedes processing; explicit
|
||||
session validation uses prepared inputs; planning remains subprocess-free.
|
||||
A synthetic transcript can support early provider/reference readiness, as with
|
||||
Audita, but cannot establish readiness of a future real transcript. Use an actual
|
||||
available execution transcript where appropriate and label the supplied input
|
||||
accurately. Do not add duplicate paid probes at another boundary without a
|
||||
demonstrated need.
|
||||
|
||||
`https://schemas.maximumdirect.net/` serves raw repository content directly from
|
||||
`main`. This is the supported initial hosting arrangement. Use this domain for
|
||||
canonical `$id` values; domain setup is no longer pending. Hosting remains
|
||||
maintained separately. Serving a selected CalVer snapshot is not a publication
|
||||
prerequisite, and no additional backend publication machinery is required.
|
||||
### Durable reuse and documentation
|
||||
|
||||
Published version directories remain immutable as `main` advances. Unfinished
|
||||
version directories may also be publicly accessible; URL availability does not
|
||||
establish release status. Published CalVer tags and their inventories identify
|
||||
released versions. Verify versioned URLs return schema JSON after the layout
|
||||
lands as a delivery check, separate from source-release completion.
|
||||
Update prepared records, reference snapshots, semantic evidence, artifact
|
||||
resolution, publish/restore, prompt inputs, and affected examples together.
|
||||
Obsolete evidence should follow normal staling/recomputation and transitive
|
||||
invalidation; do not fabricate old-format adapters or force unrelated stages
|
||||
to rerun merely because a library or executable version changed.
|
||||
|
||||
### Release inventory and consumer updates
|
||||
The [workspace roadmap](workspace.md) remains separately pending. Reuse canonical
|
||||
path owners and current layout unless that work is explicitly combined later.
|
||||
Do not make a workspace migration or downstream output-location change a new
|
||||
prerequisite for shared-schema adoption.
|
||||
|
||||
Add a machine-readable `catalog.json` listing available schemas and versions,
|
||||
their document contract identifiers, canonical `$id` values, and relative file
|
||||
locations. Include retained published versions. The inventory may evolve with
|
||||
repository releases; its copy in each tagged snapshot is immutable. Document its
|
||||
format and verify that entries agree with the version directories and schema IDs.
|
||||
The inventory served from `main` is a development view, not a pinned release
|
||||
snapshot. Consumers use the inventory and contract files from a published tag.
|
||||
## Proposed next scope and verification
|
||||
|
||||
Consumers select exact versions of the schemas they use and record the source
|
||||
CalVer distribution. Bundle those schemas, their referenced dependencies, and
|
||||
relevant semantic documentation for offline use. An unrelated schema's update
|
||||
does not require a consumer upgrade, and consumers need not import the whole
|
||||
repository as a Go dependency.
|
||||
Prepare one Narratio implementation plan covering shared acquisition/preparation,
|
||||
catalog/example migration, Audita v4.3.0, and Notarius v0.10.0. Consumers and shared
|
||||
preparation must reach a coherent final state in one sprint; intermediate commits
|
||||
need not provide mixed-version compatibility.
|
||||
|
||||
For a relevant update, review that schema's compatibility notes, replace the
|
||||
bundled contract files, test application behavior, and commit the selected
|
||||
versions. A manual, documented update process is sufficient initially; do not
|
||||
build a package manager. Application releases identify supported contract
|
||||
generations and task-specific requirements. Accepting or preserving an extension
|
||||
does not imply support for its meaning.
|
||||
Reuse existing adapter, preparation, resume, and controlled subprocess tests.
|
||||
Verify one synthetic authored roster/vocabulary set reaches both applications
|
||||
without duplicate spell authoring, 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.
|
||||
|
||||
### Required work before the initial release
|
||||
## Remaining Narratio decisions
|
||||
|
||||
- Move the three contracts, their semantics, and examples into the versioned root
|
||||
layout, including the `rpg` namespace for party and campaign. Update their
|
||||
document identifiers throughout schemas, validation, examples, and documentation.
|
||||
Select and record their initial independent semantic versions.
|
||||
- Replace repository SemVer assumptions in `VERSION`, release-note naming,
|
||||
compatibility guidance, and the release procedure with the CalVer convention.
|
||||
- Set canonical `$id` values, update references and documentation links, and add
|
||||
the release inventory. Remove obsolete flat-layout and forge-ID assumptions.
|
||||
- Adapt the validation harness, fixtures, CI, and archive checks to discover and
|
||||
validate the versioned contracts. Check inventory consistency, offline reference
|
||||
resolution, and the correspondence between repository paths and canonical URLs.
|
||||
- Verify that the tagged source archive contains complete contracts, semantic
|
||||
documentation, examples, licensing, and the optional validation harness. Retain
|
||||
the reviewed decoding fixes and validate the intended committed candidate.
|
||||
### Shared file supplied to Notarius's two glossary roles
|
||||
|
||||
Defer ReleaseKit adoption until it supports the selected CalVer repository
|
||||
workflow. It is not a prerequisite for the initial release. A later upstream
|
||||
feature request can define that support; do not encode dates as semantic major
|
||||
versions merely to satisfy existing tooling. In the meantime, keep the
|
||||
repository's source-only release procedure small, explicit, and appropriate to
|
||||
CalVer, with fresh immutable tags and validation of the intended candidate.
|
||||
No validator binary distribution is required.
|
||||
**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.
|
||||
|
||||
Update the schema repository's
|
||||
[release procedure](https://forge.maximumdirect.net/eric/schemas/src/branch/main/docs/release.md)
|
||||
with these changes before using it. Publish only when requested. Consumer
|
||||
adoption is not a prerequisite for publishing the independently usable collection,
|
||||
and publication does not declare existing consumers compatible.
|
||||
**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.
|
||||
|
||||
## 2. Plan and implement Notarius adoption
|
||||
### Narratio-specific party and campaign task requirements
|
||||
|
||||
Start consumer design with Notarius because its structured spell input has the
|
||||
largest remaining semantic difference. Prepare an upstream adoption roadmap
|
||||
before implementing Narratio bindings around it.
|
||||
**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.
|
||||
|
||||
Notarius should accept the shared glossary contract for spell vocabulary and
|
||||
derive recognition inputs from names, aliases, and relevant provenance. An
|
||||
operator must not need a second spell overlay containing the same vocabulary.
|
||||
Notarius continues to own embedded vocabulary, normalization, source precedence,
|
||||
collisions, and extraction strategy.
|
||||
**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.
|
||||
|
||||
Settle collection selection and task-specific provenance requirements, including
|
||||
how absent provenance is handled. Do not promote those requirements into the
|
||||
general glossary schema merely to match the existing implementation. Review
|
||||
party and other reference inputs wherever Notarius relies on their structure;
|
||||
free-text references need no new typed interface solely for uniformity.
|
||||
|
||||
Allow consumers to use the subset of collections relevant to their task. Native
|
||||
YAML consumption is useful, but a faithful YAML-to-JSON projection by Narratio
|
||||
is sufficient where required. Format conversion must not require a separately
|
||||
authored document or move Notarius's recognition policy into Narratio.
|
||||
|
||||
## 3. Adopt the glossary contract in Audita and the reference catalog
|
||||
|
||||
Audita and catalog work can proceed alongside Notarius once their adoption
|
||||
interfaces are settled.
|
||||
|
||||
Audita should accept the shared glossary envelope and obtain task instructions
|
||||
from its configuration. Unknown domain fields must not acquire instruction
|
||||
semantics. Its processing and preflight paths should apply the same input
|
||||
contract and retain Audita-owned task checks.
|
||||
|
||||
The reference catalog should adopt the published glossary schema and semantic
|
||||
contract instead of maintaining a competing format definition. Keep vocabulary
|
||||
releases independent of schema releases. ConfigKit continues to compose source
|
||||
fragments; completed glossary documents carry the shared envelope. Preserve
|
||||
useful source provenance and extensions.
|
||||
|
||||
Each repository updates maintained examples, validation, and migration guidance
|
||||
with its adoption. Consumer releases establish the supported inputs before
|
||||
Narratio's cutover relies on them.
|
||||
|
||||
## 4. Prepare and implement coordinated Narratio adoption
|
||||
|
||||
Prepare a Narratio roadmap against the selected schema and consumer releases.
|
||||
Cover shared party inputs, glossary preparation, saved projections, downstream
|
||||
bindings, and affected Scriptorium prompt contracts.
|
||||
|
||||
Retain the four glossary collections: `party`, `campaign`, `setting`, and
|
||||
`spells`. Derive party vocabulary from the canonical roster. Save shared inputs
|
||||
and any necessary combined or consumer-specific projections through the existing
|
||||
prepared-input machinery. Supply subsets according to consumer needs; Audita's
|
||||
four-collection use does not require every subprocess to consume all four.
|
||||
|
||||
Keep shared campaign data distinct from operational campaign configuration.
|
||||
Determine how shared campaign context is supplied without automatically requiring
|
||||
another operator-maintained file. Preserve the choice of inline campaign
|
||||
glossary entries or an imported glossary file through native configuration
|
||||
composition. Validate the completed shared document at the preparation boundary.
|
||||
|
||||
Review Narratio-specific roster requirements against the shared party contract.
|
||||
Keep requirements justified by Narratio's tasks distinct from schema conformance.
|
||||
Preserve extensions in forwarded inputs and keep downstream interpretation in
|
||||
the downstream consumer. Reuse existing preparation, artifact, resume, and
|
||||
preflight paths rather than introducing parallel machinery.
|
||||
|
||||
Reconcile the [Notarius roadmap](notarius.md): replace its separate spell-overlay
|
||||
assumption with the adopted shared input contract, and update readiness planning
|
||||
to use the now-documented native Notarius preflight interface. Verify the selected
|
||||
release's contract when drafting the detailed adoption plan.
|
||||
|
||||
Update Scriptorium prompts that consume these inputs alongside the prepared
|
||||
artifact changes. Schema adoption alone does not require a generic Scriptorium
|
||||
application enhancement.
|
||||
|
||||
## 5. Verify the single-source workflow
|
||||
|
||||
Use one representative synthetic set of authored YAML inputs to demonstrate the
|
||||
complete path from preparation to consumer ingestion. Establish that:
|
||||
|
||||
- Narratio prepares the roster and shared glossaries without duplicate authored
|
||||
vocabulary, including a single spell source used by Audita and Notarius.
|
||||
- Native YAML and any required JSON projections preserve shared values, aliases,
|
||||
provenance, and extensions; task projections retain the information they need.
|
||||
- Schema failures and consumer task failures surface through preparation or
|
||||
native preflight before expensive processing, using the execution inputs.
|
||||
- Prepared artifacts remain available to relevant Scriptorium prompts and behave
|
||||
correctly through existing resume and changed-input invalidation paths.
|
||||
|
||||
Use focused automated contract checks and controlled integration fixtures.
|
||||
Routine verification should not require paid provider calls. Update canonical
|
||||
integration documentation, examples, and release guidance as each implementation
|
||||
lands. Application compatibility claims should identify the versions actually
|
||||
verified together.
|
||||
|
||||
## Sequence and remaining decisions
|
||||
|
||||
Settle initial independent schema versions before implementation. The plan must
|
||||
also define explicit exact-version selection for the validation harness: a document
|
||||
major marker alone cannot distinguish multiple compatible schema versions. Inventory
|
||||
field details and test organization are implementation choices, not additional
|
||||
product decisions. Direct hosting from `main` requires no release-selection work
|
||||
before publication.
|
||||
|
||||
Consumer planning can proceed before publication, but released consumers should
|
||||
pin selected schema versions and their published source distribution. Address
|
||||
Notarius's spell-input semantics first; Audita and catalog adoption can proceed
|
||||
in parallel. Complete Narratio's cutover against supported upstream interfaces,
|
||||
then verify the integrated workflow.
|
||||
|
||||
The consumer roadmaps must settle:
|
||||
|
||||
1. Notarius collection selection, provenance requirements, and their relationship
|
||||
to its embedded vocabulary and recognition policy.
|
||||
2. Narratio's acquisition or projection of shared campaign context, while keeping
|
||||
operational configuration separate and avoiding duplicate authoring.
|
||||
3. Concrete schema and consumer release baselines, reference bindings, and any
|
||||
task-specific requirements beyond shared-schema conformance.
|
||||
|
||||
Complete the repository changes in step 1 before the initial release, including
|
||||
selection of initial schema versions. Verify canonical URL delivery separately
|
||||
after the layout is available.
|
||||
Notarius's shared-schema adoption roadmap is the first consumer planning task.
|
||||
Consumer decisions do not by themselves block an independently usable schema
|
||||
release, and deferred ReleaseKit adoption is not a release gate.
|
||||
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