/** * Impact Analysis Tool (impact_analysis) * * Analyze a git diff and report which symbols are impacted (callers/dependents * of the changed code), ranked by a risk score that blends PageRank centrality * (blast radius) with graph proximity (closer = riskier). * * Scope: * - unstaged → working-tree changes * - staged → cached/index changes * - committed → diff vs base_branch (default main), or commits since a ref/date * * The tool runs a SCOPED `git diff --name-only` (never the whole repo), maps the * changed files to their symbols, then reverse-traverses the file-import graph * + symbol references to find impacted consumers, and ranks them. * * Use to answer "if I change X, what else breaks / needs re-testing?" without * grepping the whole codebase. */ import { IToolHandler, ToolResponse } from "@massa-th0th/shared"; export declare class ImpactAnalysisTool implements IToolHandler { name: string; description: string; inputSchema: { type: string; properties: { projectId: { type: string; description: string; }; projectPath: { type: string; description: string; }; scope: { type: string; enum: string[]; default: string; description: string; }; base_branch: { type: string; default: string; description: string; }; since: { type: string; description: string; }; depth: { type: string; description: string; default: number; }; paths: { type: string; items: { type: string; }; description: string; }; }; required: string[]; }; handle(params: unknown): Promise; } //# sourceMappingURL=impact_analysis.d.ts.map