-
-
Notifications
You must be signed in to change notification settings - Fork 0
Split Rust/FFI/proof safety alerts by runtime, memory, proof, and test-only risk #239
Copy link
Copy link
Open
Labels
feeds:valence-shellFeeds valence-shell's proofs/engineering (D127): judge progress by what it contributes thereFeeds valence-shell's proofs/engineering (D127): judge progress by what it contributes thereperformanceThroughput, latency, memory, binary sizeThroughput, latency, memory, binary sizepriority:p2Normal - queue itNormal - queue itscope:repoConfined to this repositoryConfined to this repositorystatus:readyFully specified and ready to be picked upFully specified and ready to be picked up
Description
Activity
Metadata
Metadata
Assignees
Labels
feeds:valence-shellFeeds valence-shell's proofs/engineering (D127): judge progress by what it contributes thereFeeds valence-shell's proofs/engineering (D127): judge progress by what it contributes thereperformanceThroughput, latency, memory, binary sizeThroughput, latency, memory, binary sizepriority:p2Normal - queue itNormal - queue itscope:repoConfined to this repositoryConfined to this repositorystatus:readyFully specified and ready to be picked upFully specified and ready to be picked up
Failure type
echidnahas mixed Rust/FFI/proof safety alerts that need triage by risk class, not a single generic code-safety bucket.Evidence
On 2026-06-06, open Hypatia code-safety alerts include:
unwrap_without_checkunwrap_dangerous_defaultexpect_in_hot_pathunsafe_blockas_ptrzig_ptr_castlock_unwrapfrom_rawagda_postulatepanic_macromem_forgetExamples touch production-looking Rust server/prover/FFI paths as well as tests and proof/FFI boundary code.
Expected behavior
Split into sub-buckets:
from_raw,mem_forget, Zig pointer casts;Route
panicbot: runtime crash/availability review.echidnabot: proof/FFI soundness review.rhodibot: mechanical refactors only after tests prove behavior.Safety notes
No estate-wide auto-rewrite. Replacing
unwrap()with default values can silently corrupt proof/prover behavior. Each production finding should either propagate an error, prove invariant preconditions, or carry a local suppression rationale.Acceptance criteria