Context
A REES (review-enrichment service) analyzer. Tier: solid.
Detects: Newly-added deps lacking published provenance/signing (no npm sigstore attestation / no PEP-740 provenance), plus committed-binary/vendored blobs with no source-of-record.
Data source: npm registry attestations endpoint (registry.npmjs.org/-/npm/v1/attestations/@, free); PyPI provenance API; diff scan for added binary blobs. Partly overlaps #23 on the blob side.
This is heavy/external/historical analysis the no-checkout headless claude --print reviewer cannot do; the REES returns it as a brief block the engine splices into the review (additive + fail-safe).
Implementation (established pattern, all inside review-enrichment/)
- Finding type +
BriefFindings key in src/types.ts
src/analyzers/<name>.ts — pure, inject fetch for tests
- Register in
src/brief.ts ANALYZERS registry
- Render a public-safe block in
src/render.ts
node:test units against dist/ + a live smoke against the real data source
Deliverables
- The analyzer + wiring + tests + a verifiable brief block (file:line or package@version)
- Clean PR off main (zero engine conflict; outside the engine tsc/vitest/codecov scope)
Parent: #1499
Context
A REES (review-enrichment service) analyzer. Tier: solid.
Detects: Newly-added deps lacking published provenance/signing (no npm sigstore attestation / no PEP-740 provenance), plus committed-binary/vendored blobs with no source-of-record.
Data source: npm registry attestations endpoint (registry.npmjs.org/-/npm/v1/attestations/@, free); PyPI provenance API; diff scan for added binary blobs. Partly overlaps #23 on the blob side.
This is heavy/external/historical analysis the no-checkout headless
claude --printreviewer cannot do; the REES returns it as a brief block the engine splices into the review (additive + fail-safe).Implementation (established pattern, all inside
review-enrichment/)BriefFindingskey insrc/types.tssrc/analyzers/<name>.ts— pure, injectfetchfor testssrc/brief.tsANALYZERS registrysrc/render.tsnode:testunits againstdist/+ a live smoke against the real data sourceDeliverables
Parent: #1499