This commit is contained in:
2026-08-05 08:19:30 +08:00
7 changed files with 1494 additions and 0 deletions
@@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
# 氯化车间/海绵钛驾驶舱 · 移动端交接班摘要配置资产(iAOP-Template-Ti 一期)。
#
# 对齐 PRD 场景C(辅助):交接班 → LLM 汇总本班关键事件/能耗/待办 → 生成交接班
# 报告 → 推送下一班(PRD line 84/350-351:交接班报告生成 ≤ 2 分钟、移动端交接班
# 摘要可用)。
#
# 把"移动端交接班摘要"的展示语义(章节/折叠/字号/确认策略/绑定的 LLM 提示词)
# 外置为模板配置(issue #53)。切换到其他行业模板(如树脂)= 换一份本文件,
# 移动端卡片代码零改动(与 #52 同一验收口径「切换模板零改码」)。
#
# $schema 对应 core/shift-handover/handover.py 的 HANDOVER_CONFIG_SCHEMA_ID。
$schema: iAOP-cockpit-handover-brief-v1
# 绑定的提示词模板(core/llm-gateway/config/prompts.template.yaml):
# shift_handover v1.0.1(current)正文含「生产概况/异常事项/安全注意事项」三章节。
promptTemplate: shift_handover
promptVersion: 1.0.1
# 摘要包含的章节(移动端卡片渲染哪些区块):
# overview 生产概况 / abnormal 异常事项 / safety 安全注意事项 /
# energy 能耗 / todos 待办(交下一班)。
sections: [overview, abnormal, safety, energy, todos]
# 移动端展示策略(外置,配置台可调):
maxEvents: 8 # 事件列表最多展示条数(超过折叠 + 溢出计数角标)
maxTodos: 5 # 待办列表最多展示条数
collapseThreshold: 4 # 超过该条数则折叠为「展开更多」
fontSize: md # 移动端字号档位(sm/md/lg)
# 高利害人工确认:交接班摘要通常非高利害(scenarios.template.yaml: high_stakes=false),
# 但若本班出现 P0 告警 / 安全事件,内核会自动强制 requireConfirm=true(见
# render_handover_brief),无需在此显式开启。
requireConfirm: false