From f1956d7362482a3245853e29e55c5092ad41ca53 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 20 Feb 2026 19:59:02 +0000 Subject: [PATCH 1/2] Initial plan From 65f6442b529170e431860e3fbd00e5a37aed77fb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 20 Feb 2026 20:12:27 +0000 Subject: [PATCH 2/2] fix: replace invalid add_issue_comment with create_issue_comment in interactive workflow init Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- pkg/cli/interactive.go | 2 +- pkg/cli/workflows/test-template-issue-context.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cli/interactive.go b/pkg/cli/interactive.go index 78db9cb3d65..cf982147c13 100644 --- a/pkg/cli/interactive.go +++ b/pkg/cli/interactive.go @@ -420,7 +420,7 @@ func (b *InteractiveWorkflowBuilder) generateToolsConfig() string { for _, tool := range b.Tools { switch tool { case "github": - config.WriteString(" github:\n allowed:\n - issue_read\n - add_issue_comment\n - create_issue\n") + config.WriteString(" github:\n allowed:\n - issue_read\n - create_issue_comment\n - create_issue\n") case "bash": config.WriteString(" bash:\n") default: diff --git a/pkg/cli/workflows/test-template-issue-context.md b/pkg/cli/workflows/test-template-issue-context.md index dc6f7087bca..ab0dd90d488 100644 --- a/pkg/cli/workflows/test-template-issue-context.md +++ b/pkg/cli/workflows/test-template-issue-context.md @@ -9,7 +9,7 @@ engine: id: copilot tools: github: - allowed: [issue_read, add_issue_comment] + allowed: [issue_read, create_issue_comment] --- # Test Template with Issue Context