From 1adac349005b0d976e42a58995d63e6bd987247f Mon Sep 17 00:00:00 2001 From: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> Date: Fri, 20 Feb 2026 14:38:33 +0530 Subject: [PATCH 1/2] chore: Add AIOverview field to analysis struct Add an AIOverview field to Analysis Report struct for analyzers to send an overview to add a second order feedback, if applicable for a given analyzer. This is generated by looking at code context, and tells developers what was done right, or maybe wrong. This would be used later by asgard to generate an overall feedback and insights. Signed-off-by: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> --- types/analysis.go | 1 + 1 file changed, 1 insertion(+) diff --git a/types/analysis.go b/types/analysis.go index b02de02..85f7ea9 100644 --- a/types/analysis.go +++ b/types/analysis.go @@ -90,6 +90,7 @@ type AnalysisReport struct { Errors []AnalysisError `json:"errors"` FileMeta FileMeta `json:"file_meta"` BranchFileMeta FileMeta `json:"branch_file_meta"` // File meta for the branch against previous completed run commit. + AIOverview string `json:"ai_overview" ExtraData interface{} `json:"extra_data"` } From d8b57242f9648499afac67f0e972c580e1ad77a6 Mon Sep 17 00:00:00 2001 From: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> Date: Fri, 20 Feb 2026 14:44:09 +0530 Subject: [PATCH 2/2] Apply suggestions from code review Signed-off-by: Srijan Saurav <68371686+srijan-deepsource@users.noreply.github.com> --- types/analysis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/analysis.go b/types/analysis.go index 85f7ea9..b959553 100644 --- a/types/analysis.go +++ b/types/analysis.go @@ -90,7 +90,7 @@ type AnalysisReport struct { Errors []AnalysisError `json:"errors"` FileMeta FileMeta `json:"file_meta"` BranchFileMeta FileMeta `json:"branch_file_meta"` // File meta for the branch against previous completed run commit. - AIOverview string `json:"ai_overview" + AIOverview string `json:"ai_overview"` ExtraData interface{} `json:"extra_data"` }