Skip to content

fix(human): name all five stage states in the digest Evidence line (#4324) - #4936

Merged
EffortlessSteven merged 2 commits into
mainfrom
fix/digest-stage-states-4324
Sep 30, 2026
Merged

EffortlessSteven merged 2 commits into
mainfrom
fix/digest-stage-states-4324

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Summary

Before: the bounded digest showed the first 2 evidence lines positionally, and evidence ordering is pipeline-ordered (reach, infection, propagation, observation, discriminator), so the stages that decide exposed vs weakly_exposed vs reachable_unrevealed — propagation, observation, discriminator — sat inside the - N more evidence line(s) hidden remainder of nearly every real bounded run. The reader got a class label plus a generic hint and had to rerun with --format human-full to see the evidence the classification rests on, for every finding, every time.

After:

  Evidence: reach yes · infection weak · propagation yes · observation yes · discriminator yes
    - reach yes: Related tests appear to reach discounted_total: below_threshold_has_no_discount, far_above_threshold_discounts
    - infection weak: Related tests contain input values, but the equality-boundary discriminator is missing
    - 10 more detail line(s) in --format human-full
  • The digest names all five stage states on one compact line for every finding. evidence_path_lines builds all five stage lines unconditionally, so every stage always carries a state and none is ever silently dropped; there is no "absent stage" case to represent.
  • The 2-line detail window is unchanged (verbatim first two detail lines), and its remainder disclosure stays honest — it now names the count and the recovery format (N more detail line(s) in --format human-full) instead of the bare N more evidence line(s) hidden.
  • JSON output, evidence production and ordering, and --format human-full are untouched (non-goals respected).

How: render_finding_digest_with_config prints the compact stage-state line from the finding's own StageState vocabulary (as_str(), the same tokens the full form uses), then keeps the existing window. RIPR-SPEC-0122 documents the compact line; the new pinning test digest_names_all_five_stage_states_and_keeps_the_remainder_disclosure is registered in .ripr/traceability.toml.

Swarm / Source Boundary

  • ordinary feature, analyzer, editor, docs, spec, fixture, badge, dependency, or repo-ops development for ripr-swarm

Source-of-truth Links

Spec: RIPR-SPEC-0122 (documents the compact five-stage Evidence line)
Governing issue or accepted claim: #4324
Acceptance delta (one sentence): the default ripr check digest shows all five stage states compactly for every finding while keeping the honest 2-line detail window and remainder disclosure; JSON and human-full are unchanged.

Testing / verification

  • No local Rust toolchain on this host, so CI is the judge: unit test + goldens check + full PR matrix.
  • All 257 affected expected/human.txt digests were re-blessed deterministically by hand: each Evidence: block's five states were derived from the sibling check.json (matched by the digest's own File: line, the reach/infection bullet text, the Changed behavior expression, and the golden's remainder count), never guessed. Each fixture's expected/CHANGELOG.md gained a ## Pending entry following the xtask goldens bless format.
  • cargo xtask dogfood is not a CI workflow and could not be run locally; in its place I verified tree-wide that no non-fixture tracked file pins the old more evidence line(s) hidden wording, and Ripr Rust Small Result on the merge commit is the hosted proof gate.

Closes #4324. Part of epic #4316 — this does not close #4316.


Devin Review

…4324)

