mirror of
https://github.com/digitalsamba/claude-code-video-toolkit.git
synced 2026-09-18 19:41:13 +08:00
c76f87cc8a
Review fixes on top of the #58 extraction, all introduced by the move rather than present in either source file: - find_repo_root was defined twice. The second won and matched what both migrate_to_codex.py and migrate_to_kiro.py already did; the first was neither script's implementation — it walked cwd for CLAUDE.md instead of __file__ for _internal/toolkit-registry.json, and raised RuntimeError instead of SystemExit. Dead as written, but silently wrong the moment anything reorders the file. - Stripped a UTF-8 BOM. Neither sibling script has one. - Added `from __future__ import annotations`, which both source files carry and every other script in scripts/ does. Behaviour is unchanged: `--dry-run` output for both scripts is byte-identical to main (32 and 31 lines), and --help and --reset --dry-run both still work. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>