Repository navigation
ux(0.11): TS/Python boundary repair routes, exposed as info, honest discriminator and partial-run wording - #4429
Conversation
…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)
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Important Review skippedToo 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 configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (323)
You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…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
# Conflicts: # CHANGELOG.md
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
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.rsandtypescript_packet_projection.rs(derivation, fail-closed paths, the owner-parameter binding);python/module_constants.rs(dynamic writers includingmock.patch);- pilot, agent status and check Start-here routing;
FindingSeverityConfig::default, init template,ripr.toml.example, CONFIGURATION.md;output/discriminator_line.rsand its human/JSON consumers;domain/diagnostic_witness.rsfix_site;app/receipt.rscross-reference text and RIPR-SPEC-0110 examples;- the first-pr corpus harness mtime refresh;
- re-blessed goldens (
changed_exposure_classesempty 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
patchdetection is a word match in the test file only; conftest patching is not scanned (recorded non-claim). - Bare
pytestverify command and the receipt--outpath are follow-ups onclaude/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 check0,cargo xtask precommit0, clippy-D warnings0 for ripr and xtask,cargo test -p ripr --no-fail-fast0.
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
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 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".
- 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
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
…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
…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
…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>
…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>
Requested by Steven · project thread
Summary
Before: the 0.11 RC rehearsal ran into these problems:
amount >= 5000oramount >= DISCOUNT_THRESHOLD, tested only off the boundary, got no repair packet ("does not reach").first-prlooped on "blocked".status,pilotandchecksent users around in a loop. Check's Start here picked the card-less constant finding. Pilot ended with "Next: ripr check".agent statusdid not route a pilot Python card.::warning.tests/common/mod.rswas flagged as an ambiguous module parent.ripr check --diffwith no path.repo-exposure-mdreport 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 targetsexpect(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 >= 5and comparisons on a value derived from the parameter stay unresolved.The TS derivation also fails closed unless every call reaches the changed line:
if (,return,const|let|var NAME =);return/throw/break/continue/yield, loop (while/do/for) orawaitappears earlier in the body;So an earlier
if (amount === 5000) return 0;guard orwhile (amount === 5000) {}no longer derivesshipping(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_actionfields. 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 statusroutes a pilot Python card to first-pr.Python treats these as dynamic writers, so such a constant does not resolve:
mock.patch/patch.objectin a test file;alias.NAME =);global NAMEdeclaration.Exposed findings default to
infoseverity, so GitHub shows a::noticeand the LSP shows INFORMATION. Users can still setexposed = "warning"inripr.toml.The discriminator line says
discriminator missing: …; related oracle: …ornot 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_sitefollows the repair card's suggested test (name and file) instead of the best-scored related test.receipt checkexplains its cross-reference:receipt_oksays the gap is listed, not that it is closed, and namesripr checkas 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 githubinstall 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
ripr-swarmNone 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-90zprnScope
analysis/language/typescript/boundary_input.rs) feedingtypescript_packet_projection.analysis/language/python/module_constants.rs), pilot andagent statuscard routing.exposeddefault severity changes toinfo:FindingSeverityConfig::default, the init template,ripr.toml.exampleand CONFIGURATION.md.output/discriminator_line.rsused by the human and JSON evidence lines.fix_siteselection (domain/diagnostic_witness.rs), thereceipt checkcross-reference message (app/receipt.rs) and first-pr stale recovery (output/first_pr.rs).Scope Classification
Public config change: the default severity for
exposedmoves fromwarningtoinfo. The config key is unchanged. Anyone who wants the old behavior sets[severity] exposed = "warning".Support-tier Impact
receipt checkmessage.Policy Impact
RIPR-SPEC-0122: …. The drift is severity, discriminator wording, the TS packet and Start-here lines, and the partial-run caveat.changed_exposure_classesis empty for every re-bless.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.ts_repair_packet_boundary_literal_guardedis registered in.ripr/traceability.toml.Proof
Negative experiments:
changed_line_runs_on_every_callforced to true, threeboundary_input_testsrows fail andts_repair_packet_boundary_literal_guardeddrifts (recommendation_changed).awaitrefusal removed, the loop rows andchanged_line_after_an_await_stays_unresolvedfail.On the RC
py-pricingsample, following pilot's route literally ends atripr receipt writeexit 0, and check then reports1 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:
--difffile against a tree that is not the diff's post-image (they read the tree at--root);conftest.py, fixtures outside the test file, or annotated/tuple/for/with/spaced-dot assignment forms;checkflags beyond the supplied output path;pytestverify command works without the package installed (follow-up);--outpath 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_unresolvedwhole_side_comparisons_accept_common_line_shapescomparison_on_a_value_derived_from_the_parameter_stays_unresolvedchanged_line_behind_an_early_exit_or_nested_block_stays_unresolvedchanged_line_after_an_await_stays_unresolvedchanged_line_inside_a_block_comment_stays_unresolvednested_function_bodies_and_generators_stay_unresolvedAlso the typescript_packet_projection tests (including
separator_literal_boundary_derives_the_boundary_callandargument_split_keeps_escaped_quotes_inside_their_string), and fixturests_repair_packet_boundary_constant_firstandts_repair_packet_boundary_literal_guarded.Python:
module_constants/tests.rs(includingmock_patching_in_a_test_file_counts_as_a_dynamic_writer, the self-alias andglobalrows);start_here_prefers_a_python_finding_with_a_repair_card;pilot_terminal_next_follows_the_python_repair_card_route; fixturepython_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_outputspasses after touching the checkout (reproduced red without the mtime refresh).Static Language Check
killed,survived,untested,proven, andadequate.CI Economics
n/a
Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code or tests.🤖 Generated with Claude Code
https://claude.ai/code/session_01RVg614YgfYUbHkMYUX7Bnk
Generated by Claude Code