Sync temporary project ID support to embedded safe_outputs_tools.json#14995
Merged
mnkiefer merged 2 commits intoprompt-instructionsfrom Feb 11, 2026
Merged
Sync temporary project ID support to embedded safe_outputs_tools.json#14995mnkiefer merged 2 commits intoprompt-instructionsfrom
mnkiefer merged 2 commits intoprompt-instructionsfrom
Conversation
- Update update_project.project field pattern to accept temporary IDs (#?aw_[0-9a-f]{12})
- Add temporary_id field to create_project schema
- Aligns embedded schema with runtime implementation in actions/setup/js/
- Fixes schema validation mismatch preventing agents from using temporary project IDs
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Address feedback on improving project prompt instructions
Sync temporary project ID support to embedded safe_outputs_tools.json
Feb 11, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Synchronizes the embedded safe-outputs tool schema (pkg/workflow/js/safe_outputs_tools.json) with the runtime schema/behavior so agents can reference newly-created Projects via temporary IDs (e.g., #aw_...) without failing schema validation.
Changes:
- Expanded
update_project.projectvalidation to accept temporary project IDs (#?aw_[0-9a-f]{12}) in addition to full project URLs. - Added
create_project.temporary_idto the embedded schema with the expectedaw_[0-9a-f]{12}format.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
The embedded schema (
pkg/workflow/js/safe_outputs_tools.json) was missing temporary project ID support that exists in the runtime implementation, causing agents to emit valid#aw_...references that fail schema validation.Changes
update_project.projectfield: Updated pattern to accept temporary IDs (#?aw_[0-9a-f]{12}) in addition to full GitHub project URLscreate_projectschema: Added missingtemporary_idfield with pattern^aw_[0-9a-f]{12}$Example
Agents can now reference newly-created projects without schema errors:
The embedded schema now matches
actions/setup/js/safe_outputs_tools.jsonand the resolution logic inupdate_project.cjs.💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.