Commit d03d9d2
committed
chore: add marker removal detection to CI and regression guard tests
Two new safety nets prevent `altimate_change` markers from being silently removed:
1. **CI marker guard** (`analyze.ts --markers`): now detects net marker removal
in diffs — if more markers are deleted than added, the check warns/fails.
This is what would have caught #316 before merge.
2. **Regression test** (`upstream-merge-guard.test.ts`): minimum marker count
per file. If a file's marker count drops below its recorded floor, the test
fails. Counts must be updated when adding new markers (never lowered).
Also adds `tool/bash.ts`, `tool/skill.ts`, and `skill/skill.ts` to the
`requiredMarkerFiles` list so their marker presence is enforced.
Closes #3211 parent bc81a6a commit d03d9d2
2 files changed
Lines changed: 67 additions & 7 deletions
Lines changed: 35 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
486 | 489 | | |
487 | 490 | | |
488 | 491 | | |
| |||
514 | 517 | | |
515 | 518 | | |
516 | 519 | | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
517 | 552 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
634 | 641 | | |
635 | | - | |
| 642 | + | |
636 | 643 | | |
637 | | - | |
| 644 | + | |
638 | 645 | | |
639 | 646 | | |
640 | 647 | | |
641 | 648 | | |
642 | 649 | | |
643 | 650 | | |
644 | 651 | | |
645 | | - | |
646 | | - | |
647 | | - | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
648 | 655 | | |
649 | 656 | | |
650 | 657 | | |
| |||
658 | 665 | | |
659 | 666 | | |
660 | 667 | | |
661 | | - | |
662 | | - | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
663 | 677 | | |
664 | 678 | | |
665 | 679 | | |
| |||
674 | 688 | | |
675 | 689 | | |
676 | 690 | | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
677 | 702 | | |
678 | 703 | | |
679 | 704 | | |
| |||
0 commit comments