Repository navigation
fix(pstack): route reflect edits out of the plugin cache - #623
Open
jhonnyisaacc wants to merge 1 commit into
Open
jhonnyisaacc wants to merge 1 commit into
jhonnyisaacc wants to merge 1 commit into
Conversation
Reflect wrote approved skill edits into the installed plugin cache. A plugin update moved to a new hash and dropped them. Apply refuses a plugins/cache path. For a third-party skill, the edit is a PR against the repo named by plugin.json repository. Apply writes any other skill under .cursor/skills or ~/.cursor/skills. The summary names the PR URL or the destination path. Co-authored-by: Jhonny <jhonnyisaacc@users.noreply.github.com>
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.
Why
/reflectwrote approved skill edits into the installed plugin cache. The next plugin update checked out a new hash and dropped those edits. Apply refuses that cache path and names a destination that survives the update.What changed
repositoryfield. Any other skill is written under the project skills directory or the user skills directory.Scope
Tradeoffs
A project copy of a third-party plugin would keep the edit on one machine and drift from upstream. The edit goes to the plugin source as a pull request instead.
Blast Radius
/reflectno longer changes the installed plugin copy. An approved edit lands in a pull request, or in a project or user skill, so a later plugin update does not drop it.Verification
npm install --no-save ajv ajv-formats && node scripts/validate-plugins.mjsprintedAll plugins validated successfully.nameanddescription, and the referenced reviewer files are present.