Repository navigation
fix(kani): refuse ambiguous harness result attribution - #12473
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Published-head directed review and qualification disposition
REVIEW_INCOMPLETE; keep Draft. Reviewed the actual four-file GitHub patch at c73bc3c1491c68f29fcf4d9e13eb2143104e90dd / tree 9e5afcd35cd228893458ab0463cac98d8e8d6fb5, against parent 5d2bfe6f2e38e96681ca766d2436d04f068572a6. This is a source review of the authored candidate, not an independent approval or executed Rust test receipt.
Source and oracle review
The duplicate-inventory check examines the entire selected inventory. The parsed-block iterator accepts exactly one match, never chooses an arbitrary first result when another exists, and does not infer module identity from paths. Both ambiguity paths withhold timing. Uniquely matched rows retain existing classification. Production lane_verdict refuses every nonempty NOT-ESTABLISHED set, including with --allow-empty; report rendering retains the original source row.
The three new tests cover same-name declarations in one or separate files, one missing counterpart result, reversed success/failure ordering, two qualified matches, repeated conflicting/identical-success headers, unrelated unique success, separator-boundary lookalikes, timeout interpretation, report identity and aggregate refusal. Assertions include nonempty lengths, so the row loops cannot pass on an empty output. Existing unique failure/missing tests remain. Tests call the actual production functions; their native execution has not yet been established.
No candidate-specific defect found by this directed source pass. No parser, process invocation, native selection semantics, dependency, workflow topology, public API or support tier changes. The spec and traceability name the same three tests and retain the conservative attribution boundary. No performance measurement or complete native-discovery guarantee is claimed.
Actual automatic evidence and concrete blocker
The existing automatic runs were inspected once; no duplicate qualification was requested. Source-of-Truth run41399694914 reports success; the ordinary required CI workflow is skipped on this Draft, not a pass. Advisory ub-review41399694907 was still in progress when inspected.
Wheel run 41399694980 failed. I read source-contract job125128866148's raw log: it checked out this exact head and exited 101, before test execution, on inherited E0061 at crates/ripr/src/app/test_stub.rs:1160: three arguments supplied to the four-argument rust_test_stub definition. The four-file candidate patch changes neither caller nor callee. The build job also reports failure and consumers are skipped; no wheel/consumer pass is claimed.
The existing repair owner is #12466, currently open at d19b46e086de56a85d320ca00ff0ccb54c0607d3. The downstream observation has been posted there. Do not copy that fix into a competing PR, waive the base-evaluator gate, or rerun the same known-red qualification. Preserve current evidence and resume after the existing main-build/bootstrap repair establishes an admissible integration subject.
Next executable completion
After #12466 is resolved, inspect actual composition and incorporate only the justified prerequisite if necessary. Run the focused production Rust tests (cargo test --locked -p xtask kani_lane), formatting, applicable spec/traceability/changelog/policy gates and the repository's selected qualification route. Reconcile all resulting review findings and current integration evidence before a normal expected-head merge. No missing local Cargo/rustc/rustfmt result is waived.
#12470 remains the separate native process-completion defect. Broader #12109 harness/claim/current-run work and #10745 product capabilities stay open regardless of this leaf. Local decision-model exploration is retained as design evidence only, not Rust/Kani verification.
There was a problem hiding this comment.
Decision
- Needs focused proof failure resolved before upstream.
Verification questions
- Confirm the new coverage exercises duplicate names, duplicate native blocks, unique joins, suffix boundaries, verdict failure, and report identity, but not the full run_kani/run_lane integration path.
Test proof
- Focused HEAD proof failed (exit 101):
cargo test --locked --package xtask --test gh_pr_status_no_settings. This is a current failure, not a red/green witness.
Evidence gaps
- Focused Rust execution is required to validate the new behavior in the repository environment.
- Model proof intent was rejected by deterministic validation.
- Completion of the focused Rust test run is still required because ripr failed with exit code 2 and the scheduled cargo-test receipt is absent.
- Executed evidence for the changed Rust route is unavailable: ripr failed and cargo-test has no receipt.
- Rust execution evidence is unavailable: ripr failed and cargo-test has no receipt.
|
Independent scoped source review of No compilation, formatting or native test execution was performed in this review; Python-model results are not Rust execution. Process-exit/completeness belongs to #12470, and exact module identity, incomplete discovery and proof adequacy remain outside this clearance. Current required qualification and the #12466 broken-base recovery remain outstanding. |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Current-head directed review: formatting repair and required proof frontier
reviewed_head_sha: b132a55a701d684aad64610657cc735dd3164598 (parent c73bc3c1491c68f29fcf4d9e13eb2143104e90dd).
claim_boundary: #12468, conservative first-class refusal of ambiguous text-result joins. It does not cover Kani source provenance, full native harness inventory, native subprocess completion (#12493), or specification adequacy (#12109).
Changed surfaces inspected: latest commit changes one file, xtask/src/kani_lane.rs, with 7 additions/5 deletions; exactly two rustfmt line-breaks for the duplicate-result test strings and one fmt adjustment of its assert!(report.contains(...)) expression. No production function, test stimulus, oracle, spec, traceability, dependencies or settings changed. The original complete published-head source review remains applicable for those unchanged dimensions; earlier process-level synthetic controls remain historical evidence for the pre-repair xtask binary, not execution of this candidate.
Evidence: required run 41438632509 admitted the preceding head but failed at Rust 1.95 formatting preflight. Its log named precisely three hunks; this commit follows those displayed substitutions exactly. That earlier required run is FAILED, not a native pass. It also reported a Kani advisory compilation error E0061 in test_stub.rs on an older synthetic base; that caller is now fixed on current main via merged #12496. Security advisory also reports RUSTSEC-2026-0433 for pulldown-cmark 0.13.5, independently owned by existing #12580; this PR changes no lockfile.
Blocking findings / proof missing: Rustfmt has not run on this new head in this environment; Cargo/rustc/rustfmt and exact-head focused cargo test --locked -p xtask kani_lane are unavailable locally. Required Rust tests/shards, new merge-composition proof and final review are NOT_ESTABLISHED. No native Kani solver run or module-identity assurance is inferred. The previously addressed review thread about native-output integration is resolved with an explicit limitation; it is not test evidence.
Disposition: REVIEW_INCOMPLETE for final landing; source-repair reviewed sufficiently to request hosted qualification once after Draft→Ready and no current identical-subject run. Inspect terminal check, Kani/security findings as their own issues, all current reviews/threads, and exact merged composition before any protected squash. Do not represent readiness as merge clearance.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the new tests exercise the production join but do not prove native Kani subprocess integration or output provenance.
- Confirm the tests exercise synthetic blocks through the production join but do not cover the full run_kani/run_lane subprocess path.
- Confirm the spec, changelog, and traceability describe a bounded name-based refusal without claiming exact source-to-module identity or complete native discovery.
Parked follow-ups
- The added tests validate the production join function but do not execute the complete run_kani/run_lane native-output path.
Evidence gaps
- Exact-head Rust execution remains unavailable; the prior failed cargo test and absent scheduled cargo-test receipt do not prove the new join behavior.
- Model proof intent was rejected by deterministic validation.
- Exact-head Rust behavior and the full run_kani/run_lane route remain unproved in the available evidence.
|
Triage: mixed. (1) Candidate: clippy assertions-on-result-states on the PR's own kani_lane.rs:757 — replace assert!(..is_ok()) with lint-clean handling. (2) Inherited: E0061 from the pre-fix base — rebase onto fixed main. Both, then re-qualify. |
Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
b132a55 to
0baafce
Compare
Rebase finisher (Cursor cloud agent)
|
|
|
|
Affected-source review of The owner-reported |
|
Retained-native evidence audit for current head The focused receipt identifies actual merge subject The separate Thus workflow success must not retire the missing changed-route execution identified in the preceding review. The existing owner still needs |
EffortlessSteven
left a comment
There was a problem hiding this comment.
Current-head recovery review — REVIEW_INCOMPLETE for merge
Subject 0baafcef626ae681876595d2d585dd0ff32d5237. Re-read the four-file patch, current Conversation and the complete inline-thread inventory. The one native-output thread remains resolved with its limitation-preserving reply; no unaddressed inline finding was returned.
Source/oracle judgment remains sound for #12468: duplicate discovered names refuse before result interpretation; multiple matching blocks refuse including repeated identical successes; unique rows retain their result/time. Existing three controls assert actual production output, row identities, aggregate refusal (including allow-empty), order independence, repeated headers, suffix boundaries and positive unique results. The repaired assert_eq!(lane_verdict(...).err(), None) is the intended success assertion without the reported lint; it does not weaken the oracle. No parser/process/authority expansion.
Current main9b4e538e still has the exact original xtask/src/kani_lane.rs blob930b0648dffa32131f3199baebb030802a4ef511, including the diagnosed first-match join; no same-claim implementation has landed there. Thus the existing PR remains the implementation owner. The metadata's mergeable=false was an unknown/null calculation, not established conflict; Draft read-back now reports mergeable=true. The observed merge ref76525356 is historical and must not be called current-main execution. New actual hosted checkout must be inspected before acceptance. No behind-only rebase or force push.
The current-head run inventory contains automatic wheel/source/advisory runs but no required qualification. The repository's dark-label comment6579856207 agrees. The old merge-ready label survived the repaired head; Cursor's comment reports its label operation was denied. The existing authorized connector has now successfully withdrawn the stale label while the PR is Draft; no credential/settings change or new identity was requested. One normal current-head request is appropriate after this handoff, not a duplicate retry of an active run.
Evidence remains missing, not waived. Cursor reports local precommit and a duplicate-name test filter, but that filter does not select unique_native_join_retains_status_time_and_separator_boundary. The independently inspected ub-review artifact's11 focused passes concern gh_pr_status_no_settings, and its broader sensor timed out before these Kani tests. Neither qualifies the changed join. Required native execution must include all three named controls and applicable gates. No local toolchain is available here; use the existing hosted route, then review actual results.
The exact-module/native-discovery, process completeness/deadline, expected-panic/cover and provenance limitations remain separate #12109/#12470/#12579 work. Ordinary synthetic-output tests are not Kani solver proof. #12493/#12581 remain existing stack children and are not modified here.
Disposition: current source reviewed and expected-green for one ordinary hosted qualification; REVIEW_INCOMPLETE for merge until named execution, applicable required result, integration and final finding review are established. No auto-merge or support/release promotion.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Current-head qualification recovery — request active, native RED retainedOwner: ChatGPT-ripr-fv-12473-recovery. Existing head The stale merge-ready label had no required run for this repaired head. After current Conversation/thread/run inspection, returned Draft, withdrew the stale label successfully, corrected obsolete body prose, confirmed Ready at2026-11-03T00:59:39Z and made one normal request. No credentials/settings/protection change or duplicate request. Required41556750296 remains in progress at final read. In last inspected Rust job125657740546, admission/thread checks, formatting, skills and independent user-text preparation passed; policy was in progress and later Clippy/tests/aggregate not established. Separate Kani41556750161 and Windows41556750206 remained in progress. The successful lightweight CI wrapper is not the required aggregate. New native before-state evidence: comment6592732738 records actual compiled xtask discovery→subprocess→join→report→exit. Duplicate source names borrow one success and conflicting output blocks choose the first success; both wrongly exit0. The unique valid control succeeds. Stimuli are explicitly synthetic cargo output, not Kani solver execution. Source1d803c has original lane blob930b0648, re-read identical to inspected main9b4e538e. This is executed RED, not candidate0baa GREEN. The independent child17 acceptance defect remains #12470/#12493. Observed merge ref 7652535, tree4f99e59abc49026d1b6f76324419a55e27b2df55, has ordered parents a2fcf67 +0baafcef and creation2026-11-02T14:22:10Z. It remains an older integration object, not proof that current main was executed. Inspect the actual current job checkout/artifact and perform relevant integration applicability review before acceptance; do not infer a current-main run from a fresh request time. Next: retain current run; inspect all three named kani_lane controls, especially the unique-result test omitted by the earlier duplicate filter, complete applicable required proof, actual checkout and new findings. Replay the same native synthetic controls against an applicable candidate executable when available. Final exact-head review then normal protected expected-head squash; otherwise preserve the concrete missing/failing dimension. No repeated label, force push, behind-only restack, auto-merge or release action. Small exact stimuli/raw observations are archived in the session proof bundle; expanded native executable copies and the owned temporary root alias were released after hashing/retention. Original compressed CI artifacts are retained. Earlier11 settings-test passes and the900126ms sensor timeout remain unrelated/incomplete for this join. |
Executed native pre-repair discriminator — no solver claimThe previously source-derived failure now has an actual native orchestration observation. Used retained compiled xtask from required41540956849/artifact13187708628, source 1d803c1, binary SHA256 4df459f5deee4085ba7500d32c5076fd6fdc82298e76d2bd124af0a736eb7b98. Its lane Git blob 930b0648dffa32131f3199baebb030802a4ef511 was re-read and matches the diagnosed pre-repair source still on main9b4e538e. This is not execution of candidate0baaf. Ran the real command
Retained reports' SHA256: unique This supplies an intended native before-state failure through actual discovery→subprocess capture→join→report→lane exit, rather than just a Python decision model. It does not yet supply candidate GREEN or Kani native-output conformance. After current required41556750296 produces an applicable candidate executable, reuse these same controls and inspect all three named ordinary tests before final acceptance. No new CI request. A fourth independent control (unique success-looking block + child17 gives xtask0) belongs to #12470/#12493, not this PR; do not widen #12468 or call that process defect repaired by ambiguity withholding. |
Reconcile #12493 with the squash landing of #12473 and frozen main d0358e8. Preserve the process-completion implementation and five subprocess controls; carry the accepted parent formatting/lint repair and make new error assertions fallible without weakening their expectations. Source-reviewed composition only; native formatting, test, policy and integration qualification remain pending.
Compose the existing #12579 candidate with main after #12473 and #12493 squash landings. Preserve the accepted attribution and process-completion implementation, tests and all unrelated main content. Retain the independent bounded version-probe behavior and route its Unix controls through the existing xtask command helper instead of introducing a direct spawn site. Synthetic child and expected outcomes remain unchanged; current native qualification is still required.
Summary
Current head
0baafcef626ae681876595d2d585dd0ff32d5237; source reviewed, REVIEW_INCOMPLETE for merge. Refuses ambiguous discovered harness/result joins instead of borrowing the first successful native block. This is the bounded #12468 internal-lane repair, not a user-facing Kani adapter.The stale merge-ready label had no required run for this repaired head. Current run/Conversation inspection confirms the gap; the PR was returned to Draft, stale label withdrawn successfully, and current-head source reviewed for one normal hosted qualification. Recovery review5745599201. Final native proof and merge remain pending.
Swarm / Source Boundary
Four files, +188/-11. No release/publication, workflow topology, settings, credentials or branch-protection change.
Source-of-truth Links
Proposal: #12109 result-binding audit, bounded leaf #12468; separate process completion #12470.
Spec: RIPR-SPEC-0371-kani-bounded-model-checking-lane.
ADR: none; existing architecture.
Plan item: #12109 internal assurance; #10745 remains the separate product programme.
Governing issue or accepted claim: #12468.
Acceptance delta (one sentence): A discovered harness consumes a result only when its selected bare name is unique and exactly one native block matches; ambiguity remains NOT-ESTABLISHED and cannot make the lane pass.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): fix/12468-kani-result-attribution.
Stack parent or prerequisite PR (if any): none; current0baaf candidate was rebased by its prior writer ontoa2fcf6763aa39be739fe67531867eaef73d95613. Original source basis5d2bfe6f and c73bc3c/b132a55 candidates are historical.
Proposed replacement of PR (if any; not yet accepted): none.
Acceptance retained from a replaced candidate (if any): existing source/oracle reviews remain applicable to unchanged semantics; no separate candidate replaced.
Accepted winner and losing candidate disposition (when decided): this existing PR remains the implementation owner; current main9b4e538e retains the original lane blob930b0648dffa32131f3199baebb030802a4ef511 and first-match behavior. Children #12493/#12581 remain separate existing stack claims.
Scope Classification
Only results_from_output changes: duplicate selected names and multiple matching blocks refuse interpretation, preserve source identities, and report n/a time. Unique rows retain existing status/timing. No new parser, status, process invocation or authority.
Evidence: three ordinary Rust tests; existing spec/traceability amendment; Internal / CI changelog. Complexity retains the existing small-inventory scan shape; no benchmark claim.
Acceptance matrix
All tests invoke actual production functions. Synthetic output tests are not Kani solver execution.
Evidence, failures and current gaps
Original source custody, TOML/symbol/whitespace checks and substantive source review are retained. Earlier Python enumeration of1295 name/block combinations is only design evidence, not Rust execution. Source review covers discovery, parser, join, report, lane verdict and actual run_kani/run_lane consumer.
Historical required41438632509 failed Rustfmt; literal wraps repaired inb132a55. Subsequent41440554374 exposed candidate clippy::assertions-on-result-states; current0baaf uses
assert_eq!(lane_verdict(...).err(), None), preserving the oracle. The prior writer reports local precommit0 andcargo test -p xtask duplicategreen, but that filter omits the unique-result test containing the repaired assertion; no complete independently inspected current-head receipt follows from that report.Independently inspected ub-review41461292625/artifact13153145393 (SHA25674d050e98021017c787ffcf9c006f1e1b574011bfb22605fc4ad23634116032d) executes11 settings-boundary tests, not the changed Kani controls. Its broader cargo sensor timed out900126ms before the three named tests. Wrapper success does not qualify this claim. Native-output review threadPRRT_kwDOSiSx0c6yoa9E remains resolved with its explicit scope/missing-proof reply; current full inventory contains no unresolved thread.
Current required-run inventory is empty for0baaf. The repository dark-label comment6579856207 identifies the same stalled request. The former writer's label403 is retained history; this connected authorized operation successfully withdrew the stale label without changing credentials/settings or creating a replacement branch. No duplicate current-head run exists.
Current main's lane blob equals the original source; no actual owner-file conflict established. Normalized metadata's former false was raw unknown/null; Draft read-back reports mergeable=true. Observed merge76525356 remains historical; inspect the next run's actual checkout rather than assuming it contains current main.
No local cargo/rustc/rustfmt is available in this session. Missing compile, complete named tests, relevant policy and full required result must come from applicable hosted evidence. No current native Kani result or final merge clearance is claimed.
Required next proof
cargo test --locked -p xtask kani_lane cargo fmt --all -- --check cargo xtask check-traceability cargo xtask check-spec-format cargo xtask check-changelog-fragments cargo xtask ci-policyAfter one normal current-head request, inspect all three named tests, actual integration checkout, required result and current findings. Obtain a discriminating native before/after or bounded wrong-input control where available; then final exact-head review and normal protected expected-head squash. No auto-merge. Repair findings in this same candidate.
Support-tier Impact
Only internal ambiguous-result admission narrows. No framework/static exposure/receipt/repair/adequacy promotion.
Policy Impact
Existing spec and traceability only. No new specification, permission, policy exception or gate change.
Spec-Test-Code Traceability
The three exact test symbols map to xtask/src/kani_lane.rs in
.ripr/traceability.d/kani-bounded-model-checking-lane.tomland SPEC-0371.Changelog, rollback and nonclaims
changelog.d/12468-kani-result-attribution.mduses canonical Internal / CI marker, bullet and #12468 reference. Revert the four-file change; no migration/settings rollback.This is not exact native module binding, complete active discovery or process completeness. #12470/#12493 and #12579/#12581 retain their process/deadline work. Expected-panic/cover/provenance and proof-domain quality remain #12109. #10745 stays open. No behind-only restack, force push, release action or bypass is requested.