Skip to content

Update daily caveman optimizer to allow bash: ["*"]#29126

Merged
pelikhan merged 1 commit intomainfrom
copilot/update-daily-caveman-optimizer
Apr 29, 2026
Merged

Update daily caveman optimizer to allow bash: ["*"]#29126
pelikhan merged 1 commit intomainfrom
copilot/update-daily-caveman-optimizer

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 29, 2026

Summary

Updates the bash tool configuration in daily-caveman-optimizer.md from a restricted list of specific commands to ["*"], allowing all bash commands.

Changes

  • Replaced the 4 specific bash allow-list entries with ["*"] in .github/workflows/daily-caveman-optimizer.md
  • Recompiled .github/workflows/daily-caveman-optimizer.lock.yml

Security Note

Per AGENTS.md, switching to bash: ["*"] changes the permission mode from acceptEdits to bypassPermissions. In this mode, the MCP gateway's allowed: filter in /tmp/gh-aw/mcp-config/mcp-servers.json becomes the sole effective tool boundary. This is the expected and intended behavior.

@pelikhan pelikhan marked this pull request as ready for review April 29, 2026 13:55
Copilot AI review requested due to automatic review settings April 29, 2026 13:55
@pelikhan pelikhan merged commit cee58ce into main Apr 29, 2026
@pelikhan pelikhan deleted the copilot/update-daily-caveman-optimizer branch April 29, 2026 13:56
Copilot stopped work on behalf of pelikhan due to an error April 29, 2026 13:56
Copilot AI requested a review from pelikhan April 29, 2026 13:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Daily Caveman Optimizer agentic workflow configuration to allow all bash commands, and refreshes the compiled lockfile to reflect the new tool permissions.

Changes:

  • Expanded tools.bash allow-list in .github/workflows/daily-caveman-optimizer.md to * (all commands).
  • Recompiled .github/workflows/daily-caveman-optimizer.lock.yml, updating the generated allowed-tools list and switching the Claude CLI permission mode to bypassPermissions.
Show a summary per file
File Description
.github/workflows/daily-caveman-optimizer.md Changes tools.bash from a restricted allow-list to ["*"] (YAML list form), enabling unrestricted bash for this workflow.
.github/workflows/daily-caveman-optimizer.lock.yml Regenerated compiled workflow output reflecting unrestricted Bash tooling and --permission-mode bypassPermissions.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 0

@github-actions github-actions Bot mentioned this pull request Apr 29, 2026
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