feat: bootstrap rivet verification scaffolding, seed hazard analysis for #37 - #40
Merged
Merged
Conversation
…for #37 rules_rocq_rust had no rivet project. Initializes one (stpa + dev schemas) and seeds the top of the V so #37 (add Flocq/Gappa/Coq-Interval for machine-checked FP error-bound proofs) can be driven through the feature loop with traceability from commit one: - STPA: the loss is a false "verified" signal from this toolchain propagating into a downstream safety case (e.g. relay's flight-math kernels). H-001 generalizes an already-fixed failure class (the smpl .vo version mismatch in PR #30, the rocq_library -Q path issue in #35). H-002 is the new risk #37 introduces: trusting a Gappa-emitted proof certificate without replaying it through the Rocq kernel. - REQ-001/DD-002 document the existing mechanism (Bazel action-failure semantics + explicit Rocq-version pinning) that already satisfies the general constraint. - REQ-002/DD-001/FEAT-001 capture #37's own technical assessment (Gappa for rounding, Coq-Interval for approximation, Flocq underneath, every Gappa certificate kernel-replayed) as the accepted design. rivet validate passes; remaining warnings are expected (no test artifacts yet — this is the scaffold, not the implementation). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011MptgyfLZuHYCbfpq1zDey
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rules_rocq_rusthad no rivet project. This initializes one (stpa+devschemas) and seeds the top of the V so Toolchain: add Flocq + Gappa + Coq-Interval to enable machine-checked floating-point error-bound proofs #37 (add Flocq/Gappa/Coq-Interval for machine-checked FP error-bound proofs) can be driven through the feature loop with traceability from commit one..voversion mismatch in PR chore: upgrade Rocq 9.0 → 9.1 #30, therocq_library-Qpath issue in fix(rocq_library): add self -Q even when out_dir is parent of dep paths #35). H-002 is the new risk Toolchain: add Flocq + Gappa + Coq-Interval to enable machine-checked floating-point error-bound proofs #37 introduces: trusting a Gappa-emitted proof certificate without replaying it through the Rocq kernel.Test plan
rivet validatepasses (0 errors, 1 expected warning class — no test artifacts yet, this is the scaffold not the implementation)Relates to #37
🤖 Generated with Claude Code
https://claude.ai/code/session_011MptgyfLZuHYCbfpq1zDey