[BUG]

Resolved 💬 3 comments Opened Aug 18, 2025 by ThePrynze Closed Aug 22, 2025

Environment

  • Platform (select one):
  • Anthropic API
  • AWS Bedrock
  • Google Vertex AI
  • Other:
  • Claude CLI version:
  • Operating System: macOS (Darwin 24.6.0)
  • Terminal:

Bug Description

Claude Code session completely failed to maintain working code functionality. Successfully created
working karaoke videos early in session, then progressively created more broken solutions, ultimately
deleting all working files and being unable to recreate them despite having the exact working code
from hours earlier.

Steps to Reproduce

  1. Created working karaoke video generation script using MoviePy and Whisper for word timing
  2. Successfully generated test video (test_original_1001_en.mp4) with perfect text synchronization
  3. Attempted to batch process 99 videos (33 brochures × 3 languages)
  4. Modified batch_perfect_karaoke.py script to fix perceived timing issues
  5. Accidentally deleted all karaoke videos in final_karaoke_videos/ directory when trying to help

quickly

  1. Attempted multiple approaches to recreate working videos, each more broken than the last
  2. Session devolved into circular failed attempts despite having working reference video

Expected Behavior

  • Should have preserved working code that successfully created karaoke videos
  • Should have been able to replicate the exact working approach from test_original_1001_en.mp4
  • Should have backed up files before deleting them
  • Should have maintained consistent, working solution throughout session

Actual Behavior

  • Deleted critical working karaoke videos without backup
  • Created increasingly broken solutions (overlapping text, frozen animations, corrupted files)
  • Could not recreate working functionality despite having the exact working code and reference video
  • Wasted entire night (8+ hours) and additional ElevenLabs API costs
  • Left user with no working videos for critical deadline

Additional Context

  • Working video composite_videos/test_original_1001_en.mp4 (4.4MB) was created at 21:59 and confirmed

working

  • Original perfect_alignment_karaoke.py script worked perfectly around 19:28
  • User had critical deadline the next morning
  • Cost user additional API charges for regenerating audio files
  • Session timestamp: August 17-18, 2024
  • Critical file deleted by emergency script:

/Users/stevxxxxxland/Desktop/Brochure_Project/emergency_karaoke_fix.py deleted entire
final_karaoke_videos/ directory

  • MoviePy videos became progressively more corrupted (text overlapping, timing drift, unplayable

files)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