Commit Graph

154 Commits

Author SHA1 Message Date
48430e4853 docs(parity): C1 实测报告 + 本地实证产物(21 实体 1108 行 100% 逐行一致)
- C1实测报告.md:四件套架构、归一化规则表、本地实证数字、
  与客户库全量对拍差距与待办(网络恢复后换真流量/升级 eip4_sweep.py/
  切面部署)、风险论证(重建口径不影响 diff 语义)、引擎适配坑清单
- parity-reports:ParityCli --seed --all 跑批产物
  (21 实体 / 1108 行 / 差异 0 / 一致率 100%)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 23:41:23 +08:00
73105d8b22 feat(parity): C1 录制/重放/自对拍三件 + 本地自举 schema + local profile
- recorder(资源交付):旧系统侧 Spring3.1/JDK6 AOP 录制切面源码
  (SqlRecordingAspect/SqlRecord/JsonOut)+ 集成说明含生产流量旁路录制方案
- replay:ReplayRunner 读录制 JSONL,对新引擎复跑同 SQL 逐行 diff
- selfcheck:ParityCli/SelfCheckRunner/ParitySeeder/EngineHttpClient/
  JdbcResultReader——引擎读路径 vs 直连 JDBC 逐行对拍,CLI --seed --all 跑批
- bootstrap-sys.sql:本地空库自举,7 个自描述系统实体 + 物理基表(可重复执行)
- application-local.yml:profile=local 指向 localhost:5433/eip4m0,端口 8084

引擎适配:补 SYS_ENUMERATE 自描述元数据(BOOLEAN 列每行回调避 NPE);
外键 REFERENCEID 用 SYS_REFERENCE_ID 而非表名(避免 JOIN null 语法错)。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 23:41:14 +08:00
3aec8f292e feat(parity): C1 核心 RowDiff 逐行对拍引擎 + 归一化规则 + 17 单测
diff 内核(com.eip4.platform.parity.diff):
- Normalizer:char(36) 尾空格 / numeric scale / 整数布尔跨类型 /
  bigint 时间戳 / ISO 串↔epoch / NULL-vs-缺列 归一化规则
- RowDiff:两结果集按主键排序配对,逐行逐列归一比较,行序无关
- DiffReport:结构化差异报告(JSON + Markdown 摘要)
- RowDiffTest:17 例覆盖全部归一化规则与差异检出(全绿)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 23:41:01 +08:00
a9219c5c77 chore: 落地 eip4-platform 多模块骨架基线(PoC→工程化)
从 eip4-poc 迁入双层制模块化单体:保真层 platform-legacy-core
(com.dsasp 引擎原样)+ 现代层 platform-metadata/auth/flow-gateway/
converter/ai + platform-app 启动器。ArchUnit 纪律固化(保真层禁依赖现代层)。
此为 C1 对拍工作的编译通过基线。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 23:40:51 +08:00