Skip to content

fix(sync): ignore skill symlinks in .gitignore - #75

Open
dreyfus92 wants to merge 3 commits into
mainfrom
fix/sync-gitignore-symlinks
Open

dreyfus92 wants to merge 3 commits into
mainfrom
fix/sync-gitignore-symlinks

Conversation

@dreyfus92

Copy link
Copy Markdown
Member

bsh sync writes its gitignore entries with a trailing slash (.agents/skills/build/), but the skills are symlinks and git treats a symlink as a file, so the entries never match. after a sync every skill shows up as untracked, and a git add -A commits them. found it while bumping cooper to 0.7.0 (bombshell-dev/cooper#99).

this drops the slash. sync rewrites its whole block every time, so repos with the old entries get fixed on their next sync.

added a test that runs a real git init + sync and checks git status stays clean, plus one for rewriting old entries. both fail on main without the fix.

@changeset-bot

changeset-bot Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a662dec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bomb.sh/tools Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@bomb.sh/tools@75

commit: a662dec

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.

2 participants