| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| admin | ||
| ai | ||
| assistant | ||
| auth | ||
| clinical-gap | ||
| clinical-signals | ||
| facts | ||
| mcp | ||
| patient | ||
| persona | ||
| plan | ||
| plan-aggregate | ||
| realtime-coach | ||
| sync | ||
| weixin-aibot |
全仓库核查(pac-service / pac-web / packages / 原生 SQL / CLI / 测试 / mdx, 并含 origin/test 分支):**1 处写、0 处读**。 写:transaction-synthesizer.ts:137 读:无 它存 AssemblerEngine yaml 翻译后的中间态,设想用途两个 ——「审计:fact 算错时 回查中间态」和「replay:yaml 改后局部重跑 parser 不必从 raw 重头算」。两个都 没有落地成代码:reparse 走的是 raw_payload 从头重跑,审计路径(recall-debug) 看的也是 rawPayload。 体积实测(测试服,按 subject_type 抽样 1% 外推): raw_payload ~18.3 GB canonical_payload ~7.9 GB ← 本次删除 删掉不丢证据:canonical 是 raw_payload 经 field-mapping 推导出来的,需要时跑一次 reparse 即得 —— 那正是 reparse 做的事。真原始证据 raw_payload 原样保留。 执行成本:PostgreSQL 的 DROP COLUMN 只改系统目录、不重写表,42 GB 表上秒级完成。⚠ ️ 但空间不立刻还给操作系统 —— 已有行的那部分转为表内可复用空间,由后续写入吸收 (效果 = 这张表在磁盘上停止增长约 8 周)。真正缩表需 VACUUM FULL / pg_repack,另议。 同步订正 schema 注释、synthesizer 注释、data-model.mdx、data-ingestion.mdx。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| admin | Loading commit data... | |
| ai | Loading commit data... | |
| assistant | Loading commit data... | |
| auth | Loading commit data... | |
| clinical-gap | Loading commit data... | |
| clinical-signals | Loading commit data... | |
| facts | Loading commit data... | |
| mcp | Loading commit data... | |
| patient | Loading commit data... | |
| persona | Loading commit data... | |
| plan | Loading commit data... | |
| plan-aggregate | Loading commit data... | |
| realtime-coach | Loading commit data... | |
| sync | Loading commit data... | |
| weixin-aibot | Loading commit data... |