sync: update all skills from latest workspace code
CI / test (push) Successful in 8s

doc_parser_skill:
- New: verify_flowchart.py (flowchart validation)
- Updated: LLM.py (multi-provider: DeepSeek + DashScope)
- Updated: image_parser.py (logic tree support, external prompts)
- Updated: SKILL.md, prompts/image_prompt.md

conflict_detection_skill:
- Updated: LLM.py (multi-provider sync)
- Updated: detect_conflicts.py (logic tree text conversion)

ir_generation_skill:
- Replaced old scripts/LLM.py + ir_generator.py with standalone project
- New: main.py, config.py, step1-3_*.py, ensemble_merge.py
- New: prompts/, tests/ subdirectories

tests:
- New: acceptance/ test suite with schema validation
- Fixed: conftest no longer globally skips non-acceptance tests
- Updated: test_sample.py for new ir_generation structure

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 22:45:08 +08:00
parent db64df2da1
commit fec4c09ee0
35 changed files with 8021 additions and 530 deletions
@@ -0,0 +1,46 @@
## 上一轮遗漏分析
上一轮生成的语义索引经过自动校验,发现以下问题需要修正:
### 遗漏的逻辑树路径
以下逻辑树决策路径未被任何 function_unit 覆盖,请为每条路径生成对应的 function_unit
{missing_paths}
### 遗漏的概念
以下关键概念未在 concepts 列表中出现,请补充:
{missing_concepts}
### 格式问题
以下 function_unit 或 concept 的格式不符合要求:
{format_issues}
### concept parent 问题
以下概念的 parent 引用有问题(悬空引用或缺少 parent):
{parent_issues}
---
请在本次生成中针对以上问题进行修正。注意:
1. 你不需要从头生成完整的语义索引,只需要输出**补充和修正**的部分
2. function_units 的输出应只包含本次新增或修正的单元(已有的正确单元不需要重复)
3. concepts 的输出应只包含本次新增或修正的概念
4. 如果格式问题中提到"空壳单元":删除该 unit,或将其合并到包含实际 action 的 unit 中。纯开关状态不是独立的功能行为
5. 如果格式问题中提到"不构成有效路径":说明你引用了互斥分支上的节点。检查 logic_tree_nodes,确保它们都落在逻辑树的**同一条分支路径**上(例如 n4 是关闭分支,n8 是开启分支,不能共存)
6. 如果格式问题提到"缺少 path"或"缺少 sources":补充对应字段
## 输出格式
只输出 JSON
{
"feature_name": "(与之前相同)",
"supplemental_function_units": [
// 只放新增的或修正的 function_unit
],
"supplemental_concepts": [
// 只放新增的或修正的 concept
],
"corrections": {
// 需要修正的已有项: { "unit_id或concept_name": { 修正后的字段 }, ... }
}
}