feat: add workflow schema and upgrade agent#271
Merged
Conversation
This commit adds comprehensive workflow tooling improvements: ## New Files - Add JSON schema for agentic workflow validation (.github/aw/schemas/agentic-workflow.json) - Add upgrade agent for automated workflow migrations (.github/agents/upgrade-agentic-workflows.md) ## Workflow Instructions Updates (.github/aw/github-agentic-workflows.md) - Replace deprecated `command:` with `slash_command:` for /mention triggers - Add `labels:` and `metadata:` fields for workflow organization - Add `bots:` field to allow specific bot identifiers regardless of role - Add comprehensive `sandbox:` configuration (awf, srt, mcp-gateway) - Add `expires:` field for auto-closing issues with maintenance workflow - Add `close-older-discussions:` for discussion lifecycle management - Add `hide-older-comments:` for minimizing previous workflow comments - Add `update-discussion:` safe-output for discussion updates - Add `upload-asset:` safe-output for publishing files to orphaned branches - Rename `create-agent-task:` to `create-agent-session:` (deprecation) - Add project draft issue support in `update_project:` ## Agent Improvements (.github/agents/create-agentic-workflow.agent.md) - Update terminology from "whitelist" to "allowlist" - Add guidance for `missing-tool: create-issue:` feature - Add critical compilation reminders and error handling guidance - Add strict mode security guidance with explicit confirmation requirements Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
Test Coverage Report
Coverage ThresholdsThe project has the following coverage thresholds configured:
Coverage report generated by `npm run test:coverage` |
Contributor
|
📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing... |
Contributor
|
💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges... |
Contributor
Smoke Test Results (Run #21091838539)Last 2 Merged PRs:
Test Results:
Status: PASS 🎉
|
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.
Summary
Add comprehensive workflow tooling improvements including JSON schema validation, automated upgrade agent, and extensive feature updates to workflow instructions and agents.
New Files
.github/aw/schemas/agentic-workflow.json) - 6,000+ line formal schema definition for validating agentic workflow frontmatter configuration.github/agents/upgrade-agentic-workflows.md) - Automated agent for migrating workflows to latest gh-aw versions with codemods and error fixingWorkflow Instructions Updates (
.github/aw/github-agentic-workflows.md)Breaking Changes
command:withslash_command:for /mention triggerscreate-agent-task:tocreate-agent-session:(old name deprecated)New Features
labels:andmetadata:fields for workflow categorizationbots:field to allow specific bot identifiers regardless of role permissionssandbox:config supporting AWF, SRT, and MCP Gatewayexpires:field for auto-closing issues with auto-generated maintenance workflowclose-older-discussions:for lifecycle managementhide-older-comments:for minimizing previous workflow commentsupdate-discussion:,upload-asset:, andassign-to-user:operationsupdate_project:safe-outputAgent Improvements (
.github/agents/create-agentic-workflow.agent.md)missing-tool: create-issue:feature to track missing tools as GitHub issuesTest Plan
🤖 Generated with Claude Code