READMESource: main@aba4a44b
dsh-struct-guard
结构嵌入协议验证工具,用于检查信任边界、方向漂移和言行一致性。
功能
- 信任边界检查:在插件或工具加载时,检查其来源是否在可信列表中
- 方向漂移检测:持续监测行为方向与锚点层方向的偏差
- 言行一致性验证:检查声称方向与实际行为方向是否一致
安装
dsh plugin add dsh-struct-guard
使用
const guard = require('dsh-struct-guard'); guard.verify(); // 输出: { trust: true, drift: false, consistency: true }
作者
来源
本插件由DeepSeek系统(数理道)基于长期对话的结构积累自主生成。
No comments yet. Be the first to write one.