-
Notifications
You must be signed in to change notification settings - Fork 34
Add automatic issue creation for missing-tool safe outputs #9117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: pelikhan <[email protected]>
|
@copilot update the create-agentic-workflow.agent.md prompt to recommend enabling this field when creating a new workflow (not on update) |
Co-authored-by: pelikhan <[email protected]>
|
@copilot the created issue should expire after one week |
Co-authored-by: pelikhan <[email protected]>
Co-authored-by: pelikhan <[email protected]>
… workflow creation Co-authored-by: pelikhan <[email protected]>
Done in 55c4724. Created issues now include an expiration marker
Done in 55c4724. Updated the |
| } | ||
| } | ||
|
|
||
| async function main() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot integrate this in the safe_outputs step using a handler instead of a standalone step
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in ad58ec7. Refactored to use the safe outputs handler pattern:
- Created new handler
create_missing_tool_issue.cjsthat processes messages from the agent output - Registered the handler in
safe_output_handler_manager.cjsand removedmissing_toolfromSTANDALONE_STEP_TYPES - Updated
missing_tool.cjsto append acreate_missing_tool_issuemessage to the agent output whencreate-issueis enabled - Updated
safe_outputs_config_generation.goto include the handler configuration with title_prefix and labels
The issue creation now flows through the safe outputs handler step instead of being executed inline in the missing_tool step.
Co-authored-by: pelikhan <[email protected]>
When agents report missing tools, automatically create or update GitHub issues to track remediation work.
Changes
Configuration
create-issue(default: true),title-prefix(default: "[missing tool]"), andlabelsfields tomissing-toolsafe output configcreate-issue: falseto avoid unexpected issue creationIssue Management
debug-agentic-workflowagentissues:writepermission when enabledclose-expired-issuesworkflow to automatically close themArchitecture
create_missing_tool_issuehandler that processes messages from the agent outputmissing_tool.cjsstep collects and reports missing tools, then outputs acreate_missing_tool_issuemessage for the safe outputs handlercreate_missing_tool_issuehandler in the safe output handler managermissing_toolfrom standalone step types to integrate with the handler patternWorkflow Creation Guidance
create-agentic-workflow.agent.mdto recommend enablingmissing-tool: create-issue: truefor new workflowsExample Configuration
To disable:
Test Fixes
NewCompiler()verbose parametertarget-repofield toTestAddLabelsTargetRepoStagedBehaviorOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.