chore: 删除 5 个遗留调试脚本并同步文档引用
- 删除 agent_loop.py / dwg_review_agent.py / countOfCircle.py
(硬编码 DeepSeek API Key)与 test.py / test_autoagent.py
(重复实现;且 test_autoagent.py 名字与 pytest 的 test_*.py 收集规则冲突)
- CODEBUDDY.md 测试章节改为「pytest 快层 + verify_* 慢层」
- review_checklist.json 描述改指 dwg_review 包
- ai.memory 同步引用与历史说明
安全:Key 已随提交 bdd77af 进入 git 历史并推到远程,删除文件不能清除历史,
需去 DeepSeek 控制台轮换该 Key(已在 ai.memory 备案)。
This commit is contained in:
1 parent
0656397a68
commit
8c0fcfee83
10 files changed
+53
-701
No files matched your search
@@ -100,8 +100,10 @@ TCP 线程只 `recv`,把请求封装成 `TaskData` 后 `PostMessage(WM_MCP_EXE
|
||||
|
||||
### 审查脚本与清单
|
||||
|
||||
- `dwg_review_agent.py`:逐图框审查流程。`MODEL_NAME`(默认 `deepseek-flash`)、
|
||||
`CHECKLIST_PATH`(默认 `review_checklist.json`)。
|
||||
> 注:原单文件脚本 `dwg_review_agent.py` 已由 `dwg_review/` 包取代(见
|
||||
> [LLM 识图审图 Agent 架构决策](project_review_agent_impl.md)),并于 2026-10-14 删除。
|
||||
|
||||
- 逐图框审查流程:`MODEL_NAME`(默认 `deepseek-flash`)、`CHECKLIST_PATH`(默认 `review_checklist.json`)。
|
||||
流程:`detect_drawing_frames` → 每框 `zoom_to_window` + `query_entities(window)`
|
||||
+ `get_text_content(window)` + `get_viewport_screenshot` → LLM 审查 → 汇总。
|
||||
- `review_checklist.json`:**可配置审查清单**,5 大类
|
||||
@@ -144,6 +146,7 @@ TCP 线程只 `recv`,把请求封装成 `TaskData` 后 `PostMessage(WM_MCP_EXE
|
||||
|
||||
## 遗留 / 待办
|
||||
|
||||
1. `dwg_review_agent.py` 仍硬编码 DeepSeek API Key(已推送远程),建议改为环境变量 `DEEPSEEK_API_KEY`。
|
||||
1. ~~`dwg_review_agent.py` 仍硬编码 DeepSeek API Key~~ —— 该脚本已于 2026-10-14 删除;
|
||||
但 Key 已随提交 `bdd77af` 进入 git 历史并推到远程,**必须去 DeepSeek 控制台轮换**。
|
||||
2. `review_checklist.json` 可补充「检查方法 / 阈值」;可加跨图框统计工具;可把清单移入 MCP 侧。
|
||||
3. 后期整理建筑/工业管道等审图规范并接入,让 LLM 参照规范审核。
|
||||
Reference in new issue
Block a user