Repository navigation
fix(install): log skipped skills and agents - #886
Merged
Merged
Conversation
After #884, an install without --force keeps existing skills and agents and names them in the --json skipped array, but the operation log recorded only installed and failed names, so `ss log` could not show what an install kept. Record the kept names as skipped_skills for CLI installs and for the dashboard's install-from-config action, and list them in `ss log`. The config install starts with an empty list, so the dashboard log shows no "null" when nothing was kept.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 13, 2026
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.
Type
proposals/only — see CONTRIBUTING.md)approvedlabel)Linked Issue
Follow-up to #884 (#877).
What changed
installrecords the names it kept without--forcein the operation log asskipped_skills. These are the same names--jsonreports inskipped.skipped_skillstoo. Before this change, its response counted the skills it kept, but the log named none of them. When it keeps nothing, it logs an empty list rather thannull, which the dashboard's log page would print as "null".ss loglists skipped items for install entries, in both the TTY and plain output.Why
After #884, an install run with
--jsonand without--forcekeeps existing skills and agents and names them inskipped. The operation log recorded only the installed and failed names, so it could not show what the install kept.Verification
make checkin the devcontainer passed: Go unit and integration tests, and the Herdr node tests (138 passed).TestInstall_JSON_ReportsKeptAgentsOfSkillRepo, in global and project mode: a repo with skills and an agent is reinstalled with--json. The locally edited agent is kept and named inskippedand in the oplog.TestHandleInstallFromConfig_LogsSkippedSkills, plus an empty-list check inTestHandleInstallFromConfig_AllFailedLogsErrorskippedassertions added toTestFormatInstallLogDetail_IncludesInstalledSkillsNot run: Windows, and E2E runbooks.
Not covered
These problems exist on
maintoday, and this change does not touch them:failed, not inskipped, becausecheckExistingConflictreads only the legacy.skillshare-meta.json.ss searchbatch installs do not log skipped names.Checklist
make check) — for code changes