Skip to content

Compare external fund confirmations and redemption receipts read-only - #13

Merged
PureSaber merged 1 commit into
mainfrom
codex/real-evidence-reconciliation
Oct 8, 2026
Merged

PureSaber merged 1 commit into
mainfrom
codex/real-evidence-reconciliation

Conversation

@PureSaber

@PureSaber PureSaber commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

现有 verify-run 只能证明保存的模型账本能够重放,无法比较销售机构确认和银行实际赎回收款。本变更新增只读 reconcile-observations CLI,先验证原始运行,再逐笔比较确认日期、份额、净值、费用、金额和到账日期,明确报告缺失、多余、差异及期末待到账订单。到账预期遵守模型账户/银行日历和确认时点,不提前释放资金。

输出保留输入摘要与原运行分类,并始终标记 real_business_certified=false。补充严格 CSV 契约及资料要求;不读 source_ref、不创建账户、不发送交易。当前仅支持 CNY、一笔完整确认和一笔赎回收款,真实舍入、拆分确认和分期到账不自动推断。

验证:18 个新增测试和全量 111 个测试通过,覆盖正常匹配、只读不变性、费用/份额/到账差异、缺失/多余记录、非法金额、重复身份、银行休市与期末边界、CLI 非零退出码。Ruff 检查与格式检查通过,uv pip check 确认 103 个包兼容;Ubuntu/Windows PR CI 与合并后的主线 CI 均通过。测试凭证均为显式合成数据,不作为真实交易认证。

@PureSaber
PureSaber merged commit 5eafee9 into main Oct 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant