Update shared schema adoption plans for released consumer support
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user