Skip to content

Test total and partial Aeneas contract semantics - #3828

Open
joshlf wants to merge 1 commit into
G7q2xz2bs5ln4dfgckfspk2us4dhjperwfrom
Gmokoduvrhwmesqj7moerqxqv6jjz63e5
Open

joshlf wants to merge 1 commit into
G7q2xz2bs5ln4dfgckfspk2us4dhjperwfrom
Gmokoduvrhwmesqj7moerqxqv6jjz63e5

Conversation

@joshlf

@joshlf joshlf commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Pin the execution guarantees independently of the specification macro.
Add kernel-checked examples for successful returns, named assumptions,
tuple results, generic modeling providers and dependent ghosts.

Total contracts reject panic and divergence even with postcondition True.
Partial contracts permit divergence but reject panic, wrong successful
results and decoder-rejected outputs. Keep Rust None and Err payloads
distinct from decoding rejection and execution failure.

Authored by an AI agent acting on joshlf's behalf.


Latest Update: v31 — Compare vs v30

📚 Full Patch History

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

Version v30 v29 v28 v27 v26 v25 v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v31 v30 v29 v28 v27 v26 v25 v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v30 v29 v28 v27 v26 v25 v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v29 v28 v27 v26 v25 v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v28 v27 v26 v25 v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v27 v26 v25 v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v26 v25 v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v25 v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v24 v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v23 v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v22 v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v21 v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v20 v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v19 v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v18 v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v17 v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v16 v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v15 v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v14 v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v13 v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v12 v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v11 v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v10 v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v9 v8 v7 v6 v5 v4 v3 v2 v1 Base
v8 v7 v6 v5 v4 v3 v2 v1 Base
v7 v6 v5 v4 v3 v2 v1 Base
v6 v5 v4 v3 v2 v1 Base
v5 v4 v3 v2 v1 Base
v4 v3 v2 v1 Base
v3 v2 v1 Base
v2 v1 Base
v1 Base
⬇️ Download this PR

Branch

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

Checkout

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

Cherry Pick

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

Pull

git pull origin refs/heads/Gmokoduvrhwmesqj7moerqxqv6jjz63e5

Stacked PRs enabled by GHerrit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-08T10:22:09.227466Z 43af7f6 PR opened
🔒 Security Review ✅ Completed 2026-10-08T10:22:23.606601Z 43af7f6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov-commenter

codecov-commenter commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (G7q2xz2bs5ln4dfgckfspk2us4dhjperw@2592efc). Learn more about missing BASE report.

Additional details and impacted files
@@                         Coverage Diff                          @@
##             G7q2xz2bs5ln4dfgckfspk2us4dhjperw    #3828   +/-   ##
====================================================================
  Coverage                                     ?   59.57%           
====================================================================
  Files                                        ?       25           
  Lines                                        ?     3874           
  Branches                                     ?        0           
====================================================================
  Hits                                         ?     2308           
  Misses                                       ?     1566           
  Partials                                     ?        0           

☔ 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.

@joshlf
joshlf force-pushed the G7q2xz2bs5ln4dfgckfspk2us4dhjperw branch from 67c95e6 to 4abe904 Compare October 14, 2026 21:43
@joshlf
joshlf force-pushed the Gmokoduvrhwmesqj7moerqxqv6jjz63e5 branch from 3d9d5a3 to 1e68811 Compare October 14, 2026 21:43
@joshlf
joshlf force-pushed the Gmokoduvrhwmesqj7moerqxqv6jjz63e5 branch from 1e68811 to d2b9611 Compare October 15, 2026 00:40
@joshlf
joshlf force-pushed the G7q2xz2bs5ln4dfgckfspk2us4dhjperw branch from 4abe904 to c8ead9d Compare October 15, 2026 00:40
@joshlf
joshlf force-pushed the Gmokoduvrhwmesqj7moerqxqv6jjz63e5 branch from d2b9611 to e0a8785 Compare October 15, 2026 01:19
@joshlf
joshlf force-pushed the G7q2xz2bs5ln4dfgckfspk2us4dhjperw branch from c8ead9d to 7c36edd Compare October 15, 2026 01:19
@joshlf
joshlf force-pushed the Gmokoduvrhwmesqj7moerqxqv6jjz63e5 branch from e0a8785 to e111e75 Compare October 15, 2026 04:53
@joshlf
joshlf force-pushed the G7q2xz2bs5ln4dfgckfspk2us4dhjperw branch from 62751b3 to a6e53dd Compare October 15, 2026 14:22
@joshlf
joshlf force-pushed the Gmokoduvrhwmesqj7moerqxqv6jjz63e5 branch from e111e75 to 329aeac Compare October 15, 2026 14:22
Pin the execution guarantees independently of the specification macro.
Add kernel-checked examples for successful returns, named assumptions,
tuple results, generic modeling providers and dependent ghosts.

Total contracts reject panic and divergence even with postcondition True.
Partial contracts permit divergence but reject panic, wrong successful
results and decoder-rejected outputs. Keep Rust None and Err payloads
distinct from decoding rejection and execution failure.

gherrit-pr-id: Gmokoduvrhwmesqj7moerqxqv6jjz63e5
Agent-authored-by: AI agent acting on joshlf's behalf

This branch has not been deployed

No deployments
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