Fix release workflow: Clarify MCP tool call vs bash file operations#11991
Merged
Fix release workflow: Clarify MCP tool call vs bash file operations#11991
Conversation
- Add explicit instructions that update_release is an MCP tool - Warn against using bash to write JSON files manually - Emphasize tool must be called through MCP protocol - Provide example showing correct tool call syntax Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Investigate why safe outputs tool update-release was not called
Fix release workflow: Clarify MCP tool call vs bash file operations
Jan 27, 2026
Mossaka
pushed a commit
that referenced
this pull request
Jan 27, 2026
Mossaka
added a commit
that referenced
this pull request
Jan 27, 2026
#11969) * Initial plan * Investigate firewall 0 requests issue Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> * Fix AWF command quoting to ensure agent runs inside firewall container The compound command after -- was not properly quoted, causing the && operator to be interpreted by the outer shell. This resulted in: 1. AWF container running only the PATH export (which exits immediately) 2. Copilot agent running on the host AFTER the firewall container stopped 3. Firewall reporting 0 requests Now the entire command is wrapped in single quotes so it's passed to AWF as a single argument, ensuring Copilot runs inside the firewall container. Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> * Add changeset [skip-ci] * 🔧 Improve interactive workflow add experience (#11966) * interactive add * interactive add * fix lint * review * fix quick start * fix quick start * fix line break * Add upgrade, import, and debug sections to agentic authoring docs (#11987) * various minor tweaks to ux (#11988) * Fix release workflow: Clarify MCP tool call vs bash file operations (#11991) * chore: rm schedule triggers from security alert burndown campaign workers (#11993) * Merge main and regenerate workflows Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * Add changeset [skip-ci] --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com> Co-authored-by: Jiaxiao Zhou <duibao55328@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Don Syme <dsyme@users.noreply.github.com> Co-authored-by: Don Syme <dsyme@github.com> Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
In run #21382926511, the agent used bash to write
/tmp/gh-aw/safeoutputs/update_release_001.jsoninstead of calling theupdate_releaseMCP tool. Result: artifact not captured, release notes not updated.Root cause: With both
bash: ["*"]and MCP tools available, the agent simulated the tool call via file operations rather than invoking the MCP protocol.Changes
.github/workflows/release.md(lines 471-500)This prevents multi-tool confusion when workflows provide both bash and MCP capabilities.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.