Prepare references for artifact-only runs

This commit is contained in:
2026-12-02 15:39:04 +00:00
parent 62778f5c5b
commit 7ad8deb381
13 changed files with 585 additions and 11 deletions

View File

@@ -91,7 +91,9 @@ The default is the full canonical pipeline:
`--from` and `--through` select inclusive contiguous bounds. `--stage` selects
one stage and cannot accompany explicitly supplied range flags. `--force`
reruns selected work; dependent invalidation can extend beyond that range.
Bounded starts require valid preceding manifest state. Ordinary execution uses
Bounded starts require valid preceding state or applicable supplied-product
coverage. When covered transcript work permits a downstream start, Narratio
prepares required references before downstream checks. Ordinary execution uses
semantic resume checks rather than rerunning all selected work.
After preparation, `run` checks projected Audita, Notarius, and Scriptorium work before
@@ -138,10 +140,12 @@ narratio session plan SESSION --stage analyze --force --format json
Accepts the same stage/range, force, artifact, and context selections as `run`.
Reports execution/reuse actions and reasons, analysis targets, prerequisite work,
and publication mappings through shared planners. Planning reads existing state
and publication mappings through shared planners. For applicable bounded runs,
the report also describes reference preparation and identifies unavailable
built-in inputs. Planning reads existing state
without creating a workspace, changing manifests, acquiring execution locks, or
initializing stage-execution adapters or invoking requirements inspection. For a
selected, previously successful S3 preparation eligible for reuse, planning
selected, previously successful S3 audio preparation eligible for reuse, planning
composes object storage and reads current audio identities. An inspection failure
or insufficient identity evidence schedules preparation with an unverified-source
reason; dependent decisions reflect that projected rerun. Object-store

View File

@@ -33,6 +33,10 @@ Materialize canonical current-session inputs before processing stages.
supplied transcript satisfies transcription. Forced or uncovered transcription
requires an audio selection. Preparation metadata records whether audio was
prepared, and reference-only preparation preserves supplied-product records.
- bounded downstream runs may prepare or reuse references under the workspace
lock before readiness checks, even when prepare lies outside the selected range.
Existing audio input records remain available without being recertified by
reference-only preparation.
- derives the party glossary and resolves the remaining named collections through
`internal/glossary`; writes four individual shared envelopes and a combined
envelope with checksums, sizes, and provenance. The combined record declares

View File

@@ -263,7 +263,7 @@ Validation: `go test ./internal/config ./internal/stage ./internal/artifacts`.
## Stage 7: Wire artifact-only preparation into commands and readiness
Status: Pending
Status: Complete
Read runner acquisition/composition, `session_readiness.go`, bounded
prerequisites, `plan.go`, and downstream readiness request builders.