You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: gaze --gate-on-change flag (pre-change CRAP gate) #290
Gaze PR (unbound-force/gaze#268) adds a new --gate-on-change=<git-ref-or-diff-spec> flag to gaze crap. It computes CRAP scores only for functions modified in the current changeset (Boy Scout Rule), failing CI if any touched function exceeds the CRAP threshold. JSON output gains a changed_functions section.
Why it matters
This is the "Pre-change CRAP gate" (Group 2b) from the vibe-check epic, enabling teams to enforce that no newly changed function exceeds the complexity/coverage threshold — a foundational capability for the Review Council CRAP delta reporting that follows (Group 2c).
Pages needing updates
docs/reference/cli/crap.md — document the new flag, accepted values (staged / origin/main style refs), exit-code behavior, and the changed_functions JSON section
Any CLI reference / flag index that enumerates gaze crap flags
Activity