The bounded digest showed the first 2 evidence lines positionally, and
evidence ordering is pipeline-ordered (reach, infection, propagation,
observation, discriminator), so the decisive stages sat inside the hidden
remainder of nearly every real bounded run (#4324).

The digest now leads the evidence block with one compact line naming all
five stage states, e.g.
  Evidence: reach yes · infection weak · propagation yes · observation yes · discriminator yes
Every stage always carries an evidence line, so no stage is ever silently
dropped. The 2-line detail window is unchanged and its remainder disclosure
now names the recovery format:
  - N more detail line(s) in --format human-full

JSON output, evidence production and ordering, and human-full are untouched.
Human goldens re-blessed; RIPR-SPEC-0122 documents the compact line and the
new pinning test is registered in .ripr/traceability.toml.
@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 518 files, which is 418 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 0f48aa42-91c2-4d0e-a583-5fc48a2660a9

📥 Commits

Reviewing files that changed from the base of the PR and between 705f906 and 18cf51e.

📒 Files selected for processing (518)
  • .ripr/traceability.toml
  • crates/ripr/src/output/human.rs
  • crates/ripr/src/output/human/sections.rs
  • docs/specs/RIPR-SPEC-0122-bounded-human-check-output.md
  • fixtures/all_no_path_disclosure/expected/CHANGELOG.md
  • fixtures/all_no_path_disclosure/expected/human.txt
  • fixtures/assertion_form_parity_assert_msg/expected/CHANGELOG.md
  • fixtures/assertion_form_parity_assert_msg/expected/human.txt
  • fixtures/assertion_form_parity_err_guard/expected/CHANGELOG.md
  • fixtures/assertion_form_parity_err_guard/expected/human.txt
  • fixtures/assertion_shaped_control_production_caller/expected/CHANGELOG.md
  • fixtures/assertion_shaped_control_production_caller/expected/human.txt
  • fixtures/assertion_shaped_control_production_owner/expected/CHANGELOG.md
  • fixtures/assertion_shaped_control_production_owner/expected/human.txt
  • fixtures/assertion_shaped_oracle_test_file/expected/CHANGELOG.md
  • fixtures/assertion_shaped_oracle_test_file/expected/human.txt
  • fixtures/benches_harness_evidence/expected/CHANGELOG.md
  • fixtures/benches_harness_evidence/expected/human.txt
  • fixtures/binding_predicate_equality_boundary/expected/CHANGELOG.md
  • fixtures/binding_predicate_equality_boundary/expected/human.txt
  • fixtures/binding_predicate_positions/expected/CHANGELOG.md
  • fixtures/binding_predicate_positions/expected/human.txt
  • fixtures/binding_predicate_scope_controls/expected/CHANGELOG.md
  • fixtures/binding_predicate_scope_controls/expected/human.txt
  • fixtures/binding_predicate_two_uses/expected/CHANGELOG.md
  • fixtures/binding_predicate_two_uses/expected/human.txt
  • fixtures/binding_value_fail_closed/expected/CHANGELOG.md
  • fixtures/binding_value_fail_closed/expected/human.txt
  • fixtures/binding_value_family_matrix/expected/CHANGELOG.md
  • fixtures/binding_value_family_matrix/expected/human.txt
  • fixtures/boundary_gap/expected/CHANGELOG.md
  • fixtures/boundary_gap/expected/human.txt
  • fixtures/boundary_gap_multiline_assert/expected/CHANGELOG.md
  • fixtures/boundary_gap_multiline_assert/expected/human.txt
  • fixtures/boundary_gap_nested_tests/expected/CHANGELOG.md
  • fixtures/boundary_gap_nested_tests/expected/human.txt
  • fixtures/boundary_gap_reordered_tests/expected/CHANGELOG.md
  • fixtures/boundary_gap_reordered_tests/expected/human.txt
  • fixtures/boundary_named_constant/expected/CHANGELOG.md
  • fixtures/boundary_named_constant/expected/human.txt
  • fixtures/constant_declaration_probe_reconciliation/expected/CHANGELOG.md
  • fixtures/constant_declaration_probe_reconciliation/expected/human.txt
  • fixtures/currentness_matrix_reuse/expected/CHANGELOG.md
  • fixtures/currentness_matrix_reuse/expected/human.txt
  • fixtures/currentness_matrix_whole_delete/expected/CHANGELOG.md
  • fixtures/currentness_matrix_whole_delete/expected/human.txt
  • fixtures/decimal_field_observer_non_member_access/expected/CHANGELOG.md
  • fixtures/decimal_field_observer_non_member_access/expected/human.txt
  • fixtures/editor_lsp_workflow/expected/CHANGELOG.md
  • fixtures/editor_lsp_workflow/expected/human.txt
  • fixtures/enum_variant_declaration_not_call/expected/CHANGELOG.md
  • fixtures/enum_variant_declaration_not_call/expected/human.txt
  • fixtures/error_path_sibling_oracle_fake_clean/expected/CHANGELOG.md
  • fixtures/error_path_sibling_oracle_fake_clean/expected/human.txt
  • fixtures/error_variant_boxed_wrapper_downcast_witness/expected/CHANGELOG.md
  • fixtures/error_variant_boxed_wrapper_downcast_witness/expected/human.txt
  • fixtures/error_variant_boxed_wrapper_fail_closed/expected/CHANGELOG.md
  • fixtures/error_variant_boxed_wrapper_fail_closed/expected/human.txt
  • fixtures/error_variant_wrapper_callee_only_pin/expected/CHANGELOG.md
  • fixtures/error_variant_wrapper_callee_only_pin/expected/human.txt
  • fixtures/error_variant_wrapper_foreign_pin/expected/CHANGELOG.md
  • fixtures/error_variant_wrapper_foreign_pin/expected/human.txt
  • fixtures/error_variant_wrapper_wrong_receiver_pin/expected/CHANGELOG.md
  • fixtures/error_variant_wrapper_wrong_receiver_pin/expected/human.txt
  • fixtures/guarded_result_match_conditional_failure/expected/CHANGELOG.md
  • fixtures/guarded_result_match_conditional_failure/expected/human.txt
  • fixtures/guarded_result_match_fail_closed/expected/CHANGELOG.md
  • fixtures/guarded_result_match_fail_closed/expected/human.txt
  • fixtures/guarded_result_match_owner_observation/expected/CHANGELOG.md
  • fixtures/guarded_result_match_owner_observation/expected/human.txt
  • fixtures/guarded_result_match_positive/expected/CHANGELOG.md
  • fixtures/guarded_result_match_positive/expected/human.txt
  • fixtures/guarded_result_match_sibling_variant/expected/CHANGELOG.md
  • fixtures/guarded_result_match_sibling_variant/expected/human.txt
  • fixtures/guarded_result_match_swallowed/expected/CHANGELOG.md
  • fixtures/guarded_result_match_swallowed/expected/human.txt
  • fixtures/harness_dead_construction_no_exposed_credit/expected/CHANGELOG.md
  • fixtures/harness_dead_construction_no_exposed_credit/expected/human.txt
  • fixtures/helper_chain_controls/expected/CHANGELOG.md
  • fixtures/helper_chain_controls/expected/human.txt
  • fixtures/helper_chain_multi_hop/expected/CHANGELOG.md
  • fixtures/helper_chain_multi_hop/expected/human.txt
  • fixtures/helper_chain_one_hop/expected/CHANGELOG.md
  • fixtures/helper_chain_one_hop/expected/human.txt
  • fixtures/infect_value_returned/expected/CHANGELOG.md
  • fixtures/infect_value_returned/expected/human.txt
  • fixtures/infect_wildcard_discard/expected/CHANGELOG.md
  • fixtures/infect_wildcard_discard/expected/human.txt
  • fixtures/infection_expected_value_literal/expected/CHANGELOG.md
  • fixtures/infection_expected_value_literal/expected/human.txt
  • fixtures/javascript_js_preview/expected/CHANGELOG.md
  • fixtures/javascript_js_preview/expected/human.txt
  • fixtures/javascript_jsx_preview/expected/CHANGELOG.md
  • fixtures/javascript_jsx_preview/expected/human.txt
  • fixtures/lsp_agent_protocol/expected/CHANGELOG.md
  • fixtures/lsp_agent_protocol/expected/human.txt
  • fixtures/match_arm_blind/expected/CHANGELOG.md
  • fixtures/match_arm_blind/expected/human.txt
  • fixtures/match_arm_comment_literal_no_promotion/expected/CHANGELOG.md
  • fixtures/match_arm_comment_literal_no_promotion/expected/human.txt
  • fixtures/match_arm_controls/expected/CHANGELOG.md
  • fixtures/match_arm_controls/expected/human.txt
  • fixtures/match_arm_diagnostic_literal_no_promotion/expected/CHANGELOG.md
  • fixtures/match_arm_diagnostic_literal_no_promotion/expected/human.txt
  • fixtures/match_arm_observer/expected/CHANGELOG.md
  • fixtures/match_arm_observer/expected/human.txt
  • fixtures/match_arm_positive/expected/CHANGELOG.md
  • fixtures/match_arm_positive/expected/human.txt
  • fixtures/match_arm_shared_result_no_promotion/expected/CHANGELOG.md
  • fixtures/match_arm_shared_result_no_promotion/expected/human.txt
  • fixtures/match_arm_tuple_derived_return_before_assertion/expected/CHANGELOG.md
  • fixtures/match_arm_tuple_derived_return_before_assertion/expected/human.txt
  • fixtures/match_arm_type_token_blind/expected/CHANGELOG.md
  • fixtures/match_arm_type_token_blind/expected/human.txt
  • fixtures/mixed_rust_typescript_preview/expected/CHANGELOG.md
  • fixtures/mixed_rust_typescript_preview/expected/human.txt
  • fixtures/multi_hunk_removed_line_wrong_target/expected/CHANGELOG.md
  • fixtures/multi_hunk_removed_line_wrong_target/expected/human.txt
  • fixtures/observation_unverified_call_deletion/expected/CHANGELOG.md
  • fixtures/observation_unverified_call_deletion/expected/human.txt
  • fixtures/observation_unverified_field_construction/expected/CHANGELOG.md
  • fixtures/observation_unverified_field_construction/expected/human.txt
  • fixtures/observation_unverified_return_value/expected/CHANGELOG.md
  • fixtures/observation_unverified_return_value/expected/human.txt
  • fixtures/observation_unverified_side_effect/expected/CHANGELOG.md
  • fixtures/observation_unverified_side_effect/expected/human.txt
  • fixtures/observation_verified_call_deletion/expected/CHANGELOG.md
  • fixtures/observation_verified_call_deletion/expected/human.txt
  • fixtures/observation_verified_field_construction/expected/CHANGELOG.md
  • fixtures/observation_verified_field_construction/expected/human.txt
  • fixtures/observation_verified_return_value/expected/CHANGELOG.md
  • fixtures/observation_verified_return_value/expected/human.txt
  • fixtures/observation_verified_side_effect/expected/CHANGELOG.md
  • fixtures/observation_verified_side_effect/expected/human.txt
  • fixtures/opaque_fixture_builder/expected/CHANGELOG.md
  • fixtures/opaque_fixture_builder/expected/human.txt
  • fixtures/oracle_confirmation_mixed/expected/CHANGELOG.md
  • fixtures/oracle_confirmation_mixed/expected/human.txt
  • fixtures/plain_diff_multifile_boundary/expected/CHANGELOG.md
  • fixtures/plain_diff_multifile_boundary/expected/human.txt
  • fixtures/propagate_log_message/expected/CHANGELOG.md
  • fixtures/propagate_log_message/expected/human.txt
  • fixtures/propagate_stdout_macro/expected/CHANGELOG.md
  • fixtures/propagate_stdout_macro/expected/human.txt
  • fixtures/propagate_swallowed_ok/expected/CHANGELOG.md
  • fixtures/propagate_swallowed_ok/expected/human.txt
  • fixtures/propagate_value_returned/expected/CHANGELOG.md
  • fixtures/propagate_value_returned/expected/human.txt
  • fixtures/proximity_name_oracle_not_credited/expected/CHANGELOG.md
  • fixtures/proximity_name_oracle_not_credited/expected/human.txt
  • fixtures/python_adversarial_attribute_sink_other_receiver/expected/CHANGELOG.md
  • fixtures/python_adversarial_attribute_sink_other_receiver/expected/human.txt
  • fixtures/python_adversarial_buffer_token/expected/CHANGELOG.md
  • fixtures/python_adversarial_buffer_token/expected/human.txt
  • fixtures/python_adversarial_changed_sink_non_delta_operand/expected/CHANGELOG.md
  • fixtures/python_adversarial_changed_sink_non_delta_operand/expected/human.txt
  • fixtures/python_adversarial_default_value_overridden/expected/CHANGELOG.md
  • fixtures/python_adversarial_default_value_overridden/expected/human.txt
  • fixtures/python_adversarial_dict_field_sibling_key/expected/CHANGELOG.md
  • fixtures/python_adversarial_dict_field_sibling_key/expected/human.txt
  • fixtures/python_adversarial_error_path_untaken_branch/expected/CHANGELOG.md
  • fixtures/python_adversarial_error_path_untaken_branch/expected/human.txt
  • fixtures/python_adversarial_free_function_module_collision/expected/CHANGELOG.md
  • fixtures/python_adversarial_free_function_module_collision/expected/human.txt
  • fixtures/python_adversarial_fstring_length_invariant_aggregate/expected/CHANGELOG.md
  • fixtures/python_adversarial_fstring_length_invariant_aggregate/expected/human.txt
  • fixtures/python_adversarial_list_element_sibling_index/expected/CHANGELOG.md
  • fixtures/python_adversarial_list_element_sibling_index/expected/human.txt
  • fixtures/python_adversarial_local_assignment_operator_input/expected/CHANGELOG.md
  • fixtures/python_adversarial_local_assignment_operator_input/expected/human.txt
  • fixtures/python_adversarial_method_owner_imported_unbound_receiver/expected/CHANGELOG.md
  • fixtures/python_adversarial_method_owner_imported_unbound_receiver/expected/human.txt
  • fixtures/python_adversarial_mock_call_not_value/expected/CHANGELOG.md
  • fixtures/python_adversarial_mock_call_not_value/expected/human.txt
  • fixtures/python_adversarial_operator_delta_input_operand/expected/CHANGELOG.md
  • fixtures/python_adversarial_operator_delta_input_operand/expected/human.txt
  • fixtures/python_adversarial_same_method_other_class/expected/CHANGELOG.md
  • fixtures/python_adversarial_same_method_other_class/expected/human.txt
  • fixtures/python_api_json_field_repair_gap/expected/CHANGELOG.md
  • fixtures/python_api_json_field_repair_gap/expected/human.txt
  • fixtures/python_api_route_decorator_repair_gap/expected/CHANGELOG.md
  • fixtures/python_api_route_decorator_repair_gap/expected/human.txt
  • fixtures/python_argparse_output_repair_gap/expected/CHANGELOG.md
  • fixtures/python_argparse_output_repair_gap/expected/human.txt
  • fixtures/python_async_owner/expected/CHANGELOG.md
  • fixtures/python_async_owner/expected/human.txt
  • fixtures/python_boundary_gap/expected/CHANGELOG.md
  • fixtures/python_boundary_gap/expected/human.txt
  • fixtures/python_broad_boolean_assertion/expected/CHANGELOG.md
  • fixtures/python_broad_boolean_assertion/expected/human.txt
  • fixtures/python_call_argument_shape/expected/CHANGELOG.md
  • fixtures/python_call_argument_shape/expected/human.txt
  • fixtures/python_class_method_owner/expected/CHANGELOG.md
  • fixtures/python_class_method_owner/expected/human.txt
  • fixtures/python_cli_output_repair_gap/expected/CHANGELOG.md
  • fixtures/python_cli_output_repair_gap/expected/human.txt
  • fixtures/python_cross_file_construct_call/expected/CHANGELOG.md
  • fixtures/python_cross_file_construct_call/expected/human.txt
  • fixtures/python_cross_file_import_reference/expected/CHANGELOG.md
  • fixtures/python_cross_file_import_reference/expected/human.txt
  • fixtures/python_decorator_indirection_limit/expected/CHANGELOG.md
  • fixtures/python_decorator_indirection_limit/expected/human.txt
  • fixtures/python_dict_field_repair_gap/expected/CHANGELOG.md
  • fixtures/python_dict_field_repair_gap/expected/human.txt
  • fixtures/python_dynamic_dispatch_limit/expected/CHANGELOG.md
  • fixtures/python_dynamic_dispatch_limit/expected/human.txt
  • fixtures/python_dynamic_import_limit/expected/CHANGELOG.md
  • fixtures/python_dynamic_import_limit/expected/human.txt
  • fixtures/python_dynamic_route_registration_limit/expected/CHANGELOG.md
  • fixtures/python_dynamic_route_registration_limit/expected/human.txt
  • fixtures/python_error_path_shape/expected/CHANGELOG.md
  • fixtures/python_error_path_shape/expected/human.txt
  • fixtures/python_field_assignment_shape/expected/CHANGELOG.md
  • fixtures/python_field_assignment_shape/expected/human.txt
  • fixtures/python_fixture_name_relation/expected/CHANGELOG.md
  • fixtures/python_fixture_name_relation/expected/human.txt
  • fixtures/python_local_callable_binding/expected/CHANGELOG.md
  • fixtures/python_local_callable_binding/expected/human.txt
  • fixtures/python_metaclass_limit/expected/CHANGELOG.md
  • fixtures/python_metaclass_limit/expected/human.txt
  • fixtures/python_metaprogramming_limit/expected/CHANGELOG.md
  • fixtures/python_metaprogramming_limit/expected/human.txt
  • fixtures/python_method_owner/expected/CHANGELOG.md
  • fixtures/python_method_owner/expected/human.txt
  • fixtures/python_missing_import_graph_limit/expected/CHANGELOG.md
  • fixtures/python_missing_import_graph_limit/expected/human.txt
  • fixtures/python_mixed_language_no_cross_route/expected/CHANGELOG.md
  • fixtures/python_mixed_language_no_cross_route/expected/human.txt
  • fixtures/python_mock_assert_called/expected/CHANGELOG.md
  • fixtures/python_mock_assert_called/expected/human.txt
  • fixtures/python_mock_interaction_shape/expected/CHANGELOG.md
  • fixtures/python_mock_interaction_shape/expected/human.txt
  • fixtures/python_mocked_module_limit/expected/CHANGELOG.md
  • fixtures/python_mocked_module_limit/expected/human.txt
  • fixtures/python_model_field_repair_gap/expected/CHANGELOG.md
  • fixtures/python_model_field_repair_gap/expected/human.txt
  • fixtures/python_monkeypatch_module_limit/expected/CHANGELOG.md
  • fixtures/python_monkeypatch_module_limit/expected/human.txt
  • fixtures/python_named_constant_boundary_repair_gap/expected/CHANGELOG.md
  • fixtures/python_named_constant_boundary_repair_gap/expected/human.txt
  • fixtures/python_no_config_repair_gap/expected/CHANGELOG.md
  • fixtures/python_no_config_repair_gap/expected/human.txt
  • fixtures/python_no_projectable_owner/expected/CHANGELOG.md
  • fixtures/python_no_projectable_owner/expected/human.txt
  • fixtures/python_opaque_custom_helper_limit/expected/CHANGELOG.md
  • fixtures/python_opaque_custom_helper_limit/expected/human.txt
  • fixtures/python_owner_file_match/expected/CHANGELOG.md
  • fixtures/python_owner_file_match/expected/human.txt
  • fixtures/python_parametrize_basic/expected/CHANGELOG.md
  • fixtures/python_parametrize_basic/expected/human.txt
  • fixtures/python_parametrized_boundary_repair_gap/expected/CHANGELOG.md
  • fixtures/python_parametrized_boundary_repair_gap/expected/human.txt
  • fixtures/python_property_based_limit/expected/CHANGELOG.md
  • fixtures/python_property_based_limit/expected/human.txt
  • fixtures/python_pytest_oracle_shapes/expected/CHANGELOG.md
  • fixtures/python_pytest_oracle_shapes/expected/human.txt
  • fixtures/python_pytest_raises/expected/CHANGELOG.md
  • fixtures/python_pytest_raises/expected/human.txt
  • fixtures/python_ranking_noise_control/expected/CHANGELOG.md
  • fixtures/python_ranking_noise_control/expected/human.txt
  • fixtures/python_rebound_constant_boundary_limit/expected/CHANGELOG.md
  • fixtures/python_rebound_constant_boundary_limit/expected/human.txt
  • fixtures/python_related_test_name_similarity/expected/CHANGELOG.md
  • fixtures/python_related_test_name_similarity/expected/human.txt
  • fixtures/python_return_comparison_boundary/expected/CHANGELOG.md
  • fixtures/python_return_comparison_boundary/expected/human.txt
  • fixtures/python_return_value_shape/expected/CHANGELOG.md
  • fixtures/python_return_value_shape/expected/human.txt
  • fixtures/python_same_line_duplicate_collapse/expected/CHANGELOG.md
  • fixtures/python_same_line_duplicate_collapse/expected/human.txt
  • fixtures/python_same_stem_sibling_owner_not_related/expected/CHANGELOG.md
  • fixtures/python_same_stem_sibling_owner_not_related/expected/human.txt
  • fixtures/python_same_stem_test/expected/CHANGELOG.md
  • fixtures/python_same_stem_test/expected/human.txt
  • fixtures/python_src_layout_package_import/expected/CHANGELOG.md
  • fixtures/python_src_layout_package_import/expected/human.txt
  • fixtures/python_src_layout_repair_gap/expected/CHANGELOG.md
  • fixtures/python_src_layout_repair_gap/expected/human.txt
  • fixtures/python_strong_oracle/expected/CHANGELOG.md
  • fixtures/python_strong_oracle/expected/human.txt
  • fixtures/python_substring_sink_alignment/expected/CHANGELOG.md
  • fixtures/python_substring_sink_alignment/expected/human.txt
  • fixtures/python_test_placement_verify/expected/CHANGELOG.md
  • fixtures/python_test_placement_verify/expected/human.txt
  • fixtures/python_unittest_assertions/expected/CHANGELOG.md
  • fixtures/python_unittest_assertions/expected/human.txt
  • fixtures/python_unittest_basic/expected/CHANGELOG.md
  • fixtures/python_unittest_basic/expected/human.txt
  • fixtures/python_unittest_oracle_shapes/expected/CHANGELOG.md
  • fixtures/python_unittest_oracle_shapes/expected/human.txt
  • fixtures/python_unrelated_test_mention/expected/CHANGELOG.md
  • fixtures/python_unrelated_test_mention/expected/human.txt
  • fixtures/python_unresolved_fixture_limit/expected/CHANGELOG.md
  • fixtures/python_unresolved_fixture_limit/expected/human.txt
  • fixtures/python_unsupported_syntax_limit/expected/CHANGELOG.md
  • fixtures/python_unsupported_syntax_limit/expected/human.txt
  • fixtures/recursive_controls/expected/CHANGELOG.md
  • fixtures/recursive_controls/expected/human.txt
  • fixtures/recursive_positive/expected/CHANGELOG.md
  • fixtures/recursive_positive/expected/human.txt
  • fixtures/rust_async_fn_owner/expected/CHANGELOG.md
  • fixtures/rust_async_fn_owner/expected/human.txt
  • fixtures/rust_constructor_field_observation/expected/CHANGELOG.md
  • fixtures/rust_constructor_field_observation/expected/human.txt
  • fixtures/rust_constructor_field_wrong_field_observer/expected/CHANGELOG.md
  • fixtures/rust_constructor_field_wrong_field_observer/expected/human.txt
  • fixtures/rust_dep_edge_cross_crate_ambiguity/expected/CHANGELOG.md
  • fixtures/rust_dep_edge_cross_crate_ambiguity/expected/human.txt
  • fixtures/rust_dep_edge_cross_crate_positive/expected/CHANGELOG.md
  • fixtures/rust_dep_edge_cross_crate_positive/expected/human.txt
  • fixtures/rust_field_construction_token_coincidence/expected/CHANGELOG.md
  • fixtures/rust_field_construction_token_coincidence/expected/human.txt
  • fixtures/rust_long_expression_display_bound/expected/CHANGELOG.md
  • fixtures/rust_long_expression_display_bound/expected/human.txt
  • fixtures/rust_macro_reach_limitation/expected/CHANGELOG.md
  • fixtures/rust_macro_reach_limitation/expected/human.txt
  • fixtures/rust_macro_wrapped_assertion_limitation/expected/CHANGELOG.md
  • fixtures/rust_macro_wrapped_assertion_limitation/expected/human.txt
  • fixtures/rust_macro_wrapped_test_call_limitation/expected/CHANGELOG.md
  • fixtures/rust_macro_wrapped_test_call_limitation/expected/human.txt
  • fixtures/rust_missing_discriminator_evidence/expected/CHANGELOG.md
  • fixtures/rust_missing_discriminator_evidence/expected/human.txt
  • fixtures/rust_pyo3_cross_language_limit/expected/CHANGELOG.md
  • fixtures/rust_pyo3_cross_language_limit/expected/human.txt
  • fixtures/rust_transitive_reach_negative/expected/CHANGELOG.md
  • fixtures/rust_transitive_reach_negative/expected/human.txt
  • fixtures/rust_transitive_reach_positive/expected/CHANGELOG.md
  • fixtures/rust_transitive_reach_positive/expected/human.txt
  • fixtures/rust_transitive_reach_test_helper_chain/expected/CHANGELOG.md
  • fixtures/rust_transitive_reach_test_helper_chain/expected/human.txt
  • fixtures/rust_uncalled_owner_same_file_tests/expected/CHANGELOG.md
  • fixtures/rust_uncalled_owner_same_file_tests/expected/human.txt
  • fixtures/scanner_controls/expected/CHANGELOG.md
  • fixtures/scanner_controls/expected/human.txt
  • fixtures/scanner_positive/expected/CHANGELOG.md
  • fixtures/scanner_positive/expected/human.txt
  • fixtures/snapshot_oracle/expected/CHANGELOG.md
  • fixtures/snapshot_oracle/expected/human.txt
  • fixtures/source_role_harness_suppression/expected/CHANGELOG.md
  • fixtures/source_role_harness_suppression/expected/human.txt
  • fixtures/split_test_boundary_oracle/expected/CHANGELOG.md
  • fixtures/split_test_boundary_oracle/expected/human.txt
  • fixtures/strong_boundary_oracle/expected/CHANGELOG.md
  • fixtures/strong_boundary_oracle/expected/human.txt
  • fixtures/strong_error_oracle/expected/CHANGELOG.md
  • fixtures/strong_error_oracle/expected/human.txt
  • fixtures/tail_comparison_boundary/expected/CHANGELOG.md
  • fixtures/tail_comparison_boundary/expected/human.txt
  • fixtures/ts_already_observed/expected/CHANGELOG.md
  • fixtures/ts_already_observed/expected/human.txt
  • fixtures/ts_boundary_named_constant_test/expected/CHANGELOG.md
  • fixtures/ts_boundary_named_constant_test/expected/human.txt
  • fixtures/ts_cross_language_bridge_limit/expected/CHANGELOG.md
  • fixtures/ts_cross_language_bridge_limit/expected/human.txt
  • fixtures/ts_cross_package_test/expected/CHANGELOG.md
  • fixtures/ts_cross_package_test/expected/human.txt
  • fixtures/ts_domock_relation_gate/expected/CHANGELOG.md
  • fixtures/ts_domock_relation_gate/expected/human.txt
  • fixtures/ts_dynamic_oracle/expected/CHANGELOG.md
  • fixtures/ts_dynamic_oracle/expected/human.txt
  • fixtures/ts_heuristic_relation/expected/CHANGELOG.md
  • fixtures/ts_heuristic_relation/expected/human.txt
  • fixtures/ts_mock_forms_owner_module/expected/CHANGELOG.md
  • fixtures/ts_mock_forms_owner_module/expected/human.txt
  • fixtures/ts_no_verify_command/expected/CHANGELOG.md
  • fixtures/ts_no_verify_command/expected/human.txt
  • fixtures/ts_parse_depth_budget/expected/CHANGELOG.md
  • fixtures/ts_parse_depth_budget/expected/human.txt
  • fixtures/ts_pkg_discovery_monorepo/expected/CHANGELOG.md
  • fixtures/ts_pkg_discovery_monorepo/expected/human.txt
  • fixtures/ts_pkg_discovery_no_package/expected/CHANGELOG.md
  • fixtures/ts_pkg_discovery_no_package/expected/human.txt
  • fixtures/ts_pkg_discovery_single_package/expected/CHANGELOG.md
  • fixtures/ts_pkg_discovery_single_package/expected/human.txt
  • fixtures/ts_predicate_boundary_const_result_local/expected/CHANGELOG.md
  • fixtures/ts_predicate_boundary_const_result_local/expected/human.txt
  • fixtures/ts_predicate_boundary_optional_chaining/expected/CHANGELOG.md
  • fixtures/ts_predicate_boundary_optional_chaining/expected/human.txt
  • fixtures/ts_predicate_boundary_overcredit/expected/CHANGELOG.md
  • fixtures/ts_predicate_boundary_overcredit/expected/human.txt
  • fixtures/ts_repair_packet_boundary_constant_first/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_constant_first/expected/human.txt
  • fixtures/ts_repair_packet_boundary_constant_resolved/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_constant_resolved/expected/human.txt
  • fixtures/ts_repair_packet_boundary_constant_unresolved/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_constant_unresolved/expected/human.txt
  • fixtures/ts_repair_packet_boundary_literal_derived/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_literal_derived/expected/human.txt
  • fixtures/ts_repair_packet_boundary_literal_guarded/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_literal_guarded/expected/human.txt
  • fixtures/ts_repair_packet_boundary_unreachable/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_unreachable/expected/human.txt
  • fixtures/ts_repair_packet_complete/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_complete/expected/human.txt
  • fixtures/ts_repair_packet_wrong_family_oracle/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_wrong_family_oracle/expected/human.txt
  • fixtures/ts_return_comparison_boundary/expected/CHANGELOG.md
  • fixtures/ts_return_comparison_boundary/expected/human.txt
  • fixtures/ts_return_ternary_boundary/expected/CHANGELOG.md
  • fixtures/ts_return_ternary_boundary/expected/human.txt
  • fixtures/ts_runner_detect_ava_devdep/expected/CHANGELOG.md
  • fixtures/ts_runner_detect_ava_devdep/expected/human.txt
  • fixtures/ts_runner_detect_ava_script/expected/CHANGELOG.md
  • fixtures/ts_runner_detect_ava_script/expected/human.txt
  • fixtures/ts_runner_detect_no_runner/expected/CHANGELOG.md
  • fixtures/ts_runner_detect_no_runner/expected/human.txt
  • fixtures/ts_static_limit/expected/CHANGELOG.md
  • fixtures/ts_static_limit/expected/human.txt
  • fixtures/typescript_adversarial_hoc_wrapped_owner/expected/CHANGELOG.md
  • fixtures/typescript_adversarial_hoc_wrapped_owner/expected/human.txt
  • fixtures/typescript_adversarial_mocked_barrel/expected/CHANGELOG.md
  • fixtures/typescript_adversarial_mocked_barrel/expected/human.txt
  • fixtures/typescript_adversarial_owner_identity_after_insertion/expected/CHANGELOG.md
  • fixtures/typescript_adversarial_owner_identity_after_insertion/expected/human.txt
  • fixtures/typescript_adversarial_owner_module_mock/expected/CHANGELOG.md
  • fixtures/typescript_adversarial_owner_module_mock/expected/human.txt
  • fixtures/typescript_adversarial_render_unobserved_sink/expected/CHANGELOG.md
  • fixtures/typescript_adversarial_render_unobserved_sink/expected/human.txt
  • fixtures/typescript_adversarial_same_method_other_class/expected/CHANGELOG.md
  • fixtures/typescript_adversarial_same_method_other_class/expected/human.txt
  • fixtures/typescript_adversarial_token_substring/expected/CHANGELOG.md
  • fixtures/typescript_adversarial_token_substring/expected/human.txt
  • fixtures/typescript_awaited_promise_reject/expected/CHANGELOG.md
  • fixtures/typescript_awaited_promise_reject/expected/human.txt
  • fixtures/typescript_boundary_gap/expected/CHANGELOG.md
  • fixtures/typescript_boundary_gap/expected/human.txt
  • fixtures/typescript_broad_tothrow/expected/CHANGELOG.md
  • fixtures/typescript_broad_tothrow/expected/human.txt
  • fixtures/typescript_commonjs_require/expected/CHANGELOG.md
  • fixtures/typescript_commonjs_require/expected/human.txt
  • fixtures/typescript_dynamic_assertion_unresolved/expected/CHANGELOG.md
  • fixtures/typescript_dynamic_assertion_unresolved/expected/human.txt
  • fixtures/typescript_effect_probe_shapes/expected/CHANGELOG.md
  • fixtures/typescript_effect_probe_shapes/expected/human.txt
  • fixtures/typescript_jest_vitest_assertion_facts/expected/CHANGELOG.md
  • fixtures/typescript_jest_vitest_assertion_facts/expected/human.txt
  • fixtures/typescript_limitation_custom_matcher/expected/CHANGELOG.md
  • fixtures/typescript_limitation_custom_matcher/expected/human.txt
  • fixtures/typescript_mocked_module_limit/expected/CHANGELOG.md
  • fixtures/typescript_mocked_module_limit/expected/human.txt
  • fixtures/typescript_monorepo_package_local/expected/CHANGELOG.md
  • fixtures/typescript_monorepo_package_local/expected/human.txt
  • fixtures/typescript_negated_t_oracle/expected/CHANGELOG.md
  • fixtures/typescript_negated_t_oracle/expected/human.txt
  • fixtures/typescript_oracle_helper_gated/expected/CHANGELOG.md
  • fixtures/typescript_oracle_helper_gated/expected/human.txt
  • fixtures/typescript_owner_file_match/expected/CHANGELOG.md
  • fixtures/typescript_owner_file_match/expected/human.txt
  • fixtures/typescript_owner_kinds/expected/CHANGELOG.md
  • fixtures/typescript_owner_kinds/expected/human.txt
  • fixtures/typescript_parse_error_unsupported_syntax/expected/CHANGELOG.md
  • fixtures/typescript_parse_error_unsupported_syntax/expected/human.txt
  • fixtures/typescript_probe_facts/expected/CHANGELOG.md
  • fixtures/typescript_probe_facts/expected/human.txt
  • fixtures/typescript_reexport_barrel_other_name/expected/CHANGELOG.md
  • fixtures/typescript_reexport_barrel_other_name/expected/human.txt
  • fixtures/typescript_reexport_directory_star_barrel/expected/CHANGELOG.md
  • fixtures/typescript_reexport_directory_star_barrel/expected/human.txt
  • fixtures/typescript_reexport_no_false_credit/expected/CHANGELOG.md
  • fixtures/typescript_reexport_no_false_credit/expected/human.txt
  • fixtures/typescript_reexport_single_hop/expected/CHANGELOG.md
  • fixtures/typescript_reexport_single_hop/expected/human.txt
  • fixtures/typescript_reexport_two_hop_limit/expected/CHANGELOG.md
  • fixtures/typescript_reexport_two_hop_limit/expected/human.txt
  • fixtures/typescript_related_test_matching/expected/CHANGELOG.md
  • fixtures/typescript_related_test_matching/expected/human.txt
  • fixtures/typescript_related_test_name_proximity/expected/CHANGELOG.md
  • fixtures/typescript_related_test_name_proximity/expected/human.txt
  • fixtures/typescript_return_value_shape/expected/CHANGELOG.md
  • fixtures/typescript_return_value_shape/expected/human.txt
  • fixtures/typescript_same_method_owner_identity_positive/expected/CHANGELOG.md
  • fixtures/typescript_same_method_owner_identity_positive/expected/human.txt
  • fixtures/typescript_static_limit_taxonomy/expected/CHANGELOG.md
  • fixtures/typescript_static_limit_taxonomy/expected/human.txt
  • fixtures/typescript_strict_actionability/expected/CHANGELOG.md
  • fixtures/typescript_strict_actionability/expected/human.txt
  • fixtures/typescript_strong_oracle/expected/CHANGELOG.md
  • fixtures/typescript_strong_oracle/expected/human.txt
  • fixtures/typescript_t_truthy_oracle/expected/CHANGELOG.md
  • fixtures/typescript_t_truthy_oracle/expected/human.txt
  • fixtures/typescript_t_unknown_method_no_oracle/expected/CHANGELOG.md
  • fixtures/typescript_t_unknown_method_no_oracle/expected/human.txt
  • fixtures/typescript_t_wrong_receiver_no_oracle/expected/CHANGELOG.md
  • fixtures/typescript_t_wrong_receiver_no_oracle/expected/human.txt
  • fixtures/typescript_tape_equal_oracle/expected/CHANGELOG.md
  • fixtures/typescript_tape_equal_oracle/expected/human.txt
  • fixtures/typescript_tothrow_exact_oracle/expected/CHANGELOG.md
  • fixtures/typescript_tothrow_exact_oracle/expected/human.txt
  • fixtures/typescript_tsx_preview/expected/CHANGELOG.md
  • fixtures/typescript_tsx_preview/expected/human.txt
  • fixtures/typescript_witness_dead_argument/expected/CHANGELOG.md
  • fixtures/typescript_witness_dead_argument/expected/human.txt
  • fixtures/typescript_witness_dead_expected/expected/CHANGELOG.md
  • fixtures/typescript_witness_dead_expected/expected/human.txt
  • fixtures/typescript_witness_local_shadow/expected/CHANGELOG.md
  • fixtures/typescript_witness_local_shadow/expected/human.txt
  • fixtures/typescript_witness_nested_expression/expected/CHANGELOG.md
  • fixtures/typescript_witness_nested_expression/expected/human.txt
  • fixtures/typescript_witness_receiver_qualified/expected/CHANGELOG.md
  • fixtures/typescript_witness_receiver_qualified/expected/human.txt
  • fixtures/unrelated_test_mentions_token/expected/CHANGELOG.md
  • fixtures/unrelated_test_mentions_token/expected/human.txt
  • fixtures/unsafe_boundary_probe/expected/CHANGELOG.md
  • fixtures/unsafe_boundary_probe/expected/human.txt
  • fixtures/unwrap_err_generic_is_err/expected/CHANGELOG.md
  • fixtures/unwrap_err_generic_is_err/expected/human.txt
  • fixtures/unwrap_err_sibling_variant/expected/CHANGELOG.md
  • fixtures/unwrap_err_sibling_variant/expected/human.txt
  • fixtures/unwrap_err_variant_positive/expected/CHANGELOG.md
  • fixtures/unwrap_err_variant_positive/expected/human.txt
  • fixtures/unwrap_err_variant_single_line/expected/CHANGELOG.md
  • fixtures/unwrap_err_variant_single_line/expected/human.txt
  • fixtures/weak_error_oracle/expected/CHANGELOG.md
  • fixtures/weak_error_oracle/expected/human.txt
  • fixtures/weak_error_oracle_assert_matches/expected/CHANGELOG.md
  • fixtures/weak_error_oracle_assert_matches/expected/human.txt
  • fixtures/wrapper_seam_callee_call_attribution/expected/CHANGELOG.md
  • fixtures/wrapper_seam_callee_call_attribution/expected/human.txt

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


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.

❤️ Share

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

@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 found 2 potential issues.

Devin Review

Comment thread crates/ripr/src/output/human.rs Resolved

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request implements issue #4324 (RIPR-SPEC-0122) by updating the bounded human-readable finding digest to compactly display all five pipeline stage states (reach, infection, propagation, observation, and discriminator) on a single 'Evidence' line. This ensures that decisive stages are always visible and not hidden behind a bare count in the positional 2-line detail window. The remainder disclosure line has also been updated to direct users to --format human-full for more details. The changes include updates to the rendering logic, documentation, tests, and numerous golden fixtures. There are no review comments to address, and the implementation looks complete and well-tested.

@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

  • 257 hand-edited human.txt goldens were updated without a local Rust run; the new pinned test covers only one finding, so the compact five-state line is verified for sample_finding but not end-to-end for the 257 fixtures. CI goldens check is the safety net; the author flagged no local Rust toolchain.

Verification questions

  • Confirm the pinned test asserts display budget <= 180 chars per line; the new five-state compact line stays within budget on sample_finding, no truncation risk that would re-expose a stale/partial view.
  • Confirm all 257 affected fixtures carry matched updates: new compact Evidence line, two unchanged detail lines, new remainder phrasing, and a ## Pending CHANGELOG entry per xtask goldens bless format.

Refuted

  • The new format!() could capture a stale stage value if StageState is mutated mid-format by another thread.; refuted because: findings are produced per-finding by a single render thread; format!() reads each .state.as_str() once and push_str writes the line in one call; no aliasing or resize hazard.
  • The compact 'Evidence:' summary line could be parsed as machine-readable and pollute downstream tooling that scrapes the digest.; refuted because: The PR explicitly documents 'no machine format reads the compact line' and the JSON path is not touched; the line is plain human prose and the JSON schema gates (--format json) are unchanged. No attack surface introduced.

Parked follow-ups

  • Devin reviewer flagged discriminator_evidence_line may report 'missing' while the compact digest reports 'discriminator yes' for the same finding — possible user-visible contradiction; active-view scope does not subsume this but it reopens a reviewer concern not addressed in the PR.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.

…he compact token

Review on the #4324 change found the compact stage-states line printed the
bare discriminate stage state, so a non-exposed finding with a strong oracle
could read 'discriminator yes' while the digest simultaneously named the
missing discriminating input. The token now mirrors
discriminator_evidence_line: only an exposed finding (or a non-yes grade)
prints the bare state; otherwise it reads 'missing' or 'not established',
the wording the full evidence line already uses.

Adds the regression test digest_compact_discriminator_token_mirrors_the_full_evidence_line
and re-blesses the 26 affected digest goldens; RIPR-SPEC-0122 documents the
rule.
@EffortlessSteven
EffortlessSteven merged commit 7d3202f into main Sep 30, 2026
28 checks passed
@EffortlessSteven
EffortlessSteven deleted the fix/digest-stage-states-4324 branch September 30, 2026 09:40
EffortlessSteven added a commit that referenced this pull request Sep 30, 2026
Sync for #4924: origin/main moved to ec4eee3 (human-output disclosure
family #4936/#4942/#4953/#4955 and render progress plumbing #4945).
Conflicts: app.rs/check.rs/render.rs semantically unioned (FindingDrillIn
param + progress sink); 71 fixture bless CHANGELOGs unioned (both sides'
Pending sections kept, numbering deduplicated); human-full goldens and
human.rs/sections.rs/triage.rs/navigation.rs auto-merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant