Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(supplement): allow steering Antigravity runs (#11315)
Falcon4d4bf261e88e
diff --git a/server/internal/handler/comment_steer_test.go b/server/internal/handler/comment_steer_test.goindex 9634f0ca0a..9e830cebce 100644--- a/server/internal/handler/comment_steer_test.go+++ b/server/internal/handler/comment_steer_test.go@@ -58,7 +58,7 @@ func outcomeFor(outcomes []CommentTriggerOutcome, agentID string) (CommentTrigge}func TestCreateCommentSteersTheThreadAgentsRunningTurn(t *testing.T) {- for _, provider := range []string{"codex", "grok", "cursor", "kiro", "pi"} {+ for _, provider := range []string{"codex", "grok", "cursor", "kiro", "pi", "antigravity"} {t.Run(provider, func(t *testing.T) {f := newSupplementFixture(t, provider, "running", true)dbfx.Exec(t, `UPDATE comment SET content = $2 WHERE id = $1`, f.triggerID,diff --git a/server/internal/handler/task_supplement_test.go b/server/internal/handler/task_supplement_test.goindex b70a772dcf..8bf187e2d5 100644--- a/server/internal/handler/task_supplement_test.go+++ b/server/internal/handler/task_supplement_test.go@@ -184,6 +184,7 @@ func TestTaskSupplementNegotiationFailsClosed(t *testing.T) {{name: "cursor negotiated", provider: "cursor", daemonAdvertises: true, wantCapabilityRow: true},{name: "kiro negotiated", provider: "kiro", daemonAdvertises: true, wantCapabilityRow: true},{name: "pi negotiated", provider: "pi", daemonAdvertises: true, wantCapabilityRow: true},+ {name: "antigravity negotiated", provider: "antigravity", daemonAdvertises: true, wantCapabilityRow: true},{name: "pi old daemon", provider: "pi", daemonAdvertises: false, wantCapabilityRow: false},{name: "claude old daemon", provider: "claude", daemonAdvertises: false, wantCapabilityRow: false},{name: "old daemon", provider: "codex", daemonAdvertises: false, wantCapabilityRow: false},@@ -218,7 +219,7 @@ func TestTaskSupplementCapabilityDoesNotBreakNonIssueStarts(t *testing.T) {if testHandler == nil {t.Skip("database not available")}- for _, provider := range []string{"codex", "claude", "grok", "cursor", "kiro", "pi"} {+ for _, provider := range []string{"codex", "claude", "grok", "cursor", "kiro", "pi", "antigravity"} {t.Run(provider, func(t *testing.T) {runtimeID := dbfx.Runtime(t, "supplement-no-issue", testutil.Cols{"provider": provider})agentID := dbfx.Agent(t, "Supplement no issue", runtimeID)@@ -297,7 +298,7 @@ func TestPiTaskSupplementLifecycle(t *testing.T) {}func TestTaskSupplementCompletionDoesNotReplayBoundComments(t *testing.T) {- for _, provider := range []string{"codex", "claude", "grok", "cursor", "kiro", "pi"} {+ for _, provider := range []string{"codex", "claude", "grok", "cursor", "kiro", "pi", "antigravity"} {for _, status := range []string{"pending", "delivering", "delivered", "failed"} {for _, ordinary := range []string{"none", "unhandled", "queued"} {t.Run(provider+"/"+status+"/"+ordinary, func(t *testing.T) {diff --git a/server/pkg/db/generated/supplement.sql.go b/server/pkg/db/generated/supplement.sql.goindex a7115b6006..a618a909b8 100644--- a/server/pkg/db/generated/supplement.sql.go+++ b/server/pkg/db/generated/supplement.sql.go@@ -108,7 +108,7 @@ WITH locked_task AS MATERIALIZED (OR (t.is_leader_task AND t.squad_id = $5::uuid))AND cap.capability = 'task-supplement-v1'- AND r.provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi')+ AND r.provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi', 'antigravity')AND ($6::text <> 'agent' OR ((SELECT count(*) FROM task_supplement sJOIN comment c ON c.id = s.comment_id@@ -299,7 +299,7 @@ WITH locked_task AS MATERIALIZED (AND r.workspace_id = $3AND t.status = 'running'AND cap.capability = 'task-supplement-v1'- AND r.provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi')+ AND r.provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi', 'antigravity')FOR UPDATE OF t), touched_issue AS (UPDATE issue i SET@@ -860,7 +860,7 @@ WITH candidate AS MATERIALIZED (SELECT id, workspace_id, issue_id, 'task-supplement-v1'FROM candidateWHERE $3::boolean- AND provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi')+ AND provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi', 'antigravity')AND (issue_id IS NOT NULL OR chat_session_id IS NOT NULL)ON CONFLICT DO NOTHINGRETURNING task_iddiff --git a/server/pkg/db/queries/supplement.sql b/server/pkg/db/queries/supplement.sqlindex db4cae5a59..7fb1aa7508 100644--- a/server/pkg/db/queries/supplement.sql+++ b/server/pkg/db/queries/supplement.sql@@ -14,7 +14,7 @@ WITH candidate AS MATERIALIZED (SELECT id, workspace_id, issue_id, 'task-supplement-v1'FROM candidateWHERE @enable_task_supplement::boolean- AND provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi')+ AND provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi', 'antigravity')AND (issue_id IS NOT NULL OR chat_session_id IS NOT NULL)ON CONFLICT DO NOTHINGRETURNING task_id@@ -50,7 +50,7 @@ WITH locked_task AS MATERIALIZED (AND r.workspace_id = @workspace_idAND t.status = 'running'AND cap.capability = 'task-supplement-v1'- AND r.provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi')+ AND r.provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi', 'antigravity')FOR UPDATE OF t), touched_issue AS (UPDATE issue i SET@@ -129,7 +129,7 @@ WITH locked_task AS MATERIALIZED (OR (t.is_leader_task AND t.squad_id = sqlc.narg('required_leader_squad_id')::uuid))AND cap.capability = 'task-supplement-v1'- AND r.provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi')+ AND r.provider IN ('codex', 'claude', 'grok', 'cursor', 'kiro', 'pi', 'antigravity')AND (@author_type::text <> 'agent' OR ((SELECT count(*) FROM task_supplement sJOIN comment c ON c.id = s.comment_id