Two fixes to verify.cjs: 1. Add CWD guard to cmdValidateHealth — detects when CWD is the home directory (likely accidental) and returns error E010 before running checks that would read the wrong .planning/ directory. 2. Import and apply stripShippedMilestones to both cmdValidateConsistency and cmdValidateHealth (Check 8) — prevents false warnings when archived milestones reuse phase numbers. This PR subsumes #1071 (strip archived milestones) to avoid merge conflicts on the same import line. Addresses patch 2 from #899, fixes #1060
32 KiB
32 KiB