39 KiB
Shared inputs, native consumers, and session workspace
Status and scope
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 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, legacy readers, automatic conversions, version-negotiated adapters, or duplicate operator-authored vocabulary. Publication remains a separately authorized action.
This document supersedes Narratio's separate schema, Audita, Notarius, and workspace roadmaps, the completed schema-repository implementation plan, and the reference catalog's shared-glossary roadmap. Their historical versions remain in Git. The schemas and upstream applications have already shipped; their implementation work is not part of this sprint.
Released baselines and ownership
Reviewed on 2026-11-29:
| Component | Adopted release | Source commit |
|---|---|---|
| Shared schemas | 2026.11.1; glossary, RPG party, RPG campaign 0.2.0 |
f7e3cedeca11ed903311cdf29ca4d81fb1f216b7 |
| Audita | v4.3.0 |
6f97f31ccb1436c9b1e144182f6ad0b1fd9524be |
| Notarius | v0.10.0 |
752c9b44d2c0bb3bfb1e02a5d4379f7cc5b6261e |
| ConfigKit | v1.4.0 |
4a7ae664a6287d71cba20f59c7c5b37b6f05b0a3 |
Canonical contracts:
- Schemas: release, validation, and compatibility.
- Audita: runtime inputs and migration.
- Notarius: subprocess contract, shared inputs, CLI, domain outputs, and migration.
- ConfigKit: configuration contract and consumer guide.
Narratio currently supplies private roster and wrapperless glossary formats, targets Audita v4.2 and Notarius's v0.8.1 receipt/index protocol, and uses the workspace described in Operations. Installing the new executables alone is not a compatible upgrade.
Follow ADR 0003: ConfigKit owns configuration acquisition and resolution through the final handoff; CommandKit owns CLI mechanics and native inspection; Narratio interprets resolved values and prepares separate domain objects without constructing another effective configuration. Shared contracts must fit ConfigKit's supported values. Do not add a parser, scalar repair, arbitrary-precision bridge, private input inspection, or custom merge policy. Downstream applications own prompts, profiles, provider selection, task validation, and their execution caches.
ADR 0001 and ADR 0002 define the selected content and ownership model. Acceptance of those decisions does not establish that this workspace has been implemented.
Campaign operator contract
Author once
Installation setup supplies the pipeline, services, credentials, and an explicitly installed reference catalog. An operator onboards a campaign with three primary documents, then supplies session identity, audio, and session-specific metadata:
| Document | Responsibility |
|---|---|
party.yml |
Shared RPG party roster, with Narratio's additional roster requirements. |
campaign.yml |
Shared RPG campaign identity/context, roster reference, catalog selectors, and a narratio operational extension. |
speakers.yml |
Existing speaker-mapping format connecting recording names/identifiers to transcript speaker labels. |
Recording identity is separate from character identity; speaker mappings can include players, a GM, and other participants. No extra authored player list, combined glossary, private spell overlay, campaign-context file, autocorrection file, or per-campaign template is required. Native imports and optional authoring splits remain available; the three-file bundle is the standard onboarding path, not a limit on the number of files.
Campaign and session field layout
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 |
|---|---|
schema_version |
Required maximumdirect.rpg.campaign.v1. |
id |
Required campaign identity; replaces campaign_id, retaining Narratio's identity checks. |
name, description |
Shared optional display/context fields. |
references.party |
Required by Narratio; standard bundle explicitly uses ./party.yml. --party-file remains an invocation-specific selection. |
setting, system |
Optional catalog keys; the standard workflow supplies both. Omission means no selected vocabulary for that role. Shared optional-field null rules still apply. |
references.glossaries |
Optional shared relationships, not an implicitly ordered Narratio composition list. Operational vocabulary selection uses the fields below. |
narratio.inputs.speakers_file |
Required by Narratio; standard bundle explicitly uses ./speakers.yml. |
narratio.inputs.glossary_file |
Optional path to a shared glossary supplying campaign. No path means no file contribution. |
narratio.inputs.glossary |
Optional inline campaign collection, using shared entry/provenance shapes; omission or null means no inline contribution. |
narratio.inputs.autocorrect |
Optional list using the existing Seriatim replacement-rule shape; omission, null, or [] supplies no campaign replacements. |
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. 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.
Session identity, audio, title, date, and previous-session behavior remain in
the session document. Retain session inputs.speakers_file, inputs.setting,
inputs.system, inputs.glossary_file, and inputs.glossary selectors. Add
inputs.autocorrect for session rules. Omission inherits the corresponding
campaign value independently. Null/empty optional selectors clear a selection;
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
party_file or players_file. Campaign/session identities must agree, using
the new campaign id as the authoritative campaign identity.
Resolve authored resource paths from the effective value's defining source, including imports and inherited values; preserve existing source-context and invocation-directory fallback rules. CLI-relative paths use the invocation directory. Register resolution/default rules through native ConfigKit extension points. Configuration inspection exposes that native result, not prepared snapshots or a hand-built inspection view.
Worked campaign bundle
The complete target-interface files are under examples/campaign/: campaign.yml, party.yml, and 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 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
speakers, and provides one inline campaign term. Its empty autocorrection list
requires no extra file. Removing both optional inline sections still permits
onboarding. Session initialization uses the installation/built-in template;
the operator then selects session audio through the ordinary workflow.
Preparation derives party vocabulary, resolves the two catalog sources, writes
the campaign collection and combined glossary, and passes verified prepared
paths to both consumers. No fictional setting is presented as a complete
Forgotten Realms or D&D reference library.
Narratio-wide roster requirements
After shared RPG party validation, consistently require a nonempty roster, stable IDs satisfying Narratio's artifact-key rules, player and character names, and a nonempty class list per character. Preserve existing trimmed/nonempty display-name checks, character-name/alias ambiguity checks, and duplicate-class checks; player names may repeat. Class names are required and supplied levels remain positive within the shared contract's range.
Use aliases and the shared marker. Preserve supported extensions and optional
shared values without normalizing the forwarded document. These are Narratio's
consumer requirements, not changes to the shared schema, and do not depend on
which artifacts happen to be selected. Derive separate artifact-family and
prompt views; retain a complete shared roster for forwarding.
Shared acquisition and prepared inputs
Pin all three 0.2.0 schemas, adjacent semantics, exact dependency closure, and
source distribution 2026.11.1 for offline validation. Keep canonical IDs under
https://schemas.maximumdirect.net/<name>/v0.2.0/schema.json; retain .v1
markers. Markers are not exact-version selectors. Do not import the schemas
repository's internal harness as an SDK or fetch schemas at runtime.
Validate completed mappings after ConfigKit composition, then apply domain
semantic rules such as exact per-collection glossary ID uniqueness and Narratio's
roster profile. Preserve supported resolved values, extensions, and
omission/null/empty distinctions. Numeric binding and source limits remain
upstream; schema-resource JSON retains exact numeric constraints. Ordinary
shared extensions are allowed even where Narratio's typed operational settings
reject unknown fields. An instruction extension is data, never prompt guidance.
Refactor campaign acquisition, identity selection, inspection, resource resolution, campaign-to-session defaults, and initialization together. Prepared campaign/session/party documents are effective standalone snapshots; source configuration remains authoritative. Update autocorrection preparation and its evidence without turning glossary context into deterministic replacement rules.
Glossary composition and bindings
Keep the four logical prepared sources and add one generated projection:
| Logical source | Contents and consumers |
|---|---|
narratio.input.glossary.party |
Roster-derived party collection; supplied individually to Audita. |
narratio.input.glossary.campaign |
Campaign file/inline contribution; supplied individually to Audita. |
narratio.input.glossary.setting |
Selected setting vocabulary; supplied individually to Audita. |
narratio.input.glossary.spells |
Selected system vocabulary; supplied individually to Audita. |
narratio.input.glossary.combined |
One saved shared envelope containing all four collections; bound to both Notarius glossary roles. |
All prepared glossary files use the shared envelope. Save each collection even when its entries are empty. Keep collection metadata/extensions where they are part of the source, and preserve source documents where task projections omit data. The combined file is a domain projection with explicit dependencies on the four inputs, not a second authored source or configuration merge engine.
Resolve the selected campaign file beneath the effective inline contribution
through existing native ConfigKit identity/list controls. Inline and imported
authoring remain supported. Catalog IDs select paths from
pipeline.reference_catalog.settings and .systems; only selected documents
are acquired, and unknown selected IDs fail. These are Narratio's interpretations
of the shared campaign labels, not schema-defined lookup semantics. Do not infer
composition precedence from references.glossaries ordering.
Retain narratio.input.party for the complete shared roster and
narratio.input.players for consumers still needing its derived view. Do not
require a default Notarius players binding: Notarius derives relationships from
the shared roster. Remove private spell-overlay acquisition and
narratio.input.spell_catalog; do not restore the retired
narratio.input.glossary alias.
Keep manifest-verified prepared sources, reference snapshots, and whole-file content evidence. A change in any combined collection may invalidate extraction even if a role does not select it. Collection-aware fingerprinting is outside this feature. Stable logical IDs remain stable where their meaning is retained; new projections have explicit identities and invalidation dependencies.
Reference catalog adoption
Update narratio-reference-catalog in the same coordinated scope. Its existing
synthetic bundle still owns a wrapperless schema and targets Audita v4.2. Adopt
the pinned shared glossary 0.2.0 instead. This work covers the synthetic
Lantern Coast/Sample Magic bundle, not new real-world vocabulary or source
licensing research.
Distribute authored entry points with their local native-import fragments;
Narratio prepares standalone downstream files. Do not add a generated export
product or maintain parallel resolved copies. Keep existing selectors, paths,
IDs, names, descriptions, aliases, and categories unless correcting a specific
defect. Source entry points resolve to complete envelopes; fragments may remain
partial. Keep setting and spells as the sample collection roles.
catalog.yml remains a Narratio configuration index, distinct from a glossary
and from the schemas repository's catalog.json. Native configuration permits
operator catalog extensions. Retire the catalog-owned glossary schema; vendor
the unmodified shared schema, semantics, dependency closure, and applicable
license/attribution with exact provenance. Do not rewrite $id or maintain
local schema amendments. Rewrite FORMAT.md as the catalog authoring/selection
guide and link upstream for shared field definitions.
Remove consumer instructions from maintained vocabulary and partial examples. Preserve supported extensions and meaningful provenance; use synthetic source IDs/titles and the known license without invented upstream versions, URLs, or ruleset semantics. Preserve CC0 and record terms for incorporated material.
Add a small catalog-local development/CI check using native ConfigKit composition, maintained JSON Schema validation, and the necessary ID-uniqueness check. Check every indexed source, source-relative imports, expected collection roles, complete and partial examples, and focused negative fixtures. Do not duplicate parser or merge machinery or copy the schemas harness. Ordinary validation is offline after dependency preparation and needs no sibling application or LLM service.
Retain the compatibility script as an opt-in integration check with the new Narratio and Audita releases; retire its old compatibility claims when migration lands. Catalog validity does not establish consumer readiness. Record the actual tested revisions before claiming interoperability.
Pin an explicit catalog commit for this sprint. Named releases are not a prerequisite; an eventual independent catalog release convention remains separate future work. Do not couple vocabulary versions to schema versions, fetch updates during execution, mutate published revisions, or require hosting/ReleaseKit work.
Consumer execution
Audita v4.3.0
Keep the repeated --glossary-file interface, now supplying the four prepared
shared envelopes. Audita can also accept multi-collection files, but no new
Narratio configuration generator or collection-selection flags are needed.
Supplied entry lists replace same-named configured lists at CLI priority,
including empty lists; unrelated collections and disjoint native overrides stay
upstream concerns. Audita selects correction/protection collections separately.
Empty data is schema-valid, while configured glossary correction requires at
least one selected entry; native readiness reports that failure.
Instructions stay in Audita configuration. Automatic glossary companions have been removed upstream; operators must pass desired files explicitly. Narratio already supplies explicit paths. Automatic prompt companions, application configuration version 3, transcript/report contracts, config/overlay/profile forwarding, and ordinary reporting remain unchanged.
Use the same saved envelopes for processing and preflight. Update semantic evidence for the new bytes. Direct the transcript to staged product storage, ordinary and failure reports to the actual polish log directory, and retained debug work to the actual polish debug directory through supported controls.
Notarius v0.10.0 invocation and references
Notarius remains an installed executable, not a Go package dependency. Use
notarius run <pipeline_id> with flags after the complete command path:
| Concern | Target |
|---|---|
| Transcript | --input-file with the absolute final trimmed transcript; remove --input. |
| Configuration | Preserve --config; forward config_overlay as --overlay, distinguishing omission from an explicit value. |
| Machine report | --format json, independent of Narratio display flags; remove --json. |
| References | Repeated --reference <selector>=<verified snapshot path>. |
| Output | --output-dir with Narratio's run-local staging destination. |
| Cache | Native --cache auto|bypass|refresh; remove --resume and --chunk_cache. |
| Debug | True pipeline.notarius.debug adds --debug; always supply the actual run-local --debug-dir for configured capture. |
Keep minimal child environments, exact-name credential forwarding, stream
supervision, cancellation, limits, redaction, and native errors. Preserve native
input-based LLM session selection; add no generic execution overrides or runtime
version negotiation. Required outputs do not become an implicit --lane filter.
Supply the shared roster to party (or native accepted roster bindings) and
the combined glossary to glossary and spell_catalog. Each role keeps its native
collection selection: general context defaults to available campaign/setting;
a bound spell role defaults to spells, which must exist. Explicit selected
names must exist; omitted/null selections use defaults and [] selects none.
CLI path overrides retain effective configured selections. Narratio does not
implement another selection policy.
Notarius owns embedded D&D 5e 2014 SRD recognition, canonical display names, alias augmentation and collision checks. No private overlay or ruleset provenance is required. A catalog system selector does not choose an inferred recognition ruleset. References are context, not transcript evidence; generated same-run handoffs remain configured within Notarius.
Notarius completion, products, and cache
Wait for successful process completion before interpreting stdout as a successful
report. The native report contains pipeline, artifact_count, absolute
output_directory, and optional debug_directory and positive fallback_count.
It is not a receipt, inventory, or validation ledger. Use that exact directory
under the supplied staging root; never scan for the newest bundle or infer a run
ID from a name. No upstream run-ID field exists.
Every configured extraction output remains required. Read documented
lanes/<mapped-lane-id>.json files, applying the upstream mapping for custom
lane IDs. Check expected pipeline, safe placement, regular files, bounded JSON
readability, and checksums with existing machinery. Keep lane_id; remove
media_type, schema_id, schema_version, and module_key descriptor constraints.
Trust Notarius's native domain validation rather than adding payload schemas or
semantic assessment. Preserve narratio.extraction.<output_key> source identities.
Promote configured products to the flat artifact destinations only after bundle
acceptance, preserving existing staged-validation/atomic-promotion guarantees
before recording success. artifact_count includes reused results and enabled
auxiliaries, so it is not a required-output-count check. Retain optional
chunk-map.json and evidence-context.json with the original bundle when emitted;
they are domain auxiliaries, not report sidecars. New selectable sources for them
are not required. The maintained complete D&D pipeline still has ten lanes.
Remove receipt/index/sidecar parsing, descriptor comparisons, rejection/warning
count reconciliation, and notarius_index from execution, hydration, evidence,
reuse, publication, and restore. Do not create a substitute index. Record
Narratio-owned input/output evidence and factual native completion information,
distinguishing configured expectations from producer attestations.
Nonzero exit, malformed successful stdout, or missing required files fail. Report
or capture failure can follow artifact publication: preserve diagnostics and
available files, but do not recover success automatically from partial stdout
or incidental files. Honor native successful permissive completion subject to
required-file checks. Record and display positive fallback_count in ordinary
extraction results and later reuse; it counts emitting operations, not affected
lanes. Notarius owns strict/permissive settings and its strict default.
Replace Narratio's pipeline.notarius.resume and .chunk_cache with optional
.cache. Omission passes no flag; forced extraction uses --cache refresh.
Narratio's stage reuse and Notarius's accepted-result cache are separate.
Cache/debug selection alone does not stale completed Narratio products. Fingerprint
result-affecting Narratio inputs, references, output selection, pipeline identity,
and explicit overlay selection, not private downstream config or cache formats.
Downstream model/settings/validation changes may still hit native cache; document
forced extraction as the explicit way to request fresh work. Notarius owns cache
placement and cleanup; old native caches stay ignored and untouched.
Readiness and invocation lifecycle
Reuse internal/preflight, lazy adapter composition, and production acquisition
paths. Automatic readiness follows selected preparation and precedes processing
for stages needing execution. Explicit session validate uses prepared inputs;
planning remains subprocess-free. Keep prepared-reference integrity checks and
Narratio's required-lane checks through native pipeline inspection. A failed or
incomplete required inspection is not evidence of readiness.
Run full Audita preflight and native
notarius preflight <pipeline_id> --input-file <transcript> ... --format json
with the execution config/overlay, references, credentials, cache selection, and
appropriate probe output/debug destinations. Notarius chooses applicable provider
targets and checks modules, transcript/references, destination/cache access,
reachability, authentication, and structured generation. It does not extract or
publish domain artifacts. No separate promptkit test all, maintained profile
list, or mandatory additional pipeline validate subprocess is needed.
Require successful status and a complete assessment for the expected Notarius
pipeline with ready: true. Preserve warnings and debug locations; cache-access
warnings alone do not fail readiness. Nonzero exit fails even with ready: true;
early failure can omit the report and failed delivery can leave partial bytes.
Keep native error semantics rather than inventing an error taxonomy.
Provider probes can be billable and may create probe directories, temporary files, and selected debug capture. Use an appropriate real execution transcript when available; otherwise use the existing known-good synthetic transcript for early readiness as with Audita. Report which input was checked. Synthetic success does not validate the future final trimmed transcript, which run validates normally. Do not add two mandatory paid probe passes.
Readiness is an invocation check, not another resumable pipeline stage. Keep its diagnostics distinct from actual extraction/polish attempts so a probe does not misrepresent which stage last executed. Use existing validation/reporting paths for explicit and automatic checks, with additional explanatory output where useful.
Session workspace and diagnostics
Final layout and ownership
Keep the configurable workspace root and default /var/lib/narratio; sessions
remain under work/<campaign>/<session>. Centralize all changed paths in the
existing path owner.
| Session-relative path | Role |
|---|---|
manifest.json |
Narratio progress, supported-state identity, evidence, and output references. |
artifacts/<filename> |
Flat completed configured artifacts, including intermediate session bounds. |
transcripts/<filename> |
Combined and rendered transcripts. |
transcripts/raw/<speaker>.json |
Initial per-speaker transcripts. |
audio/ |
The single retained Narratio-managed prepared audio copy. |
inputs/ |
Prepared configuration and other external inputs. |
inputs/previous/ |
Prepared previous-session material. |
inputs/references/ |
Content-identified reference snapshots supplied to subprocesses. |
logs/<stage> |
Relative symlink to the latest actual attempt's run-local logs. |
debug/<stage> |
Relative symlink to that attempt's debug directory, possibly empty. |
runs/<run_id>/<stage>/logs/ |
Actual process streams, invocation records, and execution reports. |
runs/<run_id>/<stage>/debug/ |
Actual optional captures and retained diagnostic state snapshots. |
runs/<run_id>/ |
Narratio staging, original tool bundles, and retained execution evidence. |
Outputs consumed by later stages retain their output paths. Narratio's lock,
manifest, restore marker, and staging are its State; no extra root-level State
directory is needed. Input configuration follows its input/staging role;
invocation descriptions are Logs. Subprocesses own their working State and Cache
through their supported configuration, outside Narratio cleanup responsibility.
Dedicated cache roots such as /var/cache/notarius are deployment recommendations,
not Narratio-imposed internal layouts.
Output placement and collision checks
Apply flat artifact placement to explicit analysis outputs, expanded character
families, extraction products, and session bounds. Preserve configured analysis
filenames within that constraint. Derive extraction names from configured output
keys plus .json, with an optional explicit filename override. Keep
session_bounds.json as the default bounds name. Validate collisions across the
effective pipeline, expanded families, and built-in destinations before execution;
report conflicting producers and destinations, without silently renaming files.
Combined transcripts stay directly beneath transcripts/. Remove unused
transcripts/trimmed/ scaffolding and reconcile configurable destinations with
their categories. Local flattening does not flatten explicit remote publish
destinations. Seriatim execution reports move from artifacts to run-local Logs.
Promoted extraction products resolve independently of their original bundle.
Retained bundle evidence remains under runs with an explicit retention role;
relocation must not silently shorten its existing lifetime.
Audio acquisition
Remove Narratio's persistent S3 audio cache and retained spool duplicates,
obsolete configuration, manifest bookkeeping, and cleanup controls. Temporary
download files may be used to install validated session audio. Preserve reuse
of valid prepared audio and restore into the same audio/ layout. Recreating
a session after its prepared audio is removed fetches the source again. This
change does not delete original recordings or newly authorize prepared-audio
deletion; downstream caches remain separately managed.
Latest attempts, debug, and retention
At each actual stage attempt, create its run-local log and debug directories
and advance both relative links, including when the attempt fails. For example,
logs/polish points to ../runs/<run_id>/polish/logs/. An attempt without capture
exposes an empty debug directory; a skipped stage leaves both prior views intact.
Fully reused invocations must not create empty run directories merely for views.
Distinguish multiple applications/artifact invocations by their diagnostic names.
Restore has its own run-local diagnostic group and logs/restore latest view.
Producers write to actual run paths; links are operator navigation, not a duplicate store. Publication and manifest diagnostics reference actual paths. Support these managed links without permitting arbitrary symlink traversal. Rotation does not move historical files. Run cleanup preserves current latest-view targets and retained evidence according to role; add no automatic history age/count limit. Explicit whole-session removal removes its views with it.
Retain Audita's debug selector and add Notarius's enable-only selector. True requests capture; omission/false passes no enablement override and preserves downstream settings. Supply actual destinations even when upstream configuration enables capture. Notarius's destination alone does not enable capture. Audita's debug work-directory control is diagnostic placement, not ownership of generic working State.
Route Scriptorium's existing per-artifact render-debug products to run-local
analyze/trim debug directories. Preserve per-artifact selection. Seriatim
needs no invented debug mode; ordinary reports are Logs. Subprocess-defined
nested capture directories are allowed. Notarius capture stays private: do not
parse it as an API or use its latest link to find outputs. Capture does not
imply sanitization of arbitrary file contents; retain existing stream redaction
boundaries, write-failure semantics, and useful evidence on error.
Full Audita/Notarius debug bundles remain local. Preserve publication of currently declared diagnostics, including existing render-debug products; enabling capture does not add remote archives implicitly. Debug controls act when a stage executes, not as product invalidators. Operators force execution to obtain fresh diagnostics when products would otherwise be reused.
One cutover and durable-state boundary
This combined feature supports newly prepared sessions in the new format. Introduce an explicit supported-state identity/version using Narratio's existing manifest/state mechanism. Old local sessions and old remote snapshots must not be silently resumed, converted, rewritten, or restored into the new layout. Detect unsupported state before mutation and provide regeneration/manual configuration guidance. Historical files and bundles remain untouched; no compatibility path or automatic deletion is introduced.
This boundary supersedes the separate adapter roadmap's proposal to upgrade old extraction evidence in place. Within supported new-format sessions, preserve ordinary per-speaker/per-artifact reuse, forced execution, obsolete-evidence staling, and transitive invalidation. Do not rerun unrelated stages solely because an executable version changes. Keep the existing treatment of old completed products after invalidation or failed replacement, including manifest-backed availability; relocation does not introduce rollback, fallback, or stale-file deletion semantics.
Update prepared records, reference snapshots, semantic evidence, artifact resolution, publication, restore, and cleanup together. Publish declared products and diagnostics; restore new-format inputs/products into canonical new paths. Preserve session locking, incomplete-restore recovery, the existing remote commit protocol, and successful-publication prerequisites for automatic cleanup. Respect separate subprocess Cache/State and latest-attempt retention when computing cleanup targets.
Delivery, documentation, and verification
The implementation plan should sequence these outcomes within the single sprint:
- Define the supported-state boundary and establish canonical shared acquisition and workspace paths.
- Migrate the catalog and maintained campaign examples; prepare the roster, autocorrection input, four glossaries, combined projection, and references.
- Cut both subprocess adapters and shared readiness over to their released interfaces; remove private spell/receipt/index machinery.
- Complete flat promotion, latest diagnostics, audio simplification, and all evidence/reuse/publication/restore/cleanup consumers of the new paths.
- Verify the complete operator workflow, document migration, and finish the supported final state. No intermediate release or compatibility layer is needed.
Keep existing application/adapter boundaries and reuse production checking paths. Replace obsolete tests and fixtures rather than preserving retired protocols. Verification must cover the following observable outcomes:
| Area | Required evidence |
|---|---|
| Campaign workflow | A complete synthetic three-file bundle selects catalog data and initializes sessions without extra vocabulary, autocorrection, or template files; omitted/supplied sections and explicit overrides behave as documented. |
| Shared acquisition | Native source-relative imports and resolution, schema/semantic failures, Narratio roster requirements, shared extensions, and omitted/null/empty distinctions are exercised without a second parser. |
| Preparation | Four individual envelopes and the combined file have verified manifest-backed identities/dependencies; changed combined content invalidates downstream extraction as specified. |
| Catalog | Every indexed source resolves to the intended shared collection; independent checks cover partial inputs, null aliases, extensions, wrong markers/known fields, and duplicate final IDs. |
| Audita | Repeated shared files, empty collection/task readiness, extension/instruction handling, native flags, and processing/preflight parity work with v4.3.0. |
| Notarius | Native args, overlay/reference forwarding, custom lane filename mapping, optional auxiliaries, safe required-file checks, malformed/nonzero completion, and visible fallback qualifications including reuse are covered. |
| Readiness | Shared automatic/explicit paths, preparation ordering, required-lane checks, provider/reference failures, cache warnings, and synthetic-input limitations are covered without duplicate probe passes. |
| Paths and diagnostics | Flat products, effective collision detection, success/failure latest views, empty debug views, skipped stages, lazy run creation, and debug routing preserve their selected semantics. |
| Reuse and cache | Forced refresh, completed-work reuse, changed-input invalidation, unchanged cache/debug-only selection, and failed replacements retain the intended boundaries. |
| Durable lifecycle | New-format publication/restore and cleanup preserve products, latest targets, retained evidence, and separate caches; unsupported old state is rejected without mutation. |
| Audio | Acquisition, reuse, and restore use one retained prepared copy without persistent spool/cache duplicates. |
Use temporary filesystems and controlled subprocess/provider boundaries. Default tests remain offline, deterministic, independent of sibling checkouts, credentials, and paid services. Refresh opt-in real Audita/Notarius compatibility checks with controlled local providers, including the complete Notarius D&D pipeline and native reuse, before claiming tested interoperability. Do not equate valid schemas or green unit tests with that evidence. Run the appropriate repository checks from Development for the completed implementation.
When behavior lands, update canonical configuration/CLI/integration references, Operations, internal preparation/workspace/artifact/manifest/adapter documentation, troubleshooting, architecture policy, and maintained examples. Distinguish typed operational settings from extensible shared documents. Remove obsolete audio cache/spool and extraction-bundle/index assumptions. Document managed navigation links and independently configured application caches.
Release guidance must describe the new campaign/session fields, shared input formats, removed private sources and descriptors, native cache/debug behavior, state cutover and regeneration, and changed local layout. Audita remains config version 3; Notarius uses version 6. Link upstream for resource composition, producer modes, semantic correction turns, concurrency, and other downstream migration details rather than translating them in Narratio. Record tested dependency/catalog revisions and preserve schema attribution. No runtime old-version gate or fallback adapter is needed; unsupported executable interfaces fail normally.
Open decisions
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.