pzhang_zywl
a2fabcc7a6
test: 修复端到端管道运行器和 Layer B IndexError - Closes #14
...
CI / test (pull_request) Successful in 7s
- run_pipeline.py: 修复 subprocess env 传递、parsed_path 检测、Unicode 编码
- test_main_health.py: 修复 _is_functional_section 空章节名 IndexError
- 端到端测试管道: doc_parser → ir_generation(4 steps) → acceptance tests
- 测试发现问题汇总至 dev issue #15
2026-05-31 17:28:26 +08:00
pzhang_zywl
5c451099ad
test: 移除硬编码路径,适配新 config.py 目录结构 - Closes #10
...
CI / test (pull_request) Successful in 7s
- conftest.py: secrets 路径改为多位置查找 (QE_SECRETS_PATH env → ~/.openclaw/config/ → workspace-document-analyzer/config/)
- conftest.py: IR 默认路径改为 output/final/ir_final.json (匹配 config.IR_FINAL_JSON)
- conftest.py: parsed 默认路径改为项目相对路径
- agent_poller.py: 添加 --labels 过滤 (向后兼容)
- 新增 agents/QE_AGENT.md + scripts/start_qe_agent.sh
2026-05-31 16:48:35 +08:00
pzhang_zywl
c2affcad42
fix: 移除 hardcode 输入文件路径,完善输入验证 - Closes #8
...
CI / test (pull_request) Successful in 9s
- 移除 _DEFAULT_INPUT 硬编码默认输入文件路径
- INPUT_JSON 仅从 IR_INPUT_JSON 环境变量获取
- load_input_document() 无输入时给出明确错误提示
- 新增 test_no_hardcoded_input_file / test_set_input_file_accepts_none
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-31 16:16:49 +08:00
pzhang_zywl
884848f15f
fix: 统一输出文件目录结构 - Closes #3
...
CI / test (pull_request) Successful in 7s
- 新增 PROJECT_OUTPUT (项目根/output/),统一所有输出文件
- IR 中间产物 → output/ir/,最终交付物 → output/final/
- agent_poller.py 新增 pr-status/merge-pr/close-issue/lifecycle 命令
- DEV_AGENT.md 同步更新完整闭环流程
- 更新 conftest/test_sample 中的默认路径
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-31 14:38:37 +08:00
pzhang_zywl
682dedb4b4
fix: 完善 UT 覆盖,统一 pytest 测试发现 - Closes #2
...
CI / test (pull_request) Successful in 9s
- 新建 pytest.ini 统一 test discovery(tests/ + skills/ir_generation_skill/tests/)
- test_step1~3 转换为 pytest 兼容格式,无输出文件时自动 skip
- 新增 tests/test_detect_conflicts.py(18 个纯函数单测)
- 新增 tests/test_config.py(7 个配置模块单测)
- CI 改为 pytest -v 使用 pytest.ini testpaths
- DEV_AGENT.md 新增 PR 提交规范
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-31 00:07:07 +08:00
pzhang_zywl
62493d3513
fix: Dev-Agent handles all non-test issues, broaden issue scope beyond qe-feedback label
CI / test (push) Successful in 7s
2026-05-30 23:19:56 +08:00
pzhang_zywl
fec4c09ee0
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 >
2026-05-30 22:45:08 +08:00
pzhang_zywl
dd9d18c37d
fix: remove deliberate failure - Closes #1
...
CI / test (push) Successful in 6s
All tests pass now. CI failure workflow verified successfully.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-29 22:12:23 +08:00
pzhang_zywl
d68c45a762
test: add deliberate failure to verify CI pipeline
...
CI / test (push) Failing after 26s
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-29 20:31:41 +08:00
pzhang_zywl
40567a4fb6
Initial commit: document_analyzer with CI/CD pipeline
...
CI / test (push) Successful in 30s
- 4 skill pipeline (doc_parser, conflict_detection, ir_generation, resolution_application)
- CI workflow on push/PR (.gitea/workflows/ci.yml)
- Auto-issue on CI failure (.gitea/workflows/auto-issue.yml)
- Pytest smoke tests (tests/test_sample.py)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-05-29 20:00:26 +08:00