ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)
Go aiai-agentsautonomous-agentsbug-bountydockergolanglinuxllmmcpnextjspenetration-testingpentestpostgresqlreareactred-teamsecuritysecurity-automationsqlitetypescript
fix(db): look up caution lessons by cue
Coff0xcc73fec747111
diff --git a/db/lessons_test.go b/db/lessons_test.goindex 2af9a7f..09d0387 100644--- a/db/lessons_test.go+++ b/db/lessons_test.go@@ -698,7 +698,7 @@ func TestExtractLessonsRetractsAllRetests(t *testing.T) {if _, err := d.ExtractLessonsForTask(t.Context(), task.ID); err != nil {t.Fatal(err)}- caution := findLessonByAction(t, d, task.ID, "caution", "Recheck", label)+ caution := findLessonByAction(t, d, task.ID, "caution", "Recheck", cue)t.Cleanup(func() { cleanupExec(t, d, `DELETE FROM rsi_lessons WHERE id=$1`, caution.ID) })if positiveRetestEvidence(t, d, r1) != 1 {t.Fatal("older reproduced retest lost its evidence after a later fixed retest")