Repository navigation
fix(catalog): flag name conflicts, fail an empty root, keep spec errors out of routing #328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
bb69687
fix(catalog): skip conflicting names, flag them in scan, and exclude …
napetrov 5466a5a
fix(routing): a name with different content leaves the field, whateve…
napetrov 4815a11
fix(routing): record include_invalid in the saved field rule
napetrov ec204a1
docs(routing): one changelog story for same-name skills and --include…
napetrov ac343a2
Merge commit 'b4a0a8cf' into pr328-land1031
napetrov d3ba18b
fix(routing): take the digest, disabled flag and conflicts from the r…
napetrov c848aec
fix(routing): flag filters before the name-conflict check; check expl…
napetrov 8803a93
Merge remote-tracking branch 'intel/main' into pr328-land1031
napetrov a283eed
fix(routing): one verdict per skill: competitor, whatever the path sp…
napetrov c3d32a1
Note the skipped spec-error skill: competitor in the changelog
antonwolfy c936c71
docs: name-conflict counts listed skills; the no-SKILL.md row uses --…
napetrov 5a61b4a
Merge remote-tracking branch 'intel/main' into pr328-land1031
napetrov 33d7692
test(catalog): pin that a spec-error copy is no name conflict
antonwolfy 774086f
Merge intel/main into pr328-land1031
napetrov 75b6f0d
fix(routing): a SKILL.md with no skills/ parent is a root skill for a…
napetrov c0bae6d
test(routing): shorten the comment block to two lines
napetrov 6387fe6
test(routing): pin the whole command for a conflict note, and the rel…
napetrov 51ce87b
docs(novelty): say which explicit skill: competitors are name-checked
napetrov b8ac2a6
fix(novelty): name every reason a queried skill left the all-vs-all f…
xaleryb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
30 changes: 30 additions & 0 deletions
30
dokimi/changelog.d/20261031_120000_napetrov_rescan-catalog.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| ### Added | ||
|
|
||
| - **`novelty routing --include-invalid`** keeps a catalog skill with a spec error in the `--catalog` | ||
| field, and the saved result records the flag under `field`. A name that conflicts with another | ||
| catalog skill still leaves the field. | ||
|
|
||
| ### Changed | ||
|
|
||
| - **`novelty routing --catalog` leaves out a skill with a spec error by default** (for example a | ||
| description over 1024 characters, or a name that is not kebab-case or not its directory name), with | ||
| a warning on stderr naming the error. Before, such a skill was in the field. `--include-invalid` | ||
| keeps it. A `--competitors skill:<path>` with a spec error is skipped the same way. A name with two | ||
| different copies also changes the field, so a routing result saved before this change is not | ||
| comparable with one saved now for the same `--catalog`: rerun it to compare. With | ||
| `--include-disabled`, a copy that is `disable-model-invocation` counts as one of the copies. | ||
| - **`novelty routing --catalog` skips a name that two different skills share, with a warning, instead of | ||
| refusing the run** (exit 2). Every copy of that name leaves the field, the rest of it stays, and stderr | ||
| names every path. Under `--all-vs-all`, a query file that names such a skill, or one left out | ||
| for a spec error, is still refused (exit 2), and the message names both reasons. | ||
| - **`catalog scan` reports a same-name skill with different content as a `name-conflict` warning** | ||
| (among listed skills: no `disable-model-invocation`, no spec error), naming the other path and that | ||
| `novelty routing --catalog` leaves the name out of the field. Before, each of the two skills was | ||
| reported `ok`. It is a warning, not an error, so `--strict` does not fail on it. | ||
|
|
||
| ### Fixed | ||
|
|
||
| - **`catalog scan` on a root with no `SKILL.md` exits 1 with `no SKILL.md found under <root>`** | ||
| instead of exiting 0 silently. With `--kind all`, a tasks-only root only warns, and `--strict` | ||
| makes that a failure. A root with a `skills.yaml` that has no skill that can be scanned says | ||
| `skills.yaml under <root> has no skill that can be scanned` instead. |
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.