Document the shared pipeline and verify the cutover

This commit is contained in:
2026-11-30 02:40:17 +00:00
parent 706c1bb7ad
commit 2ec43305da
30 changed files with 394 additions and 866 deletions

View File

@@ -22,7 +22,7 @@ narratio session plan 2026-04-04
Safe fix:
- pass explicit `--config`, `--campaign` or `--campaign-file`, and `--session`.
- pass explicit `--config`, `--campaign` or `--campaign-file`, and `--session-file`, with the positional session ID.
Relevant reference: [Configuration discovery](./config.md#discovery-and-selection).
@@ -377,7 +377,7 @@ Likely causes:
Safe fix:
- follow the [migration guidance](./operations.md#migrating-audita-and-provider-credentials)
and use an Audita v4.2 executable and configuration;
and use an Audita v4.3.0 executable and configuration;
- provide each needed provider-named variable through the environment or
secrets directory, and list that same name in `pipeline.audita.credentials`;
- validate the external file offline with
@@ -414,12 +414,12 @@ and [Notarius integration](./integrations/notarius.md).
Symptom:
- extraction reports a Notarius exit error instead of a receipt.
- extraction reports a Notarius exit error instead of a completion report.
Diagnostics:
- inspect `runs/{run_id}/extract/notarius.stderr.log`; stdout is reserved for
the receipt and is not merged with diagnostics.
- inspect `runs/{run_id}/extract/logs/notarius.stderr.log`; stdout is reserved for
the completion report and is not merged with diagnostics.
Safe fix:
@@ -445,7 +445,7 @@ Likely causes:
- `prepare` has not run since the campaign/session stable input changed;
- the configured source file is missing;
- a prepared `inputs/` file or its manifest record was modified independently;
- a spell-catalog binding exists without an effective `spell_catalog_file`.
- a configured glossary binding does not identify a prepared shared glossary.
Diagnostics:
@@ -472,7 +472,7 @@ and [Operations: Extraction Workflow](./operations.md#extraction-workflow).
Symptom:
- extraction reports that a path beneath
`cache/notarius/references/<sha256>/` is a symlink, directory, or another
`inputs/references/<sha256>/` is a symlink, directory, or another
non-regular or unsafe entry.
Safe fix:
@@ -491,34 +491,11 @@ Relevant reference: [Operations: Extraction Workflow](./operations.md#extraction
## Notarius resume executes work instead of reusing it
Symptom:
- Narratio executes `extract`, and Notarius makes provider calls despite
`pipeline.notarius.resume: true`.
Likely causes:
- checkpoint recording is disabled in the Notarius configuration;
- Notarius is using a nonpersistent or different checkpoint root;
- transcript/reference bytes, reference paths, pipeline/profile content,
local-backend endpoint, selected lanes, or another checkpoint identity input
changed; or
- Narratio extraction was forced, which deliberately omits `--resume`.
Safe fix:
- validate the deployed Notarius configuration and configure explicit
persistent chunk-plan and checkpoint roots;
- inspect Notarius checkpoint decision reason codes for a legitimate cold miss;
and
- retry without force only when reuse is intended.
Remember that Narratio skipping a completed `extract` stage is separate from
Notarius reusing work inside an extraction that does execute. Narratio does not
read the Notarius configuration to infer checkpoint enablement.
Relevant references: [Notarius cache controls](./config.md#notarius-cache-controls)
and [Notarius integration](./integrations/notarius.md).
Narratio may reuse a completed extraction without invoking Notarius. When it
executes, Notarius independently selects cached results based on its own
configuration and inputs. Verify its configured cache location and native
cache mode; force requests `refresh`. Changed inputs or downstream settings can
cause a cold miss. See [cache controls](config.md#notarius-cache-controls).
## Notarius reference selector or generated-handoff collision
@@ -545,44 +522,13 @@ Narratio validates selector structure and prepared evidence, while Notarius
owns slot declarations, media compatibility, and generated-handoff conflicts.
Relevant reference: [Notarius integration](./integrations/notarius.md).
## Notarius receipt or index incompatible
## Notarius completion or required lane invalid
Symptom:
- extraction rejects the receipt schema, pipeline identity, bundle/index path,
lane descriptor, or payload path even though Notarius exited successfully.
Likely causes:
- Narratio and Notarius versions disagree on their consumer contract;
- the configured pipeline or lane constraints are stale;
- output paths escape the bundle or traverse symlinks.
Safe fix:
- compare installed Notarius output with the canonical Notarius contracts,
including receipt `index_file: index.json` and index management names
`manifest.json`, `rejected.json`, `warnings.json`, and `diagnostics.json`; align
`pipeline.notarius` constraints and rerun. Do not bypass confinement or schema
checks.
Relevant reference: [Notarius integration](./integrations/notarius.md).
## Required Notarius lane rejected or missing
Symptom:
- extraction fails because a configured lane is rejected, missing, duplicated,
or incompatible, including after a zero exit.
Safe fix:
- inspect the Notarius diagnostic log and bundle rejection/warning information;
- correct the Notarius module or the exact declared lane contract;
- remove an output declaration only if downstream consumers genuinely no longer
require that source, then rerun extraction.
Every configured output is required. Narratio does not promote a partial result.
If successful subprocess output is rejected, inspect the native completion
report and stderr under the extraction attempt's logs. Confirm the configured
pipeline identity, safe output directory, and required lane IDs against the
[Notarius contract](integrations/notarius.md). Correct the configuration and
rerun; do not treat partial output as a success or bypass confinement checks.
## Extraction resume invalidated
@@ -592,11 +538,11 @@ Symptom:
Likely causes:
- the pipeline ID or configured output contracts changed;
- the pipeline ID or configured output selection changed;
- a configured prepared reference selector, source, path, checksum, or byte
size changed;
- the direct trimmed transcript identity or bytes changed; or
- the durable bundle, index, lane set, provenance, regular-file status, or
- a promoted product, its manifest provenance, regular-file status, size, or
checksum no longer validates.
Safe fix: