New REES local analyzer that flags deeply-nested control flow newly added in the diff (indentation/brace depth beyond a threshold inside a single added block) — the 'arrow anti-pattern' readability smell, distinct from cyclomatic complexity. Structural, pure compute over added lines, no network.
Deliverables
References
review-enrichment/src/analyzers/actions-pin.ts (contiguous added-line hunk walk)
review-enrichment/src/analyzers/registry.ts:158-175 (limits shape)
review-enrichment/src/types.ts:289-311
Part of #1499.
size: S · gittensor:feature
New REES local analyzer that flags deeply-nested control flow newly added in the diff (indentation/brace depth beyond a threshold inside a single added block) — the 'arrow anti-pattern' readability smell, distinct from cyclomatic complexity. Structural, pure compute over added lines, no network.
Deliverables
DeepNestingFinding({ file, line, depth: number, threshold: number }) +deepNesting?key to review-enrichment/src/types.tsReferences
review-enrichment/src/analyzers/actions-pin.ts (contiguous added-line hunk walk)review-enrichment/src/analyzers/registry.ts:158-175 (limits shape)review-enrichment/src/types.ts:289-311Part of #1499.
size: S · gittensor:feature