github / github/copilot-cli

Memories are leaking between repositories

Open
#3,945 3 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 bug

Today I have had a strange situation. I created a new git repository, checked it out and then asked copilot to add some basic instructions and project setup.

Out of the nowhere, it mumbled about some "facts stored in the memory" (of course there are none because the repo is fresh!) that seem to be part of a different (similar named) repository...

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the report with a fresh repository whose name resembles another repository, then trace where Copilot CLI reads and associates stored memories with repositories. The issue is done when memories from one repository cannot appear in another and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.