fix: [bug] step2 IR extraction 生成缺少 section 字段的 source - 来自 #18 e2e - Closes #53 #55

Merged
pzhang_zywl merged 1 commits from dev/issue-53-fix-source-section into main 2026-06-02 15:47:51 +08:00

1 Commits

Author SHA1 Message Date
pzhang_zywl 1477dbdd18 fix: step3 _normalize_rule 为缺失 section 的 table/text source 补齐字段 - Closes #53
CI / test (pull_request) Successful in 8s
LLM 生成的 source 有时缺少 section 字段,导致 Layer A schema 验证失败。
在 _normalize_rule 中添加防御性处理:从兄弟 source 或 rule path 推断 section。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-02 15:46:59 +08:00