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
+10 -5
View File
@@ -55,12 +55,17 @@ def test_import_detect_conflicts():
# -- IR generation tests ------------------------------------------------------
def test_import_ir_generator():
"""ir_generator module should be importable."""
def test_import_ir_main():
"""ir_generation main module should be importable (new project structure)."""
os.environ.setdefault("DASHSCOPE_API_KEY", "test-fake-key")
_import_from_skill("ir_generation_skill", "ir_generator")
import ir_generator
assert hasattr(ir_generator, "generate_ir")
skill_dir = os.path.join(
os.path.dirname(os.path.dirname(__file__)),
"skills", "ir_generation_skill"
)
if skill_dir not in sys.path:
sys.path.insert(0, skill_dir)
import main
assert hasattr(main, "main")
# -- Resolution application tests ---------------------------------------------