Skip to content

fix(output): make the assertion_not_credited sentence cause-neutral (#8780) - #8920

Merged
EffortlessSteven merged 3 commits into
mainfrom
claude/project-thread-spfvi9
Oct 20, 2026
Merged

EffortlessSteven merged 3 commits into
mainfrom
claude/project-thread-spfvi9

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Requested by Steven · project thread

Governing issue or accepted claim: #8780
Acceptance delta (one sentence): The assertion_not_credited miss sentence no longer says "runs as the standard macro" when the cause can be a feature cfg or another limit.

Before: a #[cfg(feature = ...)] test was reported "assertion not credited: ripr could not establish that it runs as the standard macro", though no macro was involved.

After: "assertion not credited: ripr could not establish that this assertion counts here".

How: one sentence in output/related_test_miss.rs, plus docs (OUTPUT_SCHEMA.md, triage how-to, policy/output_contracts.txt), a changelog fragment, and one bless of 36 fixtures (101 expected files). Analyzer-limit "missing" text is untouched. The #8388/#8747 oracle-phrase wording follows as a separate PR (same fixtures, so sequenced after this).

Local: cargo xtask goldens check clean except the offline owner_return_pin_fallible_literal preparation gap; cargo xtask precommit passes; cargo test -p ripr --lib related_test_miss passes.


Generated by Claude Code

…8780)

Bless 36 fixtures (101 expected files) for the new sentence.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YFmWzyi2hqh4D77XfiPRiq
@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 self-assigned this Oct 19, 2026
@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

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 4 minutes.

Check out review usage here.

View limit details

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

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 5fc95a95-f3c4-45c4-a4b9-d3606c1d0b80
📥 Commits

Reviewing files that changed from the base of the PR and between 53f1270 and 4dd0b1e.

