Add a pure classifyChangedFile(path) that maps a changed file to one of source/test/docs/config/generated using the existing path-matchers, so the changed-files summary table (and future analytics) group deterministically. Pure function + tests only — no rendering; keeps the #1957 render slice small.
Deliverables
References
src/signals/path-matchers.ts:153
src/signals/path-matchers.ts:182
src/signals/path-matchers.ts:197
src/review/review-diff.ts:16
part of #1957
Part of #1957.
size: S · held for later release (gittensor:priority once activated)
Add a pure
classifyChangedFile(path)that maps a changed file to one of source/test/docs/config/generated using the existing path-matchers, so the changed-files summary table (and future analytics) group deterministically. Pure function + tests only — no rendering; keeps the #1957 render slice small.Deliverables
classifyChangedFile(path): 'source'|'test'|'docs'|'config'|'generated'isGeneratedFile,isDocsFile,isConfigFile,isVendoredFile/isLockfile, plusisTestPath/isTestFileReferences
src/signals/path-matchers.ts:153src/signals/path-matchers.ts:182src/signals/path-matchers.ts:197src/review/review-diff.ts:16part of #1957Part of #1957.
size: S · held for later release (gittensor:priority once activated)