Files
X-Financial/document/development/2026-07-16/dev-logs/bugs/risk-waiver-projection-and-audit.md

9 lines
1.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
## 修复记录
- 2026-07-16 16:50:44 CST修复首次风险尚无 disposition 时前端丢弃 Observation 顶层 `available_actions/read_only_reason`、导致“确认风险”等首次处置入口永久隐藏的问题。前端只消费服务端权威投影,缺少 disposition 时构造 version 0 展示模型,不进行角色猜测或本地越权推导。
- 2026-07-16 16:50:44 CST修复页面持续打开跨过豁免到期点后仍显示“豁免有效”的问题。证据卡按 `waiver_expires_at` 注册到期刷新,切换单据和卸载时清理定时器;服务端过期门禁继续 fail-closed前端不再长期展示过期授权。
- 2026-07-16 16:50:44 CST修复风险豁免界面只展示当前快照、拒绝后重新申请会让上一轮审计信息消失的问题。服务保留 actor、request ID、before/after JSON记录组件展示申请、批准、拒绝的追加事件、版本、人员、时间、原因、申请关键字段和请求 ID。
- 2026-07-16 16:50:44 CST风险豁免申请、批准、拒绝和到期后的任务投影刷新与风险处置同事务执行保持 Claim → Observation → Disposition → Task 固定锁顺序;刷新风险、证据、批量资格和优先级时保留 SLA 时间窗与显式升级原因。
- 2026-07-16 16:50:44 CST容器内风险处置、门禁与审批投影定向 `30 passed`,扩展回归 `39 passed, 3 skipped`,前端风险专项 `12 passed`,生产构建通过;一次性 PostgreSQL 并发验证包含风险重新打开与审批竞争,未发现绕过或脏写。
- 2026-07-16 16:50:44 CSTGit 拉取检查确认上游无新增提交、本地 ahead 16本记录基于当前未提交修复未纳入用户维护的财务规则工作簿和历史开发日志。