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

@@ -25,10 +25,10 @@ structure; artifact helpers check the recorded path and actual content. A
separate coverage helper derives transcript work satisfied by valid supplied
transcripts without creating records for absent intermediate products. Planning
and execution use that coverage to reuse satisfied transcript work without
historical producer evidence. Restore installation is described in its roadmap
until the inventory cutover is implemented.
historical producer evidence. Restore merges verified records into local progress
as described in [restore internals](command-restore.md).
Session, campaign, and run identities in local and downloaded manifests must be
Session, campaign, and run identities in local manifests must be
portable opaque segments. Unsafe legacy identities are rejected with migration
guidance rather than being normalized into a different workspace or remote
namespace.
@@ -43,8 +43,8 @@ cleanup entry in `stages`.
Every persisted session manifest has a non-nil `stages` map. Each entry is
non-nil and its embedded `name` exactly matches its map key; loading never
invents either marker. A missing or unsupported schema version, or incomplete
stage identity, is unsupported local state: move it aside before regenerating it
or restoring a supported committed snapshot when that is authoritative.
stage identity, is unsupported local state: move it aside before regenerating
or importing published products into a new local baseline.
Prepare records independent `party` and `players` input checksums. In canonical
party mode, the party record retains its campaign source identity while the
@@ -175,7 +175,7 @@ be non-successful, but every completed artifact checkpoint remains reusable.
## Remote Commit Manifest
`artifacts.RemoteCommitManifest` is a separate, versioned remote snapshot
`artifacts.RemoteCommitManifest` is a separate, versioned publication inventory
contract. It is not a serialized session manifest and contains no local
post-publication assertion such as `current_pointer_written`. A remote commit
identifies one campaign, session, and run and declares its immutable artifact
@@ -189,7 +189,7 @@ unknown fields, version mismatches, pointer/commit identity mismatches, and
objects that do not match their declaration.
An absent commit pointer means no remote state is published. Republish to
establish a current immutable snapshot.
establish a current immutable publication.
## Persistence Semantics
@@ -302,7 +302,7 @@ evidence and focused durable validators:
| Work | Reuse authority | Focused owners |
| --- | --- | --- |
| prepare | aggregate semantic fingerprint | [prepare](stage-prepare.md) |
| prepare | aggregate semantic fingerprint plus durable-copy and current-source validation | [prepare](stage-prepare.md) |
| transcribe speakers | aggregate semantic fingerprint plus per-speaker input/output reconciliation | [transcribe](stage-transcribe.md), [WhisperX](../integrations/whisperx.md) |
| merge | aggregate semantic fingerprint | [merge](stage-merge.md), [Seriatim](../integrations/seriatim.md) |
| polish | aggregate semantic fingerprint | [polish](stage-polish.md), [Audita](../integrations/audita.md) |
@@ -370,7 +370,8 @@ where the last session transition can require operator interpretation.
## Invariants
- stage resume/skip decisions are session-manifest driven.
- semantic fingerprint comparison precedes stage-specific resume validation.
- ordinary local semantic fingerprint comparison precedes stage-specific resume
validation; valid supplied coverage is assessed independently.
- only successful and intentional-skipped results promote current semantic
evidence.
- running, failed, and self-skipped stages do not retain result payloads from
@@ -394,9 +395,9 @@ where the last session transition can require operator interpretation.
## Prepared Glossary Evidence
Preparation records four distinct glossary input kinds with canonical paths,
checksums, sizes, and provenance. Polish records the resolved glossary identity
evidence used for its result; preflight itself records no stage success. Publish
and restore carry the prepared inputs using their declared manifest identities.
Preparation records the party, campaign, setting, spells, and combined glossary
documents with canonical paths, checksums, sizes, and provenance. Audita's polish
request consumes the four individual envelopes. Publish includes recorded
prepared documents, and restore selects their declared immutable objects.
See [prepare](stage-prepare.md), [polish](stage-polish.md), and
[artifact internals](artifacts.md).