Commit f4a21f0
committed
fix: use line-anchored scan for skills frontmatter delimiter
Replace raw split('---', 2) with line-anchored scan for the closing
delimiter to prevent embedded --- values in descriptions from
truncating metadata or spilling into the skill body.1 parent c31e18d commit f4a21f0
1 file changed
Lines changed: 22 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1630 | 1630 | | |
1631 | 1631 | | |
1632 | 1632 | | |
1633 | | - | |
1634 | | - | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
| 1640 | + | |
| 1641 | + | |
| 1642 | + | |
1635 | 1643 | | |
1636 | | - | |
| 1644 | + | |
1637 | 1645 | | |
1638 | 1646 | | |
1639 | 1647 | | |
| |||
1650 | 1658 | | |
1651 | 1659 | | |
1652 | 1660 | | |
1653 | | - | |
1654 | | - | |
1655 | | - | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
1656 | 1672 | | |
1657 | 1673 | | |
1658 | 1674 | | |
| |||
0 commit comments