Skip to content

ux(0.11): TS/Python boundary repair routes, exposed as info, honest discriminator and partial-run wording - #4429

Merged
EffortlessSteven merged 30 commits into
mainfrom
claude/ux-grind-0-11-90zprn
Sep 28, 2026
Merged

EffortlessSteven merged 30 commits into
mainfrom
claude/ux-grind-0-11-90zprn

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Requested by Steven · project thread

Summary

Before: the 0.11 RC rehearsal ran into these problems:

  • TypeScript: a changed amount >= 5000 or amount >= DISCOUNT_THRESHOLD, tested only off the boundary, got no repair packet ("does not reach"). first-pr looped on "blocked".
  • Python: status, pilot and check sent users around in a loop. Check's Start here picked the card-less constant finding. Pilot ended with "Next: ripr check". agent status did not route a pilot Python card.
  • Every exposed finding printed as a GitHub ::warning.
  • Non-exposed findings printed "discriminator yes".
  • Partial runs that had findings still said "Zero findings is not a clean result".
  • tests/common/mod.rs was flagged as an ambiguous module parent.
  • TypeScript printed one limitation line per unrelated spec file.
  • The seam-limit hint said ripr check --diff with no path.
  • An empty-root repo-exposure-md report ended without a next step.

After:

  • TypeScript boundary findings get a concrete repair packet when the boundary input is statically derivable: an integer literal, or a single immutable integer module const. It targets expect(shipping(5000)) / expect(discountedTotal(10000)). Check's Start here names that packet's action, and an exposed TS finding is recorded as no-action in the gap ledger. Rebindable, computed, imported or shadowed constants still fail closed.

  • The TS derivation fails closed unless the comparison has whole sides: one comparison on the line, the parameter and operand on either side with plain delimiters, and no string, template, regex or comment span. amount * 10 > LIMIT, -amount >= 5 and comparisons on a value derived from the parameter stay unresolved.

  • The TS derivation also fails closed unless every call reaches the changed line:

    • the module's line at the changed line number equals the diff's changed text;
    • it is a top-level statement of the owner's own block body, and that statement opens with the comparison (if (, return, const|let|var NAME =);
    • no return/throw/break/continue/yield, loop (while/do/for) or await appears earlier in the body;
    • the owner is not a generator or a curried/returned function.

    So an earlier if (amount === 5000) return 0; guard or while (amount === 5000) {} no longer derives shipping(5000). Both came from source challenges on df60db0 and cf4c240.

  • Python module-level named constants resolve (analysis(python): resolve module-level named constants used as comparison thresholds #4227), so both sample findings carry a repair card and populated recommended_next_step / suggested_next_action fields. Check's Start here prefers a carded finding. Pilot ends with the card's route: first-pr, edit, the card's verify command, then the receipt command. agent status routes a pilot Python card to first-pr.

  • Python treats these as dynamic writers, so such a constant does not resolve:

    • mock.patch / patch.object in a test file;
    • a self-alias attribute write (alias.NAME =);
    • a global NAME declaration.
  • Exposed findings default to info severity, so GitHub shows a ::notice and the LSP shows INFORMATION. Users can still set exposed = "warning" in ripr.toml.

  • The discriminator line says discriminator missing: …; related oracle: … or not established (<class>) unless the finding is exposed.

  • The five messy-repo wording findings each now end in a runnable next step or honest wording.

  • The context fix_site follows the repair card's suggested test (name and file) instead of the best-scored related test.

  • receipt check explains its cross-reference: receipt_ok says the gap is listed, not that it is closed, and names ripr check as the next step.

  • first-pr's stale-ledger recovery reruns the check output it was given instead of rewriting it.

  • The first-PR corpus harness refreshes the gap ledger mtime before rendering, so a fresh checkout no longer trips the stale-ledger guard.

  • The pinned init --ci github install now comes from fix(init): generated workflow analyzes the PR head and installs the matching ripr #4447 on main. This PR keeps its CI.md sentence and a unit test for it.

Swarm / Source Boundary

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

None of the J hot paths are touched: rust_judged_panel, the judged-panel metrics, workflows and pr_evidence.rs.

Source-of-truth Links

Specs: RIPR-SPEC-0122, RIPR-SPEC-0028, RIPR-SPEC-0074, RIPR-SPEC-0082, RIPR-SPEC-0110.
Issues: #4410 and #4227 (supersedes PR #4230), plus the RC rehearsal must-fix items relayed in the UX grind thread.

Candidate Relationships

Candidate branch: claude/ux-grind-0-11-90zprn

Scope

  • TS boundary input derivation (analysis/language/typescript/boundary_input.rs) feeding typescript_packet_projection.
  • Python module constants (analysis/language/python/module_constants.rs), pilot and agent status card routing.
  • The exposed default severity changes to info: FindingSeverityConfig::default, the init template, ripr.toml.example and CONFIGURATION.md.
  • A shared output/discriminator_line.rs used by the human and JSON evidence lines.
  • Wording and next steps for partial runs, the module-parent, TS extraction, the seam limit and the empty repo report.
  • Context fix_site selection (domain/diagnostic_witness.rs), the receipt check cross-reference message (app/receipt.rs) and first-pr stale recovery (output/first_pr.rs).

Scope Classification

  • Other: 0.11 must-fix guided-route dead ends plus UX wording, under the specs above

Public config change: the default severity for exposed moves from warning to info. The config key is unchanged. Anyone who wants the old behavior sets [severity] exposed = "warning".

Support-tier Impact

  • changes a README, release, docs, CLI, JSON, editor, CI, or package claim. The changes are the CONFIGURATION severity table, a CI.md install sentence, GitHub annotation levels, the JSON discriminator evidence text and the receipt check message.

Policy Impact

  • generated artifact: goldens re-blessed with reason RIPR-SPEC-0122: …. The drift is severity, discriminator wording, the TS packet and Start-here lines, and the partial-run caveat. changed_exposure_classes is empty for every re-bless.
  • Eight TS fixture inputs moved to the diff's post-image so the tree matches the diff: ts_repair_packet_boundary_{literal_derived,constant_resolved,constant_first}, ts_dynamic_oracle, ts_no_verify_command, typescript_commonjs_require, typescript_limitation_custom_matcher, typescript_oracle_helper_gated. Their goldens are unchanged.
  • New fixture ts_repair_packet_boundary_literal_guarded is registered in .ripr/traceability.toml.

Proof

cargo xtask goldens check                               # 0 on 44d9efd
cargo xtask precommit                                   # 0 on 44d9efd
cargo clippy -p ripr --all-targets -- -D warnings       # 0 on 44d9efd
cargo clippy -p xtask --all-targets -- -D warnings      # 0 on e9c28f5 (merge touches no xtask file)
cargo test -p ripr --no-fail-fast                       # 0 on 44d9efd

Negative experiments:

  • With changed_line_runs_on_every_call forced to true, three boundary_input_tests rows fail and ts_repair_packet_boundary_literal_guarded drifts (recommendation_changed).
  • With the loop/await refusal removed, the loop rows and changed_line_after_an_await_stays_unresolved fail.

On the RC py-pricing sample, following pilot's route literally ends at ripr receipt write exit 0, and check then reports 1 exposed, 1 weak. The transcripts are in the project release folder (rc-acceptance/rehearsal-8e1801f/ux-py-loop).

Claim Boundary

This PR may claim that the TS literal/const boundary and the Python loop reach a repair packet and a receipt on the RC samples.

It must not claim:

  • that non-derivable TS boundaries are handled;
  • that the TS derivation sees a helper call or other earlier statement that throws or never returns only for the boundary value;
  • that the TS reach rules hold for a --diff file against a tree that is not the diff's post-image (they read the tree at --root);
  • that the Python dynamic-writer scan is complete. It is textual and covers only the test file. It does not cover conftest.py, fixtures outside the test file, or annotated/tuple/for/with/spaced-dot assignment forms;
  • that first-pr's stale recovery carries custom check flags beyond the supplied output path;
  • that the Python card's bare pytest verify command works without the package installed (follow-up);
  • that first-pr's receipt --out path matches its "Receipt path" line (follow-up).

Rollback

Revert the squash commit and re-bless the goldens. The severity default reverts with it.

Spec-Test-Code Traceability

  • TS: boundary_input_tests.rs, including:

    • comparisons_with_arithmetic_or_signed_sides_stay_unresolved
    • whole_side_comparisons_accept_common_line_shapes
    • comparison_on_a_value_derived_from_the_parameter_stays_unresolved
    • changed_line_behind_an_early_exit_or_nested_block_stays_unresolved
    • changed_line_after_an_await_stays_unresolved
    • changed_line_inside_a_block_comment_stays_unresolved
    • nested_function_bodies_and_generators_stay_unresolved

    Also the typescript_packet_projection tests (including separator_literal_boundary_derives_the_boundary_call and argument_split_keeps_escaped_quotes_inside_their_string), and fixtures ts_repair_packet_boundary_constant_first and ts_repair_packet_boundary_literal_guarded.

  • Python: module_constants/tests.rs (including mock_patching_in_a_test_file_counts_as_a_dynamic_writer, the self-alias and global rows); start_here_prefers_a_python_finding_with_a_repair_card; pilot_terminal_next_follows_the_python_repair_card_route; fixture python_named_constant_boundary_repair_gap.

  • Severity: render_uses_notice_for_exposed_and_default_message_without_stop_reason; LSP Exposed→INFORMATION; generated_init_config_matches_checked_in_example.

  • Discriminator: discriminator_line_never_says_yes_for_a_non_exposed_finding.

  • Fix site: fix_site_follows_the_suggested_repair_test, fix_site_matches_the_suggested_test_by_file_and_name. Receipt: receipt_check_ok_when_gap_present.

  • first-pr stale recovery: stale_recovery_rewrites_a_supplied_check_output, stale_supplied_check_output_routes_to_a_check_rerun.

  • Messy repo: partial_outcome_with_findings_does_not_claim_zero_findings; shared_integration_test_common_module_is_not_ambiguous; analyze_diff_collapses_test_extraction_partial_into_one_summary; seam_limit_hint_names_a_runnable_check_command; empty_markdown_report_names_a_next_step.

  • Init: generated_workflow_pins_the_generating_ripr_version.

  • Corpus harness: first_successful_pr_fixture_corpus_matches_expected_outputs passes after touching the checkout (reproduced red without the mtime refresh).

Static Language Check

  • Static output avoids killed, survived, untested, proven, and adequate.

CI Economics

n/a

Engineering Check

  • No new panic, unwrap, expect, todo, or unimplemented in production code or tests.
  • Errors are reported with actionable context.

🤖 Generated with Claude Code

https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk


Generated by Claude Code

claude and others added 7 commits September 28, 2026 14:06
…discriminator line

Carries the PR 2 integration (TS literal/const boundary input, Python module
constants, pilot Python card routing, exposed findings at info severity,
discriminator evidence line for non-exposed findings) onto current main.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
…g version

`ripr init --ci github` wrote `cargo install ripr --locked` unpinned, so CI
installed whatever release was latest: 0.10 (which lacks commands the
workflow calls) until 0.11 publishes, and silent behavior changes on any
later release (rewalk-4 W5). The install step now pins
`--version <CARGO_PKG_VERSION>` and keeps `--locked`; docs/CI.md says how to
upgrade (rerun `ripr init --ci github --force`).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
(cherry picked from commit ee03a2c3ec0d772bdf7d4541f093db0b93308e8a)
On the rc py-pricing sample, check's Start here picked the card-less
DISCOUNT_THRESHOLD constant finding (line 5) over the literal-boundary
finding (line 11) that has a Python repair card, so check said no ripr
command routes the change while pilot found a card. Triage now ranks a
preview Python finding with a repair card (python_repair_card is the
authority) like a stable finding with a repair route. Classification is
unchanged; only selection order moves. RIPR-SPEC-0122 documents it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
(cherry picked from commit 5ed9615fa58a04089602433e7e77999a7ce4b750)
On the rc py-pricing sample, pilot found one Python repair card and showed
it as the top recommendation, then closed with `Next: ripr check --root .`
(terminal and pilot-summary.md), which only leads back to pilot. With no
Rust seam and a Python card, the closing block now names the card's route:
`ripr first-pr` before the edit (it names the gap's receipt command and
stops selecting the gap once the edit closes it), the test edit, the card's
verify command, and that receipt command. A card that carries its own
receipt command skips first-pr. RIPR-SPEC-0028 records it; the Python pilot
CLI smoke test asserts the card route.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
(cherry picked from commit 68396372d9f5b5e3404fe0599eec1a5207901c83)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
- human: print "Zero findings is not a clean result" only when there are
  zero findings; a partial run with findings names the finding count and
  that it covers only the analyzed scope.
- role composition: the idiomatic shared integration-test helper
  (tests/common/mod.rs declared by several tests/<name>.rs crate roots with
  identical declarations) is no longer rust_module_ambiguous_parent; a
  genuinely ambiguous parent now names a concrete next step.
- typescript: collapse per-file typescript_test_extraction_partial
  limitations into one summary with a file count and samples; the recovery
  is inspect_failure with an inspect-or-rewrite step instead of retry.
- repo exposure / seam packets: the partial-scan hint names a runnable
  command (`ripr check --base <REV>` or `ripr check --diff <PATH>`).
- repo-exposure-md: an empty inventory with no language guidance says
  nothing was found to analyze and what to do next (exit code unchanged
  per docs/EXIT_CODES.md).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
(cherry picked from commit 8548c6bdd885586806798cdc9af9c41b913b03be)
@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 added release-check Run package, publish dry-run, VSIX, server archive, and release-readiness proof. windows-ci Run the advisory Windows lane on a pull request without opting into every full-ci lane. labels Sep 28, 2026 — with Claude
@EffortlessSteven EffortlessSteven self-assigned this Sep 28, 2026
@coderabbitai

coderabbitai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 323 files, which is 223 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: 92319263-e9fe-4b99-a566-4f76af9c99f4

📥 Commits

Reviewing files that changed from the base of the PR and between a47baac and 44d9efd.

⛔ Files ignored due to path filters (3)
  • fixtures/ts_repair_packet_boundary_constant_resolved/input/package-lock.json is excluded by !**/package-lock.json
  • fixtures/ts_repair_packet_boundary_literal_derived/input/package-lock.json is excluded by !**/package-lock.json
  • fixtures/ts_repair_packet_boundary_literal_guarded/input/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (323)
  • .ripr/traceability.toml
  • CHANGELOG.md
  • crates/ripr/src/analysis/facts/role_composition.rs
  • crates/ripr/src/analysis/language/python.rs
  • crates/ripr/src/analysis/language/python/boundary.rs
  • crates/ripr/src/analysis/language/python/module_constants.rs
  • crates/ripr/src/analysis/language/python/module_constants/tests.rs
  • crates/ripr/src/analysis/language/python/owners_tests.rs
  • crates/ripr/src/analysis/language/python/python_tests.rs
  • crates/ripr/src/analysis/language/python/related_tests.rs
  • crates/ripr/src/analysis/language/python/source_facts.rs
  • crates/ripr/src/analysis/language/typescript/boundary_input.rs
  • crates/ripr/src/analysis/language/typescript/boundary_input_tests.rs
  • crates/ripr/src/analysis/language/typescript/classifier.rs
  • crates/ripr/src/analysis/language/typescript/mod.rs
  • crates/ripr/src/analysis/language/typescript/tests.rs
  • crates/ripr/src/analysis/rust_index.rs
  • crates/ripr/src/app/agent_status.rs
  • crates/ripr/src/app/receipt.rs
  • crates/ripr/src/cli/commands/init.rs
  • crates/ripr/src/config.rs
  • crates/ripr/src/config/model.rs
  • crates/ripr/src/domain/diagnostic_witness.rs
  • crates/ripr/src/lsp/tests.rs
  • crates/ripr/src/output/agent_seam_packets.rs
  • crates/ripr/src/output/discriminator_line.rs
  • crates/ripr/src/output/first_pr.rs
  • crates/ripr/src/output/gap_decision_ledger.rs
  • crates/ripr/src/output/github.rs
  • crates/ripr/src/output/human.rs
  • crates/ripr/src/output/human/evidence_lines.rs
  • crates/ripr/src/output/human/triage.rs
  • crates/ripr/src/output/json/mod.rs
  • crates/ripr/src/output/json/report.rs
  • crates/ripr/src/output/mod.rs
  • crates/ripr/src/output/pilot/commands.rs
  • crates/ripr/src/output/pilot/render/complete.rs
  • crates/ripr/src/output/pilot/tests.rs
  • crates/ripr/src/output/repo_exposure.rs
  • crates/ripr/src/output/typescript_packet_projection.rs
  • crates/ripr/tests/cli_smoke.rs
  • docs/CI.md
  • docs/CONFIGURATION.md
  • docs/OUTPUT_SCHEMA.md
  • docs/specs/RIPR-SPEC-0027-typescript-preview-static-facts.md
  • docs/specs/RIPR-SPEC-0028-python-preview-static-facts.md
  • docs/specs/RIPR-SPEC-0074-repo-exposure-run-status.md
  • docs/specs/RIPR-SPEC-0087-typescript-preview-actionable-repair-packet.md
  • docs/specs/RIPR-SPEC-0110-receipt-gap-cross-reference.md
  • docs/specs/RIPR-SPEC-0122-bounded-human-check-output.md
  • fixtures/assertion_shaped_control_production_owner/expected/CHANGELOG.md
  • fixtures/assertion_shaped_control_production_owner/expected/check.json
  • fixtures/binding_predicate_equality_boundary/expected/CHANGELOG.md
  • fixtures/binding_predicate_equality_boundary/expected/check.json
  • fixtures/binding_value_fail_closed/expected/CHANGELOG.md
  • fixtures/binding_value_fail_closed/expected/check.json
  • fixtures/binding_value_family_matrix/expected/CHANGELOG.md
  • fixtures/binding_value_family_matrix/expected/check.json
  • fixtures/boundary_gap/expected/CHANGELOG.md
  • fixtures/boundary_gap/expected/check.json
  • fixtures/boundary_gap/expected/human-full.txt
  • fixtures/boundary_gap_multiline_assert/expected/CHANGELOG.md
  • fixtures/boundary_gap_multiline_assert/expected/check.json
  • fixtures/boundary_gap_nested_tests/expected/CHANGELOG.md
  • fixtures/boundary_gap_nested_tests/expected/check.json
  • fixtures/boundary_gap_reordered_tests/expected/CHANGELOG.md
  • fixtures/boundary_gap_reordered_tests/expected/check.json
  • fixtures/boundary_named_constant/expected/CHANGELOG.md
  • fixtures/boundary_named_constant/expected/check.json
  • fixtures/editor_lsp_workflow/expected/CHANGELOG.md
  • fixtures/editor_lsp_workflow/expected/check.json
  • fixtures/error_variant_boxed_wrapper_downcast_witness/expected/CHANGELOG.md
  • fixtures/error_variant_boxed_wrapper_downcast_witness/expected/check.json
  • fixtures/error_variant_boxed_wrapper_downcast_witness/expected/human-full.txt
  • fixtures/guarded_result_match_owner_observation/expected/CHANGELOG.md
  • fixtures/guarded_result_match_owner_observation/expected/check.json
  • fixtures/guarded_result_match_positive/expected/CHANGELOG.md
  • fixtures/guarded_result_match_positive/expected/check.json
  • fixtures/guarded_result_match_positive/expected/human.txt
  • fixtures/helper_chain_one_hop/expected/CHANGELOG.md
  • fixtures/helper_chain_one_hop/expected/check.json
  • fixtures/infection_expected_value_literal/expected/CHANGELOG.md
  • fixtures/infection_expected_value_literal/expected/check.json
  • fixtures/match_arm_controls/expected/CHANGELOG.md
  • fixtures/match_arm_controls/expected/check.json
  • fixtures/match_arm_observer/expected/CHANGELOG.md
  • fixtures/match_arm_observer/expected/check.json
  • fixtures/match_arm_observer/expected/human.txt
  • fixtures/match_arm_positive/expected/CHANGELOG.md
  • fixtures/match_arm_positive/expected/check.json
  • fixtures/match_arm_positive/expected/human.txt
  • fixtures/mixed_rust_typescript_preview/expected/CHANGELOG.md
  • fixtures/mixed_rust_typescript_preview/expected/check.json
  • fixtures/observation_verified_call_deletion/expected/CHANGELOG.md
  • fixtures/observation_verified_call_deletion/expected/check.json
  • fixtures/observation_verified_call_deletion/expected/human.txt
  • fixtures/observation_verified_field_construction/expected/check.json
  • fixtures/observation_verified_return_value/expected/CHANGELOG.md
  • fixtures/observation_verified_return_value/expected/check.json
  • fixtures/observation_verified_return_value/expected/human.txt
  • fixtures/observation_verified_side_effect/expected/CHANGELOG.md
  • fixtures/observation_verified_side_effect/expected/check.json
  • fixtures/observation_verified_side_effect/expected/human.txt
  • fixtures/opaque_fixture_builder/expected/CHANGELOG.md
  • fixtures/opaque_fixture_builder/expected/check.json
  • fixtures/python_async_owner/expected/CHANGELOG.md
  • fixtures/python_async_owner/expected/check.json
  • fixtures/python_async_owner/expected/human.txt
  • fixtures/python_cross_file_construct_call/expected/CHANGELOG.md
  • fixtures/python_cross_file_construct_call/expected/check.json
  • 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/check.json
  • fixtures/python_cross_file_import_reference/expected/human.txt
  • fixtures/python_field_assignment_shape/expected/CHANGELOG.md
  • fixtures/python_field_assignment_shape/expected/check.json
  • fixtures/python_field_assignment_shape/expected/human.txt
  • fixtures/python_named_constant_boundary_repair_gap/SPEC.md
  • fixtures/python_named_constant_boundary_repair_gap/diff.patch
  • fixtures/python_named_constant_boundary_repair_gap/expected/CHANGELOG.md
  • fixtures/python_named_constant_boundary_repair_gap/expected/check.json
  • fixtures/python_named_constant_boundary_repair_gap/expected/human.txt
  • fixtures/python_named_constant_boundary_repair_gap/input/ripr.toml
  • fixtures/python_named_constant_boundary_repair_gap/input/src/__init__.py
  • fixtures/python_named_constant_boundary_repair_gap/input/src/pricing.py
  • fixtures/python_named_constant_boundary_repair_gap/input/tests/test_pricing.py
  • fixtures/python_owner_file_match/expected/CHANGELOG.md
  • fixtures/python_owner_file_match/expected/check.json
  • fixtures/python_owner_file_match/expected/human.txt
  • fixtures/python_ranking_noise_control/expected/CHANGELOG.md
  • fixtures/python_ranking_noise_control/expected/check.json
  • fixtures/python_rebound_constant_boundary_limit/SPEC.md
  • fixtures/python_rebound_constant_boundary_limit/diff.patch
  • fixtures/python_rebound_constant_boundary_limit/expected/CHANGELOG.md
  • fixtures/python_rebound_constant_boundary_limit/expected/check.json
  • fixtures/python_rebound_constant_boundary_limit/expected/human.txt
  • fixtures/python_rebound_constant_boundary_limit/input/ripr.toml
  • fixtures/python_rebound_constant_boundary_limit/input/src/__init__.py
  • fixtures/python_rebound_constant_boundary_limit/input/src/pricing.py
  • fixtures/python_rebound_constant_boundary_limit/input/tests/test_pricing.py
  • fixtures/python_return_value_shape/expected/CHANGELOG.md
  • fixtures/python_return_value_shape/expected/check.json
  • fixtures/python_return_value_shape/expected/human.txt
  • fixtures/python_same_stem_sibling_owner_not_related/expected/CHANGELOG.md
  • fixtures/python_same_stem_sibling_owner_not_related/expected/check.json
  • fixtures/python_same_stem_sibling_owner_not_related/expected/human.txt
  • fixtures/python_strong_oracle/expected/CHANGELOG.md
  • fixtures/python_strong_oracle/expected/check.json
  • fixtures/python_strong_oracle/expected/human.txt
  • fixtures/python_unittest_assertions/expected/CHANGELOG.md
  • fixtures/python_unittest_assertions/expected/check.json
  • fixtures/python_unittest_assertions/expected/human.txt
  • fixtures/recursive_controls/expected/CHANGELOG.md
  • fixtures/recursive_controls/expected/check.json
  • fixtures/recursive_positive/expected/CHANGELOG.md
  • fixtures/recursive_positive/expected/check.json
  • fixtures/recursive_positive/expected/human.txt
  • fixtures/rust_async_fn_owner/expected/CHANGELOG.md
  • fixtures/rust_async_fn_owner/expected/check.json
  • fixtures/rust_async_fn_owner/expected/human-full.txt
  • fixtures/rust_constructor_field_observation/expected/CHANGELOG.md
  • fixtures/rust_constructor_field_observation/expected/check.json
  • fixtures/rust_constructor_field_observation/expected/human-full.txt
  • fixtures/rust_constructor_field_wrong_field_observer/expected/CHANGELOG.md
  • fixtures/rust_constructor_field_wrong_field_observer/expected/check.json
  • fixtures/rust_constructor_field_wrong_field_observer/expected/human-full.txt
  • fixtures/rust_dep_edge_cross_crate_positive/expected/CHANGELOG.md
  • fixtures/rust_dep_edge_cross_crate_positive/expected/check.json
  • fixtures/rust_dep_edge_cross_crate_positive/expected/human-full.txt
  • 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/check.json
  • fixtures/rust_long_expression_display_bound/expected/CHANGELOG.md
  • fixtures/rust_long_expression_display_bound/expected/check.json
  • fixtures/rust_long_expression_display_bound/expected/human-full.txt
  • fixtures/scanner_controls/expected/CHANGELOG.md
  • fixtures/scanner_controls/expected/check.json
  • fixtures/scanner_positive/expected/CHANGELOG.md
  • fixtures/scanner_positive/expected/check.json
  • fixtures/scanner_positive/expected/human.txt
  • fixtures/source_role_harness_suppression/expected/check.json
  • fixtures/strong_boundary_oracle/expected/CHANGELOG.md
  • fixtures/strong_boundary_oracle/expected/check.json
  • fixtures/strong_boundary_oracle/expected/human.txt
  • fixtures/strong_error_oracle/expected/CHANGELOG.md
  • fixtures/strong_error_oracle/expected/check.json
  • fixtures/strong_error_oracle/expected/human-full.txt
  • fixtures/strong_error_oracle/expected/human.txt
  • fixtures/tail_comparison_boundary/expected/CHANGELOG.md
  • fixtures/tail_comparison_boundary/expected/check.json
  • fixtures/ts_already_observed/expected/CHANGELOG.md
  • fixtures/ts_already_observed/expected/check.json
  • fixtures/ts_already_observed/expected/human.txt
  • fixtures/ts_boundary_named_constant_test/expected/CHANGELOG.md
  • fixtures/ts_boundary_named_constant_test/expected/check.json
  • fixtures/ts_boundary_named_constant_test/expected/human-full.txt
  • fixtures/ts_boundary_named_constant_test/expected/human.txt
  • fixtures/ts_dynamic_oracle/expected/CHANGELOG.md
  • fixtures/ts_dynamic_oracle/expected/check.json
  • fixtures/ts_dynamic_oracle/input/src/pricing.ts
  • fixtures/ts_no_verify_command/expected/CHANGELOG.md
  • fixtures/ts_no_verify_command/expected/check.json
  • fixtures/ts_no_verify_command/input/src/calculator.ts
  • 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/check.json
  • fixtures/ts_pkg_discovery_monorepo/expected/human.txt
  • fixtures/ts_pkg_discovery_single_package/expected/CHANGELOG.md
  • fixtures/ts_pkg_discovery_single_package/expected/check.json
  • 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/check.json
  • fixtures/ts_predicate_boundary_const_result_local/expected/human-full.txt
  • 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/check.json
  • fixtures/ts_predicate_boundary_optional_chaining/expected/human-full.txt
  • fixtures/ts_predicate_boundary_optional_chaining/expected/human.txt
  • fixtures/ts_predicate_boundary_overcredit/expected/CHANGELOG.md
  • fixtures/ts_predicate_boundary_overcredit/expected/check.json
  • fixtures/ts_repair_packet_boundary_constant_first/SPEC.md
  • fixtures/ts_repair_packet_boundary_constant_first/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_constant_first/expected/check.json
  • fixtures/ts_repair_packet_boundary_constant_first/expected/human-full.txt
  • fixtures/ts_repair_packet_boundary_constant_first/expected/human.txt
  • fixtures/ts_repair_packet_boundary_constant_first/input/src/pricing.ts
  • fixtures/ts_repair_packet_boundary_constant_resolved/SPEC.md
  • fixtures/ts_repair_packet_boundary_constant_resolved/diff.patch
  • fixtures/ts_repair_packet_boundary_constant_resolved/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_constant_resolved/expected/check.json
  • fixtures/ts_repair_packet_boundary_constant_resolved/expected/human.txt
  • fixtures/ts_repair_packet_boundary_constant_resolved/input/package.json
  • fixtures/ts_repair_packet_boundary_constant_resolved/input/ripr.toml
  • fixtures/ts_repair_packet_boundary_constant_resolved/input/src/pricing.ts
  • fixtures/ts_repair_packet_boundary_constant_resolved/input/tests/pricing.test.ts
  • fixtures/ts_repair_packet_boundary_constant_unresolved/SPEC.md
  • fixtures/ts_repair_packet_boundary_constant_unresolved/input/src/pricing.ts
  • fixtures/ts_repair_packet_boundary_literal_derived/SPEC.md
  • fixtures/ts_repair_packet_boundary_literal_derived/diff.patch
  • fixtures/ts_repair_packet_boundary_literal_derived/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_literal_derived/expected/check.json
  • fixtures/ts_repair_packet_boundary_literal_derived/expected/human.txt
  • fixtures/ts_repair_packet_boundary_literal_derived/input/package.json
  • fixtures/ts_repair_packet_boundary_literal_derived/input/ripr.toml
  • fixtures/ts_repair_packet_boundary_literal_derived/input/src/shipping.ts
  • fixtures/ts_repair_packet_boundary_literal_derived/input/tests/shipping.test.ts
  • fixtures/ts_repair_packet_boundary_literal_guarded/SPEC.md
  • fixtures/ts_repair_packet_boundary_literal_guarded/diff.patch
  • fixtures/ts_repair_packet_boundary_literal_guarded/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_literal_guarded/expected/check.json
  • fixtures/ts_repair_packet_boundary_literal_guarded/expected/human.txt
  • fixtures/ts_repair_packet_boundary_literal_guarded/input/package.json
  • fixtures/ts_repair_packet_boundary_literal_guarded/input/ripr.toml
  • fixtures/ts_repair_packet_boundary_literal_guarded/input/src/shipping.ts
  • fixtures/ts_repair_packet_boundary_literal_guarded/input/tests/shipping.test.ts
  • fixtures/ts_repair_packet_complete/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_complete/expected/human.txt
  • fixtures/ts_runner_detect_ava_devdep/expected/CHANGELOG.md
  • fixtures/ts_runner_detect_ava_devdep/expected/check.json
  • fixtures/ts_runner_detect_ava_devdep/expected/human-full.txt
  • 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/check.json
  • 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/check.json
  • fixtures/ts_runner_detect_no_runner/expected/human.txt
  • fixtures/ts_static_limit/expected/CHANGELOG.md
  • fixtures/ts_static_limit/expected/check.json
  • fixtures/ts_static_limit/expected/human.txt
  • fixtures/typescript_commonjs_require/expected/CHANGELOG.md
  • fixtures/typescript_commonjs_require/expected/check.json
  • fixtures/typescript_commonjs_require/input/src/format.ts
  • fixtures/typescript_jest_vitest_assertion_facts/expected/CHANGELOG.md
  • fixtures/typescript_jest_vitest_assertion_facts/expected/check.json
  • fixtures/typescript_limitation_custom_matcher/expected/CHANGELOG.md
  • fixtures/typescript_limitation_custom_matcher/expected/check.json
  • fixtures/typescript_limitation_custom_matcher/input/src/pricing.ts
  • fixtures/typescript_monorepo_package_local/expected/CHANGELOG.md
  • fixtures/typescript_monorepo_package_local/expected/check.json
  • fixtures/typescript_oracle_helper_gated/expected/CHANGELOG.md
  • fixtures/typescript_oracle_helper_gated/expected/check.json
  • fixtures/typescript_oracle_helper_gated/input/src/pricing.ts
  • fixtures/typescript_owner_file_match/expected/CHANGELOG.md
  • fixtures/typescript_owner_file_match/expected/check.json
  • fixtures/typescript_owner_kinds/expected/CHANGELOG.md
  • fixtures/typescript_owner_kinds/expected/check.json
  • fixtures/typescript_parse_error_unsupported_syntax/expected/CHANGELOG.md
  • fixtures/typescript_parse_error_unsupported_syntax/expected/human.txt
  • fixtures/typescript_reexport_single_hop/expected/CHANGELOG.md
  • fixtures/typescript_reexport_single_hop/expected/check.json
  • fixtures/typescript_reexport_single_hop/expected/human.txt
  • fixtures/typescript_related_test_matching/expected/CHANGELOG.md
  • fixtures/typescript_related_test_matching/expected/check.json
  • fixtures/typescript_related_test_matching/expected/human.txt
  • fixtures/typescript_same_method_owner_identity_positive/expected/CHANGELOG.md
  • fixtures/typescript_same_method_owner_identity_positive/expected/check.json
  • fixtures/typescript_same_method_owner_identity_positive/expected/human-full.txt
  • fixtures/typescript_same_method_owner_identity_positive/expected/human.txt
  • fixtures/typescript_tape_equal_oracle/expected/CHANGELOG.md
  • fixtures/typescript_tape_equal_oracle/expected/check.json
  • fixtures/typescript_tape_equal_oracle/expected/human-full.txt
  • fixtures/typescript_tape_equal_oracle/expected/human.txt
  • fixtures/typescript_witness_dead_argument/expected/CHANGELOG.md
  • fixtures/typescript_witness_dead_argument/expected/check.json
  • fixtures/typescript_witness_dead_expected/expected/CHANGELOG.md
  • fixtures/typescript_witness_dead_expected/expected/check.json
  • fixtures/typescript_witness_nested_expression/expected/CHANGELOG.md
  • fixtures/typescript_witness_nested_expression/expected/check.json
  • fixtures/typescript_witness_receiver_qualified/expected/CHANGELOG.md
  • fixtures/typescript_witness_receiver_qualified/expected/check.json
  • fixtures/unwrap_err_variant_positive/expected/CHANGELOG.md
  • fixtures/unwrap_err_variant_positive/expected/check.json
  • fixtures/unwrap_err_variant_positive/expected/human-full.txt
  • fixtures/unwrap_err_variant_positive/expected/human.txt
  • fixtures/unwrap_err_variant_single_line/expected/CHANGELOG.md
  • fixtures/unwrap_err_variant_single_line/expected/check.json
  • fixtures/weak_error_oracle_assert_matches/expected/CHANGELOG.md
  • fixtures/weak_error_oracle_assert_matches/expected/check.json
  • fixtures/weak_error_oracle_assert_matches/expected/human.txt
  • metrics/capabilities.toml
  • ripr.toml.example

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.

…atching

The #4429 exact-head review found the TypeScript boundary input kept only
the operand nearest the comparison, so `OFFSET + amount >= LIMIT`,
`amount >= LIMIT + 1` and `amount >= -5` derived the operand's value as a
delegatable boundary input. The changed line must now compare the parameter
and the operand as whole sides of exactly one comparison. Python test files
that patch through unittest.mock now count as dynamic attribute writers.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
Re-review of c60d148: a changed line that starts or ends at a comparison
side (`if (amount >= LIMIT` then `+ 1) {`) hid the arithmetic on the
neighbouring line. Both edges must now be visible on the changed line.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
…ment

Re-review of 4adee87: the line tokenizer read inside literal and comment
spans, so `amount > CAP ? "over: amount >= LIMIT" : ok` derived LIMIT.
Any quote, backtick or slash on the changed line now fails closed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
Re-review of 172a0b5: the discriminator extraction pairs the first
operator by priority, not the one the diff changed, so
`amount >= LIMIT || amount >= CAP` could derive LIMIT for a CAP change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
# Conflicts:
#	fixtures/oracle_confirmation_mixed/expected/CHANGELOG.md
…ence guard

CI checked out fixtures/first_successful_pr/python-preview-gap with the test
file newer than the checked-in ledger, so the mtime guard reported stale
evidence. Touching the test file reproduces it locally; the harness now marks
the ledger as just written, which is what the fixture stands for.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
…no input

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
…not establish

RC walk on the J tree: the context witness named the first strong related
test while check, explain and the repair card named the suggested repair
test, and agents read `receipt_ok` against both ledgers as a confirmed
fix. The witness now uses the suggested test when it is a related test,
and each receipt cross-reference state carries its meaning after the
unchanged token.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review September 28, 2026 17:40
@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 left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Exact-head review record

  • reviewed_head_sha: b8833e0
  • integration_basis: main 559af59 (merged into the head at b8833e0; CHANGELOG resolved by union, no code conflict)
  • claim_boundary: TS literal / single immutable const boundary inputs and the Python status→pilot→check loop reach a repair packet and receipt on the RC samples; exposed defaults to info; discriminator, partial-run, receipt-check and fix-site wording. Non-claims are listed in the PR body.

Surfaces inspected:

  • typescript/boundary_input.rs and typescript_packet_projection.rs (derivation, fail-closed paths, the owner-parameter binding);
  • python/module_constants.rs (dynamic writers including mock.patch);
  • pilot, agent status and check Start-here routing;
  • FindingSeverityConfig::default, init template, ripr.toml.example, CONFIGURATION.md;
  • output/discriminator_line.rs and its human/JSON consumers;
  • domain/diagnostic_witness.rs fix_site;
  • app/receipt.rs cross-reference text and RIPR-SPEC-0110 examples;
  • the first-pr corpus harness mtime refresh;
  • re-blessed goldens (changed_exposure_classes empty on every re-bless).

Blocking findings: none open. Four earlier review rounds found wrong-packet shapes, all fixed with negative tests in boundary_input_tests.rs:

  • arithmetic and signed sides;
  • line edges;
  • literal and comment spans;
  • multiple comparisons on a line;
  • values derived from the parameter.

The last independent re-review returned REVIEW_READY. The commits after it are a main merge (CHANGELOG union) plus the receipt, fix-site and harness changes, and each carries its own test.

Non-blocking:

  • The Python patch detection is a word match in the test file only; conftest patching is not scanned (recorded non-claim).
  • Bare pytest verify command and the receipt --out path are follow-ups on claude/ux-grind-followups.

Refuted: the efficacy thread's unsound-binding concern does not apply here. Only the owner's own read-only positional parameter binds, and a test pins it.

Proof / CI observed on this head:

  • "Ripr Rust Small on GitHub Hosted / Rust gates" and "Ripr Rust Small Result" passed.
  • GitGuardian, cargo-deny, dependency-review, source-of-truth and Rust-only feature lane passed.
  • Local: cargo xtask goldens check 0, cargo xtask precommit 0, clippy -D warnings 0 for ripr and xtask, cargo test -p ripr --no-fail-fast 0.

Proof or review missing:

  • ub-review cancelled at its 30-minute timeout on this 312-file PR.
  • CodeRabbit skips PRs over 300 files.
  • Gemini is out of quota.

Each is recorded as a missing review, not a clean one. windows-advisory is advisory and was still running.

Currentness: all dimensions are bound to b8833e0. The only change after the last full review is the main merge, whose conflict was confined to the CHANGELOG.

Disposition: REVIEW_READY


Generated by Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-28T17:46:23.638624Z b8833e0 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b8833e0afc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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

Devin Review

Comment thread crates/ripr/src/output/first_pr.rs Resolved
- TS projection reads numeric separators (`5_000`) like the analysis side,
  so the literal boundary route becomes delegatable; malformed separators
  stay refused.
- Argument splitting honors escaped quotes, and the derived boundary call
  refuses arguments containing escapes instead of copying them.
- Python owner modules that assign `alias.NAME` (self-import) no longer
  resolve NAME as a constant.
- A `global NAME` in any test-module function (autouse fixture, helper)
  marks NAME rebound for every test in that module.
- The context fix site matches the suggested test by file and name.
- first-pr's stale recovery rewrites a supplied `--check-output` before
  rebuilding the ledger, so the next run is not blocked again.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
…zero separators

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
@EffortlessSteven
EffortlessSteven merged commit 0f356ff into main Sep 28, 2026
25 of 26 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/ux-grind-0-11-90zprn branch September 28, 2026 22:59
EffortlessSteven pushed a commit that referenced this pull request Sep 28, 2026
Devin on #4484: the inventory left out partial-run wording, first-pr
recovery and Rust helper classification. List them and say Part B reads
the whole diff.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYyUnjaq9zD4WsBujWEUpk
EffortlessSteven pushed a commit that referenced this pull request Sep 28, 2026
…3921)

Codex P1 on #4484: #4418 was marked 'recorded above' with none of its
user-visible changes listed, and the #4429 list missed changelog items.
Each PR's CHANGELOG entry is now the named inventory, plus the source-only
changes and the rows each one moves.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYyUnjaq9zD4WsBujWEUpk
EffortlessSteven added a commit that referenced this pull request Sep 29, 2026
…pre-final sync carries them (#4484)

Adds a §0.6 inventory of the post-cutoff changes the pre-final sync carries: #4418 (88f23ec), #4263 (56afd5f) and #4429 (0f356ff). It names each PR's CHANGELOG entry, the source-only changes, and the ledger rows and note bullets each one moves. Every movement is gated on a walk of the synced tree.

Merged under Steven's standing swarm merge policy. The exact head 73d6c78 is green, has an exact-head COMMENT review with no blockers, has all threads resolved and has no conflict. The Gemini review is missing (out of quota). Policy: cmsg_01PNTtQgh6otzUAgrEbiwJapLDNSeHy8MdztUC5UgRC71w, cmsg_01PNTtQgh6otzUAgrEbiwJapJ9t7fvZRC8p2kQ3xWU9c3m, cmsg_01PNTtQgh6otzUAgrEbiwJapXkeTSSUZZxybErtNj3dtgQ.

Refs #3921, #4410, #4227.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AYyUnjaq9zD4WsBujWEUpk
EffortlessSteven added a commit that referenced this pull request Sep 29, 2026
…4502)

