Commit bdcd334
committed
fix: properly handle SKILL.md paths in extension update rollback and tests
Fix extension update rollback using _compute_output_name() for SKILL.md
agents (converts dots to hyphens in skill directory names). Previously
the backup and cleanup code constructed paths with raw command names
(e.g. speckit.test-ext.hello/SKILL.md) instead of the correct computed
names (speckit-test-ext-hello/SKILL.md).
Test fixes for claude skills migration:
- Update claude tests to use .claude/skills paths and SKILL.md layout
- Use qwen (not claude) for skills-guard tests since claude's agent dir
IS the skills dir — creating it triggers command registration
- Fix test_extension_command_registered_when_extension_present to check
skills path format
1086 tests pass, 0 failures, ruff clean.1 parent a0bd983 commit bdcd334
File tree
4 files changed
+32
-32
lines changed- src/specify_cli
- tests
- integrations
4 files changed
+32
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3156 | 3156 | | |
3157 | 3157 | | |
3158 | 3158 | | |
| 3159 | + | |
3159 | 3160 | | |
3160 | 3161 | | |
3161 | 3162 | | |
| |||
3164 | 3165 | | |
3165 | 3166 | | |
3166 | 3167 | | |
3167 | | - | |
| 3168 | + | |
| 3169 | + | |
3168 | 3170 | | |
3169 | 3171 | | |
3170 | 3172 | | |
| |||
3318 | 3320 | | |
3319 | 3321 | | |
3320 | 3322 | | |
3321 | | - | |
| 3323 | + | |
| 3324 | + | |
3322 | 3325 | | |
3323 | 3326 | | |
3324 | 3327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
101 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1088 | 1088 | | |
1089 | 1089 | | |
1090 | 1090 | | |
1091 | | - | |
1092 | | - | |
| 1091 | + | |
| 1092 | + | |
1093 | 1093 | | |
1094 | 1094 | | |
1095 | 1095 | | |
| |||
1610 | 1610 | | |
1611 | 1611 | | |
1612 | 1612 | | |
1613 | | - | |
| 1613 | + | |
1614 | 1614 | | |
1615 | 1615 | | |
1616 | 1616 | | |
| |||
3068 | 3068 | | |
3069 | 3069 | | |
3070 | 3070 | | |
3071 | | - | |
| 3071 | + | |
| 3072 | + | |
3072 | 3073 | | |
3073 | | - | |
| 3074 | + | |
3074 | 3075 | | |
3075 | | - | |
| 3076 | + | |
3076 | 3077 | | |
3077 | 3078 | | |
3078 | | - | |
| 3079 | + | |
| 3080 | + | |
3079 | 3081 | | |
3080 | 3082 | | |
3081 | 3083 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1905 | 1905 | | |
1906 | 1906 | | |
1907 | 1907 | | |
1908 | | - | |
1909 | | - | |
| 1908 | + | |
| 1909 | + | |
1910 | 1910 | | |
1911 | 1911 | | |
1912 | 1912 | | |
| |||
1983 | 1983 | | |
1984 | 1984 | | |
1985 | 1985 | | |
1986 | | - | |
1987 | | - | |
| 1986 | + | |
| 1987 | + | |
1988 | 1988 | | |
1989 | 1989 | | |
1990 | | - | |
1991 | | - | |
1992 | 1990 | | |
1993 | 1991 | | |
1994 | 1992 | | |
| |||
2019 | 2017 | | |
2020 | 2018 | | |
2021 | 2019 | | |
2022 | | - | |
| 2020 | + | |
2023 | 2021 | | |
2024 | 2022 | | |
2025 | | - | |
2026 | | - | |
2027 | 2023 | | |
2028 | 2024 | | |
2029 | 2025 | | |
2030 | 2026 | | |
2031 | 2027 | | |
2032 | | - | |
2033 | | - | |
| 2028 | + | |
| 2029 | + | |
2034 | 2030 | | |
2035 | 2031 | | |
2036 | 2032 | | |
| |||
2094 | 2090 | | |
2095 | 2091 | | |
2096 | 2092 | | |
2097 | | - | |
2098 | | - | |
| 2093 | + | |
| 2094 | + | |
2099 | 2095 | | |
2100 | 2096 | | |
2101 | 2097 | | |
2102 | | - | |
2103 | | - | |
2104 | 2098 | | |
2105 | 2099 | | |
2106 | 2100 | | |
| |||
2114 | 2108 | | |
2115 | 2109 | | |
2116 | 2110 | | |
2117 | | - | |
2118 | | - | |
2119 | 2111 | | |
2120 | 2112 | | |
2121 | 2113 | | |
| |||
2516 | 2508 | | |
2517 | 2509 | | |
2518 | 2510 | | |
2519 | | - | |
| 2511 | + | |
2520 | 2512 | | |
2521 | | - | |
2522 | 2513 | | |
2523 | 2514 | | |
2524 | 2515 | | |
2525 | 2516 | | |
2526 | 2517 | | |
2527 | | - | |
2528 | | - | |
| 2518 | + | |
| 2519 | + | |
2529 | 2520 | | |
2530 | 2521 | | |
2531 | 2522 | | |
| |||
0 commit comments