Skip to content

Commit 0cf46ee

Browse files
fix(audits): make panic-attack suppressions fire (refs #187) (#300)
Fixes #187 ## Problem panic-attack's registry loader (`load_user_classifications`, `src/assail/mod.rs`) reads the classification registry from `<project_root>/audits/assail-classifications.a2ml` (or `.panic-attack-classifications.a2ml`) only. Echidna kept its registry at `reports/audits/`, so all 22 classification entries (16 pre-existing + 6 added in #186) were inert — the only suppressions firing were kanren structural ones. ## Why a move (issue option 2) rather than a workflow input The pinned reusable workflow (`hyperpolymath/panic-attack/.github/workflows/scan-and-report.yml@1c38f33`) exposes a single input, `repo_path` — the **scan root**, default `.` — and no separate classifications-path input. There is nothing to point at `reports/audits/` without also moving the scan root. So the least-duplication fix is `git mv reports/audits audits`. This also makes the registry self-consistent: `assail-classifications.a2ml` and `audit-pa021-axioms-2026-05-26.md` already cross-reference `audits/audit-ffi-boundary.md` / `audits/assail-classifications.a2ml` — paths that were dangling at the old location. Pure 100%-similarity rename of 3 files; no content changes. The only other in-repo mention of `reports/audits` is the historical issue-tracker entry in `.machine_readable/6a2/STATE.a2ml` (a record of #187's title, left as-is). ## Verification Built panic-attack from source and ran `assail` against both layouts: | Layout | weak_points | suppressed | |---|---|---| | pre-fix (`reports/audits/`) | 33 | 9 (kanren structural only) | | post-fix (`audits/`) | 33 | **22** | The 13 newly suppressed findings are exactly the classified FFI-boundary surfaces: `src/interfaces/{graphql,grpc,rest}/ffi_wrapper.rs` (×2 each), `ffi/zig/src/{boj,overlay,typell}.zig`, `src/rust/ffi/spark_axiom.rs`, `src/zig/ffi/axiom_spark_bridge.zig`, `src/zig_ffi/chapel_bridge.zig`, `src/rust/coprocessor/flint.rs`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent dc7fe83 commit 0cf46ee

3 files changed

File tree

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)