Document shared glossaries and downstream preflight

This commit is contained in:
2026-11-27 17:09:21 +00:00
parent 8b9c0e664b
commit 0de73ba25f
22 changed files with 297 additions and 300 deletions

View File

@@ -7,7 +7,7 @@ Materialize canonical current-session inputs before processing stages.
## Inputs
- resolved campaign, session, and pipeline configuration
- stable input files (`speakers`, `autocorrect`, `glossary`, `players`, `party`)
- stable speakers and autocorrect inputs, the canonical party, and optional glossary selections
- optional spell-catalog overlay
- one resolved local or S3 audio source
- enabled configured artifact input requirements for previous-session sources
@@ -19,7 +19,7 @@ Materialize canonical current-session inputs before processing stages.
- `inputs/pipeline.resolved.yml`
- `inputs/speakers.yml`
- `inputs/autocorrect.yml`
- `inputs/glossary.yml`
- `inputs/glossaries/{party,campaign,setting,spells}.yml`
- `inputs/players.yml`
- `inputs/party.yml`
- optional `inputs/spell_catalog.json`
@@ -30,7 +30,9 @@ Materialize canonical current-session inputs before processing stages.
## Key Behavior
- validates required config/store state.
- validates required config/store state and resolves selected vocabulary before audio work.
- derives the party glossary and resolves the remaining named collections through
`internal/glossary`; writes all four with checksum, size, and provenance.
- enforces local audio vs S3 audio mutual exclusivity.
- rejects duplicate explicit local audio sources after resolution.
- gives distinct local source paths with the same basename deterministic unique
@@ -76,8 +78,8 @@ canonical names, and effective bytes are equivalent.
The fingerprint deliberately does not read or rehash large audio. Prepared
input checksums remain the content provenance. Before reusing success, prepare
validates every durable prepared copy and compares current stable-input bytes,
effective campaign/session, canonical party and derived-player bytes, local audio
membership/checksums, or S3 key/size/entity-tag identity with that provenance.
effective campaign/session, canonical party, derived-player and resolved glossary
bytes, local audio membership/checksums, or S3 key/size/entity-tag identity with that provenance.
Source relocation with equivalent effective documents, names, and bytes remains
reusable; changed or unavailable evidence causes a normal prepare rerun.