Allow artifact-only continuation from imported products

This commit is contained in:
2026-12-02 17:46:27 +00:00
parent 042431e246
commit a053ffab79
15 changed files with 269 additions and 28 deletions

View File

@@ -91,9 +91,10 @@ 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 state or applicable supplied-product
coverage. When covered transcript work permits a downstream start, Narratio
prepares required references before downstream checks. Ordinary execution uses
Bounded starts use valid preceding state or an imported-product baseline.
In an imported workspace, selected consumers require their actual inputs;
unrelated producer-stage history is unnecessary. 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

View File

@@ -182,6 +182,10 @@ Validation by content type:
- merges required and optional references (required wins);
- returns deterministic ordering and source locations.
`PreviousArtifactRequirementsForKeys` applies the same source collection to an
already planned set of generation keys. Bounded reference preparation uses it
after analysis planning has resolved supplied-product reuse boundaries.
## Current-State Helpers
Artifacts package owns shared remote current-state loading mechanics used by

View File

@@ -35,7 +35,9 @@ Materialize canonical current-session inputs before processing stages.
- 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.
reference-only preparation. An imported configured or extraction product can
support this workflow without any transcript. Reference-only validation
explicitly excludes audio acquisition and source checks.
- 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
@@ -54,6 +56,8 @@ Materialize canonical current-session inputs before processing stages.
- collects `narratio.previous_session.artifact.*` requirements from the selected
targets and their full prerequisite closure, including disabled prerequisites;
see [previous requirement collection](artifacts.md#previous-requirement-collection).
Bounded reference preparation uses the actual projected generation keys,
preserving history needed by new work while excluding reused products' history.
- clears managed `inputs/previous/` state on every invocation, then, when requirements exist:
- resolves the pointer-selected previous source through the shared resolver;
- downloads declared previous artifacts;

View File

@@ -51,7 +51,16 @@ inputs for independent supplied products, contrary to the agreed import model.
## 2. P2: Permit downstream continuation without a supplied transcript
Status: Open
Status: Complete
Resolution: bounded import continuation checks actual consumer inputs rather
than requiring transcript-producer statuses. Reference-only acquisition and
reuse exclude audio checks and collect history for projected generation work.
The import context survives replacement of its last supplied product by a local
checkpoint. Regressions cover configured and extraction inputs, required
references, absent real inputs, historical-input exclusion, and local reuse
after an actual import/replacement. Verified with
`go test ./internal/app ./internal/stage ./internal/artifacts ./internal/config`.
Affected stages: 5, 7, and 12.