Add temporary project ID support for safe outputs#11174
Merged
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix issues with campaign generation updates
Add temporary project ID support for safe outputs
Jan 22, 2026
Contributor
|
@copilot This should not affect other update-project safe output calls outside of the campaign context. |
Copilot stopped work on behalf of
mnkiefer due to an error
January 22, 2026 05:03
This was referenced Jan 22, 2026
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.
Safe outputs execute async in a separate job, so agents calling
create_projectnever receive the project URL needed for subsequentupdate_projectcalls. This broke campaign generation workflows where field creation requires the project URL.Changes
MCP server handler (
safe_outputs_handlers.cjs)createProjectHandlerauto-generates temporary ID if not provided{result: "success", temporary_id: "aw_...", project: "#aw_..."}to agentTool schemas (
safe_outputs_tools.json)temporary_idfield tocreate_projectupdate_project.projectpattern to accept temporary IDs:^(https://github\.com/...|\#?aw_[0-9a-f]{12})$Project handler manager (
safe_output_project_handler_manager.cjs)create_project:map.set(temp_id, projectUrl)update_project handler (
update_project.cjs)#aw_abc123def456andaw_abc123def456formatsUsage
Pattern matches existing issue temporary ID system (
temporary_id.cjs).Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.