Skip to content

Revise unsafe Rust skill to V2 after V1 evaluation failures - #3522

Open
joshlf wants to merge 1 commit into
G3y45zv35fuuyeejc26bftqdd33lqz2ohfrom
Gxw7ewqzcrigbrgikdrjkmx2nnotda4uz
Open

Revise unsafe Rust skill to V2 after V1 evaluation failures#3522
joshlf wants to merge 1 commit into
G3y45zv35fuuyeejc26bftqdd33lqz2ohfrom
Gxw7ewqzcrigbrgikdrjkmx2nnotda4uz

Conversation

@joshlf

@joshlf joshlf commented Aug 3, 2026

Copy link
Copy Markdown
Member

Translate the V1 evaluation failures into general proof rules rather than
adding fixture-specific hazard trivia.

Require CONTRACT-BROKEN to have a valid UB-free falsifying execution. An
execution that contains UB may prove UNSOUND, but it cannot establish a defined
observation before or after the UB; without a separate UB-free witness, the
corresponding behavioral promise remains UNPROVED.

Require an explicit supported toolchain and configuration predicate, preserve
conflicting controlling policy sources, distinguish a conservative audit domain
from the project's unresolved support promise, and reject an earliest version,
CI sample, or convenient policy interpretation as proof of the whole domain.

Forbid promotion of one constructor, conversion, deserializer, or other
producer's precondition into a universal invariant of its output type. Require
an authoritative universal premise, enforced construction-and-preservation
closure, a verified theorem or explicit TCB premise, or a derivation specific
to the values actually consumed.

Strengthen literal-clause closure, full supported-domain composition, and
boundary and adversarial falsification before PROVED. Update the report
template and proof, configuration, API, and reporting references to carry the
same rules.


Latest Update: v2 — Compare vs v1

📚 Full Patch History

Links show the diff between the row version and the column version.

Version v1 Base
v2 vs v1 vs Base
v1 vs Base
⬇️ Download this PR

Branch

git fetch origin refs/heads/Gxw7ewqzcrigbrgikdrjkmx2nnotda4uz && git checkout -b pr-Gxw7ewqzcrigbrgikdrjkmx2nnotda4uz FETCH_HEAD

Checkout

git fetch origin refs/heads/Gxw7ewqzcrigbrgikdrjkmx2nnotda4uz && git checkout FETCH_HEAD

Cherry Pick

git fetch origin refs/heads/Gxw7ewqzcrigbrgikdrjkmx2nnotda4uz && git cherry-pick FETCH_HEAD

Pull

git pull origin refs/heads/Gxw7ewqzcrigbrgikdrjkmx2nnotda4uz

Stacked PRs enabled by GHerrit.

Translate the V1 evaluation failures into general proof rules rather than
adding fixture-specific hazard trivia.

Require CONTRACT-BROKEN to have a valid UB-free falsifying execution. An
execution that contains UB may prove UNSOUND, but it cannot establish a defined
observation before or after the UB; without a separate UB-free witness, the
corresponding behavioral promise remains UNPROVED.

Require an explicit supported toolchain and configuration predicate, preserve
conflicting controlling policy sources, distinguish a conservative audit domain
from the project's unresolved support promise, and reject an earliest version,
CI sample, or convenient policy interpretation as proof of the whole domain.

Forbid promotion of one constructor, conversion, deserializer, or other
producer's precondition into a universal invariant of its output type. Require
an authoritative universal premise, enforced construction-and-preservation
closure, a verified theorem or explicit TCB premise, or a derivation specific
to the values actually consumed.

Strengthen literal-clause closure, full supported-domain composition, and
boundary and adversarial falsification before PROVED. Update the report
template and proof, configuration, API, and reporting references to carry the
same rules.

gherrit-pr-id: Gxw7ewqzcrigbrgikdrjkmx2nnotda4uz
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.85%. Comparing base (9da9252) to head (df5c1ef).

Additional details and impacted files
@@                        Coverage Diff                         @@
##           G3y45zv35fuuyeejc26bftqdd33lqz2oh    #3522   +/-   ##
==================================================================
  Coverage                              91.85%   91.85%           
==================================================================
  Files                                     20       20           
  Lines                                   6093     6093           
==================================================================
  Hits                                    5597     5597           
  Misses                                   496      496           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants