Repository navigation
feat(environment): manage local skill copies by computer - #1234
Merged
Merged
Conversation
nixuuu
enabled auto-merge (squash)
November 24, 2026 15:59
…skills-management # Conflicts: # docs/ui-api.md
This was referenced Nov 24, 2026
nixuuu
added a commit
that referenced
this pull request
Nov 26, 2026
## Change - **Add to library** opens a review of the files from the selected CLI copy. If several locations contain a skill with the same name, each location has its own action. - A preview reads from the worker that reported the copy, including on a linked computer with configuration sharing enabled. The save uses the reviewed files and defaults to Canopy agent sessions on the source computer. - Update the agent environment, linked computers, and protocol docs. Related to #1234. ## Verification - 31 Linux integration tests passed across skill management, linked environment sync, and device skill inventory. They cover selecting the right copy, rejecting a changed copy, saving the reviewed bytes, and reading a CLI symlink through a linked computer. - Tested in Chromium with the gateway and worker. Reviewed and saved the Codex copy at 1222 px. At 390 px, retried a failed preview of the Claude copy and returned to the computer view. - Generated protobuf contracts. Gateway, worker, and web typechecks passed. Edited source files passed lint and formatting checks. - Full verification is left to GitHub CI. Native filesystem reads on macOS and Windows remain unverified. ## Copy audit - **Upload skill** with **Choose folder** or **Choose ZIP** → **Add skill to library** starts at **Review files** for the selected copy. The source computer and path identify which files will be reviewed. - The entry action names the source for screen readers. **Reading skill files…** reports progress and **Retry preview** remains available after a read error, with technical details behind **Show details**. Long paths wrap at 390 px.
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.
Changes
The Computers tab now groups a skill's installations, shows personal CLI and Canopy session locations, and puts conflicts and overlapping personal locations first. Local skills whose directory names have no library match can be added through the folder/ZIP upload and review flow.
Users can archive an individual local folder or link, or disable a library assignment on the selected worker. The confirmation identifies the source, recovery path and effect on the assignment. Archival keeps the copy on the device and can be requested on a linked computer that shares configuration. Local file contents are not included in the inventory.
The worker bounds inventory work, checks ownership and the observed entry before the move, and verifies the moved entry. The gateway authorizes the current owner, connection, report and assignment, consumes the token and sends the request once.
The list shows one status per collapsed skill. Expanding it reveals locations with per-copy actions beside one another below the affected path. The row menu holds the computer-wide disable action.
Verification
Copy audit
Reviewed all ten items in docs/copy.md §8. Generic “Error” and “drift” give way to per-location states, an explanation of the conflict and the available action. “Not in library” describes a local name without a library match. Confirmations use the action verb and name the affected location. Empty, pending and incomplete inventory states have distinct text. Status is readable without color. Short, typical and long names were exercised at desktop and narrow widths. The revised list was checked at 1340 and 390 px with keyboard access to the actions menu, plus a long name and an overlapping Codex location at 360 px.