chore: trim dead code, modularize CLI, and archive stale docs

Extract review-plan, report, quarantine, state, and config handlers into
commands/ with shared cli_helpers; remove unused exceptions and duplicate
plan summary wrappers. Archive superseded review markdown, sync docs to
517-test baseline, and fix empty series titles when only a quality tag remains.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
windyboy
2026-05-21 10:36:03 +08:00
co-authored by Claude Sonnet 4.5 Cursor
parent 5f0b531269
commit 79797644e1
40 changed files with 1714 additions and 1165 deletions
+7 -3
View File
@@ -250,16 +250,20 @@ def parse_series(
break
# Clean the title
# Clean the title (fall back when quality tags consumed the only title token)
if title_part:
title_part = remove_quality_tags(title_part)
title_part = remove_release_groups(title_part)
title_part = humanize_parsed_title(title_part or name_without_ext)
if not title_part.strip():
title_part = name_without_ext
title_part = humanize_parsed_title(title_part)
else:
# If no title part found, use the whole filename cleaned
title_part = remove_quality_tags(name_without_ext)
title_part = remove_release_groups(title_part)
title_part = humanize_parsed_title(title_part or name_without_ext)
if not title_part.strip():
title_part = name_without_ext
title_part = humanize_parsed_title(title_part)
# Determine if review is needed
needs_review = season is None or len(episodes) == 0