New REES local analyzer that flags debugging leftovers introduced in the diff — debugger; statements and bare console.log/print() calls added to non-test source files. Distinct from the existing secret-log analyzer (which only fires on sensitive-value sinks); this catches plain debug noise regardless of payload. Pure compute, no network.
Deliverables
References
review-enrichment/src/analyzers/secret-log.ts (sink-detection helper to reuse; this is the non-sensitive counterpart)
review-enrichment/src/analyzers/actions-pin.ts (added-line hunk walk)
review-enrichment/src/analyzers/registry.ts:221-238 (secretLog descriptor as template)
Part of #1499.
size: XS · gittensor:bug
New REES local analyzer that flags debugging leftovers introduced in the diff —
debugger;statements and bareconsole.log/print()calls added to non-test source files. Distinct from the existing secret-log analyzer (which only fires on sensitive-value sinks); this catches plain debug noise regardless of payload. Pure compute, no network.Deliverables
DebugLeftoverFinding({ file, line, kind: 'debugger'|'console'|'print' }) +debugLeftover?key to review-enrichment/src/types.ts BriefFindingsReferences
review-enrichment/src/analyzers/secret-log.ts (sink-detection helper to reuse; this is the non-sensitive counterpart)review-enrichment/src/analyzers/actions-pin.ts (added-line hunk walk)review-enrichment/src/analyzers/registry.ts:221-238 (secretLog descriptor as template)Part of #1499.
size: XS · gittensor:bug