Fixed checkpoint gitignore logic to check for existing patterns before appending, preventing duplicate **/.claude/checkpoints entries in .gitignore files.
Evidence: aY1() at line 404121 now reads file content before appending
Note: All line numbers reference /home/shcv/projects/claude-investigations/archive/pretty/pretty-v1.0.122.js unless otherwise specified.