Skip to content

Make agentic-workflows agent more flexible on bash tools (sandboxed by default)#13807

Merged
pelikhan merged 3 commits intomainfrom
copilot/update-agentic-workflows-bash-tools
Feb 4, 2026
Merged

Make agentic-workflows agent more flexible on bash tools (sandboxed by default)#13807
pelikhan merged 3 commits intomainfrom
copilot/update-agentic-workflows-bash-tools

Conversation

Copy link
Contributor

Copilot AI commented Feb 4, 2026

The agent was overly cautious about bash tools despite workflows being sandboxed by the Agent Workflow Firewall (AWF). Updated guidance to reflect that bash/edit are enabled by default with * (all commands) and shouldn't be restricted unnecessarily.

Changes

.github/aw/create-agentic-workflow.md

  • Reframed "Default Tools" section to emphasize AWF sandboxing as the security boundary
  • Added explicit "DO NOT restrict bash tools unnecessarily" guidance
  • Added bash/edit to "Defaults to Omit" section in step-by-step guide
  • First bullet in Tools section now states bash/edit are default-enabled

.github/agents/agentic-workflows.agent.md

  • Added "Sandboxed Execution" to Key Features
  • Added bash-enabled-by-default note to Important Notes

Before/After

Before: "Only specify bash: with specific patterns if you need to restrict commands beyond the secure defaults"

After: "DO NOT restrict bash tools unnecessarily - The sandbox already provides security, so restricting bash commands adds friction without meaningful security benefit"

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • telemetry.astro.build
    • Triggering command: /opt/hostedtoolcache/node/24.13.0/x64/bin/node node /home/REDACTED/work/gh-aw/gh-aw/docs/node_modules/.bin/astro build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

The agentic-workflows.agent.md agent should be a bit more flexible on the bash tools. it should instruct the agent to create agentic workflow by default to enable all the bash tools since the agnet is sandboxed inside of awf anyways.

Custom agent used: technical-doc-writer
AI technical documentation writer for GitHub Actions library using GitHub Docs voice


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…y default)

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI changed the title [WIP] Update agentic workflows to enable all bash tools by default Make agentic-workflows agent more flexible on bash tools (sandboxed by default) Feb 4, 2026
Copilot AI requested a review from Mossaka February 4, 2026 23:03
@pelikhan pelikhan marked this pull request as ready for review February 4, 2026 23:38
Copilot AI review requested due to automatic review settings February 4, 2026 23:38
@pelikhan pelikhan merged commit 5a4d651 into main Feb 4, 2026
4 checks passed
@pelikhan pelikhan deleted the copilot/update-agentic-workflows-bash-tools branch February 4, 2026 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants