Skip to content

fix(npm): bind retained explanations to selected findings - #1843

Merged
EffortlessSteven merged 1 commit into
mainfrom
fix/npm-retained-explanation-20261009
Oct 9, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
fix/npm-retained-explanation-20261009

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Retained npm consumer admission accepted any nonempty explanation, including unrelated error text that omitted the selected finding. Require the same row's selected finding in retained check and explanation output for local/global/npm-exec/npx and fresh reinstall. Update the healthy fixture, ten malformed-explanation controls and RIPR-SPEC-0180. Healthy same-finding pairs remain admitted.

Work item: bounded package qualification under #1606/#1781/#1578. Three files changed; existing package names, pinned tools and workflows remain unchanged. #1818/#1627/#1827 ownership is preserved. This enforces the live consumer's existing invariant; it does not grade explanation quality or claim observed corrupt hosted artifacts.

Merged through normal protection at f9b907debe0741695d8b035c002367b497951c54 (2026-10-09 21:33:54 UTC), parent 9d3d2750d2e6181f629a360a51cdf027fb8eeb1d. Reviewed head 1b9260b9044403f8c48b5a61f46eb1458862a87e; reviewed/tested/merged tree 0222ef0be1e822f202b491bf11774c3f28709931, verified by read-back. Final exact-head independent review: REVIEW_READY, no blocking findings or review threads.

Validation:

  • Native Windows Python3.14.6: old validator produces ten failing malformed subcases; fixed committed bytes pass 31 selected / 26 executed / five existing Unix/transport skips / zero failures (~0.44s). Independent five-UTF-8-ID oracle passes; guard removal reproduces ten failures.
  • Routed Rust37989267015: all 22 planned commands executed, 8,024 tests passed, zero skipped; normalized result downloaded selected child evidence and emitted verdict=passed. Tested merge bd7fe1db9e8f85c3bf2d93faadf8e00e11ccba3d has reviewed base/head parents and identical tree.
  • Npm37989267535: seven jobs executed success; package 31 selected / 30 executed / one transport skip / zero failures; publisher controls 31 executed / zero skips. Each pinned Node20/24 client executed all four routes plus fresh reinstall; Linux wheel audit and clean pip/uv use passed. Skipped legacy lanes receive no executed-proof credit.

Retained final-package checklist and exact artifact receipts. Current-alpha Linux rehearsal does not qualify a frozen RC, additional platforms or real upgrades. Artifact bytes were not independently downloaded/rehashed; no publication or release identity selection occurred.

@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!

@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

The included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 4f31f159-b1ba-4bf6-bf19-0141ef482a63

📥 Commits

Reviewing files that changed from the base of the PR and between 9d3d275 and 1b9260b.


📒 Files selected for processing (3)
  • .github/scripts/npm_package.py
  • .github/scripts/test_npm_package.py
  • docs/specs/RIPR-SPEC-0180-npm-native-bootstrap.md


  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@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.

reviewed_head_sha: 1b9260b
integration_basis: main/parent 9d3d275
reviewed_tree: 0222ef0be1e822f202b491bf11774c3f28709931
claim_boundary: retained npm explanation must name the finding selected in the same row's retained check output, including fresh reinstall

changed_surfaces_and_semantic_owners_inspected: complete three-file diff, validate_consumer_proof, actual admit_release calls for both client bundles, npm_consumer.useful_journey's existing follow-up invariant, healthy proof fixture and ten wrong/missing-identity controls, RIPR-SPEC-0180 parity.
blocking_findings: no actionable source/oracle finding.
non_blocking_suggestions: none.
refuted_or_stale_findings: selected identifier is read from each row after it is bound to actual retained findings; it is not the fixture's hardcoded ID. Independent alternate-fixture testing used five distinct UTF-8 IDs and rejected each substitution with the hardcoded fixture ID.

proof_and_ci_observed: root independently reproduced unrelated explanations admitted as passed at exact parent Git blobs. Strengthened suite31selected/26executed/5existing Unix/transport skips yields10failing subcases with old validator; repaired exact committed files31selected/26executed/5skipped/0failed (~0.44s). Candidate Git blob hashes matched tested local files. Independent review at2026-10-09 20:46UTC confirmed complete diff, two focused tests including ten malformed subcases, five alternate IDs, and guard removal in-memory causing10failures while healthy admission passes. The current published head/base match that candidate. Ordinary npm37989267535 and RoutedRust37989267015 have started/queued; no hosted pass claimed.

