diff --git a/docs/roadmap/notarius.md b/docs/roadmap/notarius.md index a6214bb..45f2927 100644 --- a/docs/roadmap/notarius.md +++ b/docs/roadmap/notarius.md @@ -87,9 +87,13 @@ restrict operators to the simple IDs used by the maintained D&D example. Every configured extraction output remains required. Check the expected pipeline, safe file placement, regular-file status, bounded JSON readability, and checksums -using existing production machinery. The proposed simplification of output -contracts is OD-1. Preserve `narratio.extraction.` identities and -manifest-backed resolution for analysis and publication. +using existing production machinery. Keep each output's `lane_id`; remove +`media_type`, `schema_id`, `schema_version`, and `module_key` descriptor +constraints. Notarius no longer emits descriptors to compare with them. Trust +its native publication contract for domain validation; Narratio does not add +independent payload-schema or semantic validation. Preserve +`narratio.extraction.` identities and manifest-backed resolution for +analysis and publication. `artifact_count` includes all published deliverables, including available enabled auxiliaries and reused results. It must not be compared with the number of @@ -117,6 +121,13 @@ retain useful diagnostics under the existing failure lifecycle, but do not automatically recover success from those files or partial stdout. Preserve native errors through the shared subprocess path rather than adding an error taxonomy. +Honor native successful completion when the operator has selected permissive +behavior, subject to Narratio's required-file checks. Record positive +`fallback_count` and expose the qualification in ordinary extraction results, +including later reuse. The count identifies fallback-emitting operations, not +affected lanes or files; do not infer per-lane quality from it. Notarius owns +strict/permissive selection and its default strict mode. + ## Native Cache And Narratio Reuse Replace `pipeline.notarius.resume` and `pipeline.notarius.chunk_cache` with an @@ -158,11 +169,10 @@ 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. -The current `glossary` binding can continue to use -`narratio.input.glossary.campaign`. The canonical roster and players projection -remain separate from the party glossary. Decide whether a combined glossary -projection is useful in OD-4; do not create an automatic combination simply -because four collections exist. +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. 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). @@ -249,7 +259,8 @@ Use focused tests at the production boundaries to establish: cache selection, forced refresh, and enable-only debug behavior. - Successful report parsing and required domain-file resolution, including a custom mapped lane ID, optional auxiliaries, missing/unsafe files, nonzero exit, - malformed stdout, and the fallback policy selected in OD-2. + malformed stdout, and acceptance and visible reporting of qualified fallback, + including subsequent reuse. - Durable promotion, subsequent artifact resolution/publication/restore, ordinary reuse, changed-reference invalidation, and obsolete extraction evidence. - Shared automatic and explicit preflight selection, preparation ordering, @@ -275,31 +286,6 @@ fail normally; no runtime version gate or compatibility fallback is required. ## Open Decisions -### OD-1: Required-output validation - -**Recommendation:** keep each output's `lane_id` and existing safe, bounded JSON -and checksum checks; remove `media_type`, `schema_id`, `schema_version`, and -`module_key` descriptor constraints. Notarius no longer emits descriptors to -compare with them. Trust its native publication contract for domain validation. - -This deliberately gives up publisher-attested schema/module matching. If Narratio -needs independent payload compatibility validation, identify the concrete -consumer requirement and supported schemas before adding it. Retaining those -fields as unchecked labels would provide false assurance; reproducing every -Notarius semantic validator would duplicate ownership. - -### OD-2: Qualified fallback acceptance - -**Recommendation:** honor native successful completion when the operator has -selected permissive behavior, subject to Narratio's required-file checks. Record -positive `fallback_count` and expose the qualification in ordinary extraction -results, including later reuse, rather than hiding it behind verbose output. - -The count identifies fallback-emitting operations, not affected lanes or files. -Do not infer per-lane quality from it. Rejecting every qualified result is an -available stricter policy, but would override the operator's downstream choice. -Notarius's default strict mode remains its own default. - ### OD-3: Readiness coverage for this release **Recommendation:** adopt native offline validation, required-lane inspection, @@ -317,15 +303,3 @@ 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-4: Glossary selection - -**Recommendation:** retain explicit bindings and the existing campaign-glossary -example for the initial adoption. Decide whether extraction needs setting terms -or another combination in addition to campaign terms. - -If it does, prepare and retain one named shared domain projection containing the -selected collections, using their canonical format and native composition rules. -Supply it through the existing text slot. Add only the projection needed by the -workflow, without a generic projection framework, bespoke collision policy, or -an upstream multi-glossary dependency.