Commit c655b0e
committed
fix: address thirteenth round of Copilot PR review feedback
- Add frontmatter composition test: verify core+preset command layers
with frontmatter produce only one frontmatter block in composed output
- Defer resolve_with_source: only call when collect_all_layers returns
empty, avoiding redundant filesystem walk
- Reuse CommandRegistrar.parse_frontmatter: replace local
_strip_frontmatter helper with _split_frontmatter that delegates to
the shared parse_frontmatter method
- Fix removed_cmd_names collection: gather ALL command names before
filtering out skill agents so reconciliation covers all affected
commands including those only registered for skill-based agents
- Preserve trailing newlines in bash: use sentinel character technique
(cat + printf x + strip) to avoid command substitution stripping1 parent c11b2f4 commit c655b0e
4 files changed
Lines changed: 73 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
540 | 542 | | |
541 | 543 | | |
542 | 544 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2597 | 2597 | | |
2598 | 2598 | | |
2599 | 2599 | | |
2600 | | - | |
2601 | 2600 | | |
2602 | 2601 | | |
2603 | 2602 | | |
| |||
2618 | 2617 | | |
2619 | 2618 | | |
2620 | 2619 | | |
2621 | | - | |
2622 | | - | |
2623 | | - | |
2624 | 2620 | | |
2625 | | - | |
2626 | | - | |
| 2621 | + | |
| 2622 | + | |
| 2623 | + | |
| 2624 | + | |
| 2625 | + | |
| 2626 | + | |
| 2627 | + | |
| 2628 | + | |
2627 | 2629 | | |
2628 | 2630 | | |
2629 | 2631 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1361 | 1361 | | |
1362 | 1362 | | |
1363 | 1363 | | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
1364 | 1371 | | |
1365 | 1372 | | |
1366 | 1373 | | |
| |||
1375 | 1382 | | |
1376 | 1383 | | |
1377 | 1384 | | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
1382 | 1385 | | |
1383 | 1386 | | |
1384 | 1387 | | |
| |||
2415 | 2418 | | |
2416 | 2419 | | |
2417 | 2420 | | |
2418 | | - | |
2419 | | - | |
2420 | | - | |
2421 | | - | |
2422 | | - | |
2423 | | - | |
2424 | | - | |
2425 | | - | |
2426 | | - | |
2427 | | - | |
| 2421 | + | |
| 2422 | + | |
| 2423 | + | |
| 2424 | + | |
| 2425 | + | |
| 2426 | + | |
| 2427 | + | |
| 2428 | + | |
| 2429 | + | |
| 2430 | + | |
2428 | 2431 | | |
2429 | 2432 | | |
2430 | | - | |
| 2433 | + | |
2431 | 2434 | | |
2432 | 2435 | | |
2433 | 2436 | | |
| |||
2438 | 2441 | | |
2439 | 2442 | | |
2440 | 2443 | | |
2441 | | - | |
| 2444 | + | |
2442 | 2445 | | |
2443 | 2446 | | |
2444 | 2447 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3460 | 3460 | | |
3461 | 3461 | | |
3462 | 3462 | | |
| 3463 | + | |
| 3464 | + | |
| 3465 | + | |
| 3466 | + | |
| 3467 | + | |
| 3468 | + | |
| 3469 | + | |
| 3470 | + | |
| 3471 | + | |
| 3472 | + | |
| 3473 | + | |
| 3474 | + | |
| 3475 | + | |
| 3476 | + | |
| 3477 | + | |
| 3478 | + | |
| 3479 | + | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
| 3494 | + | |
| 3495 | + | |
| 3496 | + | |
| 3497 | + | |
| 3498 | + | |
| 3499 | + | |
| 3500 | + | |
| 3501 | + | |
| 3502 | + | |
| 3503 | + | |
| 3504 | + | |
| 3505 | + | |
3463 | 3506 | | |
3464 | 3507 | | |
3465 | 3508 | | |
| |||
0 commit comments