Commit 426d28e
fix(extensions): check SKILL collision for auto-corrected aliases
After auto-correcting an alias (e.g. 'speckit.test-ext.hello' →
'test-ext.hello'), the corrected name was written back to aliases[i]
and rename_map but never checked against seen_skill_names nor added
to it. This allowed a corrected alias to silently produce the same
SKILL output name as an existing primary or alias.
Now the corrected name is collision-checked before the warning is
emitted and registered in seen_skill_names immediately after.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9a48e78 commit 426d28e
2 files changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
268 | 277 | | |
269 | 278 | | |
270 | 279 | | |
271 | 280 | | |
272 | 281 | | |
273 | 282 | | |
274 | 283 | | |
| 284 | + | |
275 | 285 | | |
276 | 286 | | |
277 | 287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
400 | 416 | | |
401 | 417 | | |
402 | 418 | | |
| |||
0 commit comments