From 04ec718a667b1d754e611694407453f120fe8e91 Mon Sep 17 00:00:00 2001 From: xcs Date: Mon, 31 Aug 2026 18:05:54 +0800 Subject: [PATCH] =?UTF-8?q?docs(w05):=20gate=5Fstate=20=E5=BC=80=E5=85=B3?= =?UTF-8?q?=E5=88=97=E5=85=A5=E5=BF=AB=E7=85=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01LKMZDwMbyKzjw6Hembwvet --- CLAUDE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index da76ac5..b0972fe 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1834,6 +1834,12 @@ .dossiers 三列网格(1fr·76px·1fr),中间列是实体动画道 —— ⇄ 徽呼吸 + 双点绕徽轨道 对转(sw-orbit),总线虚线在道里连两卡;窄屏单列收道。浏览器两帧相位实证。 +- **W05 红条可灭:gate_state 开关列**(2026-08-31 用户:「没有必填了红色区域就不要显示」, + `part-substitution-assessment@2.13.0`):病根 —— gate_reason 清空串按列归型不落笔 + (jsonb 保旧值),红条亮过灭不了。治:案卷加 `gate_state`(tally open/clear,双向真写), + 与发卡条件共用 GATE_OPEN_WHEN 一处真源;红条 data-class-of 投影 v-clear 收起。 + **教训:要用「清成空串」表达状态翻转的列,空值不落笔会把它焊死 —— 开关就该是开关列。** + ## 文档权威地图 | 层 | 文件 | 说明 |