Commit Graph

125 Commits

Author SHA1 Message Date
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 9be264250a Merge pull request 'Fix #2: 完善现有代码的UT' (#4) from dev/issue-2-improve-ut-coverage into main
CI / test (push) Successful in 7s
2026-05-31 14:28:50 +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 618364e744 feat: add Git Bash launcher for Dev-Agent (start_dev_agent.sh)
CI / test (push) Successful in 7s
2026-05-30 23:24:04 +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 5154fb472d docs: update Dev-Agent with role definition, dev/test separation model, qe-feedback label
CI / test (push) Successful in 7s
2026-05-30 23:15:18 +08:00
pzhang_zywl 547e55168c docs: update dev agent guide with accurate CLI usage and Windows launcher
CI / test (push) Successful in 7s
2026-05-30 22:59:29 +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 db64df2da1 feat: add Windows one-click start/stop scripts for Gitea + Runner
CI / test (push) Successful in 6s
2026-05-29 22:36:30 +08:00
pzhang_zywl 910625e523 docs: add Gitea CI/CD setup guide
CI / test (push) Successful in 6s
2026-05-29 22:28:03 +08:00
pzhang_zywl a1eeee0880 feat: add dev agent config and Gitea issue poller
CI / test (push) Successful in 6s
2026-05-29 22:24:09 +08:00
pzhang_zywl 30730785de chore: remove .runner from tracking, update .gitignore
CI / test (push) Successful in 7s
2026-05-29 22:13:56 +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 7cd1cbbb08 fix: use empty labels array for Gitea API compat
CI / test (push) Failing after 7s
2026-05-29 22:10:40 +08:00
pzhang_zywl 7cf2231342 fix: use env var for API token, YAML folded scalar for args
CI / test (push) Failing after 7s
2026-05-29 22:07:39 +08:00
pzhang_zywl cd534710e2 fix: use actual secret name D
CI / test (push) Failing after 6s
2026-05-29 22:05:14 +08:00
pzhang_zywl 3ebdfb45b4 fix: use git clone instead of actions/checkout, use cmd shell for issue step
CI / test (push) Failing after 8s
2026-05-29 22:02:48 +08:00
pzhang_zywl d71c1156fb fix: remove actions/checkout (blocked by GitHub in China)
CI / test (push) Failing after 3s
2026-05-29 22:00:59 +08:00
pzhang_zywl ea61b6a465 debug: add echo steps to verify if:failure() trigger
CI / test (push) Failing after 26s
2026-05-29 21:58:34 +08:00
pzhang_zywl 95281618dd fix: match secret name to document_analyzer
CI / test (push) Failing after 22s
2026-05-29 21:54:17 +08:00
pzhang_zywl 1649993c4b fix: use step-level if:failure() for auto-issue
CI / test (push) Failing after 20s
2026-05-29 20:38:58 +08:00
pzhang_zywl e76f7c365b feat: consolidate auto-issue into ci.yml with if: failure()
CI / test (push) Failing after 20s
CI / create-issue-on-failure (push) Has been skipped
- Replace workflow_run with same-workflow conditional job
- Add create_failure_issue.py script for Gitea API integration
- More reliable than cross-workflow triggers

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-29 20:35:28 +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 60625433bf fix: correct repo name in auto-issue workflow
CI / test (push) Successful in 19s
2026-05-29 20:28:31 +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