Commit 0b6441a
committed
chore(governance): clear 12 trusted-base false-positive escape hatches
The estate's check-trusted-base.sh (standards#203) flagged 12 markers on
main since #112 (2026-05-28) — all 12 are detector-pattern false
positives, structurally identical to the believe_me FP audit recorded
in docs/PROOF-NEEDS.md §"believe_me audit (2026-05-18)" (21 hits, zero
real escapes).
Resolution:
* 10 Rust hits across 4 files are pattern-detector tables. Each holds a
`Vec<DangerousPattern>` (or equivalent) that *enumerates* the very
`unsafePerformIO` / `unsafeCoerce` / `Obj.magic` strings the scanner
is hunting. The scanner's naive substring grep can't tell "uses the
pattern" from "names the pattern in a detector table". Added a new
`.trusted-base-ignore` (whole-path exemption, format mirrors the
scanner's documented spec) covering the four files:
- src/rust/verification/axiom_tracker.rs
- crates/echidna-core-spark/src/axiom_tracker.rs
- src/rust/corpus/agda.rs
- src/rust/corpus/idris2.rs
* 2 Agda postulates are real well-justified axioms:
- `funext` (function extensionality) in proofs/agda/Basic.agda
- `Conflicts` (abstract parameter) in proofs/agda/SoundnessPreservation.agda
Both already had INTENTIONAL AXIOM / INTENTIONAL PARAMETER prose
documentation, but outside the script's 5-line preceding-marker
window. Added an `-- AXIOM:` / `-- TRUSTED:` magic-word line
immediately before each `postulate` so the scanner sees it.
Effect: `governance / Trusted-base reduction policy` should now report
[OK] (12 markers exempted via .trusted-base-ignore + inline magic), up
from the 12/12 undocumented failure on main.
Refs: #92 (broader baseline failures, this PR addresses the
trusted-base slice only).1 parent 802e8c8 commit 0b6441a
3 files changed
Lines changed: 39 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
0 commit comments