Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Custom Agents are sorted by filename instead of display name

Offen Anfängerfreundlich
#4,483 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
62/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
markdown
Bereich
desktop, frontend

Rechercherichtung

Finde, wo individuelle Agent-Dateien .agent.md für den Picker entdeckt und sortiert werden: Durchsuche den Codebase nach dem Glob *.agent.md und nach jedem .sort( auf dieser Liste. Als Sortierschlüssel sollte der Frontmatter-name verwendet werden, wobei bei fehlendem name der aus dem Dateinamen abgeleitete Name als Fallback dient, wie im Issue angegeben. Fertig bedeutet, dass eine Agentenliste, die aus Namen wie 01-reviewer.agent.md/name: Zeta Reviewer erstellt wird, 'Alpha Writer' vor 'Zeta Reviewer' sortiert; führe vorhandene Tests für das Laden von Agenten aus oder füge einen für den Vergleichsfunktor hinzu.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

triage
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:

  1. Zeta Reviewer
  2. Alpha Writer

Expected behavior

The agents should be sorted by their displayed names:

  1. Alpha Writer
  2. 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

Vorherrschende Sprache
Keine Sprachdaten
Sterne
2.2k
Forks
176
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/app

Alle Issues in github/app

Ähnliche Issues

Weitere Issues zu Desktop Dev

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.