Repository navigation
fix(check): make --all check agents as well as skills - #867
Merged
Merged
Conversation
check --all is documented as checking both skills and agents, but it ran the skills check only. With --exit-code now available, a CI job using check --all --exit-code passed while an agent had drifted. --all now runs both checks: the text output has a Skills and an Agents section, --json adds an agents array beside tracked_repos and skills, and --exit-code counts both. check --json and check agents --json keep their shapes. --all is rejected together with names or --group. It used to be ignored there, and agents have no name filter, so honoring it would check one skill and every agent.
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. |
6 of 9 tasks
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
None. This is the first follow-up listed under "Not covered" in #865.
What and why
skillshare check --allis documented as "Check both skills and agents", but it ran the skills check only. Now that--exit-codeexists, a CI job runningcheck --all --exit-codepassed while an agent had drifted.--allnow runs both checks:--jsonadds anagentsarray besidetracked_reposandskills.check --jsonandcheck agents --jsonkeep their shapes.--exit-codecounts both, so one repository behind and one drifted agent report2 items not up to date.Behavior changes to review
check --all <name>andcheck --all --group <g>are now an error.--allused to be ignored there. Agents have no name filter, so honoring it would check one skill and every agent.check agents --allnow checks both kinds, and its--jsonoutput is the object, not the bare array.--allused to be ignored there too.Also updated:
check.mdin English and four translations (flag row, example, the sentence that saidcheckis skills-only withoutagents, and the--exit-codeparagraph), the--alldescription in the zsh, fish and nushell completions, and the built-in skill's agents reference.Checks
make checkin a devcontainer-image container on the worktree: exit 0.--all --exit-codewith a drifted agent, with a repository behind plus a drifted agent,--all --jsonwith and without agents,check --jsonstill has noagentskey, the name conflict, and project mode with and without a skills directory. Seven of the eight fail without the fix; the eighth guards the unchanged shape.skillshare-code-reviewskill; its confirmed findings are fixed.Not covered
check <unknown-name> --jsonprints empty results and exits 0, while text mode exits 1. It exists onmainand is left for a follow-up.check.mddescribes theagentsarray in prose and has no sample of it.Checklist
make check) — for code changes