github / github/copilot-cli

Context Compaction needs Guardrails

Offen
#1,735 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:context-memory
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### Describe the feature or problem you'd like to solve

The copilot_instructions.md needs a mechanism for marking critical sections that must be reapplied after compaction.

### Proposed solution

Use code fence to mark sections of the copilot_instructions.md that must be reapplied after compaction.

### Example prompts or workflows

```critical
# ALWAYS DO THIS

xxxxxxx
```

### Additional context

I spend so much time nagging copilot to reapply copilot_instructions.md after compaction, and each request to do so uses premium requests.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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