// Copyright 2026 syzkaller project authors. All rights reserved. // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. // ai package contains common definitions that are used across pkg/aflow/... and dashboard/{app,dashapi}. package ai type WorkflowType string // Note: don't change string values of these types w/o a good reason. // They are stored in the dashboard database as strings. const ( WorkflowPatching = WorkflowType("patching") WorkflowModeration = WorkflowType("moderation") WorkflowAssessmentKCSAN = WorkflowType("assessment-kcsan") ) // Outputs of various workflow types. // Should be changed carefully since old outputs are stored in the dashboard database. type AssessmentKCSANOutputs struct { Confident bool Benign bool Explanation string }