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
fix(ci): make ECHIDNA dangerous-pattern scan ignore comments
The scan grepped for literal tokens (believe_me, assert_total, assert_smaller,
unsafePerformIO) anywhere in *.idr — including inside comments. So legitimate
documentation (e.g. a proof's doc string noting it needs 'no assert_smaller')
would fail the gate. Strip doc (|||) and line (--) comments before matching, so
only genuine code uses count. Also drop the deleted modules/ path.
Verified locally: clean tree scans 0; a pattern named in a ||| or -- comment is
ignored while a real use in code is still caught and fails the gate.
0 commit comments