Custom Agents are sorted by filename instead of display name
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
調査の方向性
カスタムエージェントの .agent.md ファイルが、ピッカーのためにどこで発見・並べ替えられているかを特定する: コードベースからグローバル *.agent.md と、そのリストに対する .sort( を検索する。並べ替えキーは frontmatter の name となり、name が存在しない場合はファイル名から導出された名前にフォールバックする、と issue で指定されている。01-reviewer.agent.md/name: Zeta Reviewer のような名前から作られたエージェント一覧が 'Alpha Writer' を 'Zeta Reviewer' より前に並べ替えられることを完了とみなす; エージェントの読み込みをカバーする既存テストを実行するか、比較関数のためにそれを追加する。
索引モデルが issue の本文から書いたものです。
説明
Short summary
Custom Agents are sorted by filename instead of display name
Affected version or release
Latest
Installation context
GitHub Copilot App on Windows 11
What happened?
Description
Custom Agents in the Copilot desktop app are sorted by their filename instead of the name defined in the Markdown front matter.
GitHub documents name as the agent's display name, with the filename only used as a fallback when name is omitted.
Expected
Agents should be sorted alphabetically by their displayed name.
Actual
Agents are sorted alphabetically by their filename.
Steps to reproduce
No response
Expected behavior
Description
Custom Agents in the GitHub Copilot desktop app appear to be sorted alphabetically by their file name, rather than by the display name defined in the Markdown frontmatter.
This makes the ordering in the agent picker unexpected when file names are intentionally different from their user-facing names.
Steps to reproduce
Create multiple custom agents whose file names and display names sort differently, for example:
01-reviewer.agent.md
---
name: Zeta Reviewer
description: Reviews code changes
---
02-writer.agent.md
---
name: Alpha Writer
description: Helps write code and documentation
---
Open the Custom Agent picker in the GitHub Copilot desktop app.
Actual behavior
The agents are ordered according to their file names:
- Zeta Reviewer
- Alpha Writer
Expected behavior
The agents should be sorted by their displayed names:
- Alpha Writer
- Zeta Reviewer
Since the name frontmatter property represents the user-facing display name, sorting by that value would make the list consistent with what users actually see.
If name is omitted, the filename-derived name could naturally be used as the fallback sorting value.
Additional context
GitHub's Custom Agents documentation describes name as the display name for the custom agent and states that the filename is used as the default display name only when name is not specified.
This issue concerns the ordering of agents in the UI, not agent resolution/deduplication, where the filename may still be an appropriate identifier.
Additional context
No response
- 主要言語
- 言語のデータがありません
- スター
- 2.2k
- フォーク
- 176
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/app のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
NousResearch/hermes-agent#134960 ·
メンテナーはふだん 1 日以内に返信
-
app enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Y-ASLant/ElegantClipboard#166 ·
-
Lid close does not lock the session on Apple Silicon (lid-close bind skips omarchy-system-lid-close)オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
omacom/omarchy-mac#701 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100