feat(ux): R3 验收前清单 — AcceptPanel「本次将更新」预览

新 lib/review/accept-preview.ts (buildAcceptPreview):据现有 client state 列验收前预期项——晋升版次/提炼摘要/写回裁决/伏笔到期扫描/伏笔建议待登记。仅列后端 accept 事务确实做的事(核对 projects.py accept 端点),不声称改人物 latest_state,带「以验收回执为准」免责。
AcceptPanel 加 foreshadowCount prop + 未阻断时渲染清单;ReviewReport 传 foreshadow.length。
TDD: 4 测。前端门禁绿: lint/tsc/vitest 205/build。
This commit is contained in:
Yaojia Wang
2026-06-20 16:00:51 +02:00
parent d81583d5d1
commit 6e5d0e88f6
5 changed files with 136 additions and 5 deletions

View File

@@ -376,6 +376,7 @@ export function ReviewReport({
<AcceptPanel
conflictCount={conflictCount}
unresolvedCount={resolved ? 0 : unresolved}
foreshadowCount={foreshadow.length}
accepting={accept.status === "accepting"}
result={accept.result}
onAccept={() => void onAccept()}