kicad-flow: d20 改名 layout_issue,极性与 d11 统一
用户更新 PR00.drawio,把节点 20 的边标签从「是/否」改为「有问题/没问题」, 消除了节点文字与标签的矛盾。代码随之对齐:d20_layout_clean -> d20_layout_issue, 回填键统一为 layout_issue(true=有问题→回 n19)。走向未变。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -135,9 +135,9 @@ payload 的 `retry` 和 `sim_results` 告诉你上一轮发生了什么,**把
|
||||
三条判据:① 信号标签与线段/字体/器件重叠 ② 字体与器件、线段重叠 ③ 电路落在图框外。
|
||||
|
||||
工具:`find_overlapping_elements`、`find_wires_crossing_symbols`、
|
||||
`find_wires_crossing_symbols`、`get_schematic_view` 逐页看、`get_board_extents` 对框。
|
||||
`find_orphaned_wires`、`get_schematic_view` 逐页看、`get_board_extents` 对框。
|
||||
|
||||
> **这里 true = 有问题**(回 `n10` 重排,上限 5 次)。和后面 `d20` 正好相反,别填反。
|
||||
> **这里 true = 有问题**(回 `n10` 重排,上限 5 次)。与 `d20` 同极性。
|
||||
|
||||
回填:`--set layout_issue=false`
|
||||
|
||||
@@ -258,17 +258,15 @@ STM32 可用 cubemx MCP 的 `get_pin_functions` / `get_pinout` 交叉验证。
|
||||
|
||||
回填:`--set fixed=3 --set note="挪了 3 处标签"`
|
||||
|
||||
### `d20_layout_clean`(20)— 派 agent 复核排版
|
||||
### `d20_layout_issue`(20)— 派 agent 复核排版
|
||||
|
||||
**派一个单独的 agent** 独立复核排版。
|
||||
**派一个单独的 agent** 独立复核原理图是否还有 criteria 所列的排版问题。
|
||||
|
||||
> **这里 true = 干净、往前走**(和 `d11` 正好相反)。
|
||||
> 原图节点文字写的是「是否有排版问题」,但边标签是「是→前进」,
|
||||
> 二者矛盾,已由用户裁定以边标签为准。填之前想一秒。
|
||||
> 极性与 `d11` **一致**:**true = 有问题 → 回 `n19` 继续修**(上限 3 次),
|
||||
> **false = 没问题 → 前进 `d22`**。两个节点的回填键都是 `layout_issue`。
|
||||
|
||||
仍有问题回 `n19` 继续修(上限 3 次)。
|
||||
|
||||
回填:`--set layout_clean=true`
|
||||
回填:`--set layout_issue=false`
|
||||
(仍有问题:`--json '{"layout_issue":true,"issues":["插图压住 J1"]}'`)
|
||||
|
||||
### `d22_meets_requirement`(22)— 派 agent 比对原始需求
|
||||
|
||||
|
||||
Reference in New Issue
Block a user