Repository navigation
Commit e86d710
fix(render): sections by name, not number — and the upgrade counts the one move no validator sees
An agent ran wdi-upgrade on a 0.5.12 corpus and reported green. The diff said otherwise on two
points the report never mentioned:
- The migrated PRD kept its old section numbers (`## 4. Features`, `## 8. MVP Scope`). The renderer
keyed on "3. Features" and rendered a PRD with no Features, MVP Scope, Success Metrics, NFRs, or
Constraints — every FR fell into the fallback list. `_section` now matches by name; the skill
renumbers to the template after the deletions.
- 23 FR description paragraphs were deleted from the PRD and landed nowhere: the `statement:` rule
existed and was skipped, and nothing counted it. The skill now says this is the one move with no
validator behind it, demands blocks-with-a-paragraph equal rows-with-statement, and reports both.
Also from that run: a `questions/` table older than the `Whose` column gets the column added; a cost
the source never stated is `—`, not invented; an unmarked open question files in assumptions.md.
The renderer test was seen red on the previous `_section` before the fix.
Co-Authored-By: Claude Code <noreply@anthropic.com>1 parent 17ba48d commit e86d710
5 files changed
Lines changed: 64 additions & 13 deletions
File tree
- kit
- .constitution/method/scripts
- skills/wdi-upgrade
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1628 | 1628 | | |
1629 | 1629 | | |
1630 | 1630 | | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
1631 | 1638 | | |
1632 | | - | |
| 1639 | + | |
1633 | 1640 | | |
1634 | 1641 | | |
1635 | 1642 | | |
1636 | 1643 | | |
1637 | 1644 | | |
| 1645 | + | |
1638 | 1646 | | |
1639 | 1647 | | |
1640 | 1648 | | |
1641 | 1649 | | |
1642 | | - | |
| 1650 | + | |
1643 | 1651 | | |
1644 | 1652 | | |
1645 | 1653 | | |
| |||
1895 | 1903 | | |
1896 | 1904 | | |
1897 | 1905 | | |
1898 | | - | |
| 1906 | + | |
1899 | 1907 | | |
1900 | 1908 | | |
1901 | 1909 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
| |||
88 | 93 | | |
89 | 94 | | |
90 | 95 | | |
91 | | - | |
92 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
93 | 101 | | |
94 | 102 | | |
95 | 103 | | |
96 | 104 | | |
97 | 105 | | |
98 | 106 | | |
99 | 107 | | |
100 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
101 | 113 | | |
102 | 114 | | |
103 | 115 | | |
| |||
159 | 171 | | |
160 | 172 | | |
161 | 173 | | |
162 | | - | |
163 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
0 commit comments