-
-
Notifications
You must be signed in to change notification settings - Fork 87
feat(enrichment): Image/binary asset weight delta #1506
Copy link
Copy link
Closed
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.gittensor:priorityMaintainer-selected Gittensor priority — scores a 1.5x multiplier.Maintainer-selected Gittensor priority — scores a 1.5x multiplier.
Description
Metadata
Metadata
Assignees
Labels
gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.gittensor:priorityMaintainer-selected Gittensor priority — scores a 1.5x multiplier.Maintainer-selected Gittensor priority — scores a 1.5x multiplier.
Projects
StatusShow more project fields
Done
Context
A REES (review-enrichment service) analyzer. Tier: high-value.
Detects: A PR that commits or grows a heavy image/font/binary blob (un-optimized PNG/JPG, vendored binary) — repo + CDN/cold-start bloat the textual diff hides as 'Binary files differ'.
Data source: GitHub Git-Blobs/Contents API via the supplied short-lived token: fetch blob size at headSha for each added/modified binary, diff against base. Pure size arithmetic, no external service.
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