[squad] Implement #53514: Map workflow semantics for WHAT/WHEN/WHERE catalogs - #53573
Merged
pelikhan merged 1 commit intoAug 18, 2026
Merged
Conversation
Populate docs/src/data/wizard-data-model.json, the runtime data source called out in the Wizard Data Model Specification (Section 3), mapping existing gh-aw trigger types and safe-outputs handlers into the shared WHAT -> WHEN -> WHERE catalog: - 6 goal categories (issue automation, PR review, scheduled report, slash command responder, discussion automation, CI triage) - 10 trigger options covering issues, issue_comment, pull_request, discussion, discussion_comment, workflow_run, slash_command, schedule (daily/weekly), and workflow_dispatch - 5 destination options mapped to existing safe-outputs handlers (add-comment, add-labels, close-issue, create-pull-request, create-discussion) with inferFromTriggerTypes hints All ids validated against the schema's id pattern and cross-referenced (goalCategory trigger/destination ids resolve, defaults are members of their option lists, trigger types are within the schema enum). Closes #53514 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
Author
|
✅ Test Quality Sentinel completed test quality analysis. No test files were added or modified in this PR. Test Quality Sentinel skipped.
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds the shared runtime catalog for the future Astro workflow wizard.
Changes:
- Defines WHAT goals, WHEN triggers, and WHERE safe-output destinations.
- Adds defaults, inference hints, and prompt-generation structure.
Show a summary per file
| File | Description |
|---|---|
docs/src/data/wizard-data-model.json |
Adds the wizard’s runtime catalog and prompt template. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 1/1 changed files
- Comments generated: 4
- Review effort level: Balanced
| "id": "on-workflow-run", | ||
| "type": "other", | ||
| "text": { "label": "When another workflow run completes", "help": "Fires after a monitored CI workflow run finishes." }, | ||
| "frontmatter": { "on": { "workflow_run": { "workflows": ["CI"], "types": ["completed"] } } } |
| }, | ||
| { | ||
| "id": "on-discussion-comment", | ||
| "type": "issue_comment", |
| "triggerOptionIds": ["on-discussion-created", "on-discussion-comment", "slash-command", "manual-dispatch"], | ||
| "destinationOptionIds": ["comment-on-issue", "create-discussion"], | ||
| "defaultTriggerOptionId": "on-discussion-created", | ||
| "defaultDestinationOptionId": "comment-on-issue" |
| "triggerOptionIds": ["on-workflow-run", "manual-dispatch"], | ||
| "destinationOptionIds": ["comment-on-issue", "open-pull-request", "create-discussion"], | ||
| "defaultTriggerOptionId": "on-workflow-run", | ||
| "defaultDestinationOptionId": "comment-on-issue" |
Collaborator
|
@copilot Please review this PR, refresh the branch if needed, then run the
|
pelikhan
deleted the
squad/implement-53514-wizard-catalog-mapping-f1af185a93b3735b
branch
August 18, 2026 04:01
Copilot stopped work on behalf of
gh-aw-bot due to an error
August 18, 2026 04:02
Contributor
Author
|
🎉 This pull request is included in a new release. Release: |
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
Adds
docs/src/data/wizard-data-model.json, the wizard runtime data file called out in the Wizard Data Model Specification (Section 3, "Wizard runtime data"), translating existing gh-aw workflow concepts into the shared catalog per #53514.What's included
triggerOptionIds/destinationOptionIdsplus sensible defaults.issues,issue_comment,pull_request,discussion,discussion_comment,workflow_run,slash_command,schedule(daily/weekly), andworkflow_dispatch— each carrying a literal gh-awon:frontmatter fragment, aligned withdocs/src/content/docs/reference/triggers.mdandcommand-triggers.md.add-comment,add-labels,close-issue,create-pull-request,create-discussion— mapped to the actualsafe-outputs:handler keys documented indocs/src/content/docs/reference/safe-outputs.md, withinferFromTriggerTypeshints so WHERE can be pre-selected as required by the parent issue (AW wizard in docs #53498).promptTemplatematching the existing example shape (goal/trigger/destination/task-details sections).Validation
docs/public/schemas/wizard-data-model.schema.json's conventions: allidfields match^[a-z][a-z0-9-]*$, alltriggerOption.typevalues are within the schema's enum, and everygoalCategory.triggerOptionIds/destinationOptionIds(including defaults) resolves to an existing catalog entry.Closes #53514
Add this agentic workflow to your repo
To install this agentic workflow, run