Commit 945e5f9
fix(assail): skip .ipkg files in Idris ProofDrift; add Chapel detector
Two deferred follow-ups from the 2026-04-25 echidna chunked sweep:
1. .ipkg ProofDrift false-positive (echidnaabi.ipkg)
Idris2 package manifests share the `idr`/`ipkg` extension family
and route through `analyze_idris`, but `.ipkg` is a TOML-like
build config — not source. String-literal mentions of banned
pattern names (e.g. `brief = "...zero believe_me..."`) tripped
the substring-based ProofDrift detector.
Fix: short-circuit `analyze_idris` for files ending in `.ipkg`.
Verified: src/abi sweep (echidna) drops to 0 ProofDrift findings.
2. Chapel language detector gap
src/chapel returned `Could not detect language` because Chapel
was missing from `Language` enum + extension map.
Fix: add `Language::Chapel`, map `.chpl` extension, route through
`analyze_generic` fallback (Chapel-specific patterns deferred —
no Chapel-original code in echidna yet to dogfood against).
Verified: src/chapel sweep (echidna) now produces a normal
AssailReport with 6 Chapel-marked entries instead of erroring.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 71f38d4 commit 945e5f9
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3280 | 3280 | | |
3281 | 3281 | | |
3282 | 3282 | | |
| 3283 | + | |
| 3284 | + | |
| 3285 | + | |
| 3286 | + | |
| 3287 | + | |
| 3288 | + | |
| 3289 | + | |
| 3290 | + | |
| 3291 | + | |
3283 | 3292 | | |
3284 | 3293 | | |
3285 | 3294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| |||
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| 163 | + | |
162 | 164 | | |
163 | 165 | | |
164 | 166 | | |
| |||
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
| 206 | + | |
204 | 207 | | |
205 | 208 | | |
206 | 209 | | |
| |||
0 commit comments