Record supplied products and their transcript coverage

This commit is contained in:
2026-12-02 15:00:07 +00:00
parent 07fac1b968
commit cf8fd71a83
10 changed files with 371 additions and 32 deletions

View File

@@ -16,8 +16,16 @@ manifest placement belongs in
- remote identity metadata (`s3_bucket`, `s3_session_prefix`, `s3_run_prefix`)
- `inputs` records
- durable `artifacts` records
- optional versioned `supplied_products` records, keyed by source ID
- per-stage `stages` map, including the ordinary cleanup stage record
Supplied records hold a canonical session-relative path, SHA-256 checksum,
byte size, and optional product contract. The manifest store validates their
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. These
foundations are not yet connected to restore or execution decisions.
Session, campaign, and run identities in local and downloaded manifests must be
portable opaque segments. Unsafe legacy identities are rejected with migration
guidance rather than being normalized into a different workspace or remote
@@ -205,8 +213,8 @@ it promote the saved target record and manifest `updated_at` into live state;
it preserves an existing target record's identity and leaves unrelated live
stage records in place.
The copy boundary includes stage records, input and artifact slices, aggregate
output/log/configuration slices, and the typed analyze and transcribe
The copy boundary includes stage records, input and artifact slices, supplied
product records, aggregate output/log/configuration slices, and the typed analyze and transcribe
collections that callbacks or `LocalStore.Save` may modify. Metadata and other
pointer fields remain shared read-only because neither checkpoint callback nor
the store mutates them. This is a bounded execution helper, not a general