Record the downloaded audio object generation

This commit is contained in:
2026-12-01 20:24:09 +00:00
parent d0c879ad09
commit 6f5464615e
6 changed files with 98 additions and 19 deletions

View File

@@ -37,7 +37,7 @@ Materialize canonical current-session inputs before processing stages.
- rejects duplicate explicit local audio sources after resolution.
- gives distinct local source paths with the same basename deterministic unique
prepared filenames so neither source is overwritten.
- downloads S3 audio into a temporary sibling before verifying and installing the prepared copy.
- downloads S3 audio into a temporary sibling before verifying and installing the prepared copy; its recorded identity comes from the same response as the bytes.
- writes effective autocorrection rules as a Seriatim envelope, with checksum,
size, and source provenance, including an empty list when no rules apply.
- renders standalone effective campaign, session, and canonical party documents,

View File

@@ -270,6 +270,9 @@ reject it later. This bounds that transfer, not total disk consumption.
## Stage 7: Record the S3 audio generation actually downloaded
**Complete:** Prepared audio records use response-bound identity and size; tests
cover same- and different-sized replacements, reuse, rollback, and failed staging.
Read `audit/04-concurrency.md`, lines 223–274 (CN-04),
`internal/audio/s3_audio.go`, and preparation's S3 materialization/reuse paths.