diff options
| author | Drew Ritter <drew@primeradiant.com> | 2026-09-11 17:40:30 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@primeradiant.com> | 2026-09-11 17:40:30 -0700 |
| commit | ae559110ce89a9cc95da71a3a35c2463399cb0d4 (patch) | |
| tree | dff8149f01db3fafe76948e05c2a90f9876284a9 /tests/opencode/test-plugin-loading.sh | |
| parent | c3116b22c6b30bda7135828c4b62f3049808ec5d (diff) | |
Fix narration cache identity and partial subtitle offsets
Address the fresh review on PR #2214 after the #2275 integration. Drew approved fixing the two reproduced bugs and keeping the specified auto/on/off verification semantics.
Cache accepted narration by normalized text plus effective engine, voice, and synthesis model. Resolve voice defaults before rendering, invalidate entries without settings, and retain requested ASR checks on cache hits. Exclude rejected clips as before.
Treat manual subtitle offsets as start-time overrides. Only assembly offsets JSON selects scenes in the cut, including when manual timing overrides are also supplied. Empty narrated cuts write an empty SRT without crashing.
Make the gated Unix example pass --verify on and document the actual local ASR modes. Auto remains permissive if ASR is unavailable; on remains strict.
Validation: observed the new cache and subtitle regressions fail before the fixes; all 23 focused narration and subtitle-text tests now pass. Synthesis, duration probing, and ASR are mocked. No media inspection or live ASR was performed; Drew retains final video acceptance.
Diffstat (limited to 'tests/opencode/test-plugin-loading.sh')
0 files changed, 0 insertions, 0 deletions
