Skip to content

test(review): retain findings for non-admitted proof outcomes - #1482

Merged
EffortlessSteven merged 1 commit into
integration/artifact-proof-parent-20261015from
test/receipt-seam-task2-20261016
Oct 30, 2026
Merged

EffortlessSteven merged 1 commit into
integration/artifact-proof-parent-20261015from
test/receipt-seam-task2-20261016

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Extend the existing receipt-conflict regression so worker failures, skipped outcomes and unknown results cannot silently suppress either an inline finding or its matching summary finding. The test also verifies that rejected receipts keep their audit links without acquiring proof precedence, and that all three currently admitted decisive outcomes still resolve the conflict.

This is a test-only follow-up stacked on #1473 at a143b6c6c44b5ab56e05fb282dba96d9465f1bef. Its existing unavailable-receipt and sanitizer repairs remain unchanged. The original conflict probe covered six unavailable outcomes and inline survival; this extends it to eleven outcomes, both finding surfaces, retained audit links, absent causal evidence, and three decisive controls. Thread corroboration already had separate worker/unknown-result controls; this covers their conflict-reconciliation consequence.

Candidate: ccac8ecbb648dec27c0d20e98cb3c92fb8c11c42; tree: 35d6001c9c351a9f60219b1805eca062a2034ee7.

Policy receipts

No new controlled surface or exception. Only an existing Rust test in src/review_topics.rs changes. No production, analyzer, workflow, runtime, dependency, permission or release changes.

Verification

Windows MSVC, Rust 1.95.0; isolated task-owned H: clone and target, two Cargo jobs under existing shared CPU load.

  • cargo test --bin ub-review --locked review_probe_unavailable_receipt_cannot_refute_model_finding -- --nocapture: 1 passed.
  • cargo test --bin ub-review --locked review_topics::tests: 18 passed.
  • cargo test --bin ub-review --locked review_probe_sanitizer_failure_reaches_artifact_decision -- --nocapture: 1 passed, including clean-sanitizer control. This uses the injected runner; it does not run ASAN or establish UB.
  • cargo xtask precommit --staged: zero blocking findings on the exact candidate tree; fmt, check, diff Clippy, cargo-allow, RIPR and unsafe-review passed. Actionlint skipped for unchanged workflows; ast-grep unavailable.
  • cargo xtask policy-check: passed, with existing overdue receipt-review warnings.
  • git diff --cached --check: passed.

An initial short-name invocation with --exact matched zero tests; it is not passing test evidence. The corrected invocation above exercised the named test. Local validation was bounded; the hosted full-workspace results are recorded below. No independent technical review is claimed. Raw logs and patch retained at H:\Temp\ub-review-task2-evidence-20261016 (local records, not hosted artifact links); tests and source are available in this PR.

CI budget

Default checks only. No labels or manual dispatches. The parent's seven/max-zero analyzer failure and its existing upstream owners remain separate; this test-only child does not clear ancestor qualification. Keep Draft pending normal checks and owner review.

Hosted follow-through and stack disposition

Exact candidate remains ccac8ecbb648dec27c0d20e98cb3c92fb8c11c42, tree 35d6001c9c351a9f60219b1805eca062a2034ee7. Target #1473 remains a143b6c6c44b5ab56e05fb282dba96d9465f1bef. GitHub merge candidate 49c3adb46e25cbbf1a8e588f068fe59d578bfff1 has ordered parents a143/ccac and the identical candidate tree. No source change or additional CI run was introduced during follow-through.

Keep Draft; no readiness or merge transition. Parent #1473 is still Draft at a143 and its required gate 38697025798 fails new_unsuppressed=7 against maximum zero. Its artifact 11954487099 retains exactly three src/render.rs helper IDs owned by RIPR #1453 and four src/summary_render.rs call IDs routed to RIPR #1715. Exact IDs were checked against the existing parent crosswalk. The latter still needs explicit non-fallible call-packet acceptance/routing; merged swarm #7804 does not settle those four rows. Both canonical issues remain open with no named assignee returned. Released/admitted producer adoption remains with #813, not a local development-analyzer substitution.

Resume through the existing parent/producer owners: settle those seven obligations under unchanged strict-zero policy, qualify/integrate the parent through normal protections, then refresh this child's actual base and required checks/review state. No suppression, threshold, workflow, global configuration, release, deployment or frozen build-domain change was made.

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

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: 224c560e-72ac-42ab-8328-bced688d4625

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

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

No material findings in the test-only delta at head ccac8ecbb648dec27c0d20e98cb3c92fb8c11c42, base a143b6c6c44b5ab56e05fb282dba96d9465f1bef, tree 35d6001c9c351a9f60219b1805eca062a2034ee7.

This is a separate-session technical review of the existing author's candidate. The authenticated GitHub identity is also the canonical author, EffortlessSteven, so this is a COMMENT receipt; it does not supply a distinct-user GitHub approval. The candidate, author, parent and upstream ownership are preserved.

I read AGENTS.md, the native workflow and both review/delivery skills, inspected the production receipt-admission, graph/adjudication and reconciliation paths, and reconciled Conversation comments, authoritative formal reviews and inline threads. Reviews and threads were empty before this submission; CodeRabbit's non-default-target skip is not technical review.

