zhuyuan-ice-gl-zy001/ZCODE-DEV-20260828/zcode-zc001-miniapp-v052-kb-skin-fix-20260828/TCS-EVENT-ZY001-ZCODE-ZC001-MINIAPP-V052-DONE-20260828.declaration.gir.json

79 lines
4.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"compiled_from": {
"compiler_id": "TCS-COMPILER-STAGE1-0001",
"compiler_state": "TCS_COMPILER_GIR_EXECUTED",
"source_sha256": "6443b7bdcc215eff620c01094b5265922be02e9ad8c99b9cd9b849b482903cad"
},
"declaration": {
"emergence": {
"value": "确立皮肤联动双层检查纪律:CSS变量层之外,带运行时主题的渲染组件必须数据流联动(option.theme动态化+变化重渲染);使用说明从三件事扩为全能力清单并版本化升级机制。"
},
"event_time": {
"precision": "MINUTE_HOST_LOCAL",
"value": "2026-08-28T21:26:59+08:00"
},
"evidence": {
"gir": "TCS-EVENT-ZY001-ZCODE-ZC001-MINIAPP-V052-DONE-20260828.declaration.gir.json",
"receipt": "本线brain-cycle-verify-receipt(ZY-BRAIN-RUNTIME-e82f4adbf1283fb4)+ git b569591 + node --check全过 + light.wxss/dark.wxss/detail.js盘内对照",
"source": "本轮原话(zy-wake事件正本已登记)"
},
"header": {
"canonical_uri": "ZCODE-DEV-20260828/zcode-zc001-miniapp-v052-kb-skin-fix-20260828/TCS-EVENT-ZY001-ZCODE-ZC001-MINIAPP-V052-DONE-20260828.tcs",
"compatibility": [
"TCS-DECLARATION-STANDARD-0001",
"TCS-FIELD-STANDARD-0001"
],
"language": "TCS/0.1",
"lifecycle": "CANDIDATE",
"name_en": "KB Skin Sensor Fix and Doc Rewrite Completed Event",
"name_zh": "知识库皮肤感应修复与说明重写完成事件",
"profile": "HLDP-HUMAN-ENGINEERING/0.1",
"protocols": [
"TCS-ZHUYUAN-ENTRY-LANGUAGE-GATE-0001"
],
"schema": "tcs.event/v1",
"version": "0.1.0"
},
"lock": {
"value": "tool=manual-fix_v1; gate=tcs_gir_match; append_only=true; commit=b569591; root_cause=h2w-light_white_bg"
},
"observation": {
"value": "根因实测与修复:towxml/style/theme/light.wxss根规则.h2w-light{{color:#333;background-color:white}}——detail.js初始化towxml(option.theme)写死light,dark.wxss存在但零引用,CSS变量无法穿透组件运行时主题层→深色皮肤下阅读页白板。修复四件:detail.js按themes.current().dark动态选towxml主题;onShow检测_renderedDark变化自动重渲染全文(皮肤感应器);detail.wxss双import light+dark(根class互斥不冲突);towxml根背景透明化(底色永跟皮肤纸张,主题只管字色)。使用说明重写全能力清单:Markdown全套渲染(标题/列表/引用/表格/分割线/链接)、代码块语法高亮、行内代码、高亮标记、自动排版、导入翻译器四格式对照表(md/txt直读/csv转表格/json转表格或代码块/pdf/docx服务器解析)、精确搜+语义找、目录标签、转提醒+角标、七套皮肤自动明暗联动、删除、隐私;老用户版本化升级(gl_seeded_intro=2,说明存在则覆盖为v2内容,已删不复活)。node --check全过。"
},
"rejected": {
"values": [
"只换import不动态选主题(换肤不重渲染仍是light根)",
"towxml根保留实心背景(底色不跟纸张)",
"说明写没做的能力(虚标)"
]
},
"source": {
"source_id": "BINGSHUO-DIRECT-ZCODE-ICE-CH-ZC001-V052-DONE",
"source_role": "DIRECT_HUMAN",
"source_sha256": "commit_b569591",
"source_uri": "source://zcode-current-dialogue/2026-08-28/miniapp-v052-kb-skin-fix"
},
"subject": {
"channel_id": "ICE-CH-ZC001",
"subject_id": "ICE-P-ZY001",
"subject_kind": "PERSONA",
"verification": "本轮脑周期verify PASS(ZY-BRAIN-RUNTIME-e82f4adbf1283fb4);commit b569591共3文件28行新增"
},
"trigger": {
"value": "接冰朔验收反馈:使用说明功能不全面;严重问题——换皮肤后知识库白花花一片渲染丢失字看不清不会自动调节。"
},
"why": {
"value": "她换肤后白花一片连字都看不清——渲染组件的主题盲区是最伤的回归;说明是用户认识产品的第一页,写不全等于能力不存在。"
}
},
"executable": false,
"identity": {
"declaration_id": "TCS-EVENT-ZY001-ZCODE-ZC001-MINIAPP-V052-DONE-20260828",
"declaration_kind": "EVENT",
"language_version": "0.1"
},
"native_self_hosted": true,
"natural_language_is_typed_data": true,
"schema": "guanghu.declaration-gir/v1",
"unresolved_natural_language": false
}