generate_impact_report
Aggregate scan results into a structured Markdown report that analyzes the impact of code changes. Automatically uses cached scan data if results aren't provided.
Instructions
将扫描结果聚合成结构化 Markdown 影响分析报告。若不传 scan_results/ast_results,自动使用该 project_path 的最近一次扫描缓存。推荐工作流:先调用 scan_patterns 和/或 analyze_python_ast,再调用此工具生成报告。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ast_results | No | analyze_python_ast 返回的结果(整个 JSON 对象),不传则自动使用该 project_path 的缓存 | |
| project_path | Yes | ||
| scan_results | No | scan_patterns 返回的结果(整个 JSON 对象),不传则自动使用该 project_path 的缓存 | |
| change_description | Yes | 变更描述,如「将 survey_status_today 字段类型从 INT 改为 VARCHAR」 |