Skip to content

chore: purge iCloud sync-conflict files and block future ones#88

Merged
derek-palmer merged 1 commit into
mainfrom
chore/purge-icloud-conflict-files
May 30, 2026
Merged

chore: purge iCloud sync-conflict files and block future ones#88
derek-palmer merged 1 commit into
mainfrom
chore/purge-icloud-conflict-files

Conversation

@derek-palmer
Copy link
Copy Markdown
Owner

Problem

Five iCloud Drive sync-conflict copies (the " 2" suffix iCloud adds on a conflict) were committed to main. A full repo sweep (tracked + on-disk, all digit suffixes, directories, .icloud placeholders, Dropbox-style markers) found exactly these five and nothing else:

  • .coderabbit 2.yaml
  • CONTEXT 2.md
  • src/codeforerunner/prompts/tasks/arch-review 2.md
  • plugins/codeforerunner/skills/forerunner-arch-review/SKILL 2.md
  • skills/forerunner-arch-review/SKILL 2.md

Three were byte-identical to their originals; the two that differed (.coderabbit, CONTEXT.md) had stale conflict content — the canonical (non-" 2") files are the current ones (they carry the recent review_status: false and Socket-badge edits). All five canonical originals remain intact.

Fix

  • Remove the five tracked conflict files.
  • .gitignore: ignore * [0-9].*, * [0-9], and *.icloud so git add . can never restage a conflict copy or placeholder.
  • ci.yml: a guard step fails the build if any " <digits>" conflict file is ever tracked again — defends against a forced git add -f.

Verification

  • git check-ignore "probe 2.md" "probe 2" → both ignored.
  • CI guard regex over the index → clean.

🤖 Generated with Claude Code

Five iCloud Drive sync-conflict copies (" 2" suffix) had been committed to
main; the canonical originals are current and these are stale artifacts:

- .coderabbit 2.yaml, CONTEXT 2.md, arch-review 2.md, and two
  forerunner-arch-review SKILL 2.md copies

Remove them, ignore the naming pattern (and .icloud placeholders) in
.gitignore so `git add .` can't restage them, and add a CI guard that
fails the build if any " <digits>" conflict file is ever tracked again.
@derek-palmer derek-palmer merged commit e56432a into main May 30, 2026
12 checks passed
@derek-palmer derek-palmer deleted the chore/purge-icloud-conflict-files branch May 30, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant