Add background audits of the default branch's newest commit

This commit is contained in:
Ian Gulliver
2026-10-20 21:08:31 -07:00
parent 1d3c4576ff
commit 5823af6ff9
21 changed files with 745 additions and 357 deletions
+2 -2
View File
@@ -284,7 +284,7 @@ func (m *Manager) leadTools(l *live) []mcp.Tool {
}
}
if args.Workflow != "" {
tasks, err := m.StartWorkflow(ctx, project, user, args.Title, base, leadActor(user.Login), args.Workflow, args.Prompt, nil)
tasks, err := m.StartWorkflow(ctx, project, user, args.Title, base, leadActor(user.Login), args.Workflow, args.Prompt, nil, "")
if err != nil {
return "", err
}
@@ -897,7 +897,7 @@ func (m *Manager) listTasksText(ctx context.Context) (string, error) {
listed := false
started := map[string]bool{}
for _, t := range tasks {
if t.Status != api.TaskStatusActive {
if t.Status != api.TaskStatusActive || t.Background {
continue
}
listed = true