Independent Linux x86_64 / Rust 1.95.0 checks used a detached exact-head worktree and a dedicated Cargo target, two jobs:

  • cargo test --bin ub-review --locked review_probe_unavailable_receipt_cannot_refute_model_finding -- --nocapture: 1 passed on pristine source.
  • cargo test --bin ub-review --locked review_topics::tests: 18 passed, including after all experiments and final pristine restoration.
  • cargo fmt --all -- --check and git diff --check: passed; both author checkout and restored lab are clean.

The executed matrix covers all eleven non-admitted results: timed_out, skipped_budget, skipped_profile, skipped_unresolved, skipped_nightly, skipped, failed, sanitizer_ub_detected, unknown-result, base_patch_failed, non_discriminating. Each retains one inline and one matching-summary reconciler result, its audit receipt ID, unresolved conflict state and no ProofReceipt supporting evidence. All three existing decisive outcomes (discriminating, head_passed, head_failed) resolve the conflict and remove both reconciler results. No-receipt, unlinked and stale-head controls also passed.

Seven bounded production mutations each compiled, executed that same real test, and failed at the intended assertion (Cargo exit 101):

Isolated mutation Experiment tree Observed discrimination
admit-unavailable 9071910d000ca3519f357a72195402e1e8cc6d1a Unavailable receipt gains proof precedence: timed_out, ResolvedByProof instead of Unresolved.
drop-audit-link 47cb3bf6bb1c6cf0d3850b0a70fb67c5c3c335e5 Rejected receipt loses its audit ID: timed_out, [] instead of ["proof-refutation-1"].
drop-unresolved-inline 4c84f6d993e7f679b0e65cd447ed5e4463b368f0 Inline finding lost: timed_out, remaining count 0 instead of 1.
drop-unresolved-summary 7e05896fadc281a02e61db2337536a4e7d766934 Matching summary lost: timed_out, remaining count 0 instead of 1.
reject-discriminating 32777fea42dd0d7b68d9b1c5a8e2b51cb9c5151e Decisive discriminating rejected: Unresolved instead of ResolvedByProof.
reject-head_passed fd48a54afe9c6a035ab9e5b0ce522ea5d87026f7 Decisive head_passed rejected: Unresolved instead of ResolvedByProof.
reject-head_failed aee7d191a3e5341a241bb35acabe5ef028876c53 Decisive head_failed rejected: Unresolved instead of ResolvedByProof.

An additional reviewer-only positive fixture actually seeds the matching summary topic into graph construction alongside the inline topic, rather than only invoking the summary reconciler against the inline-built graph. It passes all fourteen rows with two conflicts per row: both unresolved for every non-admitted result, both resolved-by-proof for each decisive result. Experiment tree 4cede4b3d3c6238aa67e57d0056c02ba4e1ef849, patch SHA-256 c723e1ad2934cb5434af80f38d44a21d55f3b9ca9006323b7c70e29693c9b49c, log SHA-256 f1f0c62af13a465f786449c52291fdcfde586f3bfbcc30f8d51a22bf01274b41. This experiment stays outside the submitted candidate.

Local raw logs, individual patches, source/tree identities, executable hashes and commands are retained in the review environment at /workspace/review-1482-evidence; these are local records, not hosted artifacts. Mutation manifest controls.json SHA-256 a0b9e624d7e9d354aad378000400788a13406ea145860730a5b5b29d44c901cc. Final pristine executable SHA-256 233b0f9299b45ed3e4c08e68af4dfd8c530879881e1525040a3fe9e1d402794b; final 18-test log SHA-256 7e53360de03077fa749e09ca0a915f0d898488789b11098586fda8a98e7ad446. The local experiments establish these specific graph/reconciler behaviors, not universal command-to-claim causality, immutable RevisionRef admission, ASAN execution or UB.

Existing hosted qualification was reused without a new run. Baseline test job logs show checkout and execution of exact ccac8ec, including this test; all eight baseline jobs are terminal success. Child gate job is terminal success and actually checks out 49c3adb46e25cbbf1a8e588f068fe59d578bfff1. Its fetched Git object independently confirms ordered parents a143/ccac and the identical candidate tree. Passing configured enforcement remains separate from truthful not_proven evidence and the shadow projection's missing/contradictory proof observations. The PR's separately disclosed advisory coverage failure is not cleared by this review.

Ready/merge remain blocked by the stack dependency: #1473 is still Draft at a143 and its required gate remains terminal failure. Its retained seven/max-zero disposition is unchanged: three helper/source-role rows with RIPR #1453, four semantic-call rows with RIPR #1715, admitted producer adoption through #813. Both canonical upstream issues remain open. No parent requalification, rewrite, producer substitution, threshold/suppression change or additional CI was performed. Resume with those existing owners, qualify/integrate the parent, then refresh this child's actual base and required review/check state.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 29, 2026 15:30

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

Devin Review

Comment thread src/review_topics.rs
Comment on lines +1314 to +1317
assert_eq!(
reconcile_summary_only_findings(&graph, std::slice::from_ref(&summary)).len(),
1,
"{result} must retain the summary finding"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔍 Summary assertion stops before public deduplication

The fixture's matching summary survives reconcile_summary_only_findings, but reconcile_public_surfaces drops it when the inline finding survives. The test establishes adjudication of each candidate, not public retention of both surfaces.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@EffortlessSteven
EffortlessSteven merged commit c10249b into integration/artifact-proof-parent-20261015 Oct 30, 2026
24 checks passed
@EffortlessSteven
EffortlessSteven deleted the test/receipt-seam-task2-20261016 branch October 30, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant