Repository navigation
fix(output): bind receipt fallback to selected proof - #3196
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reached
Next review available in: 25 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (9)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a2537dd68f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
[P2][high confidence] changed receipts that match the selected proof's actual source movement are rejected by the fallback. assistant_loop_health::normalize_movement_state collapses changed to the selected proof's top-level movement_state = "unknown", while the retained nested movement.source_state and real agent receipt preserve changed. parsed_receipt_matches_selected_proof compares every parsed movement to that lossy top-level value at crates/ripr/src/output/pr_review_front_panel.rs:1782-1792; meanwhile receipt_lifecycle_state_from_movement explicitly treats changed as receipt_found. Thus an absent-status receipt with the exact artifact, seam, available classes, and source movement can regress to receipt_missing. Compare against the selected source movement (or a shared semantics-preserving normalization), and add the exact absent-status changed parity regression. This confirms the unresolved exact-head automated finding rather than treating it as advisory.
[P2][high confidence] The new retained stale-same-path corpus counterexample is removable without failing the corpus contract. xtask/src/fixture_contracts/report_validators.rs:333-343 omits stale_same_path_receipt_fails_closed from required_cases; deleting its manifest entry and fixture directory makes the manifest-driven fixture/golden/dogfood checks silently stop exercising it. Add this claim-bearing case to the required set and retain a deletion regression (plus direct traceability if required by the governing mapping) so the advertised corpus oracle cannot disappear while its gates remain green.
reviewed_head_sha: a2537dd
integration_basis: origin/main 23560f2 (contains merged #3190); clean merge-tree basis observed
claim_boundary: Issue #3195 only: selected proof receipt.status is authoritative; absent status may use a parsed receipt only when the supplied artifact and selected seam/movement/lifecycle/available classes agree. Broader receipt freshness/currentness and runtime mutation adequacy remain non-goals.
changed_surfaces_and_semantic_owners_inspected: Full exact-head diff and PR/issue wording; selected_proof_receipt_status, parsed_receipt_matches_selected_proof, class/value match helpers; assistant-loop-health movement projection; agent-receipt production and receipt-lifecycle authority; top-issue selection and JSON/Markdown renderer consumers; RIPR-SPEC-0023 and traceability; corpus manifest plus stale-same-path assistant-health/receipt/JSON/Markdown artifacts; fixture-contract validator and broad corpus test.
blocking_findings: Two P2 findings above: lossy changed movement matching and a removable retained corpus case.
non_blocking_suggestions: None.
refuted_or_stale_findings: The issue's exact unchanged-versus-regenerated-improved same-path counterexample is fixed: exact artifact equality alone no longer admits the parsed receipt, and selected proof receipt.status wins before fallback parsing. No overlap or superseding PR was found.
proof_and_ci_observed: Focused front-panel unit suite passed 10/10 (cargo test -p ripr --lib output::pr_review_front_panel::tests -- --nocapture). check-fixture-contracts, check-output-contracts, check-evidence-promotion-honesty, goldens check, dogfood, and test-oracle-report passed. Exact-head routed GitHub-hosted Rust job succeeded; rust-tests-junit reported 6077/6077 plus doc tests 2 passed/1 ignored; rust-coverage and Codecov patch succeeded (95.20% patch); source-of-truth, UB review, dependency review, cargo-deny, pr-plan, GitGuardian, and routed aggregate succeeded. Matrix/advisory skips were routing skips, not counted as passes.
proof_or_review_missing: No regression exercises the real changed source-state/top-level-normalization mismatch. The retained stale case lacks removal grip. The first cold focused invocation timed out during compilation and closed its stdout pipe; the warm rerun passed and is the behavioral signal. Droid review remained queued at inspection time and is not used as semantic evidence.
affected_currentness_dimensions: production fallback semantics, movement/lifecycle authority parity, retained test-oracle durability, traceability/gate claim accuracy, exact-head remote evidence.
residual_assumptions_and_non_claims: This review does not claim broad receipt freshness, arbitrary regenerated-path detection, runtime mutation adequacy, or that skipped CI lanes passed. Existing front-panel behavior outside selected receipt fallback is not expanded.
disposition: REPAIR_REQUIRED
a2537dd to
0fb638f
Compare
|
Repair engagement for review
Fresh independent exact-head review remains required. No self-review or merge has been performed. |
EffortlessSteven
left a comment
There was a problem hiding this comment.
reviewed_head_sha: 0fb638f
integration_basis: live origin/main c0a86ff; pull/3196/head re-read immediately before this record and remained exact. The PR is based on that exact main and GitHub reports it mergeable.
claim_boundary: Issue #3195 only: selected proof receipt status remains terminal authority; absent status may admit the explicitly supplied parsed receipt only when artifact path, seam, source movement, lifecycle, and any available before/after classes agree. This does not establish broader receipt freshness, runtime mutation confirmation, test adequacy, or gate authority.
changed_surfaces_and_semantic_owners_inspected:
- Full 9-file diff:
selected_proof_receipt_statusandparsed_receipt_matches_selected_proof; sharedreceipt_lifecyclesemantics; selected assistant-health proof production and front-panel JSON/Markdown consumers; RIPR-SPEC-0023 and traceability; retained stale-same-path corpus artifacts; fixture-contractrequired_cases; deletion regression; PR/issue claims and exact-head checks/threads. - Confirmed selected
receipt.statusreturns before parsing any supplied receipt. When absent, source movement now prefersmovement.source_stateover the lossy top-level movement projection. Parsed seam and movement require at least one present matching authority; all present movement representations must agree; derived parsed lifecycle must equal the selected movement lifecycle; present class values cannot contradict selected classes.
blocking_findings: none.
non_blocking_suggestions: none.
refuted_or_stale_findings:
- The prior
changedlifecycle finding is repaired: nestedmovement.source_state = changedis retained, maps through the shared lifecycle owner toreceipt_found, and the exact absent-status regression passes. - The prior removable-corpus finding is repaired:
stale_same_path_receipt_fails_closedis now in validatorrequired_cases; the dedicated temporary-corpus mutation removes the manifest case and observes the required missing-case violation. - Same-path regenerated improved content still fails closed to
receipt_missing; selected explicit status remains authoritative even if supplied same-path content disagrees. - The one remaining unresolved inline thread describes the repaired older-head
changedfinding. It is stale semantically but remains a merge-control housekeeping item; this read-only review did not resolve it.
proof_and_ci_observed:
- Read-only detached Windows worktree at exact head.
- Exact changed-source fallback: 1 passed, 0 failed, 4172 filtered out.
- Full front-panel unit/fixture-renderer suite: 11 passed, 0 failed, 4162 filtered out, including selected-status authority, current same-path fallback, regenerated same-path rejection, JSON/Markdown corpus parity, and mixed/unknown selection behavior.
- Required-case removal regression: 1 passed, 0 failed, 1611 filtered out. An earlier command incorrectly used
--exactwithout the module-qualified name and selected zero tests; it is excluded from evidence and the corrected nonzero run above is the proof. check-fixture-contracts,check-output-contracts,goldens check,dogfood,check-traceability,test-oracle-report,check-evidence-promotion-honesty,check-static-language, andgit diff --checkpassed.- Exact-head hosted evidence is terminal: routed GitHub-hosted Rust and aggregate SUCCESS; JUnit, coverage, Codecov patch, source-of-truth, UB review, dependency review, cargo-deny, pr-plan, GitGuardian, and Graphite checks SUCCESS. Platform/matrix/editor skips are correct path-routing skips, not claimed as passes.
proof_or_review_missing:
- No missing substantive proof for this bounded claim. The unresolved stale inline thread must still be engaged/resolved before merge under repository rules.
affected_currentness_dimensions:
- source/integration: exact remote head stable; exact current-main base
- semantic: production fallback, selected-proof movement/lifecycle identity, and renderer consumers inspected
- generated/evidence: retained JSON/Markdown artifacts and corpus/golden/dogfood gates observed
- oracle durability: required-case mutation/removal grip observed with a nonzero denominator
- remote policy/CI: required hosted denominator and aggregate terminal-success; review thread state explicitly inspected
residual_assumptions_and_non_claims:
- Same-path identity is intentionally bounded to the fields available in these explicit artifacts; this review does not claim cryptographic or cross-consumer freshness.
- Gate decision remains the only pass/fail authority; the front panel remains advisory.
- I did not mutate the candidate branch or merge.
disposition: REVIEW_READY
Summary
Swarm / Source Boundary
ripr-swarmSource-of-truth Links
Proposal: n/a
Spec:
docs/specs/RIPR-SPEC-0023-pr-review-front-panel-report.mdADR: n/a
Plan item: n/a
Active goal: n/a
Issue: Closes #3195; Refs #3186; follow-up to #3190
Scope
#3190 merged at
2be255694741953fae3527ea28e4d49051ce77dcbefore its substantive P1 repair was published. This follow-up carries only that residual front-panel receipt-fallback authority repair on currentmain.Scope Classification
This PR is scoped by:
Production delta:
receipt.statusremains the first authorityreceipt_missingEvidence/support delta:
Single acceptance criterion:
Non-goals:
Support-tier Impact
docs/status/SUPPORT_TIERS.mdClaim/proof notes:
Policy Impact
Ledger or exception notes:
Proof
Result, failures, or skipped proof:
0fb638fadbbd19db11688b3ce377bfbdc152ec4forigin/mainc0a86ff9a42beeb2bc13722efcf417e9fa211b1a0 passed; 1 failed, becausereceipt_missingwas absent1 passed; 0 failed; 4171 filtered outchangedreceipt regression passes; reverting to lossy top-levelunknowncomparison fails the exact oraclestale_same_path_receipt_fails_closedfromrequired_casesmakes it fail11 passed; 0 failed; 4162 filtered outClaim Boundary
This candidate only makes parsed receipt fallback coherent with the already-selected assistant-health proof. It does not establish runtime mutation confirmation, overall test adequacy, gate approval, or receipt freshness for other consumers.
Rollback
Revert this PR; rollback is confined to front-panel fallback admission and the retained fixture/test corpus. #3190's repair-first proof selection remains intact.
Spec-Test-Code Traceability
selected_proof_uses_current_same_path_receipt_only_as_fallback,selected_proof_rejects_regenerated_same_path_receipt_fallback, full front-panel fixture corpuscrates/ripr/src/output/pr_review_front_panel.rsfixtures/boundary_gap/expected/pr-review-front-panel/stale-same-path-receipt/Static Language Check
killed,survived,untested,proven, andadequate.CI Economics
Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code.panic,unwrap,expect,todo, orunimplementedin tests.Gates
cargo fmt --check(via precommit)cargo check --workspace --all-targetscargo test --workspacecargo clippy --workspace --all-targets -- -D warningscargo doc --workspace --no-depscargo package -p ripr --listcargo publish -p ripr --dry-runcargo xtask check-static-languagecargo xtask check-doc-artifacts(via precommit)cargo xtask check-support-tierscargo xtask check-no-panic-family(via precommit)cargo xtask check-allow-attributes(via precommit)cargo xtask check-local-context(via precommit)cargo xtask check-file-policy(via precommit)cargo xtask check-executable-files(via precommit)cargo xtask check-workflows(via precommit)cargo xtask check-spec-format(via precommit)cargo xtask check-spec-numbering(via precommit)cargo xtask check-fixture-contractscargo xtask check-generated(via precommit)cargo xtask check-badge-diff-policy(via precommit)cargo xtask check-generated-clean(via precommit)cargo xtask check-dependencies(via precommit)cargo xtask check-process-policy(via precommit)cargo xtask check-network-policy(via precommit)Extension changes: n/a