Commit 240f715
fix(extensions): validate hooks is a dict and restrict alias 3-part correction to ext_id (#2017)
- Raise ValidationError with a clear message if the manifest 'hooks' value
is not a mapping (previously would AttributeError on .items())
- Restrict _try_correct_alias_name 3-part correction (speckit.X.Y → X.Y)
to only apply when X == ext_id; when X differs the alias is squatting a
foreign namespace and should be rejected, not silently rewritten
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent caee3e0 commit 240f715
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
252 | 257 | | |
253 | 258 | | |
254 | 259 | | |
| |||
294 | 299 | | |
295 | 300 | | |
296 | 301 | | |
297 | | - | |
| 302 | + | |
298 | 303 | | |
299 | 304 | | |
300 | 305 | | |
| |||
0 commit comments