3.0 KiB
Notarius Integration Contract
Narratio invokes a separately installed Notarius v0.10.0 executable and the
operator's existing Notarius configuration and pipeline. Narratio does not build
that configuration. The Notarius consumer guide
owns the maintained pipeline and CLI
owns its invocation and native output contracts. Controlled local-provider
compatibility was exercised against commit 752c9b44d2c0bb3bfb1e02a5d4379f7cc5b6261e.
Invocation
Narratio supplies run <pipeline_id>, --config, --input-file, --output-dir,
--debug-dir, and --format json. It forwards an explicitly selected overlay,
cache mode, and reference bindings; debug true requests capture. The configured
child credentials are forwarded by exact name and captured streams are redacted.
The same selected configuration, credentials, references and cache mode are used
for native pipeline inspection and preflight. Preflight may contact providers and
probe destinations; a synthetic transcript establishes readiness for that input
only. See operations.
The prepared shared roster can bind to party; the combined shared glossary can
bind to both glossary and spell_catalog. Notarius owns collection selection,
D&D recognition, its configuration and caches. See configuration.
Narratio stage reuse and Notarius cache reuse are separate. Forced extraction
requests native cache refresh.
Accepted Result
After a successful exit, Narratio reads the native JSON completion report, checks
its pipeline and confined output directory, and validates each configured
lanes/<lane-id>.json as a safe regular JSON file. It promotes those required
lanes to flat session artifacts and records content evidence. The reported
artifact_count can include reused or auxiliary results; it is not an inventory.
Optional chunk-map.json and evidence-context.json stay in the original
bundle, which is subject to Narratio cleanup. Selected canonical products and
their recorded evidence support reuse without that bundle. A positive native
fallback_count remains visible in fresh and reused reports.
Nonzero exit, malformed completion, unsafe output, or a missing required lane fails extraction. Diagnostics and available files remain for investigation; an incidental file or partial report does not establish success. See extraction operations.
Opt-in Integration Test
The catalog compatibility script accepts explicit Narratio and Notarius checkouts and Audita and Notarius binary paths. It uses a controlled local provider and verifies readiness, the ten-lane pipeline, flat promotion, cache reuse, and forced refresh. Ordinary tests skip external binaries.