New Catalog::rename_deck / duplicate_deck (duplicating format, commander, notes, and every deck_cards row under a new name), with tests covering the UNIQUE(name) collision cases the UI needs to surface as friendly errors rather than raw SQL messages. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>