github / github/copilot-cli

Context Compaction needs Guardrails

Open
#1,735 0 comments 0 reactions 0 assignees View on GitHub
area:context-memory
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.