docs(memory): Agent 多源架构 + 工具分层;补真实测试图纸与启动方式

- 新增 project_agent_roadmap.md(总目标/多源分层/第一步/后续路线)
- 新增 feedback_tool_layering.md(工具层正交分工,反对无休止加工具)
- reference_environment.md 补 e:\desktop\agent_test.dwg 与 /p SHS-ENVI2026 启动方式
- 一并提交上次会话遗留的记忆更新
This commit is contained in:
gjm committed 2026-10-15 19:48:56 +08:00
1 parent 1c9fc72839
commit 32d552f1f0
7 files changed
+261 -2

No files matched your search

+23
View File
@@ -139,3 +139,26 @@ DLL 代理写锁改为 `ScopedDocumentWriteLock` RAII)。**插件作者无需
`-32602/-32600/-32700`;工具内部类型异常被兜为 `result.isError=true`;反复注入 10 次后
CAD 存活、写锁未泄漏)。回归 `verify_mcp_frame` 4/4、`verify_stdio_bridge` 24/24、
`verify_annotate` 9/9、`dwg_review --check` 均正常。
## Plant 3D 图纸实体语义与圈注(2026-10-14 实机确认)
**这是 Plant 3D / AEC 自定义实体图,插件无法内省**——`get_entity_detail` 对它们返回
**空 `properties`**,`query_entities` 也只给 `bbox`/`layer`/`type`。类型语义:
- `AECDBEWPIPE` = 管道(一根管子一个实体)。
- `AECDBEWFITTING` = 管件,**两种形态靠 bbox 长宽比区分**:
- 近正方(aspect = min/max ≥ 0.5,约 250×250)= **弯头**;
- 细长条(aspect < 0.5,约 20×220)= **法兰**。
- `AECDBEWEQUIPMENT` = 设备,本图中即**阀门**(蝶阀符号)。
**不变量(交叉校验用)**:法兰数 == 2 × 阀门数(阀门两侧各一法兰)。
**How to apply(识别/统计这类图)**:不要依赖属性,改用「`query_entities(type_filter=...)`
取 bbox + 几何分类 + 不变量交叉校验 + `get_viewport_screenshot` 视觉复核」。图框用
`detect_drawing_frames`(本图返回 3 个块图框 A0/A1/A2,`kind=block`);把实体按「中心点落在
哪个图框 bbox 内」归类到框。
**圈注配方(已验证)**:`draw_revision_cloud {shape:"circle", center:[cx,cy],
radius:max_side*1.1, layer:"AI_REVIEW", color:3}`——center 取阀门 bbox 中心,半径取包围盒
**长边 × 1.1**(本图阀门 bbox ≈230×220 → r≈253),绿色云线正好套住蝶阀符号。逐框
`zoom_to_window(frame_bbox)` + 截图可验证。画前若要重来,`delete_entities` 按 handle 删旧圆。