Commit c9ffcc1
committed
fix: address eleventh round of Copilot PR review feedback
- Validate strategy is a string before set membership check: raise
PresetValidationError for non-string values (null, list, etc.) and
normalize to lowercase for case-insensitive matching
- Fix core command name mapping: add speckit.<stem> → <stem>.md fallback
in resolve(), resolve_with_source(), and collect_all_layers() so core
command files (named by stem, e.g. plan.md) are found when commands
use dot notation (e.g. speckit.plan)
- Fix test fixture to use real core layout (plan.md not speckit.plan.md)1 parent 454e614 commit c9ffcc1
2 files changed
Lines changed: 34 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
159 | 165 | | |
160 | 166 | | |
161 | 167 | | |
| |||
2037 | 2043 | | |
2038 | 2044 | | |
2039 | 2045 | | |
| 2046 | + | |
| 2047 | + | |
| 2048 | + | |
| 2049 | + | |
| 2050 | + | |
| 2051 | + | |
| 2052 | + | |
| 2053 | + | |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
2040 | 2059 | | |
2041 | 2060 | | |
2042 | 2061 | | |
| |||
2111 | 2130 | | |
2112 | 2131 | | |
2113 | 2132 | | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
2114 | 2139 | | |
2115 | 2140 | | |
2116 | 2141 | | |
| |||
2300 | 2325 | | |
2301 | 2326 | | |
2302 | 2327 | | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
2303 | 2335 | | |
2304 | 2336 | | |
2305 | 2337 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3429 | 3429 | | |
3430 | 3430 | | |
3431 | 3431 | | |
3432 | | - | |
| 3432 | + | |
3433 | 3433 | | |
3434 | 3434 | | |
3435 | | - | |
| 3435 | + | |
3436 | 3436 | | |
3437 | 3437 | | |
3438 | 3438 | | |
| |||
0 commit comments