Files
stack/scripts
kert 12220c64ed fix(scripts): clean up migration script before live run
- Drop unused `import shutil` (Phase C will reintroduce it).
- Drop unused `import sqlite3` (same).
- Drop the `skipped_no_combined` stat key — `rglob("combined.md")` only
  yields existing files, so the counter could never be incremented; a
  zero in the final log would have read like a successful absence
  rather than an unchecked condition.
- Move the `from cli.comments import NOTE_TITLE` import up to the
  top with stdlib imports; the previous post-COMMENTS_ROOT placement
  + bogus `# noqa: E402` justification was misleading.

Surfaced by code review on commit beacbd7. Smoke + idempotency
re-verified.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 10:19:45 -04:00
..