Commit ecd9c0a
fix(extensions): warn on alias hook canonicalization; fix pluralization (#2017)
- Emit a compatibility warning when a hook ref is silently lifted from
alias form (ext.cmd) to canonical (speckit.ext.cmd), so extension
authors are notified to update their manifest in both rename and
alias-canonicalization cases
- Pluralize removal confirmation: '1 command' vs 'N commands from AI agent'
- Update hook canonicalization test to assert the new warning is emitted
- Fix test assertions to match correct singular/plural strings
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9ab59cd commit ecd9c0a
File tree
3 files changed
+18
-5
lines changed- src/specify_cli
- tests
3 files changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3139 | 3139 | | |
3140 | 3140 | | |
3141 | 3141 | | |
3142 | | - | |
| 3142 | + | |
| 3143 | + | |
3143 | 3144 | | |
3144 | 3145 | | |
3145 | 3146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
298 | 306 | | |
299 | 307 | | |
300 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
396 | 400 | | |
397 | 401 | | |
398 | 402 | | |
| |||
3144 | 3148 | | |
3145 | 3149 | | |
3146 | 3150 | | |
3147 | | - | |
3148 | | - | |
| 3151 | + | |
| 3152 | + | |
3149 | 3153 | | |
3150 | 3154 | | |
3151 | 3155 | | |
| |||
3198 | 3202 | | |
3199 | 3203 | | |
3200 | 3204 | | |
3201 | | - | |
| 3205 | + | |
3202 | 3206 | | |
3203 | | - | |
| 3207 | + | |
3204 | 3208 | | |
3205 | 3209 | | |
3206 | 3210 | | |
| |||
0 commit comments