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:
Myfro9
2026-09-19 19:36:42 +08:00
co-authored by Claude Opus 5
parent d71b626ae4
commit 936681948b
2 changed files with 12 additions and 17 deletions
+4 -7
View File
@@ -181,18 +181,15 @@ $DR = "$env:USERPROFILE\.claude\skills\kicad-flow\scripts\drawio_read.py"
| `n18_sync_drawio_back` | 按原理图回写 drawio,重贴第一页插图 | `drawio_path` `synced` |
| `d21_sch_matches_drawio` | **派 agent** 比原理图与 drawio | `sch_matches_drawio` |
| `n19_recheck_layout` | 再修一遍排版 | `fixed` |
| `d20_layout_clean` | **派 agent** 复核排版 | `layout_clean`(**true=干净,前进**) |
| `d20_layout_issue` | **派 agent** 复核排版 | `layout_issue`(**true=有问题,回 n19**) |
| `d22_meets_requirement` | **派 agent** 比原始需求 | `meets_requirement` `gaps` |
| `n98_collect_fixes` | 把差距整理成可执行修改方案 | `fix_plan` |
| `n93_schematic_done` | 无 interrupt,图自己出报告 | — |
| `n101_import_to_pcb` | `sync_schematic_to_board` 导入 PCB | `pcb_path` `imported` |
两个**极易填反**的布尔,填反了流程会朝相反方向跑:
- `d11_layout_issue`:**true = 有排版问题**(回去重排)。
- `d20_layout_clean`:**true = 排版干净**(往前走)。
这俩语义相反是照着 PR00.drawio 原图来的,不是 bug。
排版判定 `d11_layout_issue` 与 `d20_layout_issue` **同极性**:
**true = 有排版问题 → 回去重修**,false = 没问题 → 往前走。回填键都叫 `layout_issue`。
(2026-09-19 之前 d20 的极性是反的,用户改图消歧后已统一。)
## 常见错误