Fix aitools plugin lifecycle scoping#5771
Merged
Merged
Conversation
89dda57 to
d1a6a48
Compare
2685636 to
d0db063
Compare
Collaborator
Integration test reportCommit: 89dda57
23 interesting tests: 13 SKIP, 7 KNOWN, 2 flaky, 1 RECOVERED
|
This was referenced Jun 30, 2026
d0db063 to
331ae5e
Compare
d1a6a48 to
3f79ee7
Compare
81030c8 to
1dd8edb
Compare
3f79ee7 to
d9dbd6c
Compare
1dd8edb to
74835c1
Compare
d9dbd6c to
7646632
Compare
atilafassina
approved these changes
Jun 30, 2026
74835c1 to
e5d0608
Compare
7646632 to
895118a
Compare
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.
Stack
Why
Claude plugin installs can fail when the local marketplace cache is stale, and plugin update/uninstall could target the wrong native scope because the recorded
PluginRecord.Scopewas not passed back to the agent CLI. That left users stuck with a plugin that the CLI recorded in one scope while native commands operated in another.Changes
This is PR 2 in the aitools bug bash stack, stacked on
simonfaltum/aitools-installer-hardening.project,user, andlocalscoped plugin records.Test plan
go test ./libs/aitools/installer./task test-exp-aitools./task checks./task lint-q./task fmt-q