The early ID deduplication in the main loop (seenIDs check) already prevents duplicate IDs from reaching newIssues. The pre-batch deduplication was dead code that could never fire. Keeping two layers: 1. Early dedup in main loop - catches duplicates in JSONL input 2. INSERT OR IGNORE at DB level - safety net for all code paths 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>