mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-08-06 10:58:37 +02:00
feat: refine HITL audit policy defaults (#236)
This commit is contained in:
@@ -45,4 +45,14 @@ func TestMergeHitlExemptMetaTools_includesToolSearch(t *testing.T) {
|
||||
if !found {
|
||||
t.Fatalf("tool_search missing from %v", merged)
|
||||
}
|
||||
foundProjectFact := false
|
||||
for _, name := range merged {
|
||||
if strings.EqualFold(strings.TrimSpace(name), "upsert_project_fact") {
|
||||
foundProjectFact = true
|
||||
break
|
||||
}
|
||||
}
|
||||
if !foundProjectFact {
|
||||
t.Fatalf("upsert_project_fact missing from %v", merged)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user