Repository navigation
Conversation
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 43eb1f396f
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
43eb1f3 to
eb3ab3f
Compare
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: eb3ab3f69b
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
eb3ab3f to
fef1d3c
Compare
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
joshlf
left a comment
There was a problem hiding this comment.
Authored by an AI agent acting on joshlf's behalf.
Gate 2 Independent Cross-Family Review — FINDINGS (tier2a_core_tcb, Round 1)
- Identity:
one:f5e443b33016cc299e74032b222282ddb094673b:7f67530b65940e172c686d67c2d97dcf77bacd10:7122767a4b1dd815d04874a5d6b61bc63325b938ac2ff18f4554802c024b2f2f(base=5f003db450e7,head=fef1d3c1c284,tree=7f67530b6594) - Separation:
author_family=geminivs.reviewer_family=claude - Coverage: 64 inspected, 0 inapplicable, 0 blocked (of 64 changed file(s))
| Seat | Family | Role | Status | Verdict | Findings | Latency |
|---|---|---|---|---|---|---|
seat1 |
claude-frontier-thinking |
tcb_and_api_critic |
completed |
clean |
0 | 3165s |
seat2 |
gemini-frontier-thinking |
tcb_and_spec_critic |
completed |
findings |
1 | 1966s |
seat3 |
gemini-executable-falsifier |
sandboxed_probe_runner |
completed |
findings |
1 | 2836s |
Deduplicated Findings
| ID | Sev | Consensus | Verification | Location | Summary |
|---|---|---|---|---|---|
G2-R1-01 |
P2 | 1 (seat3) | probe_confirmed |
anneal/ci/test_check_minirust_pin.py:63 |
populate_valid_repo preserves read-only source permissions via shutil.copytree, crashing 18 of 21 tests/subtests under read-only source trees. |
G2-R1-02 |
P2 | 1 (seat2) | static_verified |
anneal/correspondence/Anneal/MiniRust/Translate.lean:171 |
translateConst emits ValueExpr.variant payloads typed as unitTy (size 0) for Ordering and scalar-tagged Enum constants instead of their variant's emptySizedTy payload type, violating upstream MiniRust ValueExpr::check_wf. |
G2-R1-01 [P2] (anneal/ci/test_check_minirust_pin.py:63, General / CI test suite (anneal/ci/test_check_minirust_pin.py), probe_confirmed): populate_valid_repo preserves read-only source permissions via shutil.copytree, crashing 18 of 21 tests/subtests under read-only source trees.
- Invariant: CI unit tests in anneal/ci must execute cleanly when staged from read-only source trees, matching the contract enforced by sibling anneal/ci/test_render_correspondence_provenance.py::test_fixture_staging_succeeds_from_readonly_source_tree.
- Evidence: At anneal/ci/test_check_minirust_pin.py:62-68, populate_valid_repo calls shutil.copytree(ANNEAL_ROOT / 'vendor/minirust', vendor_dir) without adding owner-write permissions (unlike _make_tree_writable in anneal/ci/test_render_correspondence_provenance.py:30-54). When ANNEAL_ROOT is mounted read-only (0o444 files / 0o555 dirs), tests modifying vendor_dir (lines 167, 238, 250, 260, 269, 314, 323, 348) raise PermissionError: [Errno 13] Permission denied: 18/21 errors on read-only /work/anneal vs 21/21 OK on a chmod u+rwX copy (while test_render_correspondence_provenance.py passed 6/6 and test_run_anneal_check.py passed 15/15 on the same read-only mount).
G2-R1-02 [P2] (anneal/correspondence/Anneal/MiniRust/Translate.lean:171, Pass 1 (correspondence/ specification & upstream MiniRust semantic fidelity), static_verified): translateConst emits ValueExpr.variant payloads typed as unitTy (size 0) for Ordering and scalar-tagged Enum constants instead of their variant's emptySizedTy payload type, violating upstream MiniRust ValueExpr::check_wf.
- Invariant: Translated MiniRust programs produced by Translate.lean for MiniRustAdmitted inputs must satisfy upstream MiniRust well-formedness (anneal/vendor/minirust/spec/lang/well-formed.md:378-389), which requires ValueExpr::Variant.data to check at exact equality with variant.ty (and Type::Enum::check_wf at well-formed.md:230 requires variant.ty to match the enum size).
- Evidence: Syntax.lean:311-319 defines every variant of orderingTy with payload type emptySizedTy 1 1 (MrType.tuple .nil <1> <1>), and Translate.lean:71-79 (buildEnumVariants) defines every variant of a scalar-tagged fieldless enum with payload type emptySizedTy tagW.byteSize tagW.byteSize. However, Translate.lean:171-173 (.ordering) emits .variant _ (.tuple .nil unitTy) orderingTy and Translate.lean:190 (.enum ety with .scalar tagW tagS) emits .variant dInt (.tuple .nil unitTy) (translateEnumTy ety), where unitTy = MrType.tuple .nil <0> <1> (Syntax.lean:293-294). Under anneal/vendor/minirust/spec/lang/well-formed.md:387-388 (ensure_wf(checked == variant.ty, "ValueExpr::Variant: invalid type")), every translated program containing a valid Ordering or scalar-tagged enum constant—including OracleCert.lean:2950-2962 (progEnumScalarDiscr)—is ill-formed in upstream MiniRust. The mismatch escapes internal validation because mrStmtWellFormed (Translate.lean:990-991) omits ValueExpr type checking and Machine.lean:482-485 discards data's evaluated type in evalValue (.variant ...). Fix: emit emptySizedTy 1 1 at Translate.lean:171-173 and emptySizedTy tagW.byteSize tagW.byteSize at Translate.lean:190.
Non-blocking advisories (P3, not Gate 2 findings)
These notes do not block merge and do not require another Gate 2 round.
G2-R1-A01[P3] (anneal/AGENTS.md:43): Review policy gains the header exemption for vendor/minirust but no routing for MiniRust pin bumps or the LOCKED_MINIRUST_* constants.G2-R1-A02[P3] (anneal/ci/check_minirust_pin.py:1140): The constructive-axiom claim is enforced only by the manual --check-axioms mode, and the required-theorem check also accepts names listed in an export command.G2-R1-A03[P3] (anneal/docs/trust-model.md:71): The row says unlocked MiniRust claim statements are 'guarded by ci/check_minirust_pin.py', but that script checks theorem names only, and the claim modules have no CODEOWNERS rule.G2-R1-A04[P3] (anneal/trusted/cargo-anneal/src/trusted_bundle.rs:184): The receipt note says anneal-audit kernel-replays the MiniRust modules 'against vendor/minirust/UPSTREAM_PIN.json', but anneal-audit never reads that pin.G2-R1-A05[P3] (anneal/trusted/cargo-anneal/src/trusted_bundle.rs:267): The provenance JSON gains a new top-level minirust_upstream object while schema_version stays 1.G2-R1-A06[P3] (anneal/vendor/minirust/spec/lang/step/locks.md:22): Vendored upstream markdown contains one U+00A0 here and two U+02CB characters at spec/lang/syntax.md:102.
Executed Sandbox Probes
seat1git pathspec exclusion semantics: outcome=From cwd=anneal, ':!**/vendor/**' reported both src/bad.rs and vendor/dep/lib.rs; ':(exclude,glob)**/vendor/**' reported only src/bad.rs. Nested x/vendor/y was excluded by both.seat1vendor pin provenance: outcome=30/30 files match the pin and upstream raw content at d821c6e3a3d358fa8a556774dc12b4aa5d0d65ed; manifest digest recomputed and equal; tarball SHA-256 equal to the pinned value; commit is on upstream master.seat1SpecAnchor verification: outcome=58 records, 58 distinct ids, 0 excerpt or symbol failures, minimum excerpt length 25, 11 spec files anchored.seat1head-SHA CI evidence: outcome=116 check runs on fef1d3c1c284503d27a515230c78c9fd1fb0b9e1: 103 success, 13 skipped, 0 failing, including Repository boundary audit, Static checks, Workspace tests and Toolchain setup, packaging & smoke tests.seat3root_manifest_sha256: outcome=passedseat3check_minirust_pin_cli: outcome=passedseat3vendor_minirust_sha256_and_perms: outcome=passedseat3render_correspondence_provenance_cli_and_tests: outcome=passedseat3test_check_minirust_pin_paired_ro_vs_rw: outcome=failedseat3check_todo_git_grep_vendor_pathspec: outcome=passedseat3ci_shell_checks_subset: outcome=passedseat3lean_pure_init_compile_and_ast_preflight: outcome=passedseat3workflow_permissions_auth_secret_containment_checklist: outcome=passed
fef1d3c to
d715e46
Compare
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
joshlf
left a comment
There was a problem hiding this comment.
Authored by an AI agent acting on joshlf's behalf.
Gate 2 Independent Cross-Family Review — CLEAN (tier2a_core_tcb, Round 2)
- Identity:
one:f425035054bf2e51cfd4495840e109d8eff2b67d:be1ad659d4da972053d401e7f09faaa740840433:cf394787334d04dd32423b2a18077eb61da6378898b06eb6b30091053a7c96c7(base=9c5cc713dfc7,head=d715e467b222,tree=be1ad659d4da) - Separation:
author_family=geminivs.reviewer_family=claude - Coverage: 64 inspected, 0 inapplicable, 0 blocked (of 64 changed file(s))
| Seat | Family | Role | Status | Verdict | Findings | Latency |
|---|---|---|---|---|---|---|
seat1 |
claude-frontier-thinking |
tcb_and_api_critic |
completed |
clean |
0 | 481s |
seat2 |
gemini-frontier-thinking |
tcb_and_spec_critic |
completed |
clean |
0 | 1800s |
seat3 |
gemini-executable-falsifier |
sandboxed_probe_runner |
completed |
clean |
0 | 1790s |
No unresolved P0-P2 findings raised across completed seats.
Non-blocking advisories (P3, not Gate 2 findings)
These notes do not block merge and do not require another Gate 2 round.
G2-R2-A01[P3] (anneal/AGENTS.md:43): Policy-file edit (Fuchsia-header exemption extended to vendor/minirust) and the PR's Human review surface block could not be cross-checked because no Review Receipt was in the supplied artifacts.G2-R2-A02[P3] (anneal/correspondence/Anneal/MiniRust/Machine.lean:709): Faithfulness of the transcribed MiniRust machine to the vendored spec is human-audited only; this review spot-checked the Return/StorageDead/BottomOfStack paths and found them faithful, but did not audit the full transcription.
Executed Sandbox Probes
seat3root_manifest_sha256: outcome=passedseat3check_minirust_pin_lean_and_anchors: outcome=passedseat3render_correspondence_provenance: outcome=passedseat3python_ci_unit_tests: outcome=passedseat3ci_shell_checks_and_todo_git_sensitivity: outcome=passedseat3minirust_mutation_sensitivity_probes: outcome=passedseat3repo_hygiene_bidi_headers_links_leaks: outcome=passedseat3lean_4gb_rlimit_probe: outcome=blocked_by_resource_limitseat3check_actions_and_ci_workflow_timeout: outcome=blocked_in_offline_bounded_sandboxseat3workflow_checklist_1_permissions_least_privilege: outcome=passedseat3workflow_checklist_2_triggers_no_unsafe_pr_target: outcome=passedseat3workflow_checklist_3_secret_and_token_containment: outcome=passedseat3workflow_checklist_4_release_publish_protection: outcome=passedseat3workflow_checklist_5_checkout_credentials_and_sha_pinning: outcome=passedseat3workflow_checklist_6_script_injection_prevention: outcome=passedseat3workflow_checklist_7_cache_and_artifact_trust_boundaries: outcome=passedseat3workflow_checklist_8_no_guard_relaxations: outcome=passed
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
|
@codex review |
d715e46 to
c4f5157
Compare
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
joshlf
left a comment
There was a problem hiding this comment.
Authored by an AI agent acting on joshlf's behalf.
Gate 2 Independent Cross-Family Review — CLEAN (tier2a_core_tcb, Round 3)
- Identity:
one:5a3b4a3941d9d0f68c284a9ba8ea0c3c25027f7d:086d26b3ccd835b20fb6ffd056c67c11ce9a6959:cf394787334d04dd32423b2a18077eb61da6378898b06eb6b30091053a7c96c7(base=4b2791214e2f,head=c4f51571b131,tree=086d26b3ccd8) - Separation:
author_family=geminivs.reviewer_family=claude - Coverage: 64 inspected, 0 inapplicable, 0 blocked (of 64 changed file(s))
| Seat | Family | Role | Status | Verdict | Findings | Latency |
|---|---|---|---|---|---|---|
seat1 |
claude-frontier-thinking |
tcb_and_api_critic |
completed |
clean |
0 | 3044s |
seat2 |
gemini-frontier-thinking |
tcb_and_spec_critic |
completed |
clean |
0 | 1398s |
seat3 |
gemini-executable-falsifier |
sandboxed_probe_runner |
completed |
clean |
0 | 1064s |
No unresolved P0-P2 findings raised across completed seats.
Non-blocking advisories (P3, not Gate 2 findings)
These notes do not block merge and do not require another Gate 2 round.
G2-R3-A01[P3] (anneal/ci/check_minirust_pin.py:324): The pin verifier ignores the informational fields tarball_url, commit_date and commit_subject.G2-R3-A02[P3] (anneal/ci/check_minirust_pin.py:1917): The manual axiom mode runs an ambient Lean binary unsandboxed with the caller's environment mostly intact.G2-R3-A03[P3] (anneal/correspondence/Anneal/MiniRust/Machine.lean:632): Dormant stepStatement .setDiscriminant reads and rewrites the full enum byte range rather than writing only tagger slices as in upstream spec/lang/step/statements.md.G2-R3-A04[P3] (anneal/correspondence/Anneal/MiniRustProof.lean:28): The module states every exported theorem is constructive, but no CI job enforces that.G2-R3-A05[P3] (anneal/docs/README.md:100): The docs index still describes the MIR correspondence design doc as anchoring only against vendor/lean-miri.G2-R3-A06[P3] (anneal/docs/trust-model.md:72): The rewritten vendored-model table row drops qualifiers that the base row stated for the lean-miri guarantee.G2-R3-A07[P3] (anneal/trusted/cargo-anneal/src/trusted_bundle.rs:592): Two clauses of the new MiniRust pin validation have no independent negative test in the Rust suite.
Executed Sandbox Probes
seat3root-manifest.sha256 verification: outcome=pass(rc=0)seat3check_minirust_pin live verification: outcome=pass(rc=0)seat3check_minirust_pin unit tests: outcome=pass(rc=0)seat3anneal/ci Python test suites (9 suites): outcome=pass(rc=0)seat3check_pr_hygiene on PR commit range: outcome=pass(rc=0)seat3root ci/check_skills.py and ci unit tests: outcome=pass_with_env_skips(rc=0)seat3Pass 1 static hygiene, 30-file SHA-256 recomputation, Pass 2 Lean boundary scan, provenance parity, and git grep vendor exclusion: outcome=pass(rc=0)seat3Workflow Checklist 1 - Least-privilege permissions: outcome=pass(rc=0)seat3Workflow Checklist 2 - Safe triggers on PR code: outcome=pass(rc=0)seat3Workflow Checklist 3 - Secret and GITHUB_TOKEN containment: outcome=pass(rc=0)seat3Workflow Checklist 4 - Protected release environments: outcome=pass(rc=0)seat3Workflow Checklist 5 - persist-credentials and SHA-pinned actions: outcome=pass(rc=0)seat3Workflow Checklist 6 - Zero shell interpolation script injection: outcome=pass(rc=0)seat3Workflow Checklist 7 - Cache and artifact trust boundaries: outcome=pass(rc=0)seat3Workflow Checklist 8 - No guard relaxations: outcome=pass(rc=0)
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
c4f5157 to
0e77c99
Compare
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0e77c99605
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
0e77c99 to
83553c1
Compare
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
joshlf
left a comment
There was a problem hiding this comment.
Authored by an AI agent acting on joshlf's behalf.
Gate 2 Independent Cross-Family Review — CLEAN (tier2a_core_tcb, Round 4)
- Identity:
multi:ffb97bcc0502ea03421d5cd97e3a9a55c2b5d8ca:83553c14e900d651aa89b7ab807369ec3952f23e(base=ffb97bcc0502,head=83553c14e900,tree=e7f8c4e0c9ed) - Separation:
author_family=geminivs.reviewer_family=claude - Coverage: 64 inspected, 0 inapplicable, 0 blocked (of 64 changed file(s))
| Seat | Family | Role | Status | Verdict | Findings | Latency |
|---|---|---|---|---|---|---|
seat1 |
claude-frontier-thinking |
tcb_and_api_critic |
completed |
clean |
0 | 3035s |
seat2 |
gemini-frontier-thinking |
tcb_and_spec_critic |
completed |
clean |
0 | 1241s |
seat3 |
gemini-executable-falsifier |
sandboxed_probe_runner |
completed |
clean |
0 | 1429s |
No unresolved P0-P2 findings raised across completed seats.
Non-blocking advisories (P3, not Gate 2 findings)
These notes do not block merge and do not require another Gate 2 round.
G2-R4-A01[P3] (anneal/ci/check_minirust_pin.py:118): The required-theorem list locks 20 of the 39 theorem names, leaving out every UB-reachability witness and most return-value witnesses.G2-R4-A02[P3] (anneal/ci/check_minirust_pin.py:324): The pin checker locks commit, tarball digest, file count and manifest digest but not the pin file's own digest, and never inspects tarball_url, commit_date or commit_subject.G2-R4-A03[P3] (anneal/correspondence/Anneal/MiniRust/Machine.lean:620): stepStatement .setDiscriminant reads and writes the full enum byte range instead of writing only the tagger byte slices as in upstream spec/lang/step/statements.md.G2-R4-A04[P3] (anneal/docs/trust-model.md:695): The provenance-record description still lists only the lean-miri commit and pin digest, patched-file digests and correspondence proof digests, and omits the new minirust_upstream block.G2-R4-A05[P3] (anneal/trusted/cargo-anneal/src/trusted_bundle.rs:1011): The fail-closed test exercises a malformed tarball digest but not a malformed manifest digest, so the second operand of the validation guard is untested on the Rust side.
Executed Sandbox Probes
seat3root_manifest_sha256_strict: outcome=passseat3minirust_vendor_pin_sha256: outcome=passseat3render_correspondence_provenance_determinism: outcome=passseat3check_minirust_pin_and_tamper_probes: outcome=passseat3python_ci_unit_suites_in_bwrap: outcome=partialseat3lean_static_hygiene_and_foundation_lock: outcome=passseat3missing_host_tool_checks: outcome=not_runseat3workflow_checklist_1_checkout_head_vs_merge: outcome=naseat3workflow_checklist_2_least_privilege_permissions: outcome=naseat3workflow_checklist_3_persist_credentials_false: outcome=naseat3workflow_checklist_4_action_sha_pinning: outcome=naseat3workflow_checklist_5_untrusted_pr_input_containment: outcome=naseat3workflow_checklist_6_secret_env_containment: outcome=naseat3workflow_checklist_7_cache_poisoning_isolation: outcome=naseat3workflow_checklist_8_pr_target_safety: outcome=na
83553c1 to
49eb573
Compare
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
joshlf
left a comment
There was a problem hiding this comment.
Authored by an AI agent acting on joshlf's behalf.
Gate 2 Independent Cross-Family Review — FINDINGS (tier2a_core_tcb, Round 5)
- Identity:
multi:11bfd2b07cf3646bf578484bbbdfbf427975a466:49eb573ffd499291efd8805b4546bd46c8881f95(base=11bfd2b07cf3,head=49eb573ffd49,tree=bf9c06741b5e) - Separation:
author_family=geminivs.reviewer_family=claude - Coverage: 65 inspected, 0 inapplicable, 0 blocked (of 65 changed file(s))
| Seat | Family | Role | Status | Verdict | Findings | Latency |
|---|---|---|---|---|---|---|
seat1 |
claude-frontier-thinking |
tcb_and_api_critic |
completed |
clean |
0 | 460s |
seat2 |
gemini-frontier-thinking |
tcb_and_spec_critic |
completed |
findings |
1 | 1817s |
seat3 |
gemini-executable-falsifier |
sandboxed_probe_runner |
completed |
findings |
1 | 730s |
Deduplicated Findings
| ID | Sev | Consensus | Verification | Location | Summary |
|---|---|---|---|---|---|
G2-R5-01 |
P2 | 3 (seat1, seat2, seat3) | static_verified |
anneal/trusted/cargo-anneal/src/core/inspect/schema.rs:1495 |
Surviving mutant (replace || with && in the files-key trim check): no test exercises an empty or untrimmed minirust_upstream.files key. |
G2-R5-01 [P2] (anneal/trusted/cargo-anneal/src/core/inspect/schema.rs:1495, Pass 2 §3 (trusted/cargo-anneal) test adequacy, static_verified): Surviving mutant (replace || with && in the files-key trim check): no test exercises an empty or untrimmed minirust_upstream.files key.
- Invariant: New validation guards should have sensitivity tests that fail when the guard is disabled.
- Evidence: Static inspection of
parse_minirust_upstream(anneal/trusted/cargo-anneal/src/core/inspect/schema.rs:1493-1499) andminirust_upstream_provenance_validation_and_unknown_field_tracking(lines 2807-2883), corroborated by the diff mutation pre-pass surviving mutant (replace || with && in parse_minirust_upstream, line 1495 col 34).
Non-blocking advisories (P3, not Gate 2 findings)
These notes do not block merge and do not require another Gate 2 round.
G2-R5-A01[P3] (anneal/trusted/cargo-anneal/src/trusted_bundle.rs:599): The MiniRust pin files-key validation differs across layers: the Rust renderer and Python renderer only reject empty keys, while inspect's schema flags untrimmed keys and check_minirust_pin.py enforces clean relative paths.G2-R5-A02[P3] (anneal/ci/check_minirust_pin.py:118): REQUIRED_EXPORTED_THEOREMS checks theorem names only, so a weakened MiniRust claim-statement body passes CI and relies solely on CODEOWNERS human review.G2-R5-A03[P3] (anneal/correspondence/Anneal/MiniRust/Machine.lean:632): stepStatement.setDiscriminant loads full ty.size bytes whereas upstream encode_discriminant accesses tag offsets onlyG2-R5-A04[P3] (anneal/correspondence/Anneal/MiniRustProof.lean:28): The module docstring asserts every exported theorem uses only {propext, Quot.sound}, but CI never enforces this; anneal-audit permits Classical.choice in correspondence/, and the check is the manual --check-axioms mode.
Executed Sandbox Probes
seat3workflow-yaml-checklist: outcome=passseat3bwrap-root-manifest-check: outcome=passseat3bwrap-check-minirust-pin: outcome=passseat3bwrap-render-correspondence-provenance: outcome=passseat3bwrap-static-hygiene-and-lean-syntax: outcome=passseat3bwrap-check-todo-pathspec-probe: outcome=passseat3bwrap-schema-minirust-key-falsification: outcome=failed_guard_sensitivityseat3bwrap-ci-python-unittests-and-scripts: outcome=passseat3offline-not-executed-heavy-gates: outcome=not_runseat3seat1-probe-1: outcome=confirmed
49eb573 to
686593f
Compare
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
686593f to
426ea49
Compare
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
|
@codex review |
426ea49 to
820010e
Compare
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
Anchor a second, independent operational correspondence witness to
`Trusted.MirAst` and `Trusted.MirSemantics` against a SHA-256-pinned
snapshot of upstream MiniRust (`minirust/minirust@d821c6e3a3d3`), kept
in `correspondence/` so `trusted/lean/` stays unchanged and neither
`correspondence/` nor `vendor/minirust/` is shipped in the user
toolchain archive.
Unlike `Trusted.Correspondence`'s locked claim constants, these witness
statements (`MiniRustForwardSimClaim`, `MiniRustBiFaultEquivClaim`),
admission predicates (`MiniRustAdmitted`, `MiniRustExactAdmitted`), and
the transcribed MiniRust machine reside in unlocked `correspondence/`,
with theorem-name, hygiene, and `SpecAnchor` checks in
`ci/check_minirust_pin.py` and `CODEOWNERS`-gated per-PR human review of
statement bodies. Both admission predicates validate and execute the
call-free entry body `p.bodies[p.entryDefId]` (`call`, `sysrootCall`,
and `coreCall` terminators excluded, so any additional unreferenced
bodies in `p.bodies` are uninvoked). Every `MiniRustAdmitted` input
satisfies the structural `Program::check_wf` subset for `start` and
the entry function (`minirust_admitted_prog_wellFormed`, with a `0`-arg
`1`-ZST `start` function, `initMrMachine` constructing the post-`Call`
two-frame state whose return slot `exitWith` observes,
`ValueExpr::Variant` payload and discriminant typing, no `StorageDead`
on return or argument locals, and unique `Switch` keys), never faults
`.unsupported` in Anneal, and never reaches `StepOutcome.illFormed` in
MiniRust (`minirust_admitted_never_illFormed`).
Because Anneal deinitializes non-ZST `Operand.move` sources and checks
`char`'s Unicode scalar niche while upstream MiniRust evaluates
`ValueExpr::Load` non-destructively and lacks `Type::Char` (so `char`
lowers to `u32`), `OracleCert.lean` separates two constructive claims:
`minirust_forward_sim_holds` over `MiniRustAdmitted` (forward return and
divergence simulation plus contrapositive UB soundness, with strictness
witnesses for `move` and `char`) and `minirust_bi_fault_equiv_holds`
over `MiniRustExactAdmitted` (bidirectional return, UB, and divergence
equivalence over call-free entry-body copy-only, `char`-free,
`Assert`-free, projection-free scalar, overflow-pair, and fieldless-enum
MIR, with monotone allocation in `MrMemory.allocate`).
- Pin 30 upstream MiniRust files (27 `spec/**/*.md` files plus
`LICENSE-APACHE`, `LICENSE-MIT`, and `README.md`) in
`anneal/vendor/minirust/UPSTREAM_PIN.json`. Exempt pinned
`vendor/minirust/` files from Fuchsia headers in `anneal/AGENTS.md`
and exclude `**/vendor/**` from committed-tree `git grep` in
`anneal/ci/check_todo.sh` via `:(exclude,glob)**/vendor/**`, with
committed vendor and clean-tree non-vendor regression tests in
`test_check_todo.py`.
- Add 10 constructive Lean 4 correspondence modules: 9 modules under
`anneal/correspondence/Anneal/MiniRust/` (`Syntax`, `Memory`,
`Machine`, `Anchors`, `Translate`, `Relation`, `OpSim`, `StepSim`,
`OracleCert`) plus `Anneal/MiniRustProof.lean` (58 `SpecAnchor`
records, 23 fuel-checked witnesses, and zero imports of `Miri`,
`Trusted.Correspondence`, `Anneal.MirCorrespondence*`, or
`Anneal.MirWp`).
- Add `anneal/ci/check_minirust_pin.py` and
`test_check_minirust_pin.py`, include `vendor/minirust/` inputs in
`ci/checks.toml` (`anneal-ci-tests`, `anneal-flake-eval`,
`anneal-clippy`, `anneal-sandbox-aarch64`, and
`anneal-installed-smoke`), and register
`/anneal/correspondence/Anneal/MiniRust/`,
`/anneal/correspondence/Anneal/MiniRustProof.lean`, and
`/anneal/vendor/minirust/UPSTREAM_PIN.json` in `.github/CODEOWNERS`.
Tier-0 CI enforces `UPSTREAM_PIN.json` SHA-256 parity against locked
commit, tarball, and manifest constants, Lean hygiene (`<= 3,500`
lines, forbidden imports/tokens, required theorem declarations), and
all 58 `SpecAnchor` symbol and excerpt checks. The `anneal-audit`
correspondence stage sandbox-compiles and kernel-replays all
declarations of the 10 `Anneal.MiniRust*` modules (where
`correspondence/` permits `Classical.choice` because
`vendor/lean-miri` uses it), while `--check-axioms` is a local/manual
mode confirming `{propext, Quot.sound}` purity across all 39 exported
theorems.
- Register the 10 `correspondence/Anneal/MiniRust*` modules and
`vendor/minirust/UPSTREAM_PIN.json` in `trusted_bundle.rs`
(`CORRESPONDENCE_PROOF_PATHS` and `PROVENANCE_SOURCES`), bind and
validate `minirust_upstream` provenance across `trusted_bundle.rs`,
`core/inspect/schema.rs`, `verify_zerocopy.py`,
`test_verify_zerocopy.py`, `render_correspondence_provenance.py`,
`flake.nix` (`root-manifest.sha256`), `run_anneal_check.sh`, and
`anneal-tc.Dockerfile`, and update `README.md`, `architecture.md`,
`mir-correspondence-design.md`, `testing-architecture.md`, and
`trust-model.md`.
Agent-authored-by: AI agent acting on mdittmer's behalf
Human review surface
Review Receipt
Authored by an AI agent acting on mdittmer's behalf. |
|
@codex review |
820010e to
011fc1c
Compare
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
joshlf
left a comment
There was a problem hiding this comment.
Authored by an AI agent acting on joshlf's behalf.
Gate 2 Independent Cross-Family Review — CLEAN (tier2a_core_tcb, Round 6)
- Identity:
one:4c934b3e9a6a9654e5014f9491469d6d675d6098:7775df787b5e9c5204126101e933e5db3bbc27bc:bd308758add3e223cbab0bc21fabee668863a75f4c03238c4047db9f50da401e(base=85efba8b01ff,head=011fc1c93fd3,tree=7775df787b5e) - Separation:
author_family=geminivs.reviewer_family=claude - Coverage: 67 inspected, 0 inapplicable, 0 blocked (of 67 changed file(s))
| Seat | Family | Role | Status | Verdict | Findings | Latency |
|---|---|---|---|---|---|---|
seat1 |
claude-frontier-thinking |
tcb_and_api_critic |
completed |
clean |
0 | 2046s |
seat2 |
gemini-frontier-thinking |
tcb_and_spec_critic |
completed |
clean |
0 | 1230s |
seat3 |
gemini-executable-falsifier |
sandboxed_probe_runner |
completed |
clean |
0 | 2522s |
No unresolved P0-P2 findings raised across completed seats.
Non-blocking advisories (P3, not Gate 2 findings)
These notes do not block merge and do not require another Gate 2 round.
G2-R6-A01[P3] (anneal/ci/check_todo.sh:149): The glob-magic exclusion now also removes vendor/lean-miri from committed-tree TODO scanning; the base pathspec failed to exclude anneal/vendor/** when run from anneal/. The scope change is disclosed and matches the dirty-tree behavior.G2-R6-A02[P3] (anneal/ci/verify_zerocopy.py:2365): minirust_upstream is optional in v1 receipt validation, so the end-to-end receipt check would not catch a cargo-anneal regression that drops the field (the Rust unit tests still assert it).G2-R6-A03[P3] (anneal/correspondence/Anneal/MiniRust/Machine.lean:620): Unused stepStatement .setDiscriminant performs a full-enum mem.load and mem.store instead of writing only tag offsets as in upstream MiniRust.G2-R6-A04[P3] (anneal/correspondence/Anneal/MiniRustProof.lean:27): The module docstring states every exported theorem is constructive (axioms within propext and Quot.sound), but CI does not enforce it; --check-axioms is local/manual and anneal-audit permits Classical.choice in correspondence/.G2-R6-A05[P3] (anneal/trusted/cargo-anneal/src/core/inspect/schema.rs:1574): Receipt inspect parser accepts explicit JSON null for correspondence_provenance.minirust_upstream whereas CI receipt validator rejects it.G2-R6-A06[P3] (anneal/trusted/cargo-anneal/src/trusted_bundle.rs:590): The Rust renderer checks MiniRust pin metadata only for emptiness, while schema.rs and verify_zerocopy.py require trimmed strings and lowercase hex; this is unreachable in CI only because the pin is SHA-locked.
Executed Sandbox Probes
seat1bwrap --unshare-all python3 -I -B ci/check_minirust_pin.py --repo-root . --check-lean --check-anchors: outcome=exit 0: vendor-pin OK (30 files at d821c6e3a3d3) | lean-hygiene OK (10 modules) | spec-anchors OK (58 anchors)seat1bwrap python3 -B -m unittest discover -s ci -p test_check_minirust_pin.py / test_render_correspondence_provenance.py / test_check_todo.py / test_verify_zerocopy.py: outcome=23 / 6 / 7 / 21 tests OKseat1SHA-256 of 30 vendored files vs pin and vs GitHub raw contents at d821c6e3a3d358fa8a556774dc12b4aa5d0d65ed: outcome=0 mismatches; 0 unpinned filesseat1sha256sum --check --strict trusted/root-manifest.sha256 (candidate): outcome=Cargo.toml, Cargo.lock, flake.nix and flake.lock OKseat3check_minirust_pin_tier0: outcome=passedseat3root_tcb_manifest_sha256: outcome=passedseat3ci_python_unittests: outcome=passedseat3check_todo_unittest_and_git_grep_exclusion: outcome=partialseat3vendor_pin_and_provenance_parity: outcome=passedseat3lean_token_hygiene_and_trustedboundary_parity: outcome=passedseat3vendor_minirust_encoding_and_modes: outcome=passedseat3checks_toml_and_dockerfile_parity: outcome=passedseat3lean_compilation_and_axiom_replay: outcome=blockedseat3workflow_checklist_1_permissions: outcome=inapplicableseat3workflow_checklist_2_triggers: outcome=inapplicableseat3workflow_checklist_3_secrets: outcome=inapplicableseat3workflow_checklist_4_environment: outcome=inapplicableseat3workflow_checklist_5_checkout_and_pins: outcome=inapplicableseat3workflow_checklist_6_script_injection: outcome=inapplicableseat3workflow_checklist_7_cache_trust: outcome=inapplicableseat3workflow_checklist_8_guard_relaxation: outcome=inapplicable
|
@joshlf Ready for Gate-5 review and merge at
Authored by an AI agent acting on mdittmer's behalf. |
Anchor a second, independent operational correspondence witness to
Trusted.MirAstandTrusted.MirSemanticsagainst a SHA-256-pinned snapshot of upstream MiniRust (minirust/minirust@d821c6e3a3d3), kept incorrespondence/sotrusted/lean/stays unchanged and neithercorrespondence/norvendor/minirust/is shipped in the user toolchain archive.Unlike
Trusted.Correspondence's locked claim constants, these witness statements (MiniRustForwardSimClaim,MiniRustBiFaultEquivClaim), admission predicates (MiniRustAdmitted,MiniRustExactAdmitted), and the transcribed MiniRust machine reside in unlockedcorrespondence/, with theorem-name, hygiene, andSpecAnchorchecks inci/check_minirust_pin.pyandCODEOWNERS-gated per-PR human review of statement bodies. Both admission predicates validate and execute the call-free entry bodyp.bodies[p.entryDefId](call,sysrootCall, andcoreCallterminators excluded, so any additional unreferenced bodies inp.bodiesare uninvoked). EveryMiniRustAdmittedinput satisfies the structuralProgram::check_wfsubset forstartand the entry function (minirust_admitted_prog_wellFormed, with a0-arg1-ZSTstartfunction,initMrMachineconstructing the post-Calltwo-frame state whose return slotexitWithobserves,ValueExpr::Variantpayload and discriminant typing, noStorageDeadon return or argument locals, and uniqueSwitchkeys), never faults.unsupportedin Anneal, and never reachesStepOutcome.illFormedin MiniRust (minirust_admitted_never_illFormed).Because Anneal deinitializes non-ZST
Operand.movesources and checkschar's Unicode scalar niche while upstream MiniRust evaluatesValueExpr::Loadnon-destructively and lacksType::Char(socharlowers tou32),OracleCert.leanseparates two constructive claims:minirust_forward_sim_holdsoverMiniRustAdmitted(forward return and divergence simulation plus contrapositive UB soundness, with strictness witnesses formoveandchar) andminirust_bi_fault_equiv_holdsoverMiniRustExactAdmitted(bidirectional return, UB, and divergence equivalence over call-free entry-body copy-only,char-free,Assert-free, projection-free scalar, overflow-pair, and fieldless-enum MIR, with monotone allocation inMrMemory.allocate).spec/**/*.mdfiles plusLICENSE-APACHE,LICENSE-MIT, andREADME.md) inanneal/vendor/minirust/UPSTREAM_PIN.json. Exempt pinnedvendor/minirust/files from Fuchsia headers inanneal/AGENTS.mdand exclude**/vendor/**from committed-treegit grepinanneal/ci/check_todo.shvia:(exclude,glob)**/vendor/**, with committed vendor and clean-tree non-vendor regression tests intest_check_todo.py.anneal/correspondence/Anneal/MiniRust/(Syntax,Memory,Machine,Anchors,Translate,Relation,OpSim,StepSim,OracleCert) plusAnneal/MiniRustProof.lean(58SpecAnchorrecords, 23 fuel-checked witnesses, and zero imports ofMiri,Trusted.Correspondence,Anneal.MirCorrespondence*, orAnneal.MirWp).anneal/ci/check_minirust_pin.pyandtest_check_minirust_pin.py, includevendor/minirust/inputs inci/checks.toml(anneal-ci-tests,anneal-flake-eval,anneal-clippy,anneal-sandbox-aarch64, andanneal-installed-smoke), and register/anneal/correspondence/Anneal/MiniRust/,/anneal/correspondence/Anneal/MiniRustProof.lean, and/anneal/vendor/minirust/UPSTREAM_PIN.jsonin.github/CODEOWNERS. Tier-0 CI enforcesUPSTREAM_PIN.jsonSHA-256 parity against locked commit, tarball, and manifest constants, Lean hygiene (<= 3,500lines, forbidden imports/tokens, required theorem declarations), and all 58SpecAnchorsymbol and excerpt checks. Theanneal-auditcorrespondence stage sandbox-compiles and kernel-replays all declarations of the 10Anneal.MiniRust*modules (wherecorrespondence/permitsClassical.choicebecausevendor/lean-miriuses it), while--check-axiomsis a local/manual mode confirming{propext, Quot.sound}purity across all 39 exported theorems.correspondence/Anneal/MiniRust*modules andvendor/minirust/UPSTREAM_PIN.jsonintrusted_bundle.rs(CORRESPONDENCE_PROOF_PATHSandPROVENANCE_SOURCES), bind and validateminirust_upstreamprovenance acrosstrusted_bundle.rs,core/inspect/schema.rs,verify_zerocopy.py,test_verify_zerocopy.py,render_correspondence_provenance.py,flake.nix(root-manifest.sha256),run_anneal_check.sh, andanneal-tc.Dockerfile, and updateREADME.md,architecture.md,mir-correspondence-design.md,testing-architecture.md, andtrust-model.md.Authored by an AI agent acting on mdittmer's behalf.