Skip to content

Refuse an empty post-tts transcript - #207

Merged
jmjava merged 1 commit into
mainfrom
cursor/empty-post-tts-transcript
Nov 1, 2026
Merged

jmjava merged 1 commit into
mainfrom
cursor/empty-post-tts-transcript

Conversation

@jmjava

@jmjava jmjava commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Post-tts lint used to pass a Whisper transcript that is empty or whitespace, so audio with no spoken words cleared the artifact scan.
  • An empty transcript is now a lint failure, matching the pre-tts rule that empty narration is not spoken text. The proving tests fail if that check is removed.

Test plan

  • tests/test_narration_lint.py with PYTHONPATH pointed at the worktree
  • CI lint, unit, benchmark, validate, mutation, and GitGuardian

Made with Cursor

A Whisper transcript with no spoken words used to pass the artifact scan, so silent audio cleared the same gate that already rejects empty narration before TTS.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jmjava
jmjava merged commit 8cdd101 into main Nov 1, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant