Skip to content

test(domain): close deferred judgment and enum-domain proof gaps - #12975

Merged
EffortlessSteven merged 10 commits into
mainfrom
codex/12109-domain-proof-contract
Nov 10, 2026
Merged

EffortlessSteven merged 10 commits into
mainfrom
codex/12109-domain-proof-contract

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Current continuation, 2026-11-05: Draft head bd755213fd5a36fa25422f542aecd191a760e2f8 (tree e6ae5165cc93bf051ab771ab21a07bd2ddd0162b) merges main 22eba11598aeb86f645233c9c6741c56f522df63 and relocates this candidate to the landed ripr-contract domain. On this composed tree, pinned Rust 1.95.0 ran the three domain::proof_domains::tests and every_substitute_outcome_has_its_contract_execution_partition (4/4 pass), and cargo check --locked -p ripr-contract --features test-fixtures passed. The current hosted Kani selector and discovery root still name ripr/crates/ripr/src, while these harnesses moved into ripr-contract; assess and repair that coverage path before claiming the lane exercises them. Native Kani, affected-seam review and current hosted qualification remain outstanding. Older source identities and proof epochs below are historical, not results on this head. No formal approval or merge. Prior denied job logs and artifact bytes were not retrieved.

Summary

The deferred #11912 harnesses leave non-Other feedback judgments and the positive satisfaction direction unchecked; their separately maintained arrays can omit an enum variant even after the exhaustive match is updated. This candidate pins each feedback judgment, checks both executed-control predicates as complete partitions, and generates each symbolic domain and exhaustive compiler check from one constructor list.

Current candidate: ae3a0bd55e47effa2e309af4c6bfe7e034e8dc01, tree 3faca2798e822ad1b82c2d5c9b32ac6ab4395752. Source reviewed independently; REVIEW_INCOMPLETE because direct checkout evidence and a fresh live-base read remain unavailable; hosted qualification passed. The change from native-tested 3a27b5a9 is documentation only; all Rust and Cargo inputs are unchanged.

Swarm / Source Boundary

  • repair or follow-up for a same-repo swarm PR

Source-of-truth Links

Proposal: none; the deferred #11912 claim in #12109 governs this evidence repair.
Spec: RIPR-SPEC-0371; retained feedback and executed-control contracts in RIPR-SPEC-0179 and RIPR-SPEC-0183.
ADR: none; no architecture change.
Plan item: #12109, deferred domain-decision proof boundaries.
Governing issue or accepted claim: #12109, #11912 deferred judgment/satisfaction/domain completeness slice.
Acceptance delta (one sentence): Every feedback reason and executed-control scalar state/outcome is checked against explicit expected behavior, and symbolic enum domains reject missing, duplicate or newly unrepresented variants at compilation.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): codex/12109-domain-proof-contract.
Stack parent or prerequisite PR (if any): none; base 075e4e8cab639cbb5c315d8503ee3a494453bff6.
Proposed replacement of PR (if any; not yet accepted): none; this tightens the deferred limits of merged #11912.
Acceptance retained from a replaced candidate (if any): not applicable; no candidate replaced.
Accepted winner and losing candidate disposition (when decided): this is the only candidate found for this exact deferred slice in all-state claim searches. #12926 owns a domain-code move, #12493/#12581 own runner repairs, and the active self-computed-cap lane is untouched.

Scope Classification

  • Docs/spec/test-only evidence package

Production delta: none. A module compiled only under test or kani, plus an ordinary test inside executed-control, leaves production decisions unchanged.

Evidence/support delta: nine guarded enum domains; explicit per-reason oracle; complete satisfaction and outcome oracles; per-constructor covers; four ordinary tests; spec tables, traceability and changelog.

Acceptance and boundaries

Obligation Discriminator
All 25 feedback judgments and note rule Exact expected value for every reason, plus equality of production reason inventory to the compiler-guarded domain.
Satisfaction includes both positives and excludes every negative Explicit equality for Passed, Substituted and each of the four other states, with individual covers.
All eight executed/unexecuted outcomes Explicit partition preserving instrument-unavailable as distinct from an unexecuted substitute; packet admission remains separate.
Exhaustive enum coverage without fabricated values One macro expansion creates constructor arrays and wildcard-free matches; duplicate rows are denied.
Existing domain proofs retain scope Same identity literals, production calls and unwind bounds; new per-constructor reachability checks.

Not claimed: full packet validation, string/serde/hash behavior, whole-program verification, a complete current-main Kani lane, user-facing formal-guard semantics, or any expansion of the 0.11 denominator. This candidate does change the advisory Kani runner and its workflow path filter so each owning package (ripr, ripr-contract) runs under one whole-run deadline; no toolchain-pin changes, publication or deployment.

Proof

  • Independent source review inspected all 11 changed files at the exact candidate, including consumers, oracle independence, enum construction and traceability. No blocking source finding; final integration judgment remains incomplete.
  • Pinned Rust 1.95.0 isolated source controls: four baseline tests pass. All 39 compiled behavioral mutations fail at the intended assertions (25 reasons, six satisfaction states, eight outcomes). All 27 enum-drift controls fail at the generated compiler guard (omitted row, duplicate row, new enum variant across nine domains).
  • These controls compile extracted production declarations and predicate bodies with unchanged candidate oracle/test bytes. Serialization derives and unrelated module dependencies are excluded; they do not establish full-crate integration or packet validation. One initial extraction setup failed before tests because unqualified serde derives remained; the corrected run passes baseline before evaluating controls. The setup failure is not counted as a mutation rejection.
  • Real Kani 0.68.0 / CBMC 6.11.0 / nightly-2026-08-21 on 3a27b5a9408bc06e4db480aa77f226e91f1ecb20: 16 selected / 16 observed / 16 verified, native exit 0, 144/144 reported covers satisfied. Default checks retained, one Cargo build job, incremental off, 180-second per-harness and 1800-second process budgets. Wall time 1316.643s; slowest harness 66.815s. Raw output SHA-256 989983e56768438eb718125d850923b1d8e69017e73eb9e63d2dc03325583ea8. Selected names were reconciled individually with raw native blocks, not inferred from the aggregate.
  • Exact native command: cargo +1.95.0 kani -p ripr --harness domain::feedback::kani_proofs --harness domain::executed_control::kani_proofs --harness domain::causal_delta::kani_proofs --harness domain::probe::kani_proofs -Z unstable-options --harness-timeout 180s --output-format regular. The rust-toolchain pin is unchanged; Kani used its own pinned nightly. An initial launch using an absent /usr/bin/time failed before Kani; the shell-timed invocation above is the successful run.
  • Isolated real Kani experiment, same pin: baseline 3/3 verified. WrongTarget→Useful, missing Passed, missing Substituted, and ordinary positive tests credited as execution each produce native exit 1, the intended failed equality, and all respective 25/25, 6/6, 6/6, 8/8 covers satisfied. These compile extracted real scalar definitions plus unchanged candidate harness/oracle bodies; they are not whole-crate mutation executions. An earlier wrapper import failed compilation before proof; the corrected baseline passed before mutations were judged.
  • Full-crate ordinary Rust integration on ae3a0bd5: cargo +1.95.0 test --locked -p ripr --lib --no-default-features --features lang-rust domain:: exited 0, 374 passed / 0 failed, including all four new tests; 13,379 tests filtered out. Total wall time 1458.54s, test execution 4.90s, peak guarded cgroup anonymous-plus-kernel memory 11,073,986,560 bytes, no guard fired (1800s / 14 GiB / 8 GB disk reserve). This is the Rust-only feature selection, not the default/all-feature hosted matrix. An initial invocation omitted required lang-rust and failed before test execution; it is not counted as test evidence.
  • Independent follow-up checked the three Gemini optimization suggestions against pinned Kani’s assertion macro, which already bypasses formatting and calls kani::assert; all three were evidence-refuted and resolved with readback. CodeRabbit was quota-limited and supplied no substantive review.
  • cargo +1.95.0 xtask check-fast: pass, 14 selected gates on the independently reconciled 11-file diff, including cargo clippy --workspace --all-targets -- -D warnings. Native exit 0, 1327.76s, peak guarded memory 10,267,418,624 bytes, no guard. CLI-help and fixture-contract gates were not selected by this command. The preceding cold attempt hit its 1800-second guard during Clippy after completing policy-fixture builds; it is incomplete, not a pass. The successful retry reused completed artifacts with identical source and unchanged limits.
  • cargo +1.95.0 xtask precommit: pass, native exit 0, 1218.31s, peak guarded memory 4,916,895,744 bytes, no guard. Includes golden checks selected for the domain paths, traceability, architecture/source-role authority, public API, output contracts, repository policies and selected xtask Clippy.
  • worktree doctor: native exit 1 after successfully building xtask; its sole finding was two commits behind the then-current main. AGENTS.md explicitly treats this as local hygiene, not an instruction to chase main. No conflicting domain source was found.
  • cargo +1.95.0 check --locked -p ripr --all-targets --all-features: pass, native exit 0, 1059.69s, peak guarded memory 10,340,831,232 bytes, no guard. Optional-feature warnings are retained; this is compilation, not runtime behavior or warning-clean optional-feature proof.
  • Offline check-pr-shape --body-file using the exact-head built xtask: pass, native exit 0.
  • Independent exact-head follow-up accepted check-fast, precommit and PR-shape evidence, found no new blocking source finding, and found no missing material prerequisite for this scalar-domain claim. All applicable local checks are complete. Hosted qualification passed; direct checkout-composition verification remains unavailable, so no final merge readiness is claimed.
  • Earlier upstream inspection: main e32323aabce8d2a467d1606412f442bf4779fd8a has unrelated analysis/configuration, wording and history-sync-route changes. No candidate path overlaps; merge-base remains 075e4e8c and the selected 11-file diff is unchanged. A fetch refreshed origin/main during the final precommit follow-up; selector invariance was explicitly checked. Local merge simulation exits 0, tree 9007b56165bc856b223eac428bc57b867ab5fe7f; this is not native hosted proof. Observed remote PR merge commit 40262c1c7aff08a652edea6b109daa61c7d6c1f0, tree 06990b3f88ec142debe703ae5ac8de9d53790a0b, still has parents 73226d894fae0214cf21a15cb7e555b57e27a4d2 then ae3a0bd55e47effa2e309af4c6bfe7e034e8dc01. Current hosted composition remains to be established before merge.
  • Raw native and mutation evidence retained in local archive RIPR-12975-native-proof-evidence-3a27.zip, 76,836,874 bytes, SHA-256 94cbceb7e5da3a0f304513c5acc698777cd201bba58dfb5f9e73f418850816ff. Archive manifest and every entry were checksum-verified. Library persistence failed at helper tools/list network access before upload; no durable Library save is claimed.

Changelog disposition

changelog.d/12109-domain-proof-contract.md follows changelog.d/README.md: first-line Changed marker, bullet and trailing #12109 reference. It states the retained bounds and non-claims.

Spec-Test-Code Traceability

  • Spec: SPEC-0371 domain obligations, SPEC-0179 explicit reason table, SPEC-0183 existing claim/evidence distinction.
  • Tests/code: .ripr/traceability.d/12109-domain-proof-contract.toml registers all four ordinary tests and the shared oracle/harness owners.
  • Golden outputs: unchanged; production outputs and schemas are unchanged.
  • Metrics: targeted proof/test evidence only; no release or support denominator change.

Rollback

Revert this evidence-only commit; no persisted product state or registry action exists.

CI Economics

No required-check changes; the advisory Kani workflow gains a crates/ripr-contract/src/** path filter and the runner invokes Kani once per owning package. Existing Kani lane gains per-constructor cover obligations within the same harness count. Targeted local verification records its own subject and limits; hosted qualification remains separate.

Continuation

Owner / governing claim: Codex owning lane for #12109 deferred #11912 scalar-domain proof gaps; continue this PR and branch.
Candidate: #12975 / ae3a0bd55e47effa2e309af4c6bfe7e034e8dc01 / reviewed base 075e4e8c, tree 3faca2798e822ad1b82c2d5c9b32ac6ab4395752; observed GitHub merge subject 40262c1c7aff08a652edea6b109daa61c7d6c1f0 on older base 73226d894.
Review: independent exact-head source and native-evidence inspection complete; native COMMENT source attestation, not formal approval. Final merge review remains incomplete due to unavailable direct checkout identity and latest live-base refresh.
Validation: all local commands and boundaries above remain valid. Qualification run 41823403205, attempt 2 completed successfully: exact-candidate admission, Rust gates, all four test shards, combined shard verifier 126583224277, and required Rust Result 126583392561 passed. Attempt 1 failed the absent native source-review marker before Rust execution; the completed substantive review was posted as COMMENT and only failed jobs were retried. No label reapplication or duplicate run. Hosted Kani also passed; its artifact contents were not inspected and are separate from the retained local 16-harness proof.
Dependency: final independent exact-head disposition is REVIEW_INCOMPLETE. Source review is clear, but observed integration checkout identity is unavailable. Native workflow-source metadata and successful combined verification support inferred composition and internal consistency, not an observed checkout SHA/parents/tree. Job-log storage access was denied; provider artifact-byte retrieval was denied HTTP 403 before bytes arrived. Neither denied route was retried or replaced with an alternate access route. A fresh git fetch origin main at 2026-11-04T12:48:47Z failed because Git could not obtain HTTPS credentials; last successfully inspected main is 7c4e2095f2c7f267d10640cae9e031c48a55fae5, and subsequent movement is unknown. No credential changes were attempted. Library persistence also failed before upload; local evidence remains retained.
Next: obtain permitted direct checkout evidence and restore ordinary live-base inspection, then refresh independent exact-head judgment and applicable current checks before normal protected expected-head merge. No merge, formal approval, or guard invocation occurred. The workflow tuple remains independently established as unsupported by the guard and reported on #12817; no allowlist change or bypass. Local worktree, pinned tools, raw evidence and checksum-verified archive are retained for this concrete continuation. No local build remains active. No 0.11 denominator expansion, package publication, or deployment.

Current-head note (2026-11-10): earlier proof results on historical heads do not establish the ripr-contract Kani invocation on the current head; hosted qualification of the exact head is the applicable evidence.


Generated by Claude Code

@coderabbitai

coderabbitai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 20 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 151 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: dc99f90f-aa2e-44eb-a9d7-efaf278995a4
Commits

Reviewing files that changed from the base of the PR and between 786efbb and bfa8930.

Files selected for processing: 18

  • .github/workflows/kani.yml
  • .ripr/traceability.d/12109-domain-proof-contract.toml
  • changelog.d/12109-domain-proof-contract.md
  • crates/ripr-contract/src/domain/causal_delta_kani.rs
  • crates/ripr-contract/src/domain/executed_control.rs
  • crates/ripr-contract/src/domain/executed_control_kani.rs
  • crates/ripr-contract/src/domain/feedback_kani.rs
  • crates/ripr-contract/src/domain/mod.rs
  • crates/ripr-contract/src/domain/probe_kani.rs
  • crates/ripr-contract/src/domain/proof_domains.rs
  • crates/ripr/src/analysis/language/python/python_tests.rs
  • docs/CI.md
  • docs/specs/RIPR-SPEC-0179-local-usefulness-feedback-receipts.md
  • docs/specs/RIPR-SPEC-0371-kani-bounded-model-checking-lane.md
  • policy/ci-lane-whitelist.toml
  • xtask/src/command.rs
  • xtask/src/kani_lane.rs
  • xtask/tests/kani_lane_process.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

gemini-code-assist[bot]

This comment was marked as resolved.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review November 4, 2026 11:44
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

reviewed_head_sha: ae3a0bd
integration_basis: 075e4e8; candidate tree 3faca2798e822ad1b82c2d5c9b32ac6ab4395752.

Inspected all 11 changed files, production scalar contracts and callers, explicit expected-value tables, the single-list exhaustive enum guards, Kani reachability, ordinary tests, specifications, traceability and changelog. Independent proof_oracle_review inspection audited exact source and raw evidence. No blocking source finding identified. Three optimization suggestions were refuted against pinned Kani's formatting-free assertion macro and measured native results; replies and resolutions were read back.

Validation: real pinned Kani 16/16 selected harnesses verified and 144/144 covers; extracted-source Rust baseline plus 39 behavioral and 27 enum-drift controls discriminate intended defects; extracted native Kani baseline 3/3 and four adverse cases distinguish wrong behavior. Full-crate lang-rust domain tests 374/374; check-fast (14 gates, strict workspace Clippy), precommit (including goldens and selected Clippy), all-target/all-feature compilation and offline PR-shape all exited 0. Exact commands, source identities, raw-log hashes, setup failures and timeout/retry accounting are in the PR proof record.

Limits: scalar-domain proof, not full packet validation, serialization or whole-program verification. Optional-feature warnings remain; all-feature compilation is not runtime coverage. The 0.11 denominator is unchanged. Current main e32323a has no overlapping candidate paths; merge base and selected diff remain unchanged, and local merge simulation is clean. No missing material prerequisite for this scalar-domain claim was identified. Observed GitHub merge subject 40262c1 remains on base 73226d8; actual hosted checkout identity and required hosted results are still pending. Final merge judgment will use those results and current findings. This is source-inspection commentary; no formal approval is submitted.

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

merge-ready is set, but this PR conflicts with main (head ae3a0bd5), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bounded source review — 2026-11-05 UTC

  • reviewed_head_sha: ae3a0bd55e47effa2e309af4c6bfe7e034e8dc01.
  • integration_basis: Current PR base 73226d894fae0214cf21a15cb7e555b57e27a4d2; authored patch and immutable candidate source. No new combined-tree qualification.
  • claim_boundary: test(domain): close deferred judgment and enum-domain proof gaps
  • changed_surfaces_and_semantic_owners_inspected: Read complete domain proof/test delta: exhaustive_domain constructor arrays/exhaustive matches, independent judgment/evidence mappings, Kani coverage harnesses and ordinary unit counterparts. Reviewed three resolved optimization suggestions with pinned Kani behavior replies. Product behavior unchanged. Reports of native and hosted proof not independently rerun.
  • blocking_findings: No additional actionable source finding established within this inspection. Existing review constraints and known proof gaps remain.
  • non_blocking_suggestions: None added.
  • refuted_or_stale_findings: Existing thread dispositions retained; specific source-verified repairs or deferrals are described above. No thread is resolved by this review.
  • proof_and_ci_observed: Immutable source and changed tests inspected; no native test or hosted-log execution proof established in this pass.
  • proof_or_review_missing: No new workspace build or qualification executed. Author command/run reports are reported only. Integration and final merge qualification not established.
  • affected_currentness_dimensions: Source, test stimulus/oracle and producer-consumer claims bind to the head above. Historical execution remains bound to its original subject; no fresh base-composition or cross-platform execution is implied.
  • residual_assumptions_and_non_claims: Source reading and author reports are not new native passes. Existing Draft/hold boundaries remain; this is not merge clearance.
  • disposition: REVIEW_INCOMPLETE.

@EffortlessSteven
EffortlessSteven marked this pull request as draft November 5, 2026 06:17

Copy link
Copy Markdown
Member Author

Continuation, 2026-11-05: retained head ae3a0bd55e47effa2e309af4c6bfe7e034e8dc01; converted to Draft because current main conflicts. A fresh permitted fetch succeeded; isolated merge against main 22eba11598aeb86f645233c9c6741c56f522df63 shows conflicts in moved crates/ripr-contract/src/domain/executed_control.rs and deleted former crates/ripr/src/domain/mod.rs. #12926 moved the domain owners into ripr-contract: resolution must relocate the new proof-domain module and update traceability, preserve shared test-fixtures feature compilation, and recheck actual harness discovery. Current .github/workflows/kani.yml filters crates/ripr/src/** while the lane selects -p ripr; the moved contract harnesses require a focused native discovery/coverage assessment before claiming that hosted Kani exercises them. This is a source-based risk, not an observed native execution result. Earlier run 41823403205 attempt 2 and Kani run 41823403398 retain their historical integration subjects; they do not qualify the new composition. No branch update, new qualification, approval or merge performed. The current executor has no cargo/rustc on PATH, so no composed-tree test has run. Next: resolve the relocation in an owned checkout, run targeted contract tests and native Kani discovery/cover checks with the pinned tools, review the affected seam, then qualify the resulting exact head. Prior denied job logs and artifact bytes were not accessed.

Copy link
Copy Markdown
Member Author

Continuation: Draft head 53d10200327d1ecdbf2285394b773d992f9c76cf, tree 5b6724278311581b364926487e0f9e140eab8516, parent bd755213fd5a36fa25422f542aecd191a760e2f8 (main merge parent 22eba11598aeb86f645233c9c6741c56f522df63). The runner now discovers each owning crate and invokes each package under one total deadline, keeping result blocks package-scoped; the advisory path filter includes contract sources. Rust 1.95.0: 18 Kani runner unit tests and six real-xtask synthetic-child controls passed; removing the reason_judgment_mapping_is_total_and_note_rule_holds proof attribute made the inventory test fail with exit 101, then source was restored. These controls are not native Kani. Native 16-harness Kani execution is in progress; current source review, cover reconciliation and hosted qualification remain outstanding. #12581 separately owns the in-flight version-probe change to the same runner and must be preserved on integration. Historical evidence and denials retain their original subjects. No formal approval or merge.

Copy link
Copy Markdown
Member Author

Native evidence on Draft 53d10200327d1ecdbf2285394b773d992f9c76cf / tree 5b6724278311581b364926487e0f9e140eab8516: pinned Kani 0.68.0, nightly-2026-08-21, one build job, cargo +1.95.0 kani -p ripr-contract --harness domain::feedback::kani_proofs --harness domain::executed_control::kani_proofs --harness domain::causal_delta::kani_proofs --harness domain::probe::kani_proofs -Z unstable-options --harness-timeout 180s --output-format regular, 1800-second outer deadline, native exit 0. All 16 named native blocks individually report SUCCESSFUL and their respective covers sum to 144/144 (13,5,12,11,15,13,8,6,3,1,6,25,9,9,2,6). Raw local log /workspace/ripr-12975-kani-53d102.log SHA-256 fdee8d969155f0e6dbf2de18889c40c3a1fd024897bea19d4e8912aa37ea426a. This is targeted native proof, not a complete lane or hosted qualification. A separate real-xtask selected-harness exercise is in progress. Affected source review, current integration and applicable hosted checks remain pending; #12581 still owns its version-probe work.

Copy link
Copy Markdown
Member Author

Real-driver follow-up on 53d10200327d: /workspace/ripr-12975-target/debug/xtask kani --harness reason_judgment_mapping_is_total_and_note_rule_holds --timeout-secs 300 --harness-timeout-secs 90 exited 0 and its report identifies crates/ripr-contract/src/domain/feedback_kani.rs as VERIFIED. Actual driver binary SHA-256 898508173b46931024424410b6ab445181d87f51fa396d0ea78695b786595a05; raw stdout/stderr SHA-256 230def41d1f95427a248d8b7e68ad53a596531a7fd4ee6f4af826e228f6cdf0a. The binary predates only the subsequent xtask/src/command.rs help-description change; its runner code is identical to the published head. This exercises one contract selection through the real driver and native solver; the direct 16-harness native run above supplies per-harness cover evidence. Independent review and current hosted qualification remain pending.

Copy link
Copy Markdown
Member Author

Integration preflight, 2026-11-05: live Draft head remains 53d10200327d1ecdbf2285394b773d992f9c76cf, tree 5b6724278311581b364926487e0f9e140eab8516. Fresh git fetch observed main 9d296a50a6f6ad8d0056fbd4df41001a4322b408; git merge-tree --write-tree of the head and that main completed cleanly with local simulated tree 277dcdcdf8d9d0e96605e8d3fc0c0860b84b449f. Main's one-commit movement from 22eba115 only touches xtask/src/command.rs among this candidate's affected paths, deleting duplicate check-fast registrations, not the Kani command description. This simulation is not a hosted checkout or qualification. GitHub's currently observed synthetic merge commit 2ef3ea7f4e0bc21f81420b1d4f6f1b1243aa8933 names the older 22eba115 basis; inspect the actual checkout when a qualifying request is eventually authorized. The retained merge-ready label has not been cycled; no current-head Rust qualification request was found in the PR-triggered run list. ub-review and wheel jobs are running and must be read when complete. Three prior inline threads remain resolved. The active #12581 head 7541102993d471584f0223ceee3f95c6144e28cf has a real xtask/src/kani_lane.rs merge conflict against this head; its recorded owner retains that version-probe work. Preserve both changes when the landing order is known; no duplicate branch edits were made. Current affected-head source review is pending; no broad qualification or merge was requested.

Copy link
Copy Markdown
Member Author

Review follow-up: new Draft head 1804926981f8a899ea89c396e836dc061b6938c0, tree 15d3b473814ceb4d46bdd952fd5d59e8f9083e35, parent 53d10200327d1ecdbf2285394b773d992f9c76cf. The only new change corrects the Kani entry's description in policy/ci-lane-whitelist.toml to name both packages and the existing workflow path filter; no command, trigger, settings or whitelist admission rule changed. On the preceding head, cargo fmt --all -- --check exited 0; with this description edited, the previously built xtask's check-ci-lane-whitelist exited 0. Targeted 16-harness native evidence and runner controls retain their original 53d102 subject; this prose-only delta does not alter their inputs. Independent review of this narrow delta, refreshed integration and qualification remain pending. #12581 retains ownership of the separate version-probe change.

Copy link
Copy Markdown
Member Author

Current source and integration record: head 1804926981f8a899ea89c396e836dc061b6938c0, tree 15d3b473814ceb4d46bdd952fd5d59e8f9083e35; independent review refreshed SOURCE_REVIEW_READY after the whitelist-description-only delta from 53d10200327d1ecdbf2285394b773d992f9c76cf. The 16 named Kani blocks and 144/144 covers, the real selected-harness driver, 18 runner unit tests and six synthetic-process controls retain their original 53d102 source subjects; no relevant executable input changed in the final prose commit. Fresh GitHub merge ref 4fde65110010c4b2f297926b89774ad1495cddb8 has ordered parents current main e78e3f02499cbce101812c37df570b138419243d, then this head, and tree e473147c7f2ec78775f48853cdfb910e36ae565c, matching the independently simulated merge tree. The only candidate-path overlap since 22eba115 is xtask/src/command.rs, where main removes duplicate check-fast entries, separate from the candidate's Kani description. This is integration identity and source review, not a hosted checkout or current CI result. Existing #12581 owns the version-probe change; the branches conflict in the runner, and that repair must be preserved during convergence. All three existing inline threads are resolved. merge-ready remains retained from the old request; no current-head required qualification is established or requested. Local precommit is in progress with one build job and explicit 1800s, 14 GiB and 8 GB free-disk guards. Overall final review remains REVIEW_INCOMPLETE pending local/hosted results and final integration judgment.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

Reviewed source, oracle and bounded claims at 1804926981f8a899ea89c396e836dc061b6938c0. The two-package discovery, execution, process and per-package result reconciliation preserve failure and cover semantics; the 16 named relocated proofs and ripr smoke are covered by the discovery regression. The final delta changes only the policy description. Independent source review identified no remaining material source finding. Targeted Rust tests, fault control and native Kani proof retain their reported 53d10200327d1ecdbf2285394b773d992f9c76cf subjects; the prose delta does not alter those inputs. Source evidence and integration details: #12975 (comment) .

Copy link
Copy Markdown
Member Author

Local qualification prerequisite on 1804926981f8a899ea89c396e836dc061b6938c0: cargo xtask precommit, one build job and incremental disabled, stopped by its 14 GiB cgroup memory guard (native process exit -15 after 744.18s; sampled peak 15,089,459,200 bytes). The active child was cargo test -p ripr --lib analysis::scip::admission::tests --no-run. Earlier formatter, no-panic, allow-attributes and local-context checks passed and selected test-target builds/enumerations completed, but the aggregate did not finish and is not a pass. Raw log /workspace/ripr-12975-precommit-180492.log, SHA-256 7baa7af5e77c6482e6c975f76d507d6ff64a8be89339af04f82cbf0a20417d51. No guard was weakened and no shared cache deleted. Current local resource state does not establish that a repeat will finish; use suitable capacity with the same guard to complete precommit and applicable remaining selected local checks. Head stays Draft; no merge-ready cycle, hosted qualification or merge occurred. Native Kani and focused controls retain their earlier separate proof.

Copy link
Copy Markdown
Member Author

Capacity/hosted-route follow-up: correction to the integration shorthand: the interrupted command actually ran in /tmp/ripr-12975 on checked-out candidate 1804926981f8a899ea89c396e836dc061b6938c0, tree 15d3b473814ceb4d46bdd952fd5d59e8f9083e35, with origin/main at e78e3f02499cbce101812c37df570b138419243d; it did not execute the synthetic GitHub merge commit. The separately inspected merge ref was 4fde65110010c4b2f297926b89774ad1495cddb8, tree e473147c7f2ec78775f48853cdfb910e36ae565c, parents e78e3f0 then this head. Command was cargo xtask precommit, CARGO_BUILD_JOBS=1, CARGO_INCREMENTAL=0, /workspace/ripr-12975-target, guarded at 1800s, 14 GiB total cgroup memory and 8 GB free-disk reserve. Exit -15 at 744.18s; sampled total cgroup peak 15,089,459,200 bytes. The peak's anon/file/kernel components were not sampled and cannot be reconstructed. A later post-stop snapshot showed anon 6,924,578,816, file/cache 8,363,507,712 and kernel 338,501,632 bytes, not simultaneous peak values. Raw log SHA-256 7baa7af5e77c6482e6c975f76d507d6ff64a8be89339af04f82cbf0a20417d51 at /workspace/ripr-12975-precommit-180492.log. Static-language, no-panic, allow-attributes, local-context and fmt passed before the covered-by phase; selected ripr and xtask no-run builds and several test enumerations completed; the aggregate and in-progress ripr lib build did not. No repeat, cache deletion or weakened guard.

Hosted route inspection: .github/workflows/routed-rust.yml runs the exact cargo xtask precommit only in its docs-only PR/merge-group gate; this Rust/workflow candidate does not qualify for that route. The normal rust-gates.yml runs cargo xtask ci-policy, a related but distinct command; it cannot be presented as a successful exact precommit. No independently admitted existing exact-precommit hosted prerequisite route was found. Normal hosted qualification still requires its own applicable preflight and review; no dispatch, Ready transition or label cycle was made. Suitable admitted capacity for this prerequisite remains missing. Subsequent main observed ce43a7e20a075d1d54522333b87bd75b0b7a90df; a local simulation is clean (tree f9dda77572f246ee2510517ea241b99ca6a12257), but the GitHub merge ref still names e78e3f0; refresh it and reassess before any eventual qualification. #12581 retains its separate owner.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW

Copy link
Copy Markdown
Member Author

Claim: driving this PR to squash-merge.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review November 10, 2026 00:39

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

Exact head 933390b reviewed: closed-domain macro with compiler exhaustiveness check, per-reason judgment and satisfaction oracles written independently of the code under test, the executed-control partition test, per-package Kani runner with a shared whole-run deadline, workflow path filter, catalog and lane description parity, and traceability entries. Current main merged cleanly; the three earlier threads are resolved.


Generated by Claude Code

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 3 potential issues.

Devin Review

Comment thread xtask/src/kani_lane.rs Resolved
Comment thread docs/CI.md Resolved
Comment thread xtask/src/kani_lane.rs Resolved
…t the contract-crate Kani selection

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

Exact head a559a56 reviewed after the final thread reply. Delta from the earlier reviewed head: the Kani timeout diagnostic reports each package's actual budget, docs/CI.md lists the contract-crate selection path, and the PR description matches the runner change. Current main is merged. All threads have replies and are resolved.


Generated by Claude Code

@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

ripr static exposure check

Commit bfa89303bc32 · run · advisory, static evidence only (not a mutation run).

#ripr agent static-advisory base=786efbbfd5610dcf69765eddf6b9b7ef81e33e1f findings=139 gaps=50 infection_unknown=5 propagation_unknown=7 reachable_unrevealed=7 static_unknown=67 weakly_exposed=53
analysis=incomplete|outcome=partial_with_limitations
limitation=language_scope_unsupported|reason=proof_harness_not_evaluated: lines changed inside a function carrying a proof-ha…|recovery=proof_harness_not_evaluated: a changed proof harness (`#[kani::proof]` or `#[kani::proof_for_contract]`) is verification source, so ripr produced no production probe for it and does not evaluate it. Run the verifier for the changed harness; this is not a coverage claim.
+3 more analysis limitations; `--format json` lists all
weakly_exposed|crates/ripr-contract/src/domain/proof_domains.rs:71|match reason|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr-contract_src_domain_proof_domains.rs:match_arm:4d4283fb
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
weakly_exposed|crates/ripr-contract/src/domain/proof_domains.rs:72|FeedbackReason::UsefulActionable =>|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr-contract_src_domain_proof_domains.rs:match_arm:3553b87f
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
weakly_exposed|crates/ripr-contract/src/domain/proof_domains.rs:73|FeedbackReason::UsefulLimitation =>|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr-contract_src_domain_proof_domains.rs:match_arm:be64a60d
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
weakly_exposed|crates/ripr-contract/src/domain/proof_domains.rs:74|FeedbackReason::CorrectTarget =>|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr-contract_src_domain_proof_domains.rs:match_arm:2b999c26
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
weakly_exposed|crates/ripr-contract/src/domain/proof_domains.rs:75|FeedbackReason::CorrectDiscriminator =>|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr-contract_src_domain_proof_domains.rs:match_arm:bbcf810c
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
weakly_exposed|crates/ripr-contract/src/domain/proof_domains.rs:76|FeedbackReason::ClearExplanation =>|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr-contract_src_domain_proof_domains.rs:match_arm:17bcc260
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
weakly_exposed|crates/ripr-contract/src/domain/proof_domains.rs:77|FeedbackReason::WrongTarget =>|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr-contract_src_domain_proof_domains.rs:match_arm:90da8b45
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
weakly_exposed|crates/ripr-contract/src/domain/proof_domains.rs:78|FeedbackReason::WrongDiscriminator =>|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr-contract_src_domain_proof_domains.rs:match_arm:661bc539
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
weakly_exposed|crates/ripr-contract/src/domain/proof_domains.rs:79|FeedbackReason::FalseActionable =>|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr-contract_src_domain_proof_domains.rs:match_arm:b6ff7896
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
weakly_exposed|crates/ripr-contract/src/domain/proof_domains.rs:80|FeedbackReason::DuplicateItem =>|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr-contract_src_domain_proof_domains.rs:match_arm:9e983022
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
t1=crates/ripr-contract/src/domain/proof_domains.rs:133 every_feedback_reason_has_its_contract_judgment_and_note_rule exact_value `assert_eq!(reason.judgment(), expected_judgment(reason), "{reason:?}");` miss=observation_unconfirmed
+40 more gaps not shown; `--format json` lists all
limits=infection_unknown:5,propagation_unknown:7,static_unknown:67,weakly_exposed:10
next=ripr explain --root . --base 786efbbfd5610dcf69765eddf6b9b7ef81e33e1f --committed --mode draft --format agent probe:crates_ripr-contract_src_domain_proof_domains.rs:match_arm:4d4283fb
verify=refused|outcome=partial_with_limitations|findings=139|exposed=0|reason=analysis_incomplete,gaps_remain

Took 79s.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW
…ow test owner

Main's lib tests fail to compile (E0063) after #14001 and #14032 composed: the
PythonOwner initializer in python_tests.rs lacks the new field. This blocks
exact-head qualification of every candidate.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW

Copy link
Copy Markdown
Member Author

Continuation after container restart. Head 9dcddea adds a one-line main-health repair this candidate needs to qualify: main's ripr lib tests fail to compile (E0063 missing test_local_shadows in the PythonOwner initializer at python_tests.rs, from #14001 and #14032 composing). No open PR repairs it. Run 30871 failed only on that compile error in the Rust gates job. Re-requesting qualification after review refresh.


Generated by Claude Code

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

Exact head 9dcddea reviewed. Delta from the previous reviewed head: current main merged plus a one-line test initializer addition for the new owner field, which restores compilation of the lib tests. No review threads are open.


Generated by Claude Code

@github-actions

Copy link
Copy Markdown
Contributor

merge-ready is set, but this PR conflicts with main (head 9dcddeab), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SOURCE_REVIEW_READY

Exact head bfa8930 reviewed. Delta from the previous reviewed head: current main merged; one module declaration conflict resolved by keeping both declarations (proof_domains and python_changed_headline_row). No review threads are open.


Generated by Claude Code

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants