|
1 | | -[] |
| 1 | +[ |
| 2 | + { |
| 3 | + "severity": "medium", |
| 4 | + "rule_module": "code_safety", |
| 5 | + "type": "expect_in_hot_path", |
| 6 | + "file": "crates/my-lang/src/parser.rs", |
| 7 | + "note": "TRACKED DEBT (hypatia triage 2026-07-27): scanner false positive by name collision — the 157 hits are the parser's own `self.expect(TokenKind)?` Result-returning method, not Option/Result::expect panics. Worth an upstream hypatia rule fix.", |
| 8 | + "expires_at": "2026-10-27", |
| 9 | + "tracking_issue": "hyperpolymath/my-lang#145" |
| 10 | + }, |
| 11 | + { |
| 12 | + "severity": "high", |
| 13 | + "rule_module": "code_safety", |
| 14 | + "type": "unwrap_without_check", |
| 15 | + "file": "crates/my-fmt/src/lib.rs", |
| 16 | + "note": "TRACKED DEBT (hypatia triage 2026-07-27): 26x `write!(self.output, ...).unwrap()` where output is String — fmt::Write to String is infallible, the unwrap can never panic. Candidate mechanical cleanup (w! macro / let _ =).", |
| 17 | + "expires_at": "2026-10-27", |
| 18 | + "tracking_issue": "hyperpolymath/my-lang#145" |
| 19 | + }, |
| 20 | + { |
| 21 | + "severity": "high", |
| 22 | + "rule_module": "code_safety", |
| 23 | + "type": "unwrap_without_check", |
| 24 | + "file": "crates/my-llvm/src/lib.rs", |
| 25 | + "note": "TRACKED DEBT (hypatia triage 2026-07-27): 3x unwrap on get_nth_param/node_weight with indices from iterating the same structure — internal MIR invariants. Convert to expect(\"MIR invariant\") when the crate next compiles against system LLVM (cannot build here without LLVM 21).", |
| 26 | + "expires_at": "2026-10-27", |
| 27 | + "tracking_issue": "hyperpolymath/my-lang#145" |
| 28 | + }, |
| 29 | + { |
| 30 | + "severity": "medium", |
| 31 | + "rule_module": "code_safety", |
| 32 | + "type": "expect_in_hot_path", |
| 33 | + "file": "crates/my-mir/src/lib.rs", |
| 34 | + "note": "TRACKED DEBT (hypatia triage 2026-07-27): 5x deliberate `expect(\"internal error: ...\")` invariant style on petgraph node lookups — panic-on-internal-bug is the crate's chosen failure mode for graph-index corruption.", |
| 35 | + "expires_at": "2026-10-27", |
| 36 | + "tracking_issue": "hyperpolymath/my-lang#145" |
| 37 | + }, |
| 38 | + { |
| 39 | + "severity": "medium", |
| 40 | + "rule_module": "code_safety", |
| 41 | + "type": "expect_in_hot_path", |
| 42 | + "file": "crates/my-lang/lib/common/string.rs", |
| 43 | + "note": "TRACKED DEBT (hypatia triage 2026-07-27): single expect whose message carries the totality proof (`digit = num % radix < radix <= 36, so from_digit is total`) — infallible by construction.", |
| 44 | + "expires_at": "2026-10-27", |
| 45 | + "tracking_issue": "hyperpolymath/my-lang#145" |
| 46 | + }, |
| 47 | + { |
| 48 | + "severity": "medium", |
| 49 | + "rule_module": "code_safety", |
| 50 | + "type": "expect_in_hot_path", |
| 51 | + "file": "crates/my-lang/examples/measure_depth.rs", |
| 52 | + "note": "TRACKED DEBT (hypatia triage 2026-07-27): 2x expect in a stack-depth probe example binary — panics are the appropriate failure mode in examples, there is no hot path.", |
| 53 | + "expires_at": "2026-10-27", |
| 54 | + "tracking_issue": "hyperpolymath/my-lang#145" |
| 55 | + }, |
| 56 | + { |
| 57 | + "severity": "medium", |
| 58 | + "rule_module": "structural_drift", |
| 59 | + "type": "SD022", |
| 60 | + "file": "docs/wiki/language/modules.md", |
| 61 | + "note": "TRACKED DEBT (hypatia triage 2026-07-27): `src/utils/` here is an ILLUSTRATIVE user-project layout in the module-system documentation (how `mod utils;` resolves in a my-lang project), not a reference to this repo's tree. Rewording would degrade the docs; scoped suppression is correct.", |
| 62 | + "expires_at": "2026-10-27", |
| 63 | + "tracking_issue": "hyperpolymath/my-lang#145" |
| 64 | + } |
| 65 | +] |
0 commit comments