Skip to content

fix(bindings): refuse cross-repo custom-skill name collisions - #114

Merged
arcaven merged 1 commit into
mainfrom
fix/custom-skill-collision-110
Aug 1, 2026
Merged

fix(bindings): refuse cross-repo custom-skill name collisions#114
arcaven merged 1 commit into
mainfrom
fix/custom-skill-collision-110

Conversation

@arcaven

@arcaven arcaven commented Aug 1, 2026

Copy link
Copy Markdown
Member

Implements the #110 ruling: two registered repos declaring the same custom skill name refuse the sync with an error naming the skill and both repos, before anything is written. Previously the winner was registry order, silently: a user in the losing repo editing their own skill never saw the edit take effect (measured in the aae-orc#154 consumer round, where syncing from beta served alpha's content).

Scope choices: matches the repo-bindings channel's content-collision refusal; pack-owned-name shadowing keeps its existing warn-and-skip since pack content legitimately owns its names. A custom-source discovery error also now fails the sync closed instead of downgrading to a warning.

The collision refusal blocks the whole sync (including version flips) until one repo renames or unregisters; that strictness is the ruling. Tests: cross-source collision refuses naming both repos; the prior winner-picks test updated; suite and lint clean.

Ruled 2026-08-01 (sideshow#110): every registered repo's custom
skills share the one user-wide serving surface, and on a name
collision the winner was registry order, silently — a user in the
losing repo editing their own skill never saw the edit take effect
and got no signal why.

Two registered repos declaring the same skill name now refuse the
sync with an error naming the skill and both repos, before anything
is written; one repo renames the skill or unregisters as a source.
Matches the repo-bindings channel's content-collision refusal. The
pack-owned-name shadow keeps its warn-and-skip: pack content
legitimately owns its names.

Sync also stops downgrading a custom-source discovery error to a
warning; an unreadable source registry fails closed instead of
serving a silently reduced set.

Closes #110
@arcaven
arcaven merged commit 6d7dff9 into main Aug 1, 2026
@arcaven
arcaven deleted the fix/custom-skill-collision-110 branch August 1, 2026 23:08
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