Repository navigation
feat(environment): resolve local skill conflicts from the library - #1314
Merged
Merged
Conversation
nixuuu
enabled auto-merge (squash)
November 26, 2026 13:57
nixuuu
added a commit
that referenced
this pull request
Nov 28, 2026
## Skill conflict resolution A single computer can report a conflict for every CLI and every Canopy agent home. The Skills dialog now asks which copy to use and which computers should sync the skill. Paths, backups and individual computer actions are available on demand. - Install the Canopy version on selected computers with recoverable backups for the reviewed locations. Previously kept copies stay out of an active conflict resolution. - Review a local CLI folder and save its files as the new version of the existing library skill. The confirmation explains the effect on source updates and pins. Installing on the source computer has a separate confirmation. - Keep user-installed folders and links and remove the skill from the shared library, or exclude selected computers while keeping the library entry. The confirmation explains when Canopy removes its own unedited files. Grouped installs claim the reviewed tokens from the current worker connection before dispatch. Each worker checks the local copy again before moving it. The dialog reports pending, successful and partial outcomes. Linked exclusions use the home gateway’s assignment revision and preserve its version pin. ## Verification - Focused worker and gateway integration checks cover grouped moves, stale revisions and tokens, concurrent claims, backup recovery, conflict imports, existing version pins, local ownership and reconciliation after reconnect. - Chromium exercised the actual Skills settings page at desktop and narrow widths with fixture BFF/SSE responses. Checks covered all four choices, keyboard access, selected request targets, stale reports, partial failures, recovery and linked exclusions. - Edited-file lint and formatting and affected package typechecks ran locally. The repository-wide gate and native builds run in CI. The thread-mirror handshake test timed out in shard 3 and locally. Its replacement gateway dialed while the peer listener was closed, triggering the reconnect backoff. The fixture now opens the listener before starting the replacement. All 20 tests in `thread-mirrors.test.ts` passed locally with `check:tmp`. ## Copy audit Reviewed the ten checks in docs/copy.md §8. The opening list replaces per-directory instructions and repeated buttons with verb-led choices and one consequence each. The removal confirmation distinguishes user-installed folders from Canopy installations. Diagnostic paths, file lists and recovery locations appear after a deliberate choice or disclosure. Names wrap on narrow screens, and all choices and sync outcomes have text labels. Related: #1314
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.
Change
Verification
tests/integration/agent-skills.test.tspassed throughbun run check:tmp. The new case verifies that keeping a linked copy preserves both the link and its target while another destination syncs.Copy audit