Commit aaec670
committed
fix: address sixteenth round of Copilot PR review feedback
- Remove dead has_composition branch in resolve_content: after the
top-replace early return, the top layer is guaranteed non-replace
so the any() check was always true
- Fix CLI composition chain base labeling: compute effective base index
using same logic as resolve_content (last consecutive replace from
bottom before first non-replace) instead of always labeling i==0
- Support extension manifest file paths in collect_all_layers: when
convention lookup fails for commands, parse extension.yml to find
the actual file path, enabling composition onto extension commands
that use non-convention filenames1 parent 3a62a64 commit aaec670
2 files changed
+31
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2612 | 2612 | | |
2613 | 2613 | | |
2614 | 2614 | | |
2615 | | - | |
| 2615 | + | |
| 2616 | + | |
| 2617 | + | |
| 2618 | + | |
| 2619 | + | |
| 2620 | + | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
2616 | 2626 | | |
2617 | | - | |
2618 | | - | |
2619 | | - | |
2620 | | - | |
| 2627 | + | |
| 2628 | + | |
2621 | 2629 | | |
2622 | 2630 | | |
2623 | 2631 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2320 | 2320 | | |
2321 | 2321 | | |
2322 | 2322 | | |
| 2323 | + | |
2323 | 2324 | | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
| 2339 | + | |
| 2340 | + | |
| 2341 | + | |
2324 | 2342 | | |
2325 | 2343 | | |
2326 | 2344 | | |
| |||
2395 | 2413 | | |
2396 | 2414 | | |
2397 | 2415 | | |
2398 | | - | |
2399 | | - | |
2400 | | - | |
2401 | | - | |
2402 | | - | |
2403 | | - | |
2404 | | - | |
2405 | 2416 | | |
2406 | 2417 | | |
2407 | 2418 | | |
| |||
0 commit comments