diff --git a/.blueprint/modules/agent-infrastructure.md b/.blueprint/modules/agent-infrastructure.md index 7276023..60b3e22 100644 --- a/.blueprint/modules/agent-infrastructure.md +++ b/.blueprint/modules/agent-infrastructure.md @@ -133,7 +133,7 @@ 是否返工: 是(用户按指引"重新生成三件套"操作两轮无效) 返工原因: 腐化评分基于 git 提交时间(防"改了不提交"假新鲜,设计正确),但修复指引只说"重新生成"未说"需 commit"——生成动作只改工作区文件,git 时间戳不变,诊断永远无法清除,形成指引死循环 有效策略: 修复指引文案显式说明评分依据("必须 git commit 该文件——评分基于 git 提交时间而非文件修改时间");enterprise-system 实测 commit 后转绿 -遗留风险: 生成三件套的结果提示未加"记得提交"引导(文案在前端 AgentInfraPanel,影响小,下次顺手) +遗留风险: ~~生成三件套的结果提示未加"记得提交"引导~~(2026-07-03 已补:生成结果区显示琥珀色提示"需 git commit 后才对腐化评分生效") auto_applied_rules: R11 rule_effectiveness: R11=有效(首次实战触发:诊断建议执行后未解决问题 → 修指引 + 记录失败案例) diff --git a/src/components/dashboard/AgentInfraPanel.tsx b/src/components/dashboard/AgentInfraPanel.tsx index a65bf02..7dcd6f2 100644 --- a/src/components/dashboard/AgentInfraPanel.tsx +++ b/src/components/dashboard/AgentInfraPanel.tsx @@ -262,6 +262,9 @@ export function AgentInfraPanel({ {f.detail}
))} ++ ⚠ 生成的文件需 git commit 后才对腐化评分生效(评分基于提交时间) +
)}