aida_log_deviation
Log AI output deviations from user expectations to analyze root causes and improve code generation accuracy through pattern codification.
Instructions
当 AI 产出与用户预期不符时调用。记录偏差用于后续分析。当 rootCause 为 rule-missing 时,修复后如果属于项目级技术规范(非业务逻辑),应询问用户是否沉淀为规则。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | 偏差描述 | |
| rootCause | No | 根因分类 | |
| category | No | 偏差类别 |