Repository navigation
insights: a skill you downloaded and committed once is not counted as yours - #38
Merged
Merged
Conversation
… yours Kit-Commit: d812099ceff855309874d06cf87917a38b36d78c Kit-Only: plugins/insights
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before and after:
SKILL.mdsets publishing fields (the kind that has an upstream repository), the scan also looks in the git repositories directly in the home folder or one folder below it, in their whole history. The proofs are the same as for a copy anywhere else: the clone's commits are mostly other people's, none of the commits that added your copy are yours, your copy is newer, and your session logs show no write or edit of it. Those clones are asked once for all such skills, not once per file.Limits: only repositories in the home folder or one folder below it are searched (hidden folders and a few system folders are skipped, at most 5000 folders are looked at). A skill without publishing fields is not searched, because a search of hundreds of repositories per skill would cost minutes; it stays yours.
Test:
cd plugins/insights/scripts/v15/engine/variants/views && uv run --no-project python -m unittest test_view_built test_view_mylevel test_counts(45 tests, OK)claude plugin validate .passes with the warnings it already gave.The ownership rules have their own tests in the sources this repository is published from; they pass for this change and are not shipped here.
One change. I did not edit a version, a
CHANGELOG.md,marketplace.jsonorkit.json.Nothing personal: no names, no paths from my machine, no output of my own scan, no secrets.
No version change: nothing reaches members until a release.