2026-05-18 22:03:59 -05:00
|
|
|
# Stage: merge
|
|
|
|
|
|
|
|
|
|
## Purpose
|
2026-05-23 12:57:59 +00:00
|
|
|
Normalize raw transcript inputs and merge into base transcript via Seriatim.
|
2026-05-18 22:03:59 -05:00
|
|
|
|
2026-05-23 12:57:59 +00:00
|
|
|
## Inputs
|
2026-05-18 22:03:59 -05:00
|
|
|
- `transcripts/raw/*.json`
|
|
|
|
|
- `inputs/speakers.yml`
|
|
|
|
|
- `inputs/autocorrect.yml`
|
|
|
|
|
|
2026-05-23 12:57:59 +00:00
|
|
|
## Outputs
|
2026-05-22 19:05:23 -05:00
|
|
|
- `transcripts/base.json`
|
2026-05-23 12:57:59 +00:00
|
|
|
- optional `artifacts/seriatim.report.json`
|
|
|
|
|
|
|
|
|
|
## Key Behavior
|
|
|
|
|
- discovers and validates raw transcript inputs.
|
|
|
|
|
- normalizes each raw transcript (`seriatim.Normalize`) into run-local scratch output.
|
|
|
|
|
- merges normalized inputs (`seriatim.Run`) into base transcript.
|
|
|
|
|
- validates merged transcript and optional report JSON.
|
|
|
|
|
- materializes canonical outputs and records stage logs/generated configs.
|
|
|
|
|
|
|
|
|
|
## Invariants
|
|
|
|
|
- merge always consumes normalized forms of raw inputs.
|
|
|
|
|
- base transcript must validate before stage success.
|
|
|
|
|
- report output is config-gated.
|