* fix(typescript): follow bounded barrel re-export chains to the owner

The TypeScript preview adapter reported no_static_path for changed
functions whose tests import them through a barrel. Real repro:
unjs/ufo eb29945 / 5cd9e67 import `withBase`/`withoutBase` from "../src",
a directory whose src/index.ts is `export * from "./utils"`. The import
specifier resolved to module `src`, which matched no barrel (the star edge
was recorded for `src/index`), and only one hop was ever followed.

ReExportIndex (related_tests.rs, the existing owner) now:
- resolves a directory specifier to its `index` module only when no file
  module of that name exists;
- follows `export { N } from` and `export * from` chains inside the repo
  for at most MAX_REEXPORT_HOPS (4) hops with a cycle guard;
- records each module's own exported names, so a star hop forwards a name
  only when the target module actually exports it; ambiguous star names,
  `export *` of `default`, over-deep chains and cycles fail closed;
- skips type-only `export type ... from` statements.
The re-export relation also gains the body-local shadow guard.

Proof: reexport_chain_tests (11 tests through ReExportIndex::build and
find_related_tests; 9 fail on main), new fixtures
typescript_reexport_directory_star_barrel (no_static_path -> exposed) and
typescript_reexport_barrel_other_name (negative control), and a re-bless
of typescript_reexport_two_hop_limit, whose two-hop named chain is now
within the bound (no_static_path -> exposed). RIPR-SPEC-0095 updated.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014vnx74g4Sw9wuFrowxNf2d

* test(typescript): re-bless barrel fixtures for info severity on exposed findings

#4429 (merged to main after this patch was cut) renders exposed findings at
info severity; the two fixtures this change moves to exposed now carry it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PD6CY5kNL5Z4BT2T3M32Yc

* fix(typescript): refuse barrel credit shadowed by an enclosing describe binding

A describe- or beforeEach-scoped declaration of the imported local name
shadows the import for every test in that scope. The re-export arm only
checked the test body, so it credited the barrel owner anyway.

Proof: describe_scoped_shadow_of_barrel_import_does_not_credit fails
without the guard and passes with it; TS lib tests 587 passed; goldens
check exit 0; precommit exit 0; clippy -p ripr clean.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PD6CY5kNL5Z4BT2T3M32Yc

* fix(typescript): refuse barrel credit when a module on the chain is mocked

A test that mocks the barrel it imports the owner through (or an
intermediate hop) executes the mock, but the re-export arm only checked
mocks of the owner's own file and credited re_export_chain_followed. On
the new fixture typescript_adversarial_mocked_barrel that read exposed.

The resolver now treats a mocked module anywhere on the chain as Unknown.
Graduated as honesty corpus case ts_mocked_barrel_unrelated_assertion
(must_not_promote, maximum_class weakly_exposed).

Proof: mocked_import_barrel_does_not_credit and
mocked_intermediate_barrel_does_not_credit fail without the guard;
mock_of_a_module_off_the_chain_keeps_the_credit is the positive control;
goldens check exits 1 without the guard and 0 with it; honesty gate pass;
TS lib tests 590 passed; clippy -p ripr and -p xtask clean; precommit 0.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PD6CY5kNL5Z4BT2T3M32Yc

---------

Co-authored-by: Claude <noreply@anthropic.com>
EffortlessSteven added a commit that referenced this pull request Sep 29, 2026
…backs (#4593)

* fix(typescript): extract tests declared inside loops and forEach callbacks

Tests registered in a `for`, `for...of` or `for...in` body or a `.forEach`
callback at file or describe level were never extracted, so suites written
like unjs/ufo left the owners they call reading `no_static_path`. The
extractor now walks those bodies, shadows enclosing bindings with the loop
variables or callback parameters, and names a computed title
`<computed title, line N>` under its describe. Relations still come only
from the test body. Loops over a literally empty array and loops whose
target is not a declaration are not walked and stay disclosed as
`typescript_test_extraction_partial` (RIPR-SPEC-0027).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014vnx74g4Sw9wuFrowxNf2d

* test(typescript): keep the partial-extraction collapse test on an unindexed shape

Top-level template-literal titles are now extracted, so the #4429
collapse test wraps its registration in an `if` block, the same
still-unindexed shape its sibling test uses.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PD6CY5kNL5Z4BT2T3M32Yc

* fix(typescript): walk only loops known to run, and honor loop and describe shadows

Two review findings on the loop extractor (Devin):

- A loop over a possibly empty iterable (`const rows = []`, a `let`, an
  import, a parameter) was walked, so a test that never registers could
  expose the owner. A loop is now walked only when its iterable is a
  non-empty array/object literal, Object.entries/keys/values of one, or a
  const whose innermost binding in scope is a single declaration of one;
  a counted for needs literal bounds. Other loops stay unwalked and
  disclosed as typescript_test_extraction_partial.
- A loop variable or describe parameter reusing an imported owner's name
  was credited as a direct/imported/alias/class-method call. Scope
  bindings now record whether they are file-level; any other level
  shadows the called name in every owner-call arm.

Proof: with the shadow guard disabled, the loop-variable and
describe-parameter end-to-end tests (and the #4502 describe-scope barrel
test) fail; with the non-empty proof disabled, the zero-iteration
end-to-end test and both not-walked tests fail. ufo eb29945/5cd9e67
replay still reads 3 exposed and 5 weakly_exposed. TS lib 602 passed;
goldens 0; honesty pass; precommit 0; clippy ripr and xtask clean.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PD6CY5kNL5Z4BT2T3M32Yc

* fix(typescript): do not walk a loop whose binding shadows the runner API

A loop variable or forEach parameter named test, it or describe shadows
the runner inside the body, so its calls register nothing (Codex). Such
a loop is no longer walked. A counted for with a non-admitting literal
condition (false, 3 < 1) is covered by the existing negative test.

Proof: loop_binding_named_like_the_runner_api_is_not_a_registration
fails with the guard disabled; TS lib 603 passed; goldens 0; precommit
0; clippy -p ripr clean.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PD6CY5kNL5Z4BT2T3M32Yc

---------

Co-authored-by: Claude <noreply@anthropic.com>
cursor Bot pushed a commit that referenced this pull request Oct 17, 2026
Row 11 stays landed on swarm by #4429, but the public notes non-claim
remains Visible until the synced-tree walk. Cite the 0f356ff close-comment
walk so the row is not an open-issue blocker.

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-check Run package, publish dry-run, VSIX, server archive, and release-readiness proof. windows-ci Run the advisory Windows lane on a pull request without opting into every full-ci lane.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants