Document and verify published product imports

This commit is contained in:
2026-12-02 16:49:46 +00:00
parent 56483f9064
commit e5d91cb19b
32 changed files with 330 additions and 265 deletions

View File

@@ -62,9 +62,9 @@ version 3 configuration and Notarius its version 6 configuration. Consult the
[Audita](integrations/audita.md) and [Notarius](integrations/notarius.md)
contracts for their upstream guides.
Move unsupported local state aside before regenerating it; restore only a
supported committed session manifest, or regenerate and republish. Do not edit
state markers manually. Products now use flat session paths and diagnostics use
Move unsupported local state aside before regenerating or importing published
products into a new local baseline. Do not edit state markers manually.
Products now use flat session paths and diagnostics use
latest-attempt views; explicit remote destinations remain independent. Review
cleanup and separately configured subprocess caches before removing old state.
This guidance does not create a release or publish any changes.
@@ -202,7 +202,10 @@ An explicit self-skip is a durable `skipped` stage outcome that later runs
reconsider. It differs from successful no-output execution: disabled `render`
and `publish`, and absent or no-executable `analyze`, record `succeeded` with
metadata and no outputs. Ordinary later runs reuse those successful results;
force the affected stage after enabling or configuring it. Optional artifact
when the observable enablement or configuration changes, selected work is
reassessed and reruns as needed. Use force to replace a current result or for
private upstream changes Narratio cannot observe. Supplied products are assessed
independently of historical producer configuration. Optional artifact
inputs are omitted only from the consuming artifact invocation and do not make
the stage self-skip.
@@ -231,9 +234,11 @@ prerequisite rebuilds, scheduled execution, and current reuse. This lets a
coarsely stale aggregate analyze stage show zero artifact executions when its
selected artifact evidence is still semantically current.
Before a bounded run or plan whose range starts after `prepare`, every excluded
prefix stage must already have a session-manifest status of `succeeded` or
`skipped`. Narratio reports the first absent, pending, running, failed, stale,
Before a bounded run or plan whose range starts after `prepare`, excluded
prefix work needs local success/skip evidence or applicable supplied-product
coverage. With a supplied transcript, prepare and independent render/extract
work do not automatically block downstream selections; required consumer inputs
must still exist. Narratio reports the first unsatisfied absent, pending, running, failed, stale,
or interrupted prerequisite without creating a run-local directory or changing
session state. Widen `--from` to include that stage, or recover it explicitly
before retrying. Excluded prefix stages are not resume-validated or repaired as
@@ -293,8 +298,8 @@ identifier is unchanged, but older strict-decoding Narratio binaries may reject
a manifest after current Narratio writes the additive speaker fields; retain a
backup or complete the upgrade before relying on downgrade.
Restoring a manifest does not implicitly publish or restore every raw speaker
file. If a recorded canonical transcript is absent locally, ordinary
Importing published products does not restore every raw speaker file. If a
recorded canonical speaker transcript is absent locally, ordinary
reconciliation schedules that speaker again. Removing run directories does not
remove canonical checkpointed transcripts and does not by itself invalidate
them.
@@ -597,7 +602,7 @@ source; they do not reconstruct a current-run key or scan the session prefix.
Other artifact types remain confined to the selected commit's own run.
When the pointer is absent, remote state is not published; republish the
session to establish a committed snapshot. Remote commit state does not carry
session to establish a committed publication. Remote commit state does not carry
local `current_pointer_written` metadata.
## Publish Locks
@@ -658,9 +663,10 @@ narratio session restore 2026-04-04
remote current state and may read object identity/content needed to classify the
plan, so it is not a network-free operation. The inventory-based preview maps
published source identities to current canonical local product paths; the remote
destination name does not choose the local filename. Its projected satisfied and
remaining work describes product coverage assuming planned downloads pass
content verification. It does not certify that an import or pipeline run occurred.
destination name does not choose the local filename. Projected satisfied and
remaining work combines conditional product coverage with the read-only
assessment of preserved local evidence. Planned downloads must still pass
content verification; the preview does not certify an import or pipeline run.
Default restore scope:
@@ -717,9 +723,9 @@ Remote audio is downloaded to a temporary sibling and verified before replacing
its single prepared `audio/` copy. Restore follows the same layout. Subprocess
cache and state locations are configured separately in those applications.
Only `narratio.session-manifest.v2` is supported. Move older local state aside
and regenerate it, or restore a supported committed snapshot; republish after
regeneration when remote state is incompatible. Do not edit old markers by hand.
Only `narratio.session-manifest.v2` is supported locally. Move older local state
aside and regenerate it or import published products into a new baseline. Do not
edit old markers by hand.
### Workspace Permissions
@@ -785,7 +791,8 @@ cleanup. See [cleanup internals](internal/stage-cleanup.md).
## Operational Caveats
- Local and S3 audio modes are mutually exclusive.
- Publish requires prerequisite stages through `render` and `analyze` to be succeeded.
- Ordinary publication checks prerequisite stage success; a supplied-product
baseline permits publication of individually validated selected sources.
- Markdown publish defaults require render outputs (`transcripts/final.md` and `transcripts/final.trimmed.md`).
- Restore requires configured object storage and committed remote current state.
- Each reached pipeline acquisition applies its configured startup before typed