Migrate dispatcher agent output to .agents/agents and clean up legacy .github/agents path#31371
Closed
Migrate dispatcher agent output to .agents/agents and clean up legacy .github/agents path#31371
.agents/agents and clean up legacy .github/agents path#31371Conversation
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
Migrate dispatcher agent file to .agents/agents path
Migrate dispatcher agent output to May 10, 2026
.agents/agents and clean up legacy .github/agents path
Copilot created this pull request from a session on behalf of
pelikhan
May 10, 2026 19:52
View session
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.
✨ Enhancement
The init flow now writes the
agentic-workflowsdispatcher to the standard agent-agnostic location:.agents/agents/agentic-workflows.md. This also introduces migration cleanup so repositories stop carrying the legacy.github/agentsdispatcher files.What does this improve?
Moves dispatcher storage to the new canonical agent location and removes stale legacy dispatcher artifacts during fix/migration flows.
Why is this valuable?
Standardizes agent placement across tooling and prevents drift between old and new dispatcher paths.
Implementation approach:
Dispatcher write target moved
ensureAgenticWorkflowsDispatchernow writes to:.agents/agents/agentic-workflows.mdinstead of:
.github/agents/agentic-workflows.agent.mdInit/help text aligned with new path
CLI init command documentation now references the new dispatcher location.
Download source migration with fallback
Dispatcher download now prefers the new upstream file path and falls back to the legacy path for compatibility during transition.
Codemod/cleanup of legacy dispatcher files
Legacy dispatcher files are now removed during cleanup/migration:
.github/agents/agentic-workflows.agent.md.github/agents/agentic-workflows.agents.mdCleanup behavior covered in existing codemod tests
Legacy file deletion scenarios were added to codemod cleanup tests.