📒 Files selected for processing: 142
  • changelog.d/8780-assertion-not-credited-wording.md
  • crates/ripr/src/output/related_test_miss.rs
  • docs/OUTPUT_SCHEMA.md
  • docs/how-to/triage-a-finding.md
  • fixtures/error_path_oracle_execution_false_branch/expected/CHANGELOG.md
  • fixtures/error_path_oracle_execution_false_branch/expected/check.json
  • fixtures/error_path_oracle_execution_false_branch/expected/human-full.txt
  • fixtures/error_path_oracle_execution_false_branch/expected/human.txt
  • fixtures/error_path_oracle_execution_reached_uncalled/expected/CHANGELOG.md
  • fixtures/error_path_oracle_execution_reached_uncalled/expected/check.json
  • fixtures/error_path_oracle_execution_reached_uncalled/expected/human-full.txt
  • fixtures/error_path_oracle_execution_reached_uncalled/expected/human.txt
  • fixtures/error_path_oracle_execution_shadowed/expected/CHANGELOG.md
  • fixtures/error_path_oracle_execution_shadowed/expected/check.json
  • fixtures/error_path_oracle_execution_shadowed/expected/human-full.txt
  • fixtures/error_path_oracle_execution_shadowed/expected/human.txt
  • fixtures/error_path_oracle_execution_uncalled/expected/CHANGELOG.md
  • fixtures/error_path_oracle_execution_uncalled/expected/check.json
  • fixtures/error_path_oracle_execution_uncalled/expected/human-full.txt
  • fixtures/error_path_oracle_execution_uncalled/expected/human.txt
  • fixtures/field_match_macro_option_shadow/expected/CHANGELOG.md
  • fixtures/field_match_macro_option_shadow/expected/check.json
  • fixtures/field_match_macro_option_shadow/expected/human-full.txt
  • fixtures/field_match_unexecuted_assertion/expected/CHANGELOG.md
  • fixtures/field_match_unexecuted_assertion/expected/check.json
  • fixtures/field_match_unexecuted_assertion/expected/human-full.txt
  • fixtures/field_match_unexecuted_assertion/expected/human.txt
  • fixtures/gap_kept_ignored_test/expected/CHANGELOG.md
  • fixtures/gap_kept_ignored_test/expected/check.json
  • fixtures/gap_kept_ignored_test/expected/human.txt
  • fixtures/gap_withheld_feature_gated_test/expected/CHANGELOG.md
  • fixtures/gap_withheld_feature_gated_test/expected/check.json
  • fixtures/gap_withheld_feature_gated_test/expected/human.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/guarded_result_match_fail_closed/expected/human.txt
  • fixtures/guarded_result_match_swallowed/expected/CHANGELOG.md
  • fixtures/guarded_result_match_swallowed/expected/check.json
  • fixtures/guarded_result_match_swallowed/expected/human-full.txt
  • fixtures/guarded_result_match_swallowed/expected/human.txt
  • fixtures/match_arm_shadowed_assert/expected/CHANGELOG.md
  • fixtures/match_arm_shadowed_assert/expected/check.json
  • fixtures/match_arm_shadowed_assert/expected/human-full.txt
  • fixtures/match_arm_shadowed_assert/expected/human.txt
  • fixtures/owner_return_pin_cfg_attr_module/expected/CHANGELOG.md
  • fixtures/owner_return_pin_cfg_attr_module/expected/check.json
  • fixtures/owner_return_pin_cfg_attr_module/expected/human-full.txt
  • fixtures/owner_return_pin_cfg_attr_module/expected/human.txt
  • fixtures/owner_return_pin_cfg_false_file/expected/CHANGELOG.md
  • fixtures/owner_return_pin_cfg_false_file/expected/check.json
  • fixtures/owner_return_pin_cfg_false_file/expected/human-full.txt
  • fixtures/owner_return_pin_cfg_false_file/expected/human.txt
  • fixtures/owner_return_pin_cfg_false_module/expected/CHANGELOG.md
  • fixtures/owner_return_pin_cfg_false_module/expected/check.json
  • fixtures/owner_return_pin_cfg_false_module/expected/human-full.txt
  • fixtures/owner_return_pin_cfg_false_module/expected/human.txt
  • fixtures/owner_return_pin_deferred_closure_binding/expected/CHANGELOG.md
  • fixtures/owner_return_pin_deferred_closure_binding/expected/check.json
  • fixtures/owner_return_pin_deferred_closure_binding/expected/human-full.txt
  • fixtures/owner_return_pin_deferred_closure_binding/expected/human.txt
  • fixtures/owner_return_pin_expired_closure_binding/expected/CHANGELOG.md
  • fixtures/owner_return_pin_expired_closure_binding/expected/check.json
  • fixtures/owner_return_pin_expired_closure_binding/expected/human-full.txt
  • fixtures/owner_return_pin_expired_closure_binding/expected/human.txt
  • fixtures/owner_return_pin_if_false/expected/CHANGELOG.md
  • fixtures/owner_return_pin_if_false/expected/check.json
  • fixtures/owner_return_pin_if_false/expected/human-full.txt
  • fixtures/owner_return_pin_if_false/expected/human.txt
  • fixtures/owner_return_pin_json_effectful_operand/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_effectful_operand/expected/check.json
  • fixtures/owner_return_pin_json_effectful_operand/expected/human.txt
  • fixtures/owner_return_pin_json_shadowed_assertion/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_shadowed_assertion/expected/check.json
  • fixtures/owner_return_pin_json_shadowed_assertion/expected/human.txt
  • fixtures/owner_return_pin_json_shadowed_constructor/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_shadowed_constructor/expected/check.json
  • fixtures/owner_return_pin_json_shadowed_constructor/expected/human.txt
  • fixtures/owner_return_pin_json_uncalled_closure/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_uncalled_closure/expected/check.json
  • fixtures/owner_return_pin_json_uncalled_closure/expected/human.txt
  • fixtures/owner_return_pin_macro_operand_return/expected/CHANGELOG.md
  • fixtures/owner_return_pin_macro_operand_return/expected/check.json
  • fixtures/owner_return_pin_macro_operand_return/expected/human-full.txt
  • fixtures/owner_return_pin_macro_operand_return/expected/human.txt
  • fixtures/owner_return_pin_macro_return/expected/CHANGELOG.md
  • fixtures/owner_return_pin_macro_return/expected/check.json
  • fixtures/owner_return_pin_macro_return/expected/human-full.txt
  • fixtures/owner_return_pin_macro_return/expected/human.txt
  • fixtures/owner_return_pin_nested_test/expected/CHANGELOG.md
  • fixtures/owner_return_pin_nested_test/expected/check.json
  • fixtures/owner_return_pin_nested_test/expected/human-full.txt
  • fixtures/owner_return_pin_nested_test/expected/human.txt
  • fixtures/owner_return_pin_out_of_line_cfg/expected/CHANGELOG.md
  • fixtures/owner_return_pin_out_of_line_cfg/expected/check.json
  • fixtures/owner_return_pin_out_of_line_cfg/expected/human-full.txt
  • fixtures/owner_return_pin_out_of_line_cfg/expected/human.txt
  • fixtures/owner_return_pin_rebound_test_attribute/expected/CHANGELOG.md
  • fixtures/owner_return_pin_rebound_test_attribute/expected/check.json
  • fixtures/owner_return_pin_rebound_test_attribute/expected/human-full.txt
  • fixtures/owner_return_pin_rebound_test_attribute/expected/human.txt
  • fixtures/owner_return_pin_shadowed_assertion/expected/CHANGELOG.md
  • fixtures/owner_return_pin_shadowed_assertion/expected/check.json
  • fixtures/owner_return_pin_shadowed_assertion/expected/human-full.txt
  • fixtures/owner_return_pin_shadowed_assertion/expected/human.txt
  • fixtures/owner_return_pin_token_overlap/expected/CHANGELOG.md
  • fixtures/owner_return_pin_token_overlap/expected/check.json
  • fixtures/owner_return_pin_token_overlap/expected/human-full.txt
  • fixtures/owner_return_pin_token_overlap/expected/human.txt
  • fixtures/owner_return_pin_uncalled_closure/expected/CHANGELOG.md
  • fixtures/owner_return_pin_uncalled_closure/expected/check.json
  • fixtures/owner_return_pin_uncalled_closure/expected/human-full.txt
  • fixtures/owner_return_pin_uncalled_closure/expected/human.txt
  • fixtures/owner_return_pin_unknown_singleton/expected/CHANGELOG.md
  • fixtures/owner_return_pin_unknown_singleton/expected/check.json
  • fixtures/owner_return_pin_unknown_singleton/expected/human-full.txt
  • fixtures/owner_return_pin_unknown_singleton/expected/human.txt
  • fixtures/owner_return_pin_unpolled_async/expected/CHANGELOG.md
  • fixtures/owner_return_pin_unpolled_async/expected/check.json
  • fixtures/owner_return_pin_unpolled_async/expected/human-full.txt
  • fixtures/owner_return_pin_unpolled_async/expected/human.txt
  • fixtures/predicate_boundary_oracle_refused/expected/CHANGELOG.md
  • fixtures/predicate_boundary_oracle_refused/expected/check.json
  • fixtures/predicate_boundary_oracle_refused/expected/human-full.txt
  • fixtures/predicate_boundary_oracle_refused/expected/human.txt
  • fixtures/predicate_oracle_execution_false_branch/expected/CHANGELOG.md
  • fixtures/predicate_oracle_execution_false_branch/expected/check.json
  • fixtures/predicate_oracle_execution_false_branch/expected/human-full.txt
  • fixtures/predicate_oracle_execution_false_branch/expected/human.txt
  • fixtures/predicate_oracle_execution_reached_uncalled/expected/CHANGELOG.md
  • fixtures/predicate_oracle_execution_reached_uncalled/expected/check.json
  • fixtures/predicate_oracle_execution_reached_uncalled/expected/human-full.txt
  • fixtures/predicate_oracle_execution_reached_uncalled/expected/human.txt
  • fixtures/predicate_oracle_execution_shadowed/expected/CHANGELOG.md
  • fixtures/predicate_oracle_execution_shadowed/expected/check.json
  • fixtures/predicate_oracle_execution_shadowed/expected/human-full.txt
  • fixtures/predicate_oracle_execution_shadowed/expected/human.txt
  • fixtures/predicate_oracle_execution_uncalled/expected/CHANGELOG.md
  • fixtures/predicate_oracle_execution_uncalled/expected/check.json
  • fixtures/predicate_oracle_execution_uncalled/expected/human-full.txt
  • fixtures/predicate_oracle_execution_uncalled/expected/human.txt
  • policy/output_contracts.txt

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: a3b5e533-c660-42a0-aa88-3210d1a962e7
📥 Commits

