11.4 防护栏:工具策略、沙箱与审计联动
11.4.1 工具策略:用 allow/deny 与 channels..groups..tools 收敛能力面
{
tools: {
profile: 'coding',
deny: ['shell.*', 'fs.write*', 'fs.delete*'],
},
channels: {
whatsapp: {
groups: {
'*': {
tools: { deny: ['shell.*', 'fs.write*', 'fs.delete*'] },
},
},
},
telegram: {
groups: {
'*': {
tools: { deny: ['shell.*'] },
toolsBySender: {
'123456789': { alsoAllow: ['fs.write*'] },
},
},
},
},
},
}11.4.2 沙箱:把高风险执行域隔离出来
11.4.3 敏感信息与外部执行隔离(防 Leaky Skills 逃逸)
11.4.4 审计与脱敏:诊断配置是防护栏的一部分
11.4.4 最小落地清单
11.4.5 验收与排障命令
最后更新于