proof_or_review_missing: current-head hosted applicable Rust/policy/PR evidence and real Linux package/consumer rehearsal. Full Cargo gates remain unexecuted locally under the measured resource boundary.
affected_currentness_dimensions: one retained-output validator predicate, fixture/oracle and narrow spec statement; package names/toolchains/workflows and carrier ownership unchanged.
residual_assumptions_and_non_claims: finding-ID inclusion matches current consumer; it does not grade explanation quality, prove producer authenticity or establish observed hosted corruption. No frozen RC/platform/upgrade/publication claim. Existing #1842 evidence cannot qualify this new head. No duplicate/manual CI.
disposition: SOURCE_CLEAR / REVIEW_INCOMPLETE; normal remote qualification is in flight.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 9, 2026 20:47
@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.

reviewed_head_sha: 1b9260b
integration_basis: main/base 9d3d275
reviewed_tree: 0222ef0be1e822f202b491bf11774c3f28709931
claim_boundary: retained npm explanation must name the finding selected in the same row's retained check output, including fresh reinstall

disposition: REVIEW_READY. Supersedes the earlier REVIEW_INCOMPLETE receipt on this same unchanged head. Independent /root/zip_review completed a fresh final read at 2026-10-09 21:30:49 UTC; root independently read completed execution logs and reconciled live head/base/checks/threads at 21:33 UTC. No blocking findings, requested changes or review threads remain.

changed_surfaces_and_semantic_owners_inspected: complete three-file diff; retained validator and real npm admission callers; live useful_journey invariant; healthy fixture, ten malformed controls and RIPR-SPEC-0180. Independent alternate-fixture oracle: five distinct UTF-8 row IDs admit matching explanations and reject hardcoded fixture-ID substitution; guard removal produces ten failing subcases while healthy admission stays passing.

proof_and_ci_observed:

  • Routed Rust 37989267015: child 114019071609 executed all 22 planned command invocations, including fmt/check/clippy/nextest, precommit, policy and PR evidence gates. Nextest 8,024 executed/passed, zero skipped. Child receipt/upload succeeded. Result 114032855512 actually downloaded selected evidence and emitted verdict=passed.
  • Tested merge bd7fe1d has the reviewed base/head as its parents and identical reviewed tree 0222ef0be1e822f202b491bf11774c3f28709931.
  • Npm qualification 37989267535 attempt 1: all seven jobs executed successfully. Package suite 31 selected / 30 executed / one staging-CLI transport skip / zero failures. Publisher controls 31 executed / zero skips/failures. Node20.20.1/npm10.8.2 and Node24.19.0/npm11.9.0 each executed all four local/global/npm-exec/npx routes plus fresh reinstall; zero failing routes. Linux wheel audit and clean pip/uv journeys passed.
  • Candidate payload SHA256 14efdf940c0c0ddcb68bef63f55795a9273297998013c209fa31ba56e332ce41; wheel aca94a690488e99dcae97d05ba720c6ffd700c9153a079a4b0bb74a0d10afd23; npm tarball 4b346c521ecf06b3964f387a049049c96f15eb3fb750652cd11b0efb1f5131d6, bound by logs to reviewed source head/tree.
  • Live applicable package/routed Rust/security/source/spec/dependency checks succeeded. Legacy label-gated rust/msrv/vscode and other skipped lanes receive no executed-proof credit. Queued advisory droid admission and external review quota/rate-limit notices are not approval; independent source, oracle and execution review is recorded here.

proof_or_review_missing: none for this bounded source fix and normal protected merge.
affected_currentness_dimensions: one retained-output predicate, fixture/oracle and spec sentence. Names, toolchains, workflow definitions and carrier/archive/producer ownership unchanged.
residual_assumptions_and_non_claims: identifier inclusion does not grade explanation quality or authenticate producers. Artifact bytes were not independently downloaded/rehashed. Current alpha Linux rehearsal is not frozen-RC, Windows/macOS, real upgrade, live staging or publication proof. No release identity is invented.

@EffortlessSteven
EffortlessSteven merged commit f9b907d into main Oct 9, 2026
39 of 40 checks passed
@EffortlessSteven
EffortlessSteven deleted the fix/npm-retained-explanation-20261009 branch October 9, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant