Repository navigation
Expand file tree
/
Copy path.trusted-base-ignore
More file actions
46 lines (43 loc) · 3.49 KB
/
Copy path.trusted-base-ignore
File metadata and controls
46 lines (43 loc) · 3.49 KB
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
37
38
39
40
41
42
43
44
45
46
# .trusted-base-ignore — whole-path exemptions for the trusted-base scanner
# (hyperpolymath/standards check-trusted-base.sh).
#
# Format: each non-comment, non-blank line is a path-fragment substring that
# exempts every marker whose file path contains the fragment.
#
# Use sparingly. Per-site `TRUSTED:`/`AXIOM:` comments remain the preferred
# mechanism for one-off documented escapes; this file is for whole-path
# exemptions where the file's *entire purpose* is to talk about the patterns
# the scanner detects (so every occurrence is a string literal, not a use).
# ─────────────────────────────────────────────────────────────────────────────
# Pattern-detector tables (NOT uses of the patterns themselves)
# ─────────────────────────────────────────────────────────────────────────────
# Each of the files below holds a `Vec<DangerousPattern>` (or equivalent)
# that enumerates the very `unsafePerformIO`/`unsafeCoerce`/`believe_me`
# string literals the scanner is hunting for. The scanner's naive
# substring grep cannot distinguish "uses the pattern" from "names the
# pattern in a detector table", so every entry shows up as a false
# positive. Same FP class as the `\bbelieve_me\b` Idris2 audit recorded
# in docs/PROOF-NEEDS.adoc §"believe_me audit (2026-05-18)".
#
# These files are the *implementation* of the trust-pipeline's
# axiom-tracker — they're proof infrastructure, not proof escapes.
src/rust/verification/axiom_tracker.rs
crates/echidna-core-creusot/src/axiom_tracker.rs
# ─────────────────────────────────────────────────────────────────────────────
# Hazard-classification helpers in the corpus extractor (NOT uses)
# ─────────────────────────────────────────────────────────────────────────────
# `corpus/agda.rs`, `corpus/idris2.rs` and `corpus/fstar.rs` each run a
# single-line `if text.contains("unsafePerformIO" / "unsafeCoerce" / "Obj.magic"
# / "admit" / ...)` to flag corpus entries that *contain* those patterns.
# Same FP class — the substring is a hazard sentinel, not an escape hatch.
src/rust/corpus/agda.rs
src/rust/corpus/idris2.rs
src/rust/corpus/fstar.rs
# ─────────────────────────────────────────────────────────────────────────────
# Test corpus fixtures (sample prover inputs, NOT trust-kernel proofs)
# ─────────────────────────────────────────────────────────────────────────────
# `tests/corpus_fixtures/` holds sample source files fed to the corpus
# extractors as test inputs — e.g. a minif2f Lean problem stubbed with `sorry`,
# an F* smoke file with `assume val oracle`. They exercise the scanner; they are
# not proof obligations in the trusted base.
tests/corpus_fixtures/