Add patterns router prompt and wire dispatcher routing#31985
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Add patterns router prompt and wire it into dispatcher agent
Add patterns router prompt and wire dispatcher routing
May 13, 2026
Copilot created this pull request from a session on behalf of
pelikhan
May 13, 2026 16:47
View session
pelikhan
reviewed
May 13, 2026
|
|
||
| ## Pattern Index | ||
|
|
||
| Pattern docs base path (relative to this file): `../../docs/src/content/docs/patterns/` |
Collaborator
There was a problem hiding this comment.
@copilot use github global urls to link to files
Contributor
Author
There was a problem hiding this comment.
Updated in e43d8fa: all pattern links in .github/aw/patterns.md now use GitHub global URLs (https://github.com/github/gh-aw/blob/main/...).
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
pelikhan
approved these changes
May 13, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a consolidated workflow-pattern router prompt and wires the main dispatcher agent to route architecture/pattern-selection requests through it.
Changes:
- Added
.github/aw/patterns.mdto route user intents to the appropriate documented workflow pattern playbook. - Updated
.github/agents/agentic-workflows.agent.mdto explicitly route architecture/pattern requests to the new patterns router (including a dedicated section + IMPORTANT routing note).
Show a summary per file
| File | Description |
|---|---|
| .github/aw/patterns.md | New router prompt indexing all documented workflow patterns and providing routing rules/fallback behavior. |
| .github/agents/agentic-workflows.agent.md | Dispatcher update to route pattern/architecture questions to the new patterns router prompt. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 2/2 changed files
- Comments generated: 0
Copilot AI
added a commit
that referenced
this pull request
May 26, 2026
- [/spdd-sync] Add Appendix B sync comment on poissonNormalApproximationThreshold in forecast_montecarlo.go (closes #31985) - [/spdd-sync] Add TestForecastWorkflow_LambdaConsistencyAcrossOutputFormats in forecast_test.go verifying verbose/JSON output use same λ (closes #31984) - [/spdd-generate] Replace future-state note in frontmatter-hash-specification.md §2 with formal deferral note referencing #31983 - [/spdd-generate] Elevate idempotency in mcp-scripts-specification.md §5.7 to normative SHOULD with example - [/spdd-generate] Add T-FZ-L3-001..005 Level 3 compliance test IDs and §10.2.8 group definitions to fuzzy-schedule-specification.md §10 - [/spdd-analysis] Confirm fuzzy-schedule-specification.md §12 is complete (not stub); add audit note to sync notes - [/spdd-sync] Add TestModelMultipliersNoPlaceholders (R-REG-007) to effective_tokens_test.go + make validate-registry target - [/spdd-reasons-canvas] Add §7.6 Norms subsection (secret rotation + secret scope) to mcp-scripts-specification.md §7 Security Model - Update forecast-specification.md §13 sync notes to mark #31984 and #31985 resolved - Update effective-tokens-specification.md sync notes to document R-REG-007 automation Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
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.
New Feature
What does this feature do?
This change adds a dedicated
.github/aw/patterns.mdrouter prompt that maps users to the full set of documented workflow patterns. It also updates the dispatcher agent so pattern/architecture requests are explicitly routed through this new entry point.Why is this feature needed?
Pattern selection guidance was distributed across docs but not available as a single router instruction file for agent use. This creates a consistent, low-friction path from user intent to the correct pattern playbook.
Implementation details
Added consolidated pattern router
.github/aw/patterns.mdwith:docs/src/content/docs/patterns/Updated dispatcher linkage
.github/agents/agentic-workflows.agent.mdto include:.github/aw/patterns.mdExample