Repository navigation
impl(043): increment 11, comparison with the source - #427
Conversation
AI review (findings)Reviewing the PR for bugs, security issues, and inconsistencies. Structural review The PR wires in spec 026's
Concrete defect In CaseInput::Unavailable { .. } => {}This arm silently accepts unavailable cases instead of refusing them. The spec text added by this same PR (increment 11, The test The practical consequence: a caller that sets {"head": "0ac57447b0ebad6124a4ba38e644dd02878e4b37", "verdict": "findings", "findings": [{"path": "crates/rustev-live/src/run.rs", "line": null, "summary": "CaseInput::Unavailable is silently accepted in the compare_with_source validation loop instead of being refused, contradicting the spec text (increment 11) which states prepare must refuse live-config when any input is not a retained bundle."}]}Subject: f94b716...0ac5744, diff digest 332ff5901e0977d100f87bc7b6937a192593af25563c56225a28dfdcab0c83e6, 1 call(s). An AI comment is not an approval. |
With compare_with_source, a retained bundle input is linked as the historical case and spec 026's comparison completes each case's live document; a changed proposal is live-diverged.
0ac5744 to
a4affdc
Compare
AI review (no-findings)Reviewing the PR, which wires source-bundle comparison (spec 026's Validation in The three-way identity check ( String-length validation: Execution path The Flag guard The Spec consistency The spec.md increment 11 description matches the code: comparison context validated in No bugs, security problems, or spec inconsistencies found. {"head": "a4affdcdd71000808ae24996e9eb354cbae5df58", "verdict": "no-findings", "findings": []}Subject: f94b716...a4affdc, diff digest b5e97e4d1efee10299001fc24bb3bf3820251f99d6e89411b8a04eb03265b0b9, 1 call(s). An AI comment is not an approval. |
Summary
Spec 043, increment 11: comparison with the source (3.2.1
compare_with_source, 3.9.3).compare_with_source, a retained bundle input passes itsHistoricalLinktoreexecute_live_with_gate. After the live result, spec 026's ownrustev_eval::live::compare_liveandwith_comparisoncomplete the case's live document's comparison: a changed proposal islive-diverged, and the item is still completed.RunSpecmember.preparerefuseslive-configwhen the flag is set without it, when a bundle's stated identity differs from its recomputed link, or when an input is not a retained bundle.runandsuppliesare never read as the new judgment (section 5).rustev-liveispublish = false; no published type changes.Spec: a dated increment 11 paragraph in the 043 implementation record.
Verification
cargo test -p rustev-live --locked(full), clippy-D warningsonrustev-livewith and without--features fault-injection,cargo fmt --all --check,make gate,scripts/check-authored-content.sh.