github / github/copilot-cli

Regression: COPILOT_CUSTOM_INSTRUCTIONS_DIR not loading all instructions

Offen
#2,181 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
area:configuration
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### Describe the bug

In v1.0.9, instruction files specified via COPILOT_CUSTOM_INSTRUCTIONS_DIRS are not being loaded. This
worked correctly in v1.0.8.

Environment:

- COPILOT_CUSTOM_INSTRUCTIONS_DIRS points to 7 directories, each containing
.github/instructions/team.instructions.md with applyTo frontmatter
- Working directory is a multi-root workspace that is not a git repository

### Affected version

v1.0.9

### Steps to reproduce the behavior

1. Set COPILOT_CUSTOM_INSTRUCTIONS_DIRS to one or more directories containing
.github/instructions/*.instructions.md
2. Launch the CLI in a directory that is not a git repo root
3. Run /instructions

### Expected behavior

Expected: All instruction files from COPILOT_CUSTOM_INSTRUCTIONS_DIRS appear in the list.

### Additional context

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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