🌊 安全协议:增强签名验证精确匹配 + 完善天眼next_actions覆盖

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-03-18 15:59:29 +00:00
parent 709ce8e0cb
commit fde75aa58c
2 changed files with 5 additions and 1 deletions

View File

@ -159,6 +159,10 @@ function generateReport() {
report.next_actions.push('P0: 安全协议文件缺失,需立即恢复');
} else if (!report.security_health.root_rules_intact) {
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: 安全协议版权锚点缺失,需补充');
}
// 保存完整报告

View File

@ -66,7 +66,7 @@ function checkSecurityProtocol() {
}
// 检查6签名者信息
if (!protocol.signed_by || !protocol.signed_by.includes('TCS-0002')) {
if (!protocol.signed_by || protocol.signed_by !== '冰朔TCS-0002∞') {
result.status = '⚠️';
result.issue = '签名者信息缺失或不正确';
result.action = 'P1工单 · 补充签名信息';