From 8167468d70bf04f15554724def875908f1709345 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 25 Nov 2025 07:34:03 +0000 Subject: [PATCH 1/3] Initial plan From 9a54ffc40400fe84b1426c017f277aa38cc10fab Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 25 Nov 2025 13:33:16 +0000 Subject: [PATCH 2/3] Add safe outputs prompt to instruct agents to use MCP tools instead of gh CLI Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/ai-triage-campaign.lock.yml | 44 +++++++++++ .github/workflows/archie.lock.yml | 44 +++++++++++ .github/workflows/artifacts-summary.lock.yml | 44 +++++++++++ .github/workflows/audit-workflows.lock.yml | 44 +++++++++++ .github/workflows/blog-auditor.lock.yml | 44 +++++++++++ .github/workflows/brave.lock.yml | 44 +++++++++++ .github/workflows/changeset.lock.yml | 44 +++++++++++ .github/workflows/ci-doctor.lock.yml | 44 +++++++++++ .../cli-consistency-checker.lock.yml | 44 +++++++++++ .../workflows/cli-version-checker.lock.yml | 44 +++++++++++ .github/workflows/cloclo.lock.yml | 44 +++++++++++ .../workflows/close-old-discussions.lock.yml | 44 +++++++++++ .../commit-changes-analyzer.lock.yml | 44 +++++++++++ .../workflows/copilot-agent-analysis.lock.yml | 44 +++++++++++ .../copilot-pr-nlp-analysis.lock.yml | 44 +++++++++++ .../copilot-pr-prompt-analysis.lock.yml | 44 +++++++++++ .../copilot-session-insights.lock.yml | 44 +++++++++++ .github/workflows/craft.lock.yml | 44 +++++++++++ .github/workflows/daily-code-metrics.lock.yml | 44 +++++++++++ .github/workflows/daily-doc-updater.lock.yml | 44 +++++++++++ .github/workflows/daily-file-diet.lock.yml | 44 +++++++++++ .../workflows/daily-firewall-report.lock.yml | 44 +++++++++++ .../daily-malicious-code-scan.lock.yml | 44 +++++++++++ .../daily-multi-device-docs-tester.lock.yml | 44 +++++++++++ .github/workflows/daily-news.lock.yml | 44 +++++++++++ .../workflows/daily-repo-chronicle.lock.yml | 44 +++++++++++ .github/workflows/daily-team-status.lock.yml | 44 +++++++++++ .../workflows/dependabot-go-checker.lock.yml | 44 +++++++++++ .github/workflows/dev-hawk.lock.yml | 44 +++++++++++ .github/workflows/dev.lock.yml | 44 +++++++++++ .../developer-docs-consolidator.lock.yml | 44 +++++++++++ .github/workflows/dictation-prompt.lock.yml | 44 +++++++++++ .github/workflows/docs-noob-tester.lock.yml | 44 +++++++++++ .../duplicate-code-detector.lock.yml | 44 +++++++++++ .../example-workflow-analyzer.lock.yml | 44 +++++++++++ .../github-mcp-tools-report.lock.yml | 44 +++++++++++ .../workflows/glossary-maintainer.lock.yml | 44 +++++++++++ .github/workflows/go-logger.lock.yml | 44 +++++++++++ .../workflows/go-pattern-detector.lock.yml | 44 +++++++++++ .github/workflows/grumpy-reviewer.lock.yml | 44 +++++++++++ .../workflows/instructions-janitor.lock.yml | 44 +++++++++++ .github/workflows/issue-classifier.lock.yml | 44 +++++++++++ .github/workflows/issue-monster.lock.yml | 44 +++++++++++ .github/workflows/issue-triage-agent.lock.yml | 44 +++++++++++ .github/workflows/lockfile-stats.lock.yml | 44 +++++++++++ .github/workflows/mcp-inspector.lock.yml | 44 +++++++++++ .github/workflows/mergefest.lock.yml | 44 +++++++++++ .../workflows/notion-issue-summary.lock.yml | 44 +++++++++++ .github/workflows/pdf-summary.lock.yml | 44 +++++++++++ .github/workflows/plan.lock.yml | 44 +++++++++++ .github/workflows/poem-bot.lock.yml | 44 +++++++++++ .../workflows/pr-nitpick-reviewer.lock.yml | 44 +++++++++++ .../prompt-clustering-analysis.lock.yml | 44 +++++++++++ .github/workflows/python-data-charts.lock.yml | 44 +++++++++++ .github/workflows/q.lock.yml | 44 +++++++++++ .github/workflows/release-highlights.lock.yml | 44 +++++++++++ .github/workflows/repo-tree-map.lock.yml | 44 +++++++++++ .../repository-quality-improver.lock.yml | 44 +++++++++++ .github/workflows/research.lock.yml | 44 +++++++++++ .github/workflows/safe-output-health.lock.yml | 44 +++++++++++ .../schema-consistency-checker.lock.yml | 44 +++++++++++ .github/workflows/scout.lock.yml | 44 +++++++++++ .github/workflows/security-fix-pr.lock.yml | 44 +++++++++++ .../semantic-function-refactor.lock.yml | 44 +++++++++++ .github/workflows/smoke-claude.lock.yml | 44 +++++++++++ .github/workflows/smoke-codex.lock.yml | 44 +++++++++++ .github/workflows/smoke-copilot.lock.yml | 44 +++++++++++ .github/workflows/smoke-detector.lock.yml | 44 +++++++++++ .../workflows/static-analysis-report.lock.yml | 44 +++++++++++ .github/workflows/super-linter.lock.yml | 44 +++++++++++ .../workflows/technical-doc-writer.lock.yml | 44 +++++++++++ .github/workflows/tidy.lock.yml | 44 +++++++++++ .github/workflows/typist.lock.yml | 44 +++++++++++ .github/workflows/unbloat-docs.lock.yml | 44 +++++++++++ .github/workflows/video-analyzer.lock.yml | 44 +++++++++++ .../workflows/weekly-issue-summary.lock.yml | 44 +++++++++++ pkg/workflow/compiler_yaml.go | 6 +- pkg/workflow/safe_outputs_prompt.go | 14 ++++ pkg/workflow/safe_outputs_prompt_test.go | 76 +++++++++++++++++++ pkg/workflow/sh.go | 3 + pkg/workflow/sh/safe_outputs_prompt.md | 37 +++++++++ 81 files changed, 3477 insertions(+), 3 deletions(-) create mode 100644 pkg/workflow/safe_outputs_prompt.go create mode 100644 pkg/workflow/safe_outputs_prompt_test.go create mode 100644 pkg/workflow/sh/safe_outputs_prompt.md diff --git a/.github/workflows/ai-triage-campaign.lock.yml b/.github/workflows/ai-triage-campaign.lock.yml index 064365aece4..f786b1372fb 100644 --- a/.github/workflows/ai-triage-campaign.lock.yml +++ b/.github/workflows/ai-triage-campaign.lock.yml @@ -1545,6 +1545,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index 01247651264..6c28fb7d07a 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -2544,6 +2544,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/artifacts-summary.lock.yml b/.github/workflows/artifacts-summary.lock.yml index d652bb5741c..6c83edb889b 100644 --- a/.github/workflows/artifacts-summary.lock.yml +++ b/.github/workflows/artifacts-summary.lock.yml @@ -1350,6 +1350,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/audit-workflows.lock.yml b/.github/workflows/audit-workflows.lock.yml index b9c837bc49b..36b07f1ed38 100644 --- a/.github/workflows/audit-workflows.lock.yml +++ b/.github/workflows/audit-workflows.lock.yml @@ -2748,6 +2748,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/blog-auditor.lock.yml b/.github/workflows/blog-auditor.lock.yml index bbcc7053b92..fa17e03dd27 100644 --- a/.github/workflows/blog-auditor.lock.yml +++ b/.github/workflows/blog-auditor.lock.yml @@ -1850,6 +1850,50 @@ jobs: When using Playwright tools to take screenshots or generate files, all output files are automatically saved to this directory. This is the Playwright --output-dir and you can find any screenshots, traces, or other files generated by Playwright in this directory. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/brave.lock.yml b/.github/workflows/brave.lock.yml index 4680a62de79..f7f63203ffd 100644 --- a/.github/workflows/brave.lock.yml +++ b/.github/workflows/brave.lock.yml @@ -2355,6 +2355,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/changeset.lock.yml b/.github/workflows/changeset.lock.yml index 9bdbe95bb34..4f47dd2d481 100644 --- a/.github/workflows/changeset.lock.yml +++ b/.github/workflows/changeset.lock.yml @@ -2138,6 +2138,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index 58b52d51d9d..d78c8ddcb64 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -1898,6 +1898,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index 75261d8237b..f047ba87ad4 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -1426,6 +1426,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index 46ef6a8d9a0..8898991e1e9 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -1754,6 +1754,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index cc9523581ae..b48fae25ef1 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -2889,6 +2889,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/close-old-discussions.lock.yml b/.github/workflows/close-old-discussions.lock.yml index 9e3aee6f84f..f5301b18f96 100644 --- a/.github/workflows/close-old-discussions.lock.yml +++ b/.github/workflows/close-old-discussions.lock.yml @@ -1158,6 +1158,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/commit-changes-analyzer.lock.yml b/.github/workflows/commit-changes-analyzer.lock.yml index 9a3dd20f4f0..b23174403e2 100644 --- a/.github/workflows/commit-changes-analyzer.lock.yml +++ b/.github/workflows/commit-changes-analyzer.lock.yml @@ -1783,6 +1783,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/copilot-agent-analysis.lock.yml b/.github/workflows/copilot-agent-analysis.lock.yml index 1ab89167b43..074344b2693 100644 --- a/.github/workflows/copilot-agent-analysis.lock.yml +++ b/.github/workflows/copilot-agent-analysis.lock.yml @@ -2421,6 +2421,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index cd60fdfe051..ae7a57900a9 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -2819,6 +2819,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index 1716c1837e7..77861c27121 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -1989,6 +1989,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/copilot-session-insights.lock.yml b/.github/workflows/copilot-session-insights.lock.yml index f043e7de972..a91e547cbdd 100644 --- a/.github/workflows/copilot-session-insights.lock.yml +++ b/.github/workflows/copilot-session-insights.lock.yml @@ -4212,6 +4212,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index 35a35d7a943..e3137677593 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -2651,6 +2651,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/daily-code-metrics.lock.yml b/.github/workflows/daily-code-metrics.lock.yml index b92036ddf3b..c63021d1a49 100644 --- a/.github/workflows/daily-code-metrics.lock.yml +++ b/.github/workflows/daily-code-metrics.lock.yml @@ -2921,6 +2921,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index 1cc097d758a..b08f4e9d522 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -1532,6 +1532,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index 540aec99742..264bb0cf353 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -1663,6 +1663,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index c7fe9242ca0..2bf7630bfb7 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -2390,6 +2390,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/daily-malicious-code-scan.lock.yml b/.github/workflows/daily-malicious-code-scan.lock.yml index 4cc8f4072c6..d42ec764534 100644 --- a/.github/workflows/daily-malicious-code-scan.lock.yml +++ b/.github/workflows/daily-malicious-code-scan.lock.yml @@ -1624,6 +1624,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/daily-multi-device-docs-tester.lock.yml b/.github/workflows/daily-multi-device-docs-tester.lock.yml index b3ceb792ee9..1cad9130dc2 100644 --- a/.github/workflows/daily-multi-device-docs-tester.lock.yml +++ b/.github/workflows/daily-multi-device-docs-tester.lock.yml @@ -1371,6 +1371,50 @@ jobs: When using Playwright tools to take screenshots or generate files, all output files are automatically saved to this directory. This is the Playwright --output-dir and you can find any screenshots, traces, or other files generated by Playwright in this directory. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index b72ab6befe6..00d9f687e43 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -2751,6 +2751,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index 89d69373ee3..84b15f4239f 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -2479,6 +2479,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/daily-team-status.lock.yml b/.github/workflows/daily-team-status.lock.yml index 9fc6b1ec820..28d3be446ef 100644 --- a/.github/workflows/daily-team-status.lock.yml +++ b/.github/workflows/daily-team-status.lock.yml @@ -1264,6 +1264,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index 4c6767a1061..7c3cefc73c9 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -1907,6 +1907,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/dev-hawk.lock.yml b/.github/workflows/dev-hawk.lock.yml index 2fd5c68ddcb..514cc7f4f62 100644 --- a/.github/workflows/dev-hawk.lock.yml +++ b/.github/workflows/dev-hawk.lock.yml @@ -1747,6 +1747,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/dev.lock.yml b/.github/workflows/dev.lock.yml index 048edc34cd0..2a74d534048 100644 --- a/.github/workflows/dev.lock.yml +++ b/.github/workflows/dev.lock.yml @@ -1121,6 +1121,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index 632da80c876..d407ecf4813 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -2553,6 +2553,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index e075dddefd8..f08174a89e0 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -1364,6 +1364,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/docs-noob-tester.lock.yml b/.github/workflows/docs-noob-tester.lock.yml index 4cb0df8ef08..59d526b0c40 100644 --- a/.github/workflows/docs-noob-tester.lock.yml +++ b/.github/workflows/docs-noob-tester.lock.yml @@ -1422,6 +1422,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index 01d4f470655..e6d6decc172 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -1510,6 +1510,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/example-workflow-analyzer.lock.yml b/.github/workflows/example-workflow-analyzer.lock.yml index 3f19ed9e0e4..1a12130d892 100644 --- a/.github/workflows/example-workflow-analyzer.lock.yml +++ b/.github/workflows/example-workflow-analyzer.lock.yml @@ -1378,6 +1378,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index cb27d713ea8..f6550e98276 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -2285,6 +2285,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index 0f80ad5f8b2..9a84242dfb9 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -2365,6 +2365,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index daf0baa868c..6b6116af326 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -1747,6 +1747,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/go-pattern-detector.lock.yml b/.github/workflows/go-pattern-detector.lock.yml index 9c425d9d977..460fefc0bfb 100644 --- a/.github/workflows/go-pattern-detector.lock.yml +++ b/.github/workflows/go-pattern-detector.lock.yml @@ -1443,6 +1443,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index c9c74dc3296..c2f35850508 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -2432,6 +2432,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index 08e0a5970fa..0fdca23a499 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -1530,6 +1530,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/issue-classifier.lock.yml b/.github/workflows/issue-classifier.lock.yml index 2ba94c5ad12..17d060c4039 100644 --- a/.github/workflows/issue-classifier.lock.yml +++ b/.github/workflows/issue-classifier.lock.yml @@ -2151,6 +2151,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/issue-monster.lock.yml b/.github/workflows/issue-monster.lock.yml index c1fbc4c13e8..af3cbb8adb0 100644 --- a/.github/workflows/issue-monster.lock.yml +++ b/.github/workflows/issue-monster.lock.yml @@ -1838,6 +1838,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/issue-triage-agent.lock.yml b/.github/workflows/issue-triage-agent.lock.yml index 145c1a89c3e..b45e5316fb7 100644 --- a/.github/workflows/issue-triage-agent.lock.yml +++ b/.github/workflows/issue-triage-agent.lock.yml @@ -1443,6 +1443,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/lockfile-stats.lock.yml b/.github/workflows/lockfile-stats.lock.yml index db7c309cff9..5b5d73eb47b 100644 --- a/.github/workflows/lockfile-stats.lock.yml +++ b/.github/workflows/lockfile-stats.lock.yml @@ -2018,6 +2018,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index 145ed660a1b..14ba86d9f4f 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -1933,6 +1933,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index e597f079609..5cae65aec92 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -1998,6 +1998,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/notion-issue-summary.lock.yml b/.github/workflows/notion-issue-summary.lock.yml index bae531be95b..37ce13faa29 100644 --- a/.github/workflows/notion-issue-summary.lock.yml +++ b/.github/workflows/notion-issue-summary.lock.yml @@ -1093,6 +1093,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 690ed2db1c2..705f7672856 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -2499,6 +2499,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index 55a6c083409..545735474f4 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -1917,6 +1917,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index b5ff92a2e66..0fdd3bd39f9 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -2765,6 +2765,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index a968f6a4203..3be1b0cd512 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -2795,6 +2795,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/prompt-clustering-analysis.lock.yml b/.github/workflows/prompt-clustering-analysis.lock.yml index eeee08e3b60..baa8af257ce 100644 --- a/.github/workflows/prompt-clustering-analysis.lock.yml +++ b/.github/workflows/prompt-clustering-analysis.lock.yml @@ -3152,6 +3152,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index 72028a6ae6c..422d5bd1b43 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -3122,6 +3122,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index 8d7f1277a25..b4fa815d960 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -3014,6 +3014,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/release-highlights.lock.yml b/.github/workflows/release-highlights.lock.yml index 4ba3c63ff89..fa783c816e5 100644 --- a/.github/workflows/release-highlights.lock.yml +++ b/.github/workflows/release-highlights.lock.yml @@ -1340,6 +1340,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/repo-tree-map.lock.yml b/.github/workflows/repo-tree-map.lock.yml index 26f27b7659f..772171ebbd9 100644 --- a/.github/workflows/repo-tree-map.lock.yml +++ b/.github/workflows/repo-tree-map.lock.yml @@ -1453,6 +1453,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index 61fbecc180f..425888e1eab 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -2354,6 +2354,50 @@ jobs: - `/tmp/gh-aw/cache-memory-focus-areas/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in these folders as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/research.lock.yml b/.github/workflows/research.lock.yml index fc99ce71ec1..d9863963703 100644 --- a/.github/workflows/research.lock.yml +++ b/.github/workflows/research.lock.yml @@ -1289,6 +1289,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/safe-output-health.lock.yml b/.github/workflows/safe-output-health.lock.yml index 05bb40f9d55..b4de914b3e3 100644 --- a/.github/workflows/safe-output-health.lock.yml +++ b/.github/workflows/safe-output-health.lock.yml @@ -2238,6 +2238,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/schema-consistency-checker.lock.yml b/.github/workflows/schema-consistency-checker.lock.yml index ec99d4db050..15b00af0aa1 100644 --- a/.github/workflows/schema-consistency-checker.lock.yml +++ b/.github/workflows/schema-consistency-checker.lock.yml @@ -2032,6 +2032,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index 9255c7eca1c..3f8e06e20e4 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -3034,6 +3034,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/security-fix-pr.lock.yml b/.github/workflows/security-fix-pr.lock.yml index 01a4488c39a..b4480735f82 100644 --- a/.github/workflows/security-fix-pr.lock.yml +++ b/.github/workflows/security-fix-pr.lock.yml @@ -1496,6 +1496,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index da0ae9b7a83..2a245356c21 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -2192,6 +2192,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index 452ced97e17..1b1a33a9b1a 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -1952,6 +1952,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index 40f27a5be5a..00e18568456 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -1615,6 +1615,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index 151a00f18a7..895bd2037eb 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -1626,6 +1626,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/smoke-detector.lock.yml b/.github/workflows/smoke-detector.lock.yml index e03cddb5e36..554e7c6aca6 100644 --- a/.github/workflows/smoke-detector.lock.yml +++ b/.github/workflows/smoke-detector.lock.yml @@ -2689,6 +2689,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/static-analysis-report.lock.yml b/.github/workflows/static-analysis-report.lock.yml index 4d87c76fb3a..f9f94abfd45 100644 --- a/.github/workflows/static-analysis-report.lock.yml +++ b/.github/workflows/static-analysis-report.lock.yml @@ -2061,6 +2061,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 6b051976cfe..a214ee3144a 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -1517,6 +1517,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index b95314062c9..88fda48ab6f 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -2411,6 +2411,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 192093e0780..46a47dbed76 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -1592,6 +1592,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/typist.lock.yml b/.github/workflows/typist.lock.yml index 09aa1c29d4c..972b70d073c 100644 --- a/.github/workflows/typist.lock.yml +++ b/.github/workflows/typist.lock.yml @@ -2286,6 +2286,50 @@ jobs: Do NOT attempt to edit files outside these directories as you do not have the necessary permissions. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index 0e59c0bb222..fa6fdaf41ca 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -2692,6 +2692,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index d4fe5d0eca9..892712ffaa8 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -1595,6 +1595,50 @@ jobs: When you need to create temporary files or directories during your work, always use the /tmp/gh-aw/agent/ directory that has been pre-created for you. Do NOT use the root /tmp/ directory directly. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index 63fd3fb7dde..987d6ad0acc 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -2341,6 +2341,50 @@ jobs: - `/tmp/gh-aw/cache-memory/state/` - organized state files in subdirectories Feel free to create, read, update, and organize files in this folder as needed for your tasks. + PROMPT_EOF + - name: Append safe outputs instructions to prompt + env: + GH_AW_PROMPT: /tmp/gh-aw/aw-prompts/prompt.txt + run: | + cat << 'PROMPT_EOF' | envsubst >> "$GH_AW_PROMPT" + + GitHub API Access Instructions + + + The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + + To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + + The safeoutputs MCP server provides these tools: + - create_issue - Create GitHub issues + - create_discussion - Create GitHub discussions + - add_comment - Add comments to issues, PRs, or discussions + - create_pull_request - Create pull requests + - create_pull_request_review_comment - Add review comments on PR code + - add_labels - Add labels to issues or PRs + - add_reviewer - Add reviewers to pull requests + - update_issue - Update issue status, title, or body + - close_issue - Close issues with a comment + - close_discussion - Close discussions with a comment + - close_pull_request - Close PRs without merging + - push_to_pull_request_branch - Push changes to PR branches + - assign_milestone - Assign issues to milestones + - assign_to_agent - Assign GitHub Copilot agent to issues + - create_agent_task - Create GitHub Copilot agent tasks + - create_code_scanning_alert - Create code scanning alerts + - upload_asset - Publish files as URL-addressable assets + - update_release - Update release descriptions + - noop - Log completion messages for transparency + - missing_tool - Report missing tools or functionality + + + Use these MCP tools instead of gh CLI commands for all GitHub API operations. + + PROMPT_EOF - name: Append GitHub context to prompt env: diff --git a/pkg/workflow/compiler_yaml.go b/pkg/workflow/compiler_yaml.go index ce04ff3f9d8..3014e7e5a92 100644 --- a/pkg/workflow/compiler_yaml.go +++ b/pkg/workflow/compiler_yaml.go @@ -746,9 +746,9 @@ func (c *Compiler) generatePrompt(yaml *strings.Builder, data *WorkflowData) { // Add cache memory prompt as separate step if enabled c.generateCacheMemoryPromptStep(yaml, data.CacheMemoryConfig) - // NOTE: Safe outputs instructions are now provided via the safe-outputs MCP server - // and do not need to be added to the prompt. The agent will discover available - // tools through the MCP server's tool discovery mechanism. + // Add safe outputs instructions to prompt when safe-outputs are configured + // This tells agents to use the safeoutputs MCP server instead of gh CLI + c.generateSafeOutputsPromptStep(yaml, HasSafeOutputsEnabled(data.SafeOutputs)) // Add GitHub context prompt as separate step if GitHub tool is enabled c.generateGitHubContextPromptStep(yaml, data) diff --git a/pkg/workflow/safe_outputs_prompt.go b/pkg/workflow/safe_outputs_prompt.go new file mode 100644 index 00000000000..26f695f8242 --- /dev/null +++ b/pkg/workflow/safe_outputs_prompt.go @@ -0,0 +1,14 @@ +package workflow + +import ( + "strings" +) + +// generateSafeOutputsPromptStep generates a separate step for safe outputs instructions +// This tells agents to use the safeoutputs MCP server instead of gh CLI +func (c *Compiler) generateSafeOutputsPromptStep(yaml *strings.Builder, hasSafeOutputs bool) { + generateStaticPromptStep(yaml, + "Append safe outputs instructions to prompt", + safeOutputsPromptText, + hasSafeOutputs) +} diff --git a/pkg/workflow/safe_outputs_prompt_test.go b/pkg/workflow/safe_outputs_prompt_test.go new file mode 100644 index 00000000000..086b441e8e3 --- /dev/null +++ b/pkg/workflow/safe_outputs_prompt_test.go @@ -0,0 +1,76 @@ +package workflow + +import ( + "strings" + "testing" +) + +func TestGenerateSafeOutputsPromptStep_IncludesWhenEnabled(t *testing.T) { + compiler := &Compiler{} + var yaml strings.Builder + + compiler.generateSafeOutputsPromptStep(&yaml, true) + + output := yaml.String() + if !strings.Contains(output, "Append safe outputs instructions to prompt") { + t.Error("Expected safe outputs prompt step to be generated when enabled") + } + if !strings.Contains(output, "safeoutputs MCP server") { + t.Error("Expected prompt to mention safeoutputs MCP server") + } + if !strings.Contains(output, "gh (GitHub CLI) command is NOT authenticated") { + t.Error("Expected prompt to warn about gh CLI not being authenticated") + } +} + +func TestGenerateSafeOutputsPromptStep_SkippedWhenDisabled(t *testing.T) { + compiler := &Compiler{} + var yaml strings.Builder + + compiler.generateSafeOutputsPromptStep(&yaml, false) + + output := yaml.String() + if strings.Contains(output, "safe outputs") { + t.Error("Expected safe outputs prompt step to NOT be generated when disabled") + } +} + +func TestGenerateSafeOutputsPromptStep_ListsAvailableTools(t *testing.T) { + compiler := &Compiler{} + var yaml strings.Builder + + compiler.generateSafeOutputsPromptStep(&yaml, true) + + output := yaml.String() + expectedTools := []string{ + "create_issue", + "create_discussion", + "add_comment", + "create_pull_request", + "add_labels", + "update_issue", + "noop", + "missing_tool", + } + + for _, tool := range expectedTools { + if !strings.Contains(output, tool) { + t.Errorf("Expected prompt to mention tool: %s", tool) + } + } +} + +func TestSafeOutputsPromptText_FollowsXMLFormat(t *testing.T) { + if !strings.Contains(safeOutputsPromptText, "") { + t.Error("Expected prompt to start with XML tag") + } + if !strings.Contains(safeOutputsPromptText, "") { + t.Error("Expected prompt to end with XML tag") + } + if !strings.Contains(safeOutputsPromptText, "") { + t.Error("Expected prompt to contain section") + } + if !strings.Contains(safeOutputsPromptText, "") { + t.Error("Expected prompt to contain section") + } +} diff --git a/pkg/workflow/sh.go b/pkg/workflow/sh.go index 053debc7c1d..157b4cd8681 100644 --- a/pkg/workflow/sh.go +++ b/pkg/workflow/sh.go @@ -39,6 +39,9 @@ var playwrightPromptText string //go:embed sh/edit_tool_prompt.md var editToolPromptText string +//go:embed sh/safe_outputs_prompt.md +var safeOutputsPromptText string + // WriteShellScriptToYAML writes a shell script with proper indentation to a strings.Builder func WriteShellScriptToYAML(yaml *strings.Builder, script string, indent string) { scriptLines := strings.Split(script, "\n") diff --git a/pkg/workflow/sh/safe_outputs_prompt.md b/pkg/workflow/sh/safe_outputs_prompt.md new file mode 100644 index 00000000000..08ed35e9f3a --- /dev/null +++ b/pkg/workflow/sh/safe_outputs_prompt.md @@ -0,0 +1,37 @@ + +GitHub API Access Instructions + + +The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use gh commands for GitHub API operations. + + + +To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. + + + +The safeoutputs MCP server provides these tools: +- create_issue - Create GitHub issues +- create_discussion - Create GitHub discussions +- add_comment - Add comments to issues, PRs, or discussions +- create_pull_request - Create pull requests +- create_pull_request_review_comment - Add review comments on PR code +- add_labels - Add labels to issues or PRs +- add_reviewer - Add reviewers to pull requests +- update_issue - Update issue status, title, or body +- close_issue - Close issues with a comment +- close_discussion - Close discussions with a comment +- close_pull_request - Close PRs without merging +- push_to_pull_request_branch - Push changes to PR branches +- assign_milestone - Assign issues to milestones +- assign_to_agent - Assign GitHub Copilot agent to issues +- create_agent_task - Create GitHub Copilot agent tasks +- create_code_scanning_alert - Create code scanning alerts +- upload_asset - Publish files as URL-addressable assets +- update_release - Update release descriptions +- noop - Log completion messages for transparency +- missing_tool - Report missing tools or functionality + + +Use these MCP tools instead of gh CLI commands for all GitHub API operations. + From bc6755428bc15cd60f0db2c3973ce14df51931c8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 25 Nov 2025 13:49:39 +0000 Subject: [PATCH 3/3] Remove available-tools list from safe outputs prompt Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/ai-triage-campaign.lock.yml | 26 ----------------- .github/workflows/archie.lock.yml | 26 ----------------- .github/workflows/artifacts-summary.lock.yml | 26 ----------------- .github/workflows/audit-workflows.lock.yml | 26 ----------------- .github/workflows/blog-auditor.lock.yml | 26 ----------------- .github/workflows/brave.lock.yml | 26 ----------------- .github/workflows/changeset.lock.yml | 26 ----------------- .github/workflows/ci-doctor.lock.yml | 26 ----------------- .../cli-consistency-checker.lock.yml | 26 ----------------- .../workflows/cli-version-checker.lock.yml | 26 ----------------- .github/workflows/cloclo.lock.yml | 26 ----------------- .../workflows/close-old-discussions.lock.yml | 26 ----------------- .../commit-changes-analyzer.lock.yml | 26 ----------------- .../workflows/copilot-agent-analysis.lock.yml | 26 ----------------- .../copilot-pr-nlp-analysis.lock.yml | 26 ----------------- .../copilot-pr-prompt-analysis.lock.yml | 26 ----------------- .../copilot-session-insights.lock.yml | 26 ----------------- .github/workflows/craft.lock.yml | 26 ----------------- .github/workflows/daily-code-metrics.lock.yml | 26 ----------------- .github/workflows/daily-doc-updater.lock.yml | 26 ----------------- .github/workflows/daily-file-diet.lock.yml | 26 ----------------- .../workflows/daily-firewall-report.lock.yml | 26 ----------------- .../daily-malicious-code-scan.lock.yml | 26 ----------------- .../daily-multi-device-docs-tester.lock.yml | 26 ----------------- .github/workflows/daily-news.lock.yml | 26 ----------------- .../workflows/daily-repo-chronicle.lock.yml | 26 ----------------- .github/workflows/daily-team-status.lock.yml | 26 ----------------- .../workflows/dependabot-go-checker.lock.yml | 26 ----------------- .github/workflows/dev-hawk.lock.yml | 26 ----------------- .github/workflows/dev.lock.yml | 26 ----------------- .../developer-docs-consolidator.lock.yml | 26 ----------------- .github/workflows/dictation-prompt.lock.yml | 26 ----------------- .github/workflows/docs-noob-tester.lock.yml | 26 ----------------- .../duplicate-code-detector.lock.yml | 26 ----------------- .../example-workflow-analyzer.lock.yml | 26 ----------------- .../github-mcp-tools-report.lock.yml | 26 ----------------- .../workflows/glossary-maintainer.lock.yml | 26 ----------------- .github/workflows/go-logger.lock.yml | 26 ----------------- .../workflows/go-pattern-detector.lock.yml | 26 ----------------- .github/workflows/grumpy-reviewer.lock.yml | 26 ----------------- .../workflows/instructions-janitor.lock.yml | 26 ----------------- .github/workflows/issue-classifier.lock.yml | 26 ----------------- .github/workflows/issue-monster.lock.yml | 26 ----------------- .github/workflows/issue-triage-agent.lock.yml | 26 ----------------- .github/workflows/lockfile-stats.lock.yml | 26 ----------------- .github/workflows/mcp-inspector.lock.yml | 26 ----------------- .github/workflows/mergefest.lock.yml | 26 ----------------- .../workflows/notion-issue-summary.lock.yml | 26 ----------------- .github/workflows/pdf-summary.lock.yml | 26 ----------------- .github/workflows/plan.lock.yml | 26 ----------------- .github/workflows/poem-bot.lock.yml | 26 ----------------- .../workflows/pr-nitpick-reviewer.lock.yml | 26 ----------------- .../prompt-clustering-analysis.lock.yml | 26 ----------------- .github/workflows/python-data-charts.lock.yml | 26 ----------------- .github/workflows/q.lock.yml | 26 ----------------- .github/workflows/release-highlights.lock.yml | 26 ----------------- .github/workflows/repo-tree-map.lock.yml | 26 ----------------- .../repository-quality-improver.lock.yml | 26 ----------------- .github/workflows/research.lock.yml | 26 ----------------- .github/workflows/safe-output-health.lock.yml | 26 ----------------- .../schema-consistency-checker.lock.yml | 26 ----------------- .github/workflows/scout.lock.yml | 26 ----------------- .github/workflows/security-fix-pr.lock.yml | 26 ----------------- .../semantic-function-refactor.lock.yml | 26 ----------------- .github/workflows/smoke-claude.lock.yml | 26 ----------------- .github/workflows/smoke-codex.lock.yml | 26 ----------------- .github/workflows/smoke-copilot.lock.yml | 26 ----------------- .github/workflows/smoke-detector.lock.yml | 26 ----------------- .../workflows/static-analysis-report.lock.yml | 26 ----------------- .github/workflows/super-linter.lock.yml | 26 ----------------- .../workflows/technical-doc-writer.lock.yml | 26 ----------------- .github/workflows/tidy.lock.yml | 26 ----------------- .github/workflows/typist.lock.yml | 26 ----------------- .github/workflows/unbloat-docs.lock.yml | 26 ----------------- .github/workflows/video-analyzer.lock.yml | 26 ----------------- .../workflows/weekly-issue-summary.lock.yml | 26 ----------------- pkg/workflow/safe_outputs_prompt_test.go | 29 ++----------------- pkg/workflow/sh/safe_outputs_prompt.md | 26 ----------------- 78 files changed, 2 insertions(+), 2029 deletions(-) diff --git a/.github/workflows/ai-triage-campaign.lock.yml b/.github/workflows/ai-triage-campaign.lock.yml index f786b1372fb..ddd8775118c 100644 --- a/.github/workflows/ai-triage-campaign.lock.yml +++ b/.github/workflows/ai-triage-campaign.lock.yml @@ -1561,32 +1561,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/archie.lock.yml b/.github/workflows/archie.lock.yml index 6c28fb7d07a..d50ac7d1742 100644 --- a/.github/workflows/archie.lock.yml +++ b/.github/workflows/archie.lock.yml @@ -2560,32 +2560,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/artifacts-summary.lock.yml b/.github/workflows/artifacts-summary.lock.yml index 6c83edb889b..ef800ef8b8e 100644 --- a/.github/workflows/artifacts-summary.lock.yml +++ b/.github/workflows/artifacts-summary.lock.yml @@ -1366,32 +1366,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/audit-workflows.lock.yml b/.github/workflows/audit-workflows.lock.yml index 36b07f1ed38..c54bd610b01 100644 --- a/.github/workflows/audit-workflows.lock.yml +++ b/.github/workflows/audit-workflows.lock.yml @@ -2764,32 +2764,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/blog-auditor.lock.yml b/.github/workflows/blog-auditor.lock.yml index fa17e03dd27..644e939c54f 100644 --- a/.github/workflows/blog-auditor.lock.yml +++ b/.github/workflows/blog-auditor.lock.yml @@ -1866,32 +1866,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/brave.lock.yml b/.github/workflows/brave.lock.yml index f7f63203ffd..2b332b4cc60 100644 --- a/.github/workflows/brave.lock.yml +++ b/.github/workflows/brave.lock.yml @@ -2371,32 +2371,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/changeset.lock.yml b/.github/workflows/changeset.lock.yml index 4f47dd2d481..503737f16d7 100644 --- a/.github/workflows/changeset.lock.yml +++ b/.github/workflows/changeset.lock.yml @@ -2154,32 +2154,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/ci-doctor.lock.yml b/.github/workflows/ci-doctor.lock.yml index d78c8ddcb64..166adaee57d 100644 --- a/.github/workflows/ci-doctor.lock.yml +++ b/.github/workflows/ci-doctor.lock.yml @@ -1914,32 +1914,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/cli-consistency-checker.lock.yml b/.github/workflows/cli-consistency-checker.lock.yml index f047ba87ad4..63a1e4381da 100644 --- a/.github/workflows/cli-consistency-checker.lock.yml +++ b/.github/workflows/cli-consistency-checker.lock.yml @@ -1442,32 +1442,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/cli-version-checker.lock.yml b/.github/workflows/cli-version-checker.lock.yml index 8898991e1e9..3571b5b5d71 100644 --- a/.github/workflows/cli-version-checker.lock.yml +++ b/.github/workflows/cli-version-checker.lock.yml @@ -1770,32 +1770,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/cloclo.lock.yml b/.github/workflows/cloclo.lock.yml index b48fae25ef1..ae6b5940125 100644 --- a/.github/workflows/cloclo.lock.yml +++ b/.github/workflows/cloclo.lock.yml @@ -2905,32 +2905,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/close-old-discussions.lock.yml b/.github/workflows/close-old-discussions.lock.yml index f5301b18f96..aa60eb63cd8 100644 --- a/.github/workflows/close-old-discussions.lock.yml +++ b/.github/workflows/close-old-discussions.lock.yml @@ -1174,32 +1174,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/commit-changes-analyzer.lock.yml b/.github/workflows/commit-changes-analyzer.lock.yml index b23174403e2..6095ba52999 100644 --- a/.github/workflows/commit-changes-analyzer.lock.yml +++ b/.github/workflows/commit-changes-analyzer.lock.yml @@ -1799,32 +1799,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/copilot-agent-analysis.lock.yml b/.github/workflows/copilot-agent-analysis.lock.yml index 074344b2693..60c78e53c8d 100644 --- a/.github/workflows/copilot-agent-analysis.lock.yml +++ b/.github/workflows/copilot-agent-analysis.lock.yml @@ -2437,32 +2437,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/copilot-pr-nlp-analysis.lock.yml b/.github/workflows/copilot-pr-nlp-analysis.lock.yml index ae7a57900a9..72934cc67c5 100644 --- a/.github/workflows/copilot-pr-nlp-analysis.lock.yml +++ b/.github/workflows/copilot-pr-nlp-analysis.lock.yml @@ -2835,32 +2835,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/copilot-pr-prompt-analysis.lock.yml b/.github/workflows/copilot-pr-prompt-analysis.lock.yml index 77861c27121..ebb009f6be0 100644 --- a/.github/workflows/copilot-pr-prompt-analysis.lock.yml +++ b/.github/workflows/copilot-pr-prompt-analysis.lock.yml @@ -2005,32 +2005,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/copilot-session-insights.lock.yml b/.github/workflows/copilot-session-insights.lock.yml index a91e547cbdd..a39295c6a04 100644 --- a/.github/workflows/copilot-session-insights.lock.yml +++ b/.github/workflows/copilot-session-insights.lock.yml @@ -4228,32 +4228,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/craft.lock.yml b/.github/workflows/craft.lock.yml index e3137677593..51a5dbd273f 100644 --- a/.github/workflows/craft.lock.yml +++ b/.github/workflows/craft.lock.yml @@ -2667,32 +2667,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/daily-code-metrics.lock.yml b/.github/workflows/daily-code-metrics.lock.yml index c63021d1a49..1f95e538d2d 100644 --- a/.github/workflows/daily-code-metrics.lock.yml +++ b/.github/workflows/daily-code-metrics.lock.yml @@ -2937,32 +2937,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/daily-doc-updater.lock.yml b/.github/workflows/daily-doc-updater.lock.yml index b08f4e9d522..7a59d887bf2 100644 --- a/.github/workflows/daily-doc-updater.lock.yml +++ b/.github/workflows/daily-doc-updater.lock.yml @@ -1548,32 +1548,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/daily-file-diet.lock.yml b/.github/workflows/daily-file-diet.lock.yml index 264bb0cf353..8190ea4e552 100644 --- a/.github/workflows/daily-file-diet.lock.yml +++ b/.github/workflows/daily-file-diet.lock.yml @@ -1679,32 +1679,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/daily-firewall-report.lock.yml b/.github/workflows/daily-firewall-report.lock.yml index 2bf7630bfb7..a2874459d88 100644 --- a/.github/workflows/daily-firewall-report.lock.yml +++ b/.github/workflows/daily-firewall-report.lock.yml @@ -2406,32 +2406,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/daily-malicious-code-scan.lock.yml b/.github/workflows/daily-malicious-code-scan.lock.yml index d42ec764534..7e38c56c8de 100644 --- a/.github/workflows/daily-malicious-code-scan.lock.yml +++ b/.github/workflows/daily-malicious-code-scan.lock.yml @@ -1640,32 +1640,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/daily-multi-device-docs-tester.lock.yml b/.github/workflows/daily-multi-device-docs-tester.lock.yml index 1cad9130dc2..6441b0b7038 100644 --- a/.github/workflows/daily-multi-device-docs-tester.lock.yml +++ b/.github/workflows/daily-multi-device-docs-tester.lock.yml @@ -1387,32 +1387,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/daily-news.lock.yml b/.github/workflows/daily-news.lock.yml index 00d9f687e43..9f1835843ff 100644 --- a/.github/workflows/daily-news.lock.yml +++ b/.github/workflows/daily-news.lock.yml @@ -2767,32 +2767,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/daily-repo-chronicle.lock.yml b/.github/workflows/daily-repo-chronicle.lock.yml index 84b15f4239f..6791da9578c 100644 --- a/.github/workflows/daily-repo-chronicle.lock.yml +++ b/.github/workflows/daily-repo-chronicle.lock.yml @@ -2495,32 +2495,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/daily-team-status.lock.yml b/.github/workflows/daily-team-status.lock.yml index 28d3be446ef..8f02a87481f 100644 --- a/.github/workflows/daily-team-status.lock.yml +++ b/.github/workflows/daily-team-status.lock.yml @@ -1280,32 +1280,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/dependabot-go-checker.lock.yml b/.github/workflows/dependabot-go-checker.lock.yml index 7c3cefc73c9..2d33619b546 100644 --- a/.github/workflows/dependabot-go-checker.lock.yml +++ b/.github/workflows/dependabot-go-checker.lock.yml @@ -1923,32 +1923,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/dev-hawk.lock.yml b/.github/workflows/dev-hawk.lock.yml index 514cc7f4f62..2775f8e8dfe 100644 --- a/.github/workflows/dev-hawk.lock.yml +++ b/.github/workflows/dev-hawk.lock.yml @@ -1763,32 +1763,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/dev.lock.yml b/.github/workflows/dev.lock.yml index 2a74d534048..69ea9dad05d 100644 --- a/.github/workflows/dev.lock.yml +++ b/.github/workflows/dev.lock.yml @@ -1137,32 +1137,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/developer-docs-consolidator.lock.yml b/.github/workflows/developer-docs-consolidator.lock.yml index d407ecf4813..62ad497064a 100644 --- a/.github/workflows/developer-docs-consolidator.lock.yml +++ b/.github/workflows/developer-docs-consolidator.lock.yml @@ -2569,32 +2569,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/dictation-prompt.lock.yml b/.github/workflows/dictation-prompt.lock.yml index f08174a89e0..a85117052ea 100644 --- a/.github/workflows/dictation-prompt.lock.yml +++ b/.github/workflows/dictation-prompt.lock.yml @@ -1380,32 +1380,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/docs-noob-tester.lock.yml b/.github/workflows/docs-noob-tester.lock.yml index 59d526b0c40..977d8d3d016 100644 --- a/.github/workflows/docs-noob-tester.lock.yml +++ b/.github/workflows/docs-noob-tester.lock.yml @@ -1438,32 +1438,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/duplicate-code-detector.lock.yml b/.github/workflows/duplicate-code-detector.lock.yml index e6d6decc172..98f253515e6 100644 --- a/.github/workflows/duplicate-code-detector.lock.yml +++ b/.github/workflows/duplicate-code-detector.lock.yml @@ -1526,32 +1526,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/example-workflow-analyzer.lock.yml b/.github/workflows/example-workflow-analyzer.lock.yml index 1a12130d892..0855b62a951 100644 --- a/.github/workflows/example-workflow-analyzer.lock.yml +++ b/.github/workflows/example-workflow-analyzer.lock.yml @@ -1394,32 +1394,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/github-mcp-tools-report.lock.yml b/.github/workflows/github-mcp-tools-report.lock.yml index f6550e98276..2bbc8b96ebd 100644 --- a/.github/workflows/github-mcp-tools-report.lock.yml +++ b/.github/workflows/github-mcp-tools-report.lock.yml @@ -2301,32 +2301,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/glossary-maintainer.lock.yml b/.github/workflows/glossary-maintainer.lock.yml index 9a84242dfb9..b62b19fd8ad 100644 --- a/.github/workflows/glossary-maintainer.lock.yml +++ b/.github/workflows/glossary-maintainer.lock.yml @@ -2381,32 +2381,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/go-logger.lock.yml b/.github/workflows/go-logger.lock.yml index 6b6116af326..0a614fefd52 100644 --- a/.github/workflows/go-logger.lock.yml +++ b/.github/workflows/go-logger.lock.yml @@ -1763,32 +1763,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/go-pattern-detector.lock.yml b/.github/workflows/go-pattern-detector.lock.yml index 460fefc0bfb..acc5e99cda4 100644 --- a/.github/workflows/go-pattern-detector.lock.yml +++ b/.github/workflows/go-pattern-detector.lock.yml @@ -1459,32 +1459,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/grumpy-reviewer.lock.yml b/.github/workflows/grumpy-reviewer.lock.yml index c2f35850508..b1f6cfddef1 100644 --- a/.github/workflows/grumpy-reviewer.lock.yml +++ b/.github/workflows/grumpy-reviewer.lock.yml @@ -2448,32 +2448,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/instructions-janitor.lock.yml b/.github/workflows/instructions-janitor.lock.yml index 0fdca23a499..5c157b02d64 100644 --- a/.github/workflows/instructions-janitor.lock.yml +++ b/.github/workflows/instructions-janitor.lock.yml @@ -1546,32 +1546,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/issue-classifier.lock.yml b/.github/workflows/issue-classifier.lock.yml index 17d060c4039..3c07d9667f5 100644 --- a/.github/workflows/issue-classifier.lock.yml +++ b/.github/workflows/issue-classifier.lock.yml @@ -2167,32 +2167,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/issue-monster.lock.yml b/.github/workflows/issue-monster.lock.yml index af3cbb8adb0..37989289280 100644 --- a/.github/workflows/issue-monster.lock.yml +++ b/.github/workflows/issue-monster.lock.yml @@ -1854,32 +1854,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/issue-triage-agent.lock.yml b/.github/workflows/issue-triage-agent.lock.yml index b45e5316fb7..5fc3e973859 100644 --- a/.github/workflows/issue-triage-agent.lock.yml +++ b/.github/workflows/issue-triage-agent.lock.yml @@ -1459,32 +1459,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/lockfile-stats.lock.yml b/.github/workflows/lockfile-stats.lock.yml index 5b5d73eb47b..1db931feaf1 100644 --- a/.github/workflows/lockfile-stats.lock.yml +++ b/.github/workflows/lockfile-stats.lock.yml @@ -2034,32 +2034,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index 14ba86d9f4f..dad5d739bca 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -1949,32 +1949,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/mergefest.lock.yml b/.github/workflows/mergefest.lock.yml index 5cae65aec92..15c6c333859 100644 --- a/.github/workflows/mergefest.lock.yml +++ b/.github/workflows/mergefest.lock.yml @@ -2014,32 +2014,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/notion-issue-summary.lock.yml b/.github/workflows/notion-issue-summary.lock.yml index 37ce13faa29..929e38fd972 100644 --- a/.github/workflows/notion-issue-summary.lock.yml +++ b/.github/workflows/notion-issue-summary.lock.yml @@ -1109,32 +1109,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/pdf-summary.lock.yml b/.github/workflows/pdf-summary.lock.yml index 705f7672856..5f41a2b982a 100644 --- a/.github/workflows/pdf-summary.lock.yml +++ b/.github/workflows/pdf-summary.lock.yml @@ -2515,32 +2515,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/plan.lock.yml b/.github/workflows/plan.lock.yml index 545735474f4..c14bff9e050 100644 --- a/.github/workflows/plan.lock.yml +++ b/.github/workflows/plan.lock.yml @@ -1933,32 +1933,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/poem-bot.lock.yml b/.github/workflows/poem-bot.lock.yml index 0fdd3bd39f9..91b844a72e6 100644 --- a/.github/workflows/poem-bot.lock.yml +++ b/.github/workflows/poem-bot.lock.yml @@ -2781,32 +2781,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/pr-nitpick-reviewer.lock.yml b/.github/workflows/pr-nitpick-reviewer.lock.yml index 3be1b0cd512..f51bf9cf4d3 100644 --- a/.github/workflows/pr-nitpick-reviewer.lock.yml +++ b/.github/workflows/pr-nitpick-reviewer.lock.yml @@ -2811,32 +2811,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/prompt-clustering-analysis.lock.yml b/.github/workflows/prompt-clustering-analysis.lock.yml index baa8af257ce..2dadb853730 100644 --- a/.github/workflows/prompt-clustering-analysis.lock.yml +++ b/.github/workflows/prompt-clustering-analysis.lock.yml @@ -3168,32 +3168,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/python-data-charts.lock.yml b/.github/workflows/python-data-charts.lock.yml index 422d5bd1b43..090fcd597bd 100644 --- a/.github/workflows/python-data-charts.lock.yml +++ b/.github/workflows/python-data-charts.lock.yml @@ -3138,32 +3138,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/q.lock.yml b/.github/workflows/q.lock.yml index b4fa815d960..4a1024d737c 100644 --- a/.github/workflows/q.lock.yml +++ b/.github/workflows/q.lock.yml @@ -3030,32 +3030,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/release-highlights.lock.yml b/.github/workflows/release-highlights.lock.yml index fa783c816e5..70b8359927f 100644 --- a/.github/workflows/release-highlights.lock.yml +++ b/.github/workflows/release-highlights.lock.yml @@ -1356,32 +1356,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/repo-tree-map.lock.yml b/.github/workflows/repo-tree-map.lock.yml index 772171ebbd9..63438328b1a 100644 --- a/.github/workflows/repo-tree-map.lock.yml +++ b/.github/workflows/repo-tree-map.lock.yml @@ -1469,32 +1469,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/repository-quality-improver.lock.yml b/.github/workflows/repository-quality-improver.lock.yml index 425888e1eab..13601df3c77 100644 --- a/.github/workflows/repository-quality-improver.lock.yml +++ b/.github/workflows/repository-quality-improver.lock.yml @@ -2370,32 +2370,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/research.lock.yml b/.github/workflows/research.lock.yml index d9863963703..89f0f6a643c 100644 --- a/.github/workflows/research.lock.yml +++ b/.github/workflows/research.lock.yml @@ -1305,32 +1305,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/safe-output-health.lock.yml b/.github/workflows/safe-output-health.lock.yml index b4de914b3e3..fbfebf4dfee 100644 --- a/.github/workflows/safe-output-health.lock.yml +++ b/.github/workflows/safe-output-health.lock.yml @@ -2254,32 +2254,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/schema-consistency-checker.lock.yml b/.github/workflows/schema-consistency-checker.lock.yml index 15b00af0aa1..e5507b3a87c 100644 --- a/.github/workflows/schema-consistency-checker.lock.yml +++ b/.github/workflows/schema-consistency-checker.lock.yml @@ -2048,32 +2048,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/scout.lock.yml b/.github/workflows/scout.lock.yml index 3f8e06e20e4..dd34abc8d32 100644 --- a/.github/workflows/scout.lock.yml +++ b/.github/workflows/scout.lock.yml @@ -3050,32 +3050,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/security-fix-pr.lock.yml b/.github/workflows/security-fix-pr.lock.yml index b4480735f82..2f1e5136ea9 100644 --- a/.github/workflows/security-fix-pr.lock.yml +++ b/.github/workflows/security-fix-pr.lock.yml @@ -1512,32 +1512,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/semantic-function-refactor.lock.yml b/.github/workflows/semantic-function-refactor.lock.yml index 2a245356c21..82b7b1df915 100644 --- a/.github/workflows/semantic-function-refactor.lock.yml +++ b/.github/workflows/semantic-function-refactor.lock.yml @@ -2208,32 +2208,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/smoke-claude.lock.yml b/.github/workflows/smoke-claude.lock.yml index 1b1a33a9b1a..6aff6bd0d77 100644 --- a/.github/workflows/smoke-claude.lock.yml +++ b/.github/workflows/smoke-claude.lock.yml @@ -1968,32 +1968,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/smoke-codex.lock.yml b/.github/workflows/smoke-codex.lock.yml index 00e18568456..47c17d1c89a 100644 --- a/.github/workflows/smoke-codex.lock.yml +++ b/.github/workflows/smoke-codex.lock.yml @@ -1631,32 +1631,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/smoke-copilot.lock.yml b/.github/workflows/smoke-copilot.lock.yml index 895bd2037eb..e33dc902888 100644 --- a/.github/workflows/smoke-copilot.lock.yml +++ b/.github/workflows/smoke-copilot.lock.yml @@ -1642,32 +1642,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/smoke-detector.lock.yml b/.github/workflows/smoke-detector.lock.yml index 554e7c6aca6..d30959fb34e 100644 --- a/.github/workflows/smoke-detector.lock.yml +++ b/.github/workflows/smoke-detector.lock.yml @@ -2705,32 +2705,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/static-analysis-report.lock.yml b/.github/workflows/static-analysis-report.lock.yml index f9f94abfd45..1183734f74a 100644 --- a/.github/workflows/static-analysis-report.lock.yml +++ b/.github/workflows/static-analysis-report.lock.yml @@ -2077,32 +2077,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index a214ee3144a..60fe291b812 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -1533,32 +1533,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/technical-doc-writer.lock.yml b/.github/workflows/technical-doc-writer.lock.yml index 88fda48ab6f..097bfc9591a 100644 --- a/.github/workflows/technical-doc-writer.lock.yml +++ b/.github/workflows/technical-doc-writer.lock.yml @@ -2427,32 +2427,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/tidy.lock.yml b/.github/workflows/tidy.lock.yml index 46a47dbed76..f31b0859fbf 100644 --- a/.github/workflows/tidy.lock.yml +++ b/.github/workflows/tidy.lock.yml @@ -1608,32 +1608,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/typist.lock.yml b/.github/workflows/typist.lock.yml index 972b70d073c..0fced1dcd15 100644 --- a/.github/workflows/typist.lock.yml +++ b/.github/workflows/typist.lock.yml @@ -2302,32 +2302,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/unbloat-docs.lock.yml b/.github/workflows/unbloat-docs.lock.yml index fa6fdaf41ca..9c5af8d4a29 100644 --- a/.github/workflows/unbloat-docs.lock.yml +++ b/.github/workflows/unbloat-docs.lock.yml @@ -2708,32 +2708,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/video-analyzer.lock.yml b/.github/workflows/video-analyzer.lock.yml index 892712ffaa8..ebcdaab1ea7 100644 --- a/.github/workflows/video-analyzer.lock.yml +++ b/.github/workflows/video-analyzer.lock.yml @@ -1611,32 +1611,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/.github/workflows/weekly-issue-summary.lock.yml b/.github/workflows/weekly-issue-summary.lock.yml index 987d6ad0acc..800ba7fd8ab 100644 --- a/.github/workflows/weekly-issue-summary.lock.yml +++ b/.github/workflows/weekly-issue-summary.lock.yml @@ -2357,32 +2357,6 @@ jobs: To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - - The safeoutputs MCP server provides these tools: - - create_issue - Create GitHub issues - - create_discussion - Create GitHub discussions - - add_comment - Add comments to issues, PRs, or discussions - - create_pull_request - Create pull requests - - create_pull_request_review_comment - Add review comments on PR code - - add_labels - Add labels to issues or PRs - - add_reviewer - Add reviewers to pull requests - - update_issue - Update issue status, title, or body - - close_issue - Close issues with a comment - - close_discussion - Close discussions with a comment - - close_pull_request - Close PRs without merging - - push_to_pull_request_branch - Push changes to PR branches - - assign_milestone - Assign issues to milestones - - assign_to_agent - Assign GitHub Copilot agent to issues - - create_agent_task - Create GitHub Copilot agent tasks - - create_code_scanning_alert - Create code scanning alerts - - upload_asset - Publish files as URL-addressable assets - - update_release - Update release descriptions - - noop - Log completion messages for transparency - - missing_tool - Report missing tools or functionality - - - Use these MCP tools instead of gh CLI commands for all GitHub API operations. PROMPT_EOF diff --git a/pkg/workflow/safe_outputs_prompt_test.go b/pkg/workflow/safe_outputs_prompt_test.go index 086b441e8e3..b84ce71bbb2 100644 --- a/pkg/workflow/safe_outputs_prompt_test.go +++ b/pkg/workflow/safe_outputs_prompt_test.go @@ -35,31 +35,6 @@ func TestGenerateSafeOutputsPromptStep_SkippedWhenDisabled(t *testing.T) { } } -func TestGenerateSafeOutputsPromptStep_ListsAvailableTools(t *testing.T) { - compiler := &Compiler{} - var yaml strings.Builder - - compiler.generateSafeOutputsPromptStep(&yaml, true) - - output := yaml.String() - expectedTools := []string{ - "create_issue", - "create_discussion", - "add_comment", - "create_pull_request", - "add_labels", - "update_issue", - "noop", - "missing_tool", - } - - for _, tool := range expectedTools { - if !strings.Contains(output, tool) { - t.Errorf("Expected prompt to mention tool: %s", tool) - } - } -} - func TestSafeOutputsPromptText_FollowsXMLFormat(t *testing.T) { if !strings.Contains(safeOutputsPromptText, "") { t.Error("Expected prompt to start with XML tag") @@ -70,7 +45,7 @@ func TestSafeOutputsPromptText_FollowsXMLFormat(t *testing.T) { if !strings.Contains(safeOutputsPromptText, "") { t.Error("Expected prompt to contain section") } - if !strings.Contains(safeOutputsPromptText, "") { - t.Error("Expected prompt to contain section") + if !strings.Contains(safeOutputsPromptText, "") { + t.Error("Expected prompt to contain section") } } diff --git a/pkg/workflow/sh/safe_outputs_prompt.md b/pkg/workflow/sh/safe_outputs_prompt.md index 08ed35e9f3a..16770eeebce 100644 --- a/pkg/workflow/sh/safe_outputs_prompt.md +++ b/pkg/workflow/sh/safe_outputs_prompt.md @@ -8,30 +8,4 @@ The gh (GitHub CLI) command is NOT authenticated in this environment. Do NOT use To interact with GitHub (create issues, discussions, comments, pull requests, etc.), use the safe output tools provided by the safeoutputs MCP server instead of the gh CLI. - - -The safeoutputs MCP server provides these tools: -- create_issue - Create GitHub issues -- create_discussion - Create GitHub discussions -- add_comment - Add comments to issues, PRs, or discussions -- create_pull_request - Create pull requests -- create_pull_request_review_comment - Add review comments on PR code -- add_labels - Add labels to issues or PRs -- add_reviewer - Add reviewers to pull requests -- update_issue - Update issue status, title, or body -- close_issue - Close issues with a comment -- close_discussion - Close discussions with a comment -- close_pull_request - Close PRs without merging -- push_to_pull_request_branch - Push changes to PR branches -- assign_milestone - Assign issues to milestones -- assign_to_agent - Assign GitHub Copilot agent to issues -- create_agent_task - Create GitHub Copilot agent tasks -- create_code_scanning_alert - Create code scanning alerts -- upload_asset - Publish files as URL-addressable assets -- update_release - Update release descriptions -- noop - Log completion messages for transparency -- missing_tool - Report missing tools or functionality - - -Use these MCP tools instead of gh CLI commands for all GitHub API operations.