🌊 安全协议:增强签名验证精确匹配 + 完善天眼next_actions覆盖
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
parent
709ce8e0cb
commit
fde75aa58c
|
|
@ -159,6 +159,10 @@ function generateReport() {
|
||||||
report.next_actions.push('P0: 安全协议文件缺失,需立即恢复');
|
report.next_actions.push('P0: 安全协议文件缺失,需立即恢复');
|
||||||
} else if (!report.security_health.root_rules_intact) {
|
} else if (!report.security_health.root_rules_intact) {
|
||||||
report.next_actions.push('P0: 安全协议根规则被篡改,需立即修复');
|
report.next_actions.push('P0: 安全协议根规则被篡改,需立即修复');
|
||||||
|
} else if (report.security_health.level !== 'L0' || !report.security_health.permanent) {
|
||||||
|
report.next_actions.push('P0: 安全协议L0等级或永久标记被修改');
|
||||||
|
} else if (!report.security_health.copyright_anchor) {
|
||||||
|
report.next_actions.push('P1: 安全协议版权锚点缺失,需补充');
|
||||||
}
|
}
|
||||||
|
|
||||||
// 保存完整报告
|
// 保存完整报告
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ function checkSecurityProtocol() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// 检查6:签名者信息
|
// 检查6:签名者信息
|
||||||
if (!protocol.signed_by || !protocol.signed_by.includes('TCS-0002')) {
|
if (!protocol.signed_by || protocol.signed_by !== '冰朔(TCS-0002∞)') {
|
||||||
result.status = '⚠️';
|
result.status = '⚠️';
|
||||||
result.issue = '签名者信息缺失或不正确';
|
result.issue = '签名者信息缺失或不正确';
|
||||||
result.action = 'P1工单 · 补充签名信息';
|
result.action = 'P1工单 · 补充签名信息';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue