Skip to content

fix(fixtures): preserve real tail-return evidence and truthful ReturnValue guidance (#8954) - #10115

Merged
EffortlessSteven merged 2 commits into
mainfrom
claude/project-thread-gj4ncl-8984
Oct 24, 2026
Merged

EffortlessSteven merged 2 commits into
mainfrom
claude/project-thread-gj4ncl-8984

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

  • Re-derives fix(fixtures): preserve real tail-return evidence and truthful guidance (#8954) #8984 onto current main. Its 25 generated-golden conflicts with main made a merge impractical, so its non-generated source diff (decision.rs guidance, tail-return fixture validation, the new aligned semicolon effect fixture, specs, traceability, corpus rows, changelog fragments) is applied unchanged and the 34 affected fixtures' goldens are regenerated against main with a blessing reason.
  • The inherited tail-return fixture now targets its real tail-return call. ReturnValue advice first asks whether the change can affect the returned value; an exact effect assertion no longer implies return observation or an available separating input.
  • The aligned semicolon fixture supplies genuine CallDeletion and SideEffect coverage, with complete nonempty inventory controls.

Swarm / Source Boundary

  • ordinary feature, analyzer, editor, docs, spec, fixture, badge, dependency, or repo-ops development for ripr-swarm
  • repair or follow-up for a same-repo swarm PR

Source-of-truth Links

Proposal:
Spec: RIPR-SPEC-0094, RIPR-SPEC-0259
ADR:
Plan item: open-PR sweep (ledger thread)
Governing issue or accepted claim: #8954
Acceptance delta (one sentence): The tail-return fixture reports its real line-18 evidence, ReturnValue next-step advice is conditional on return sensitivity, and a separate semicolon fixture supplies genuine CallDeletion and SideEffect controls.

Candidate Relationships

Candidate branch: claude/project-thread-gj4ncl-8984
Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): replaces #8984, which stays open until this merges (its canonical joined integration #8934 landed without this value)
Acceptance retained from a replaced candidate (if any): all of #8984's source, fixture and spec content; its published-head review found no blocking issue
Accepted winner and losing candidate disposition (when decided): #8984 is closed against this PR's merge

Scope

Proof

  • cargo xtask goldens check: exit 0 after blessing.
  • cargo xtask fixtures observation_verified_side_effect and observation_verified_semicolon_effect: exit 0.
  • cargo test --locked -p xtask --bin xtask observation_tail_return: 3 passed.
  • cargo xtask precommit: exit 0 on this head (includes the evidence-promotion honesty check, which first failed for the missing semicolon human-full surface and was fixed).

Claim boundary: no automatic return-sensitivity inference, no Windows, hosted checks pending.

Changelog: changelog.d/8954-tail-return-fixture-identity.md, changelog.d/8954-return-guidance-and-semicolon-control.md.


Generated by Claude Code

…Value guidance (#8954)

Rebased re-derivation of #8984 onto current main: the source, fixture and
spec changes apply unchanged, and the affected goldens (34 fixtures) are
regenerated against main with a blessing reason. Adds a genuine aligned
semicolon effect fixture with CallDeletion and SideEffect controls.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NdgM8XzZcR6DuiKvwPzNNr
@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!

@coderabbitai

coderabbitai Bot commented Oct 24, 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 10 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 158 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: 5212713e-233b-4404-a6cd-26e7705d30aa
Commits

Reviewing files that changed from the base of the PR and between 371565f and b5036d5.

Files selected for processing: 122
  • .ripr/traceability.toml
  • changelog.d/8954-return-guidance-and-semicolon-control.md
  • changelog.d/8954-tail-return-fixture-identity.md
  • crates/ripr/src/analysis/classify/decision.rs
  • docs/specs/RIPR-SPEC-0094-observation-unverified-guard-generalization.md
  • docs/specs/RIPR-SPEC-0259-next-step-oracle-shape.md
  • fixtures/cross_crate_trait_impl_direct_owner_positive/expected/CHANGELOG.md
  • fixtures/cross_crate_trait_impl_direct_owner_positive/expected/check.json
  • fixtures/cross_crate_trait_impl_direct_owner_positive/expected/human-full.txt
  • fixtures/evidence-promotion-honesty-corpus/corpus.json
  • fixtures/field_match_raw_option_shadow/expected/CHANGELOG.md
  • fixtures/field_match_raw_option_shadow/expected/check.json
  • fixtures/field_match_raw_option_shadow/expected/human-full.txt
  • fixtures/guarded_result_match_fail_closed/expected/CHANGELOG.md
  • fixtures/guarded_result_match_fail_closed/expected/check.json
  • fixtures/guarded_result_match_fail_closed/expected/human-full.txt
  • fixtures/human_full_shared_parse_port/expected/CHANGELOG.md
  • fixtures/human_full_shared_parse_port/expected/check.json
  • fixtures/human_full_shared_parse_port/expected/human-full.txt
  • fixtures/human_full_shared_parse_port/expected/library-human-lines.json
  • fixtures/invisible_change_pow_agreement/expected/CHANGELOG.md
  • fixtures/invisible_change_pow_agreement/expected/check.json
  • fixtures/invisible_change_pow_agreement/expected/human-full.txt
  • fixtures/invisible_change_pow_agreement/expected/human.txt
  • fixtures/module_reach_bare_import_control/expected/CHANGELOG.md
  • fixtures/module_reach_bare_import_control/expected/check.json
  • fixtures/module_reach_bare_import_control/expected/human.txt
  • fixtures/module_reach_control_qualified/expected/CHANGELOG.md
  • fixtures/module_reach_control_qualified/expected/check.json
  • fixtures/module_reach_control_qualified/expected/human.txt
  • fixtures/observation_verified_semicolon_effect/SPEC.md
  • fixtures/observation_verified_semicolon_effect/diff.patch
  • fixtures/observation_verified_semicolon_effect/expected/CHANGELOG.md
  • fixtures/observation_verified_semicolon_effect/expected/check.json
  • fixtures/observation_verified_semicolon_effect/expected/human-full.txt
  • fixtures/observation_verified_semicolon_effect/expected/human.txt
  • fixtures/observation_verified_semicolon_effect/input/Cargo.toml
  • fixtures/observation_verified_semicolon_effect/input/src/lib.rs
  • fixtures/observation_verified_semicolon_effect/input/tests/observes.rs
  • fixtures/observation_verified_side_effect/SPEC.md
  • fixtures/observation_verified_side_effect/diff.patch
  • fixtures/observation_verified_side_effect/expected/CHANGELOG.md
  • fixtures/observation_verified_side_effect/expected/check.json
  • fixtures/observation_verified_side_effect/expected/human-full.txt
  • fixtures/observation_verified_side_effect/expected/human.txt
  • fixtures/owner_pin_written_alias_not_a_pin/expected/CHANGELOG.md
  • fixtures/owner_pin_written_alias_not_a_pin/expected/check.json
  • fixtures/owner_pin_written_alias_not_a_pin/expected/human.txt
  • fixtures/owner_pin_written_expected_not_a_pin/expected/CHANGELOG.md
  • fixtures/owner_pin_written_expected_not_a_pin/expected/check.json
  • fixtures/owner_pin_written_expected_not_a_pin/expected/human.txt
  • fixtures/owner_return_pin_fallible_literal_inverted/expected/CHANGELOG.md
  • fixtures/owner_return_pin_fallible_literal_inverted/expected/check.json
  • fixtures/owner_return_pin_fallible_literal_inverted/expected/human-full.txt
  • fixtures/owner_return_pin_fallible_literal_inverted/expected/human.txt
  • fixtures/owner_return_pin_fallible_literal_message_escape/expected/CHANGELOG.md
  • fixtures/owner_return_pin_fallible_literal_message_escape/expected/check.json
  • fixtures/owner_return_pin_fallible_literal_message_escape/expected/human-full.txt
  • fixtures/owner_return_pin_fallible_literal_message_escape/expected/human.txt
  • fixtures/owner_return_pin_identity_traps/expected/CHANGELOG.md
  • fixtures/owner_return_pin_identity_traps/expected/check.json
  • fixtures/owner_return_pin_identity_traps/expected/human.txt
  • fixtures/owner_return_pin_json_alternate_return/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_alternate_return/expected/check.json
  • fixtures/owner_return_pin_json_alternate_return/expected/human.txt
  • fixtures/owner_return_pin_json_nested_literal/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_nested_literal/expected/check.json
  • fixtures/owner_return_pin_json_nested_literal/expected/human.txt
  • fixtures/owner_return_pin_json_real_literal/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_real_literal/expected/check.json
  • fixtures/owner_return_pin_json_shadowed_owner/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_shadowed_owner/expected/check.json
  • fixtures/owner_return_pin_json_shadowed_owner/expected/human.txt
  • fixtures/owner_return_pin_pointer_invisible_input/expected/CHANGELOG.md
  • fixtures/owner_return_pin_pointer_invisible_input/expected/check.json
  • fixtures/owner_return_pin_pointer_invisible_input/expected/human.txt
  • fixtures/owner_return_pin_pointer_mask_rebound/expected/CHANGELOG.md
  • fixtures/owner_return_pin_pointer_mask_rebound/expected/check.json
  • fixtures/owner_return_pin_pointer_mask_rebound/expected/human.txt
  • fixtures/owner_return_pin_pointer_mask_unexercised/expected/CHANGELOG.md
  • fixtures/owner_return_pin_pointer_mask_unexercised/expected/check.json
  • fixtures/owner_return_pin_pointer_mask_unexercised/expected/human.txt
  • fixtures/predicate_pairing_mutably_borrowed_binding/expected/CHANGELOG.md
  • fixtures/predicate_pairing_mutably_borrowed_binding/expected/check.json
  • fixtures/predicate_pairing_mutably_borrowed_binding/expected/human-full.txt
  • fixtures/predicate_pairing_newline_split_reassigned_binding/expected/CHANGELOG.md
  • fixtures/predicate_pairing_newline_split_reassigned_binding/expected/check.json
  • fixtures/predicate_pairing_newline_split_reassigned_binding/expected/human-full.txt
  • fixtures/predicate_pairing_reassigned_binding/expected/CHANGELOG.md
  • fixtures/predicate_pairing_reassigned_binding/expected/check.json
  • fixtures/predicate_pairing_reassigned_binding/expected/human-full.txt
  • fixtures/radix_literal_boundary_off/expected/CHANGELOG.md
  • fixtures/radix_literal_boundary_off/expected/check.json
  • fixtures/radix_literal_boundary_off/expected/human-full.txt
  • fixtures/returned_comparison_boundary_gap/expected/CHANGELOG.md
  • fixtures/returned_comparison_boundary_gap/expected/check.json
  • fixtures/returned_explicit_comparison_boundary_gap/expected/CHANGELOG.md
  • fixtures/returned_explicit_comparison_boundary_gap/expected/check.json
  • fixtures/rust_array_element_drop_exit/expected/CHANGELOG.md
  • fixtures/rust_array_element_drop_exit/expected/check.json
  • fixtures/rust_array_element_drop_exit/expected/human-full.txt
  • fixtures/rust_returned_error_drop_exit/expected/CHANGELOG.md
  • fixtures/rust_returned_error_drop_exit/expected/check.json
  • fixtures/rust_returned_error_drop_exit/expected/human-full.txt
  • fixtures/rust_returned_type_drop_exit/expected/CHANGELOG.md
  • fixtures/rust_returned_type_drop_exit/expected/check.json
  • fixtures/rust_returned_type_drop_exit/expected/human-full.txt
  • fixtures/rust_returned_type_drop_wrapped_ok/expected/CHANGELOG.md
  • fixtures/rust_returned_type_drop_wrapped_ok/expected/check.json
  • fixtures/rust_returned_type_drop_wrapped_ok/expected/human-full.txt
  • fixtures/rust_test_written_expected_file/expected/CHANGELOG.md
  • fixtures/rust_test_written_expected_file/expected/check.json
  • fixtures/rust_test_written_expected_file/expected/human-full.txt
  • fixtures/rust_test_written_expected_file/expected/human.txt
  • fixtures/rust_test_written_expected_file_bound/expected/CHANGELOG.md
  • fixtures/rust_test_written_expected_file_bound/expected/check.json
  • fixtures/rust_test_written_expected_file_bound/expected/human-full.txt
  • fixtures/rust_test_written_expected_file_bound/expected/human.txt
  • fixtures/tail_comparison_boundary/expected/CHANGELOG.md
  • fixtures/tail_comparison_boundary/expected/check.json
  • xtask/src/reports/fixtures.rs
  • xtask/src/reports/fixtures/observation_tail_return.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Copy link
Copy Markdown
Member Author

Review of record, head = PR head at request time (single reviewer, sequential angles).

  • Source fidelity: the non-generated diff is fix(fixtures): preserve real tail-return evidence and truthful guidance (#8954) #8984's own (decision.rs guidance, fixtures.rs and observation_tail_return.rs validation, new semicolon fixture, specs 0094/0259, traceability, corpus rows, two changelog fragments), applied to main without hand edits; it applied cleanly.
  • Goldens: 34 fixtures regenerated against main. In existing expected/check.json files, every changed line is a recommended-next-step string (the new "Check whether the change can affect the returned value…" text or the "already has an exact assertion; this does not establish observation…" wording); no verdict or classification line moves. The only other additions belong to the new semicolon fixture.
  • Gate catch: precommit first failed the evidence-promotion honesty check because the new fixture lacked expected/human-full.txt; added from the generated output and re-blessed. Re-run exit 0.
  • Local: goldens check 0, both fixtures runs 0, observation_tail_return tests 3/3, precommit 0.

Requesting Ripr Rust Small Result. #8984 will be closed against this PR's merge.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 24, 2026 21:58
@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!

Copy link
Copy Markdown
Member Author

Rust-only feature lane failed on e175f0e: two cli_smoke human_full_shared tests compare against fixtures/human_full_shared_parse_port/expected/library-human-lines.json, which still held the old return-value advice and oracle_context wording. This PR's change, so I fixed it in b5036d5 (only the return-value lines; the error-path line keeps its wording). Local cargo test -p ripr --test cli_smoke had exactly those 2 failures of 644 before the fix; human_full_shared is 4/4 after. Label re-applied for the new head.


Generated by Claude Code

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

Decision

  • Needs one verification check before upstream.

Verification questions

  • Confirm the fixture dispatch validates only observation_verified_side_effect before invoking the shared analyzer route; the semicolon fixture is validated only by its dedicated test rather than by the same pre-analysis guard.

Refuted

  • The semicolon fixture may be misclassified because it duplicates the tail-return case.; refuted because: The semicolon source and diff differ structurally, and the test independently pins exactly CallDeletion plus SideEffect at line 18 with Exposed classifications.
  • The new semicolon fixture mislabels a shifted or tail-return expression as standalone CallDeletion coverage.; refuted because: The fixture uses a semicolon-terminated call at line 18, the diff is aligned at line 18, and the analyzer inventory test independently requires exactly CallDeletion plus SideEffect with no ReturnValue.

Evidence gaps

  • Repository-wide Rust test success was claimed but was not independently available in this lane.
  • Model proof intent was rejected by deterministic validation.
  • Central proof is incomplete because the ripr sensor failed and cargo-test had only a scheduled receipt.

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