fix(verifier): filter gaps addressed in later milestone phases (#1624) (#1643)

The gsd-verifier was reporting false-positive gaps for items explicitly
scheduled in later phases of the milestone (e.g., reporting a Phase 5
item as a gap during Phase 1 verification). This adds Step 9b to
cross-reference gaps against later phases using `roadmap analyze` and
move matched items to a `deferred` list that does not affect status.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Tibsfox
2026-04-04 04:23:36 -07:00
committed by GitHub
parent 70d8bbcd17
commit 4645328e2e
5 changed files with 317 additions and 3 deletions

View File

@@ -2,6 +2,8 @@
Triggered by `--gaps` flag. Creates plans to address verification or UAT failures.
**Important: Skip deferred items.** When reading VERIFICATION.md, only the `gaps:` section contains actionable items that need closure plans. The `deferred:` section (if present) lists items explicitly addressed in later milestone phases — these are NOT gaps and must be ignored during gap closure planning. Creating plans for deferred items wastes effort on work already scheduled for future phases.
**1. Find gap sources:**
Use init context (from load_project_state) which provides `phase_dir`: