You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current status\n\nThe original 0.8.0 versus 0.10.0 version skew is resolved by merged PR #738. The remaining claim is cross-platform identity parity for RIPR 0.10.0.\n\n## Reproduction\n\nPR #746 uses one fixed review patch. Windows local RIPR 0.10.0 produces four additional weak-exposure IDs for the changed claim/render seams, while the Linux GitHub gate produces the 29 Linux IDs. The same semantic findings therefore do not have one portable suppression set.\n\nReceipts:\n- Windows local: PR #746 worktree,
ipr 0.10.0, --base origin/main, 4 host-only IDs\n- Linux: gate run 29139657331, RIPR 0.10.0, 29 matching IDs\n- Current PR branch intentionally retains only the Linux content-addressed set; it does not carry Windows aliases.\n\n## Target seam\n\nRIPR fingerprint normalization and traversal ordering for repository-relative path, family, owner, normalized expression, diff side, and duplicate ordinals.\n\n## Acceptance criteria\n\n- Identical fixed patch produces identical IDs on Windows and Linux.\n- Repeated execution is byte-identical.\n- Branch diff and synthetic merge-ref diff agree.\n- Line movement preserves identity; expression changes invalidate identity.\n- No platform-specific suppression aliases are needed.\n\n## Non-goals\n\nDo not relax ub-review strict-zero, add line-keyed IDs, or refactor #746 product behavior to chase analyzer identity.\n\n## Proof\n\nAttach the exact patch and both JSON finding outputs, then run the RIPR fixture on Windows and Linux before updating the ledger.
Related upstream history is closed but relevant: EffortlessMetrics/ripr-swarm#1053 documented line-keyed suppression drift; #1054 documented false-negative reach analysis; #1055 documented unactionable test-code probes. Current reproduction uses ripr 0.10.0 and additionally shows merge-ref deletion-side IDs versus local content-hashed IDs, so this is not resolved by the prior closures.
changed the title [-]fix(ripr): stabilize suppression identities across PR merge refs[/-][+]chore(tools): align RIPR 0.10.0 finding-ID contract[/+]on Jul 10, 2026
Research update — verified current state (2026-07-14)
I traced how ub-review consumes ripr findings to determine whether this issue's "target seam" (fingerprint normalization) lives in ub-review or ripr-swarm. The normalization is in ripr-swarm, not ub-review. ub-review invokes ripr as an external sensor and consumes its badge-json output verbatim — it has no finding-ID normalization layer.
src/sensors/mod.rs:242 — ub-review reads ripr's badge-json output from stdout (the verbatim bytes are the receipt).
src/sensors/mod.rs:250 — write_ripr_exposure_gap_details writes exposure details from ripr's output, but does not transform finding IDs.
There is no parse_ripr / RiprFinding / fingerprint-normalization code in ub-review. ub-review treats ripr findings as opaque content-addressed IDs from the external tool. The cross-platform identity drift (Windows 4 extra IDs vs Linux 29 IDs for the same patch) is a ripr fingerprint normalization bug, not a ub-review consumption bug.
Oppositional review
This issue is filed in the wrong repo for its target seam. The "Target seam: RIPR fingerprint normalization and traversal ordering" is ripr-swarm code. Filing it here is reasonable (ub-review is the consumer that surfaces the drift via its gate), but the fix belongs in ripr-swarm's fingerprint/path-normalization module.
The acceptance criteria are correct and well-specified:
Repeated execution byte-identical (no non-deterministic traversal).
Line movement preserves identity; expression changes invalidate it (content-addressing, not line-keyed).
These are ripr's fingerprint/canonical_id computation properties. The prior upstream history (ripr-swarm #1053 line-keyed suppression drift, #1054 false-negative reach, #1055 unactionable probes) confirms this is a known ripr-side concern.
The non-goals are well-chosen: "Do not relax ub-review strict-zero" — correct, the fix should make IDs portable, not weaken the gate. "Do not refactor #746 product behavior" — correct, this is an identity fix, not a behavior change.
Recommendation
Transfer this issue to ripr-swarm (or file a cross-referenced issue there), because the target seam is ripr's fingerprint normalization. The ub-review side needs no code change — once ripr produces platform-stable IDs, ub-review's verbatim consumption and strict-zero gate work correctly without modification.
Proof plan (as the issue states): attach the exact patch + both JSON finding outputs (Windows + Linux), then run the RIPR fixture on both platforms. The fix should make the two outputs byte-identical for the same patch.
Blocker for ub-review strict-zero on cross-platform repos: until ripr IDs are portable, the strict-zero gate (max_new_unsuppressed = 0) cannot have a single suppression set that works on both Windows and Linux. This is why the temporary max_new_unsuppressed = 200 ceiling exists in some repos' .ub-review.toml — it's a workaround for this drift.
I have not started implementation — this is the verified assessment. The fix belongs in ripr-swarm.
Independent reconciliation against current main — 2026-09-22
I re-reviewed this issue from the current repository and upstream state rather than treating the July diagnosis as authoritative.
Current disposition
Keep #737 open as the UB Review consumer-side acceptance record, but do not implement finding-ID normalization here. The defect class remains relevant to Required-gate trust, while the implementation owner remains RIPR.
Current ub-review/main is 35bc56785a4f3ee6fdfb0ac31492ed2180ebbe71. The active Required RIPR contract is still 0.10.0 across the release-install spec, both installer defaults, doctor/version expectations, and their drift tests. The earlier 0.8/0.10 skew is therefore still resolved; this issue is no longer a pin-alignment implementation task.
More importantly, current UB Review already has the right authority boundary:
src/sensors/ripr.rs consumes RIPR's finding.idverbatim; it validates uniqueness/schema/probe fields but does not rewrite, alias, or canonicalize IDs.
The detail pass executes ripr check ... --diff <run>/input/diff.patch --mode ready --format json against the run's retained patch.
The badge receipt remains the sole suppression/strict-zero authority. Detail collection cannot turn analyzer failure into a clean gate.
docs/ci/trusted-diff-admission.md now has a stronger exact-input seam than existed when chore(tools): align RIPR 0.10.0 finding-ID contract #737 was filed: revision-admission.json binds base commit/tree, supplied head SHA, derived head tree, changed-path digest, and the exact patch digest, and input/diff.patch is written from those validated bytes.
That is the architecture I would preserve. A local compatibility alias would create a second analyzer-identity authority and could silently bless precisely the platform skew this issue is meant to detect.
What has landed upstream since the original reproduction
Current ripr-swarm/main (27260c896fb588308d070d927cfd10009657c9f9 at this review) has materially changed the evidence basis:
crates/ripr/src/analysis/probes/ids.rs now builds content-addressed probe IDs from normalized repository path + family + owner + normalized expression.
It explicitly normalizes \\ to / inside owner identities because owner symbols can embed Windows path spelling.
crates/ripr/src/analysis/probes/diff.rs now has explicit source-currentness handling for candidate-current, base-deleted, moved/renamed, and unresolved subjects.
That is strong source-level evidence that the original design direction has landed upstream. It is not yet release-installed cross-platform proof for UB Review.
One residual deserves explicit coverage: duplicate fingerprint suffixes (.2, .3, …) are still assigned by a post-hoc scan of probe emission order. The current traversal looks deterministic from source, but Windows/Linux parity for a fixture that actually produces duplicate normalized probe fingerprints is NOT_PROVEN by the unit tests I inspected.
Also, do not conflate RIPR's newer canonical_gap_id with this contract. RIPR-SPEC-0021 makes canonical gap identity a behavioral-debt projection distinct from source-sensitive seam/finding identity. Upstream #1964 intentionally improves baseline authority while naming analyzer-identity redesign as a non-goal. UB Review suppressions consuming raw RIPR finding IDs should not be repaired by substituting another identity class locally.
Plan correction: separate producer identity from Git patch acquisition
The original acceptance row “branch diff and synthetic merge-ref diff agree” mixes two different questions. Current upstream #3850 demonstrates why that matters: Git diff output can be changed by ambient context, external diff helpers, textconv, and presentation configuration before RIPR ever fingerprints a probe.
I recommend two independent proofs:
Finding-ID portability — this issue's core discriminator. Feed the same explicit patch bytes (same SHA-256), same base/head/tree identity, same RIPR release artifact, same config, and same suppression-free analysis inputs to Windows and Linux. Compare the exact raw finding-ID multiset plus enough semantic fields to diagnose a mismatch (family, portable owner, normalized expression/currentness). Retain the complete raw JSON from both hosts. A tool/setup/parse failure is NOT_PROVEN, never an empty/pass set.
Patch-acquisition equivalence — separate evidence. When comparing a branch route with a merge/synthetic route, first compare their admitted patch digests/bytes. Only call an ID difference a fingerprint defect when the identity-bearing inputs are actually equal. If the patches differ because of Git invocation/config, that is an acquisition/input-boundary defect (now explicitly owned upstream, e.g. #3850), not evidence that two different inputs should hash identically.
This also tightens the historical claim. #746 is good evidence that UB Review observed Windows-only IDs versus the Linux gate and correctly refused aliases. I did not independently recover and byte-compare every historical #746 input artifact in this pass, so “platform alone caused the difference” remains NOT_PROVEN until replayed through the exact-patch seam above.
Discriminating acceptance matrix
For the eventual released candidate, the useful matrix is:
exact same explicit patch/digest on Windows + Linux -> identical finding IDs;
repeated same-host replay -> identical identity projection (and full JSON too only if RIPR's schema promises byte-stable non-semantic fields);
same semantic probe moved by unrelated lines -> same ID;
semantically changed expression -> changed ID;
owner/path separator spelling (\\ vs /) -> same portable ID;
equivalent checkout roots, including spaces/non-ASCII -> same portable ID;
at least two otherwise-identical normalized probes -> deterministic .2/.3 assignment across repeats and hosts;
changed patch digest/base/tree/config/tool artifact -> prior parity receipt is ineligible for reuse;
analyzer/setup/schema failure -> explicit unavailable/failed/NOT_PROVEN, never zero findings;
no platform aliases, no threshold relaxation, no suppression rewrite to hide a mismatch.
The comparison artifact should bind the RIPR package/version/digest/source identity, OS/arch, exact patch digest, base/head/tree identities, config digest, raw-output digests, normalized comparison rows, and mismatch disposition. Aggregate counts alone are insufficient: the original failure mode was a small set of extra IDs hidden behind otherwise plausible totals.
Release/adoption route
The current M3 graph has superseded the earlier idea of simply transferring this issue away:
EffortlessMetrics/ripr#1479 (public 0.11.0 core publication) is still open, so current ripr-swarm/main cannot yet be treated as the UB Review Required tool. A future RIPR release should be selected only after the exact cross-platform fixture above is green; then #1067 may change the active mirrors and #1068 should replay the same fixture through the public installed bundle and strict-zero path.
Because 0.10.0 is an immutable published version, #737 should not require retroactively changing that artifact. Terminal evidence can instead show: historical 0.10.0 remained incompatible, a later released RIPR candidate satisfies the exact fixture, UB Review deliberately selects/migrates it through #1066–#1068, and the installed Required gate no longer needs aliases. If 0.10.0 is retained, the issue remains a known Required-tool limitation unless exact replay actually refutes the historical diagnosis.
Boundaries / non-goals
Still correct: no strict-zero relaxation, no line-key rollback, no UB Review-local ID canonicalizer, no platform aliases, and no #746 product refactor solely to accommodate analyzer identity. This issue should not become a second candidate-promotion framework; #813/#1066–#1068 own that lifecycle.
NOT_PROVEN after this pass
Cross-platform parity for the current Required RIPR 0.10.0 on byte-identical explicit patch inputs. Historical fix(review): admit only final human-facing claims #746 evidence points negative, but I did not rerun two hosts here.
Cross-platform end-to-end parity of current ripr-swarm/main; source normalization and unit tests are not a Windows/Linux receipt.
Duplicate-ordinal (.2/.3) stability across Windows/Linux.
Public/installable RIPR 0.11.0 compatibility; the publication and UB Review selection/proof train is not terminal.
Recommended route: preserve #737 as the narrow consumer acceptance record, use UB Review's now-strong exact-patch identity seam to create one discriminating Windows/Linux fixture, and consume that same fixture in #813 and the eventual #1066–#1068 released-bundle migration rather than adding any local compatibility machinery.
Activity
EffortlessSteven commentedon Jul 10, 2026
Related upstream history is closed but relevant: EffortlessMetrics/ripr-swarm#1053 documented line-keyed suppression drift; #1054 documented false-negative reach analysis; #1055 documented unactionable test-code probes. Current reproduction uses ripr 0.10.0 and additionally shows merge-ref deletion-side IDs versus local content-hashed IDs, so this is not resolved by the prior closures.
[-]fix(ripr): stabilize suppression identities across PR merge refs[/-][+]chore(tools): align RIPR 0.10.0 finding-ID contract[/+]fix(scheduler): strengthen overlap_ms regression test and suppress RI…
fix(scheduler): compute overlap_ms via union, not pairwise sum (#757)
EffortlessSteven commentedon Jul 15, 2026
Research update — verified current state (2026-07-14)
I traced how ub-review consumes ripr findings to determine whether this issue's "target seam" (fingerprint normalization) lives in ub-review or ripr-swarm. The normalization is in ripr-swarm, not ub-review. ub-review invokes ripr as an external sensor and consumes its badge-json output verbatim — it has no finding-ID normalization layer.
How ub-review consumes ripr
src/sensors/command_build.rs:51— ub-review invokesripr check --diff(andripr first-pr) as external commands.src/sensors/mod.rs:242— ub-review reads ripr's badge-json output from stdout (the verbatim bytes are the receipt).src/sensors/mod.rs:250—write_ripr_exposure_gap_detailswrites exposure details from ripr's output, but does not transform finding IDs.There is no
parse_ripr/RiprFinding/ fingerprint-normalization code in ub-review. ub-review treats ripr findings as opaque content-addressed IDs from the external tool. The cross-platform identity drift (Windows 4 extra IDs vs Linux 29 IDs for the same patch) is a ripr fingerprint normalization bug, not a ub-review consumption bug.Oppositional review
This issue is filed in the wrong repo for its target seam. The "Target seam: RIPR fingerprint normalization and traversal ordering" is ripr-swarm code. Filing it here is reasonable (ub-review is the consumer that surfaces the drift via its gate), but the fix belongs in ripr-swarm's fingerprint/path-normalization module.
The acceptance criteria are correct and well-specified:
These are ripr's
fingerprint/canonical_idcomputation properties. The prior upstream history (ripr-swarm #1053 line-keyed suppression drift, #1054 false-negative reach, #1055 unactionable probes) confirms this is a known ripr-side concern.The non-goals are well-chosen: "Do not relax ub-review strict-zero" — correct, the fix should make IDs portable, not weaken the gate. "Do not refactor #746 product behavior" — correct, this is an identity fix, not a behavior change.
Recommendation
Transfer this issue to ripr-swarm (or file a cross-referenced issue there), because the target seam is ripr's fingerprint normalization. The ub-review side needs no code change — once ripr produces platform-stable IDs, ub-review's verbatim consumption and strict-zero gate work correctly without modification.
Proof plan (as the issue states): attach the exact patch + both JSON finding outputs (Windows + Linux), then run the RIPR fixture on both platforms. The fix should make the two outputs byte-identical for the same patch.
Blocker for ub-review strict-zero on cross-platform repos: until ripr IDs are portable, the strict-zero gate (
max_new_unsuppressed = 0) cannot have a single suppression set that works on both Windows and Linux. This is why the temporarymax_new_unsuppressed = 200ceiling exists in some repos'.ub-review.toml— it's a workaround for this drift.I have not started implementation — this is the verified assessment. The fix belongs in ripr-swarm.
EffortlessSteven commentedon Sep 22, 2026
Independent reconciliation against current main — 2026-09-22
I re-reviewed this issue from the current repository and upstream state rather than treating the July diagnosis as authoritative.
Current disposition
Keep #737 open as the UB Review consumer-side acceptance record, but do not implement finding-ID normalization here. The defect class remains relevant to Required-gate trust, while the implementation owner remains RIPR.
Current
ub-review/mainis35bc56785a4f3ee6fdfb0ac31492ed2180ebbe71. The active Required RIPR contract is still 0.10.0 across the release-install spec, both installer defaults, doctor/version expectations, and their drift tests. The earlier 0.8/0.10 skew is therefore still resolved; this issue is no longer a pin-alignment implementation task.More importantly, current UB Review already has the right authority boundary:
src/sensors/ripr.rsconsumes RIPR'sfinding.idverbatim; it validates uniqueness/schema/probe fields but does not rewrite, alias, or canonicalize IDs.ripr check ... --diff <run>/input/diff.patch --mode ready --format jsonagainst the run's retained patch.docs/ci/trusted-diff-admission.mdnow has a stronger exact-input seam than existed when chore(tools): align RIPR 0.10.0 finding-ID contract #737 was filed:revision-admission.jsonbinds base commit/tree, supplied head SHA, derived head tree, changed-path digest, and the exact patch digest, andinput/diff.patchis written from those validated bytes.That is the architecture I would preserve. A local compatibility alias would create a second analyzer-identity authority and could silently bless precisely the platform skew this issue is meant to detect.
What has landed upstream since the original reproduction
Current
ripr-swarm/main(27260c896fb588308d070d927cfd10009657c9f9at this review) has materially changed the evidence basis:crates/ripr/src/analysis/probes/ids.rsnow builds content-addressed probe IDs from normalized repository path + family + owner + normalized expression.\\to/inside owner identities because owner symbols can embed Windows path spelling.crates/ripr/src/analysis/probes/diff.rsnow has explicit source-currentness handling for candidate-current, base-deleted, moved/renamed, and unresolved subjects.That is strong source-level evidence that the original design direction has landed upstream. It is not yet release-installed cross-platform proof for UB Review.
One residual deserves explicit coverage: duplicate fingerprint suffixes (
.2,.3, …) are still assigned by a post-hoc scan of probe emission order. The current traversal looks deterministic from source, but Windows/Linux parity for a fixture that actually produces duplicate normalized probe fingerprints is NOT_PROVEN by the unit tests I inspected.Also, do not conflate RIPR's newer
canonical_gap_idwith this contract. RIPR-SPEC-0021 makes canonical gap identity a behavioral-debt projection distinct from source-sensitive seam/finding identity. Upstream #1964 intentionally improves baseline authority while naming analyzer-identity redesign as a non-goal. UB Review suppressions consuming raw RIPR finding IDs should not be repaired by substituting another identity class locally.Plan correction: separate producer identity from Git patch acquisition
The original acceptance row “branch diff and synthetic merge-ref diff agree” mixes two different questions. Current upstream #3850 demonstrates why that matters: Git diff output can be changed by ambient context, external diff helpers, textconv, and presentation configuration before RIPR ever fingerprints a probe.
I recommend two independent proofs:
family, portable owner, normalized expression/currentness). Retain the complete raw JSON from both hosts. A tool/setup/parse failure isNOT_PROVEN, never an empty/pass set.This also tightens the historical claim. #746 is good evidence that UB Review observed Windows-only IDs versus the Linux gate and correctly refused aliases. I did not independently recover and byte-compare every historical #746 input artifact in this pass, so “platform alone caused the difference” remains NOT_PROVEN until replayed through the exact-patch seam above.
Discriminating acceptance matrix
For the eventual released candidate, the useful matrix is:
\\vs/) -> same portable ID;.2/.3assignment across repeats and hosts;NOT_PROVEN, never zero findings;The comparison artifact should bind the RIPR package/version/digest/source identity, OS/arch, exact patch digest, base/head/tree identities, config digest, raw-output digests, normalized comparison rows, and mismatch disposition. Aggregate counts alone are insufficient: the original failure mode was a small set of extra IDs hidden behind otherwise plausible totals.
Release/adoption route
The current M3 graph has superseded the earlier idea of simply transferring this issue away:
EffortlessMetrics/ripr#1479(public 0.11.0 core publication) is still open, so currentripr-swarm/maincannot yet be treated as the UB Review Required tool. A future RIPR release should be selected only after the exact cross-platform fixture above is green; then #1067 may change the active mirrors and #1068 should replay the same fixture through the public installed bundle and strict-zero path.Because 0.10.0 is an immutable published version, #737 should not require retroactively changing that artifact. Terminal evidence can instead show: historical 0.10.0 remained incompatible, a later released RIPR candidate satisfies the exact fixture, UB Review deliberately selects/migrates it through #1066–#1068, and the installed Required gate no longer needs aliases. If 0.10.0 is retained, the issue remains a known Required-tool limitation unless exact replay actually refutes the historical diagnosis.
Boundaries / non-goals
Still correct: no strict-zero relaxation, no line-key rollback, no UB Review-local ID canonicalizer, no platform aliases, and no #746 product refactor solely to accommodate analyzer identity. This issue should not become a second candidate-promotion framework; #813/#1066–#1068 own that lifecycle.
NOT_PROVEN after this pass
ripr-swarm/main; source normalization and unit tests are not a Windows/Linux receipt..2/.3) stability across Windows/Linux.Recommended route: preserve #737 as the narrow consumer acceptance record, use UB Review's now-strong exact-patch identity seam to create one discriminating Windows/Linux fixture, and consume that same fixture in #813 and the eventual #1066–#1068 released-bundle migration rather than adding any local compatibility machinery.