# -*- coding: utf-8 -*- # 模板「敏感度路由规则」资产示例:ti-cl4(氯化车间/海绵钛,Template-Ti 一期)。 # # 说明: # - 这是「路由策略」配置点(PRD 5.4):换行业只改本文件,内核零改动; # - target: local(敏感/核心 → 本地70B,数据不出厂) # cloud(脱敏/通用 → 云端API) # block(高危 → 直接拦截,转人工) # - kind: keyword 大小写不敏感子串匹配;regex 正则匹配; # - 通用 PII/高危规则由内核内置保底(ROUTER_DEFAULT_RULES),无需重复配置; # 本文件只补充**行业路由语义**(工艺敏感 → 本地,公开常识 → 云端)。 template: ti-cl4 version: 1.0.0 rules: # ---- 工艺敏感(必须走本地,数据不出厂) ---- - name: rt_proc_cl2_flow category: process-parameter kind: keyword pattern: 氯气流量 target: local description: 氯气流量参数(工艺敏感,本地闭环) - name: rt_proc_furnace_temp category: process-parameter kind: keyword pattern: 炉温 target: local description: 炉温参数(工艺敏感,本地闭环) - name: rt_proc_feeding_ratio category: process-parameter kind: keyword pattern: 加料比 target: local description: 加料配比参数(工艺敏感,本地闭环) - name: rt_proc_ti_purity category: process-parameter kind: keyword pattern: 钛纯度 target: local description: 产品质量指标(钛纯度,本地闭环) # ---- 高危(直接拦截转人工) ---- - name: rt_safety_emergency category: safety kind: keyword pattern: 紧急停机 target: block description: 紧急停机指令(高危,转人工确认) # ---- 通用常识(可走云端,仅脱敏/公开内容) ---- - name: rt_common_knowledge category: general kind: keyword pattern: 海绵钛是什么 target: cloud description: 公开常识问答(脱敏/通用,可走云端)