chore: remove agent-dotdir mirrors (.cursor/.windsurf/.clinerules) from root#355
chore: remove agent-dotdir mirrors (.cursor/.windsurf/.clinerules) from root#355JuliusBrussee wants to merge 1 commit into
Conversation
Drop CI-generated mirrors that self-applied caveman to this repo when opened in Cursor/Windsurf/Cline/Copilot. The installer never read them (bin/install.js consumes only hooks/, rules/, tools/, agents/, skills/, mcp-servers/, plugins/caveman/), so removing them just declutters the root. Devs who want self-application can opt in via npx caveman --only <agent>. Removed: - .cursor/skills/, .cursor/rules/caveman.mdc - .windsurf/skills/, .windsurf/rules/caveman.md - .clinerules/caveman.md - .github/copilot-instructions.md - caveman/SKILL.md (and empty caveman/ parent) Updated .github/workflows/sync-skill.yml: drop the cp + mkdir lines and git add paths for those mirrors, drop the entire "Sync auto-activation rules" step, and drop rules/caveman-activate.md from the paths: trigger since the workflow no longer consumes it. plugins/caveman/, cavecrew, compress, and caveman.skill ZIP sync steps are preserved. Updated CONTRIBUTING.md note to reflect the smaller auto-synced set. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
There was a problem hiding this comment.
π‘ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: be714a3db8
βΉοΈ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with π.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Sync SKILL.md copies | ||
| run: | | ||
| cp skills/caveman/SKILL.md caveman/SKILL.md | ||
| cp skills/caveman/SKILL.md plugins/caveman/skills/caveman/SKILL.md |
There was a problem hiding this comment.
Keep repo verification aligned with removed mirror files
This change stops maintaining several mirror artifacts from skills/caveman/SKILL.md, but tests/verify_repo.py still requires those exact files in verify_synced_files; on this commit, running python3 tests/verify_repo.py immediately fails with FileNotFoundError for /workspace/caveman/caveman/SKILL.md. Please update the verification expectations (and any CI job using them) in the same change, or keep the mirrors synced, so the repoβs validation pipeline does not break.
Useful? React with πΒ / π.
Summary
.cursor/skills/,.cursor/rules/caveman.mdc,.windsurf/skills/,.windsurf/rules/caveman.md,.clinerules/caveman.md,.github/copilot-instructions.md,caveman/SKILL.md). These self-applied caveman to this repo when devs opened it in those agents β the installer never consumed them..github/workflows/sync-skill.yml: drop the cp/mkdir/git-add lines for the removed mirrors, drop the entire "Sync auto-activation rules" step, droprules/caveman-activate.mdfrompaths:triggers (workflow no longer reads it). Keepplugins/caveman/sync, cavecrew sync, compress sync, andcaveman.skillZIP step.Devs who still want caveman self-applied to this repo in Cursor/Windsurf/Cline can opt in via
npx caveman --only cursor(etc.).Sources of truth (
skills/,agents/,rules/caveman-activate.md,hooks/,plugins/caveman/) are untouched. CLAUDE.md is untouched (owned by another cleanup unit).tools/caveman-init.jsis untouched β it still writes those dotdir paths into a user's repo, which is correct.Test plan
find .cursor .windsurf .clinerules cavemanreturns nothing (all parent dirs gone)python3 -c "import yaml; yaml.safe_load(open('.github/workflows/sync-skill.yml'))"β workflow YAML still parsesnode tests/test_caveman_init.jsβ 8/8 pass (per-repo init writer untouched)bash install.sh --listβ 33 providers render correctlygrepconfirms no remaining refs to deleted mirrors except intools/caveman-init.js(writes to user repo, correct),tests/test_caveman_init.js(tests user-repo writer, correct), and CLAUDE.md / CLAUDE.original.md (owned by Unit 8)π€ Generated with Claude Code