Skip to content

Sync missing safe output tool definitions to runtime configuration#10109

Merged
mnkiefer merged 4 commits intomainfrom
copilot/create-github-project-board
Jan 15, 2026
Merged

Sync missing safe output tool definitions to runtime configuration#10109
mnkiefer merged 4 commits intomainfrom
copilot/create-github-project-board

Conversation

Copy link
Contributor

Copilot AI commented Jan 15, 2026

The campaign generator workflow skipped update_project and assign_to_agent steps because 5 safe output tools were missing from the runtime MCP configuration file, while present in the compilation-time configuration.

Changes

Synced tool definitions from pkg/workflow/js/safe_outputs_tools.json to actions/setup/js/safe_outputs_tools.json:

  • create_project - Create GitHub Projects v2 boards
  • create_project_status_update - Post status updates to project boards
  • copy_project - Duplicate project templates
  • autofix_code_scanning_alert - Generate security fixes
  • mark_pull_request_as_ready_for_review - Transition draft PRs

Impact

The campaign generator workflow now has access to all configured safe output tools at runtime, enabling the full workflow sequence:

  1. Create project board with custom views (Roadmap, Task Tracker, Progress Board)
  2. Configure project fields (Worker/Workflow, Priority, Status, dates, Effort)
  3. Update campaign issue with generated details
  4. Assign to Copilot agent for compilation

Both tool definition files now contain 32 tools (previously 27 in runtime, 32 in compilation).

Original prompt

Analyze run https://github.com/githubnext/gh-aw/actions/runs/21037675838
I should have the following safse output steps:

  1. create_project: Create GitHub Project board (with the 3 views)
  2. update_project:
  • Create recommended project views (Roadmap, Task Tracker, Progress Board)
  • Create custom project fields (Worker/Workflow, Priority, Status, dates, Effort)
  1. update_issue: Update the issue with campaign details
  2. assign_to_agent: Assign to Copilot Coding Agent for compilation

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 15, 2026 17:27
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
- Add create_project tool definition
- Add create_project_status_update tool definition
- Add copy_project tool definition
- Add autofix_code_scanning_alert tool definition
- Add mark_pull_request_as_ready_for_review tool definition

The actions/setup/js/safe_outputs_tools.json file was out of sync with pkg/workflow/js/safe_outputs_tools.json, causing MCP tools to be unavailable at runtime.

Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
@mnkiefer mnkiefer marked this pull request as ready for review January 15, 2026 17:34
Copilot AI changed the title [WIP] Add GitHub project board creation and updates Sync missing safe output tool definitions to runtime configuration Jan 15, 2026
Copilot AI requested a review from mnkiefer January 15, 2026 17:45
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.

2 participants