Seiten · Claude Github PMS
gh-validate
Dry-run gate validation — check if evidence would pass without actually transitioning. Mirrors Orchestra MCP's `validate_gates`. Use to preview before `gh-advance`.
Test evidence against a gate without performing the transition.
What it does
Same evidence-validation pipeline as gh-advance, but stops after the validation step:
- Read issue → determine current status +
type:*label (kind) - Determine target status (from user input or natural next)
- Look up gate. Per-kind sections: if the gate has a
required_sections_per_kind[<kind>]block (e.g.bugrequires## Summary,## Reproduction,## Root cause,## Fix,## Regression testinstead of the genericChanges / Verification), use that list. Per-repo overrides via.github/gh-pms.yamlare layered on top. - Build evidence from user input (or read it from a draft comment if user says "the comment I just wrote")
- Run
lib/validate-evidence.sh - Report:
text
When to use
- User asks "would this evidence pass?"
- Before posting a long evidence comment, validate it locally
- During PR review when you want to check the original evidence still holds
Notes
- Does NOT post the evidence comment, does NOT change labels, does NOT touch state file
- Cooldown is NOT enforced on dry-run
- File-path checks DO run (so the file existence check is real)