Files
Agent-System/.doc/ops/evidence/2026-09-25-security-redline-false-positive/focused-security-tests.log
T

54 lines
4.5 KiB
Plaintext

=== RUN TestPlanProposal_SecurityRejectsWhole
2026/09/25 12:51:24 INFO intent_recognition intent=SECURITY_FORBIDDEN branch=NEW_INTENT_PREEMPT confidence=1
--- PASS: TestPlanProposal_SecurityRejectsWhole (0.00s)
=== RUN TestIntentRecognition_SecurityForbidden
2026/09/25 12:51:24 INFO intent_recognition intent=SECURITY_FORBIDDEN branch=NEW_INTENT_PREEMPT confidence=1
--- PASS: TestIntentRecognition_SecurityForbidden (0.00s)
=== RUN TestIntentRecognition_SecurityFalsePositives_NotBlocked
=== RUN TestIntentRecognition_SecurityFalsePositives_NotBlocked/合规手册撰写含整改角色字段
2026/09/25 12:51:24 INFO intent_recognition intent=CASUAL_CHAT branch=AMBIGUOUS_FALLBACK confidence=0.2
=== RUN TestIntentRecognition_SecurityFalsePositives_NotBlocked/整改+角色远距共现
2026/09/25 12:51:24 INFO intent_recognition intent=CASUAL_CHAT branch=AMBIGUOUS_FALLBACK confidence=0.2
=== RUN TestIntentRecognition_SecurityFalsePositives_NotBlocked/改一下文档+角色跨句
2026/09/25 12:51:24 INFO intent_recognition intent=CASUAL_CHAT branch=AMBIGUOUS_FALLBACK confidence=0.2
=== RUN TestIntentRecognition_SecurityFalsePositives_NotBlocked/换一份清单+姓名字段
2026/09/25 12:51:24 INFO intent_recognition intent=CASUAL_CHAT branch=AMBIGUOUS_FALLBACK confidence=0.2
=== RUN TestIntentRecognition_SecurityFalsePositives_NotBlocked/系统配置说明文档撰写
2026/09/25 12:51:24 INFO intent_recognition intent=CASUAL_CHAT branch=AMBIGUOUS_FALLBACK confidence=0.2
=== RUN TestIntentRecognition_SecurityFalsePositives_NotBlocked/知识库连接故障排查询问
2026/09/25 12:51:24 INFO intent_recognition intent=CASUAL_CHAT branch=NEW_INTENT_PREEMPT confidence=0.7
--- PASS: TestIntentRecognition_SecurityFalsePositives_NotBlocked (0.00s)
--- PASS: TestIntentRecognition_SecurityFalsePositives_NotBlocked/合规手册撰写含整改角色字段 (0.00s)
--- PASS: TestIntentRecognition_SecurityFalsePositives_NotBlocked/整改+角色远距共现 (0.00s)
--- PASS: TestIntentRecognition_SecurityFalsePositives_NotBlocked/改一下文档+角色跨句 (0.00s)
--- PASS: TestIntentRecognition_SecurityFalsePositives_NotBlocked/换一份清单+姓名字段 (0.00s)
--- PASS: TestIntentRecognition_SecurityFalsePositives_NotBlocked/系统配置说明文档撰写 (0.00s)
--- PASS: TestIntentRecognition_SecurityFalsePositives_NotBlocked/知识库连接故障排查询问 (0.00s)
=== RUN TestIntentRecognition_SecurityForbidden_Extended
=== RUN TestIntentRecognition_SecurityForbidden_Extended/姓名修改
2026/09/25 12:51:24 INFO intent_recognition intent=SECURITY_FORBIDDEN branch=NEW_INTENT_PREEMPT confidence=1
=== RUN TestIntentRecognition_SecurityForbidden_Extended/部门修改
2026/09/25 12:51:24 INFO intent_recognition intent=SECURITY_FORBIDDEN branch=NEW_INTENT_PREEMPT confidence=1
=== RUN TestIntentRecognition_SecurityForbidden_Extended/资质修改
2026/09/25 12:51:24 INFO intent_recognition intent=SECURITY_FORBIDDEN branch=NEW_INTENT_PREEMPT confidence=1
=== RUN TestIntentRecognition_SecurityForbidden_Extended/向量库连接修改
2026/09/25 12:51:24 INFO intent_recognition intent=SECURITY_FORBIDDEN branch=NEW_INTENT_PREEMPT confidence=1
=== RUN TestIntentRecognition_SecurityForbidden_Extended/网关密钥修改
2026/09/25 12:51:24 INFO intent_recognition intent=SECURITY_FORBIDDEN branch=NEW_INTENT_PREEMPT confidence=1
=== RUN TestIntentRecognition_SecurityForbidden_Extended/知识库连接修改
2026/09/25 12:51:24 INFO intent_recognition intent=SECURITY_FORBIDDEN branch=NEW_INTENT_PREEMPT confidence=1
--- PASS: TestIntentRecognition_SecurityForbidden_Extended (0.00s)
--- PASS: TestIntentRecognition_SecurityForbidden_Extended/姓名修改 (0.00s)
--- PASS: TestIntentRecognition_SecurityForbidden_Extended/部门修改 (0.00s)
--- PASS: TestIntentRecognition_SecurityForbidden_Extended/资质修改 (0.00s)
--- PASS: TestIntentRecognition_SecurityForbidden_Extended/向量库连接修改 (0.00s)
--- PASS: TestIntentRecognition_SecurityForbidden_Extended/网关密钥修改 (0.00s)
--- PASS: TestIntentRecognition_SecurityForbidden_Extended/知识库连接修改 (0.00s)
PASS
ok chat-agent-system/internal/intent 0.007s
=== RUN TestCoordinatorEngine_SecurityForbidden
2026/09/25 12:51:24 INFO coordinator_route intent=SECURITY_FORBIDDEN branch="" confidence=0 channel=TEMPLATE reason=查询/治理/补充类意图,走规则模板与知识库直答
--- PASS: TestCoordinatorEngine_SecurityForbidden (0.00s)
PASS
ok chat-agent-system/internal/coordinator 0.004s