Reviewing files that changed from the base of the PR and between 55057e1 and 53f1270.

📒 Files selected for processing: 142
  • changelog.d/8780-assertion-not-credited-wording.md
  • crates/ripr/src/output/related_test_miss.rs
  • docs/OUTPUT_SCHEMA.md
  • docs/how-to/triage-a-finding.md
  • fixtures/error_path_oracle_execution_false_branch/expected/CHANGELOG.md
  • fixtures/error_path_oracle_execution_false_branch/expected/check.json
  • fixtures/error_path_oracle_execution_false_branch/expected/human-full.txt
  • fixtures/error_path_oracle_execution_false_branch/expected/human.txt
  • fixtures/error_path_oracle_execution_reached_uncalled/expected/CHANGELOG.md
  • fixtures/error_path_oracle_execution_reached_uncalled/expected/check.json
  • fixtures/error_path_oracle_execution_reached_uncalled/expected/human-full.txt
  • fixtures/error_path_oracle_execution_reached_uncalled/expected/human.txt
  • fixtures/error_path_oracle_execution_shadowed/expected/CHANGELOG.md
  • fixtures/error_path_oracle_execution_shadowed/expected/check.json
  • fixtures/error_path_oracle_execution_shadowed/expected/human-full.txt
  • fixtures/error_path_oracle_execution_shadowed/expected/human.txt
  • fixtures/error_path_oracle_execution_uncalled/expected/CHANGELOG.md
  • fixtures/error_path_oracle_execution_uncalled/expected/check.json
  • fixtures/error_path_oracle_execution_uncalled/expected/human-full.txt
  • fixtures/error_path_oracle_execution_uncalled/expected/human.txt
  • fixtures/field_match_macro_option_shadow/expected/CHANGELOG.md
  • fixtures/field_match_macro_option_shadow/expected/check.json
  • fixtures/field_match_macro_option_shadow/expected/human-full.txt
  • fixtures/field_match_unexecuted_assertion/expected/CHANGELOG.md
  • fixtures/field_match_unexecuted_assertion/expected/check.json
  • fixtures/field_match_unexecuted_assertion/expected/human-full.txt
  • fixtures/field_match_unexecuted_assertion/expected/human.txt
  • fixtures/gap_kept_ignored_test/expected/CHANGELOG.md
  • fixtures/gap_kept_ignored_test/expected/check.json
  • fixtures/gap_kept_ignored_test/expected/human.txt
  • fixtures/gap_withheld_feature_gated_test/expected/CHANGELOG.md
  • fixtures/gap_withheld_feature_gated_test/expected/check.json
  • fixtures/gap_withheld_feature_gated_test/expected/human.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/guarded_result_match_fail_closed/expected/human.txt
  • fixtures/guarded_result_match_swallowed/expected/CHANGELOG.md
  • fixtures/guarded_result_match_swallowed/expected/check.json
  • fixtures/guarded_result_match_swallowed/expected/human-full.txt
  • fixtures/guarded_result_match_swallowed/expected/human.txt
  • fixtures/match_arm_shadowed_assert/expected/CHANGELOG.md
  • fixtures/match_arm_shadowed_assert/expected/check.json
  • fixtures/match_arm_shadowed_assert/expected/human-full.txt
  • fixtures/match_arm_shadowed_assert/expected/human.txt
  • fixtures/owner_return_pin_cfg_attr_module/expected/CHANGELOG.md
  • fixtures/owner_return_pin_cfg_attr_module/expected/check.json
  • fixtures/owner_return_pin_cfg_attr_module/expected/human-full.txt
  • fixtures/owner_return_pin_cfg_attr_module/expected/human.txt
  • fixtures/owner_return_pin_cfg_false_file/expected/CHANGELOG.md
  • fixtures/owner_return_pin_cfg_false_file/expected/check.json
  • fixtures/owner_return_pin_cfg_false_file/expected/human-full.txt
  • fixtures/owner_return_pin_cfg_false_file/expected/human.txt
  • fixtures/owner_return_pin_cfg_false_module/expected/CHANGELOG.md
  • fixtures/owner_return_pin_cfg_false_module/expected/check.json
  • fixtures/owner_return_pin_cfg_false_module/expected/human-full.txt
  • fixtures/owner_return_pin_cfg_false_module/expected/human.txt
  • fixtures/owner_return_pin_deferred_closure_binding/expected/CHANGELOG.md
  • fixtures/owner_return_pin_deferred_closure_binding/expected/check.json
  • fixtures/owner_return_pin_deferred_closure_binding/expected/human-full.txt
  • fixtures/owner_return_pin_deferred_closure_binding/expected/human.txt
  • fixtures/owner_return_pin_expired_closure_binding/expected/CHANGELOG.md
  • fixtures/owner_return_pin_expired_closure_binding/expected/check.json
  • fixtures/owner_return_pin_expired_closure_binding/expected/human-full.txt
  • fixtures/owner_return_pin_expired_closure_binding/expected/human.txt
  • fixtures/owner_return_pin_if_false/expected/CHANGELOG.md
  • fixtures/owner_return_pin_if_false/expected/check.json
  • fixtures/owner_return_pin_if_false/expected/human-full.txt
  • fixtures/owner_return_pin_if_false/expected/human.txt
  • fixtures/owner_return_pin_json_effectful_operand/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_effectful_operand/expected/check.json
  • fixtures/owner_return_pin_json_effectful_operand/expected/human.txt
  • fixtures/owner_return_pin_json_shadowed_assertion/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_shadowed_assertion/expected/check.json
  • fixtures/owner_return_pin_json_shadowed_assertion/expected/human.txt
  • fixtures/owner_return_pin_json_shadowed_constructor/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_shadowed_constructor/expected/check.json
  • fixtures/owner_return_pin_json_shadowed_constructor/expected/human.txt
  • fixtures/owner_return_pin_json_uncalled_closure/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_uncalled_closure/expected/check.json
  • fixtures/owner_return_pin_json_uncalled_closure/expected/human.txt
  • fixtures/owner_return_pin_macro_operand_return/expected/CHANGELOG.md
  • fixtures/owner_return_pin_macro_operand_return/expected/check.json
  • fixtures/owner_return_pin_macro_operand_return/expected/human-full.txt
  • fixtures/owner_return_pin_macro_operand_return/expected/human.txt
  • fixtures/owner_return_pin_macro_return/expected/CHANGELOG.md
  • fixtures/owner_return_pin_macro_return/expected/check.json
  • fixtures/owner_return_pin_macro_return/expected/human-full.txt
  • fixtures/owner_return_pin_macro_return/expected/human.txt
  • fixtures/owner_return_pin_nested_test/expected/CHANGELOG.md
  • fixtures/owner_return_pin_nested_test/expected/check.json
  • fixtures/owner_return_pin_nested_test/expected/human-full.txt
  • fixtures/owner_return_pin_nested_test/expected/human.txt
  • fixtures/owner_return_pin_out_of_line_cfg/expected/CHANGELOG.md
  • fixtures/owner_return_pin_out_of_line_cfg/expected/check.json
  • fixtures/owner_return_pin_out_of_line_cfg/expected/human-full.txt
  • fixtures/owner_return_pin_out_of_line_cfg/expected/human.txt
  • fixtures/owner_return_pin_rebound_test_attribute/expected/CHANGELOG.md
  • fixtures/owner_return_pin_rebound_test_attribute/expected/check.json
  • fixtures/owner_return_pin_rebound_test_attribute/expected/human-full.txt
  • fixtures/owner_return_pin_rebound_test_attribute/expected/human.txt
  • fixtures/owner_return_pin_shadowed_assertion/expected/CHANGELOG.md
  • fixtures/owner_return_pin_shadowed_assertion/expected/check.json
  • fixtures/owner_return_pin_shadowed_assertion/expected/human-full.txt
  • fixtures/owner_return_pin_shadowed_assertion/expected/human.txt
  • fixtures/owner_return_pin_token_overlap/expected/CHANGELOG.md
  • fixtures/owner_return_pin_token_overlap/expected/check.json
  • fixtures/owner_return_pin_token_overlap/expected/human-full.txt
  • fixtures/owner_return_pin_token_overlap/expected/human.txt
  • fixtures/owner_return_pin_uncalled_closure/expected/CHANGELOG.md
  • fixtures/owner_return_pin_uncalled_closure/expected/check.json
  • fixtures/owner_return_pin_uncalled_closure/expected/human-full.txt
  • fixtures/owner_return_pin_uncalled_closure/expected/human.txt
  • fixtures/owner_return_pin_unknown_singleton/expected/CHANGELOG.md
  • fixtures/owner_return_pin_unknown_singleton/expected/check.json
  • fixtures/owner_return_pin_unknown_singleton/expected/human-full.txt
  • fixtures/owner_return_pin_unknown_singleton/expected/human.txt
  • fixtures/owner_return_pin_unpolled_async/expected/CHANGELOG.md
  • fixtures/owner_return_pin_unpolled_async/expected/check.json
  • fixtures/owner_return_pin_unpolled_async/expected/human-full.txt
  • fixtures/owner_return_pin_unpolled_async/expected/human.txt
  • fixtures/predicate_boundary_oracle_refused/expected/CHANGELOG.md
  • fixtures/predicate_boundary_oracle_refused/expected/check.json
  • fixtures/predicate_boundary_oracle_refused/expected/human-full.txt
  • fixtures/predicate_boundary_oracle_refused/expected/human.txt
  • fixtures/predicate_oracle_execution_false_branch/expected/CHANGELOG.md
  • fixtures/predicate_oracle_execution_false_branch/expected/check.json
  • fixtures/predicate_oracle_execution_false_branch/expected/human-full.txt
  • fixtures/predicate_oracle_execution_false_branch/expected/human.txt
  • fixtures/predicate_oracle_execution_reached_uncalled/expected/CHANGELOG.md
  • fixtures/predicate_oracle_execution_reached_uncalled/expected/check.json
  • fixtures/predicate_oracle_execution_reached_uncalled/expected/human-full.txt
  • fixtures/predicate_oracle_execution_reached_uncalled/expected/human.txt
  • fixtures/predicate_oracle_execution_shadowed/expected/CHANGELOG.md
  • fixtures/predicate_oracle_execution_shadowed/expected/check.json
  • fixtures/predicate_oracle_execution_shadowed/expected/human-full.txt
  • fixtures/predicate_oracle_execution_shadowed/expected/human.txt
  • fixtures/predicate_oracle_execution_uncalled/expected/CHANGELOG.md
  • fixtures/predicate_oracle_execution_uncalled/expected/check.json
  • fixtures/predicate_oracle_execution_uncalled/expected/human-full.txt
  • fixtures/predicate_oracle_execution_uncalled/expected/human.txt
  • policy/output_contracts.txt

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour.

