Recovering from errors Failures use stable error codes and include an actionable . Preserve that evidence; do not replace it with a generic explanation. Diagnose first Read the failing checks and apply only their stated fixes. can repair managed ffmpeg and yt-dlp binaries, stale locks, corrupt caches, missing frame directories, and known local-model health failures. Re-run it once after remediation. Retry the original operation once After doctor is green, repeat the command that failed. If it returns another structured error, report its code, message, and fix. Do not loop indefinitely, silent…