This repository was archived by the owner on Jun 26, 2026. It is now read-only.
Repository navigation
fix(verify): suppress W006 for not-yet-started phases - #2027
Merged
Merged
Conversation
…checkbox (#2009) W006 (Phase in ROADMAP.md but no directory on disk) fired for every phase listed in ROADMAP.md that lacked a phase directory, including future phases that haven't been started yet. This produced false DEGRADED health status on any project with more than one phase planned. Fix: before emitting W006, check the ROADMAP summary list for a '- [ ] **Phase N:**' unchecked checkbox. Phases explicitly marked as not yet started are intentionally absent from disk -- skip W006 for them. Phases with a checked checkbox ([x]) or with no summary entry still trigger W006 as before. Adds two regression tests: one verifying W006 is suppressed for unchecked phases, and one verifying W006 still fires for checked phases with no disk directory.
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
W006 (Phase in ROADMAP.md but no directory on disk) was firing for every phase listed in ROADMAP.md, including future phases that have never been started. Projects with multiple planned phases were getting a false DEGRADED health status.
Why
The W006 check iterated all
### Phase N:headings in ROADMAP.md and warned about any that lacked a disk directory. It had no concept of "not yet started" — a phase in the summary list with- [ ](unchecked) is intentionally absent from disk.How
Before emitting W006, check the ROADMAP summary list for
- [ ] **Phase N:**(unchecked checkbox). Phases explicitly marked as not yet started are expected to have no directory — skip W006 for them.- [x](completed) that have no directory still trigger W006 (genuine inconsistency)Closes #2009