Summary by CodeRabbit

  • Bug Fixes
    • Clarified why assertions may not be credited in analysis results: the tool could not confirm that an assertion counts in context. Possible causes include a local macro, feature configuration, or another limitation.
  • Documentation
    • Updated guidance to help interpret these findings and identify when an analyzer follow-up may be appropriate.

Walkthrough

The assertion_not_credited message now describes uncertainty about whether an assertion counts, rather than attributing the uncertainty specifically to standard-macro execution. Documentation and fixture expected outputs reflect the revised wording.

Changes

Assertion credit wording

Layer / File(s) Summary
Message and guidance
crates/ripr/src/output/related_test_miss.rs, docs/OUTPUT_SCHEMA.md, docs/how-to/triage-a-finding.md, policy/output_contracts.txt, changelog.d/8780-assertion-not-credited-wording.md
The message describes an assertion that ripr could not establish as counting. The documentation lists local macros, feature cfg, and other limits as possible causes.
Fixture output updates
fixtures/*/expected/*
Expected diagnostics use the revised wording. Fixture changelogs record the golden-output updates.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~12 minutes

Merge Risk: ⚪ Minimal · up to 53f12

The wording, documentation, and expected outputs are consistent, with no actionable merge-blocking risk identified.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description explains the change, scope, acceptance delta, affected fixtures, and partial validation results. However, it omits most required template sections, including swarm boundary, source-of-… Complete the repository template. Add the required section headings and provide values or n/a where applicable. Record the swarm-boundary decision, source links, candidate relationships, scope and non-goals, support and policy impact, pro…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly identifies the main change: making the assertion_not_credited output sentence cause-neutral.
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (141 skipped: …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (141 skipped: 141 unsupported.)

Full details: Description check

Explanation

The description explains the change, scope, acceptance delta, affected fixtures, and partial validation results. However, it omits most required template sections, including swarm boundary, source-of-truth links, candidate relationships, scope classification, support-tier impact, policy impact, claim boundary, rollback, traceability, static language checks, CI economics, engineering checks, and the gates checklist.

Resolution

Complete the repository template. Add the required section headings and provide values or n/a where applicable. Record the swarm-boundary decision, source links, candidate relationships, scope and non-goals, support and policy impact, proof commands and results, claim boundary, rollback steps, spec-test-code traceability, static-language and engineering checklist status, CI economics, and all applicable gate results.

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit reads the note anew,
“Counts here” replaces “macro” too.
The feature gates and macros show
Why credit might not safely flow.
The fixture lines now match the phrase,
And carrots mark the wording days.

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

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 19, 2026 23:11
@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!

@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: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@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 two-tier docs (OUTPUT_SCHEMA.md + triage-a-finding.md) use parallel but divergent phrasings of cause-neutral wording; risk that one drifts again on the next cause addition.

Refuted

  • Helper extraction or duplication risk from the wording rewrite.; refuted because: Single-line string literal change in one match arm; no helper introduced or duplicated. Fixture updates are mechanical blessed-output reflects, not duplicated logic.
  • Sensor ripr failed (exit code 2), indicating the goldens-check tool itself contradicts the blessed expectations and the fixtures need re-bless or the change is unsound.; refuted because: Only fixture-side mutations in the diff are the literal why/assertion not credited: sentence replacements that match the one producer string in related_test_miss.rs; no structural JSON or routing change. Local runs in the PR body (cargo xtask goldens check clean apart from an unrelated offline pre-flight gap, cargo xtask precommit passes, targeted lib test passes) confirm the producer sentence and the 36 blessed files agree. Ripr exit 2 is consistent with the bless workflow (goldens in 'Pending' state until a follow-up bless), not a contradiction.

Parked follow-ups

  • Policy contract line in policy/output_contracts.txt was edited; wording now lists 'local macro, feature cfg or another limit' but only one related_test_miss\|assertion_not_credited row exists, so a future analyzer improvement that adds a structured cause code may collide with the prose cause enumeration.
  • docs and policy duplicate the cause list across three locations; smallest-complete-fix should reduce that surface before the oracle-phrase follow-up lands and re-blesses the same fixtures.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • ripr sensor reported exit code 2 with no receipt, so the live golden run that produced this PR's fixture updates cannot be independently re-validated in this lane; cargo-test scheduled-late.

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

@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 reviewer attention before upstream: findings remain.

Confirmed findings

  • Doc/policy prose enumerates cause examples (local macro, feature cfg, another limit); the producer sentence is cause-neutral by design and punts cause to the finding's note. If the per-finding note ever loses that detail, the user-facing summary regresses. Consider making the contract a single-source string (const) shared by producer, docs, and policy to prevent drift on the next cause addition.

Verification questions

  • Confirm docs and policy mirror the producer string but use parallel-but-divergent phrasings: schema adds '(a local macro, a feature cfg or another limit can each cause it)'; triage how-to adds 'The finding's note names the cause'; policy rewrites the contract description.

Refuted

  • Helper extraction or duplication risk from the wording rewrite.; refuted because: Single-line string literal change in one match arm; no helper introduced or duplicated; fixture updates are mechanical blessed-output reflects, not duplicated logic.
  • ripr exit 2 indicates the goldens check contradicts the blessed expectations, so the fixtures need re-bless or the change is unsound.; refuted because: Sensor note and PR body converge: every fixture mutation is a literal sentence replacement matching the one producer string; no structural JSON or routing changes. Ripr exit 2 is the documented signal for blessed-output mismatches, which is exactly what this diff intends to update. The author's local cargo xtask goldens check clean apart from one unrelated offline pre-flight gap is consistent with this being a bless flow, not a soundness failure.

Parked follow-ups

  • gh-actions bot flagged a doc-drift risk between OUTPUT_SCHEMA.md and triage-a-finding.md as a one-time verification question; not a current finding - and the diff updates both, so the risk is addressed in this PR.
  • 36 fixtures' why fields and human/human-full lines now reflect the new sentence byte-for-byte; the prior two-tier (OUTPUT_SCHEMA vs triage) drift is closed but the two phrasings diverge (OUTPUT_SCHEMA adds '... Another limit can each cause it'; triage says 'feature cfg on the test, for example').
  • cargo-test receipt absent; PR body claims cargo test -p ripr --lib related_test_miss passes and goldens-check clean except one unrelated offline gap, but reviewer-side witness not on disk yet.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • cargo-test receipt absent; PR body claims cargo test -p ripr --lib related_test_miss passes and goldens-check clean except one unrelated offline gap, but reviewer-side witness not on disk yet.

@EffortlessSteven
EffortlessSteven merged commit a045441 into main Oct 20, 2026
47 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/project-thread-spfvi9 branch October 20, 2026 00:46
EffortlessSteven pushed a commit that referenced this pull request Oct 20, 2026
…ribute, not a macro rebinding (#8388)

rand 94c9078 uniform_other.rs test_char_bad_deser is "assertion not credited"
because it carries #[cfg(feature = "serde")], whose availability ripr cannot
evaluate; no macro is rebound. Reproduced on a minimal crate: the same test
without the gate is credited. The refusal is deliberate (analyzer limit, not a
gap), so the guard is unchanged. A unit test pins the gated refusal, the
credited ungated control and a still-refusing foreign glob. The misleading
sentence was already made cause-neutral on main (#8920).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AUS4vFoCEv5DiNwucKqSbC
EffortlessSteven added a commit that referenced this pull request Oct 20, 2026
…ot a macro rebinding (#8388) (#8937)

* test(owner-pin): pin that a feature-gated test is refused for its attribute, not a macro rebinding (#8388)

rand 94c9078 uniform_other.rs test_char_bad_deser is "assertion not credited"
because it carries #[cfg(feature = "serde")], whose availability ripr cannot
evaluate; no macro is rebound. Reproduced on a minimal crate: the same test
without the gate is credited. The refusal is deliberate (analyzer limit, not a
gap), so the guard is unchanged. A unit test pins the gated refusal, the
credited ungated control and a still-refusing foreign glob. The misleading
sentence was already made cause-neutral on main (#8920).

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

* test(owner-pin): check the assert_eq! oracle in the feature-gate pin's controls (#8388)

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
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