{{template "app-header" .}}
{{icon "chevron-left"}}

Compare sessions

Before: {{truncate 12 .Before.SessionID}} After: {{truncate 12 .After.SessionID}} Mode: {{if .Before.ReviewMode}}{{.Before.ReviewMode}}{{else}}-{{end}} to {{if .After.ReviewMode}}{{.After.ReviewMode}}{{else}}-{{end}}
{{if .Warning}}
warning {{.Warning}}
{{end}}
{{/* The range variable below is a model.LlmComment: .Path, not the viewer's .FilePath. */}} {{/* Bucket titles are fixed strings from handleCompare; the tone class is chosen from them here so the Go side stays untouched. The "{{.Title}} (N)" text is asserted verbatim by compare_test.go — keep it contiguous. */}} {{range .Buckets}}

{{.Title}} ({{len .Findings}})

{{range .Findings}}
{{if .Category}}{{.Category}}{{end}} {{if .Severity}}{{.Severity}}{{end}} {{.Path}}{{if .StartLine}}:L{{.StartLine}}{{if and .EndLine (ne .EndLine .StartLine)}}-L{{.EndLine}}{{end}}{{end}}
{{.Content}}
{{if or .ExistingCode .SuggestionCode}}
{{if .ExistingCode}}
Existing Code
{{.ExistingCode}}
{{end}} {{if .SuggestionCode}}
Suggested Change
{{.SuggestionCode}}
{{end}}
{{end}}
{{else}}

none

{{end}}
{{end}}
{{define "breadcrumbs"}}/{{.RepoName}}/compare{{end}}