You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Copilot CLI agent can autonomously store "repo-wide memories" — facts it learns during a session that persist and are loaded into every future session for all users in the repository. There is currently:
No way to delete a memory once stored
No admin controls to manage memories across a repository
No user attribution — memories don't record who triggered them
No user approval — the agent decides on its own what to memorize
This creates a serious problem: any user can unintentionally pollute the repo-wide memory with user-specific preferences, jokes, or offhand comments, and there is no mechanism to clean them up.
Real-World Example
In Azure/azure-sdk-for-net, a user jokingly told the agent to add a specific footer (🤖 m-nash-copilot) to PR comments. The agent:
Took this literally and stored it as a repo-wide memory: "All PR/issue comments written on behalf of the user must end with \n---\n🤖 m-nash-copilot"
This memory was then loaded into every other user's sessions across the entire repo
Problem
The Copilot CLI agent can autonomously store "repo-wide memories" — facts it learns during a session that persist and are loaded into every future session for all users in the repository. There is currently:
This creates a serious problem: any user can unintentionally pollute the repo-wide memory with user-specific preferences, jokes, or offhand comments, and there is no mechanism to clean them up.
Real-World Example
In Azure/azure-sdk-for-net, a user jokingly told the agent to add a specific footer (
🤖 m-nash-copilot) to PR comments. The agent:\n---\n🤖 m-nash-copilot"m-nash-copilotfooter — visible here: Refine mpg-sdk-migration skill: local iteration, sub-skills, and PR workflow Azure/azure-sdk-for-net#56515 (comment)live1206) had to ask "why did you add '🤖 m-nash-copilot' in the end of the comment? I am not m-nash"The only "fix" available today is storing yet another memory to override the bad ones — which just adds more clutter.
Requested Features
P0 — Memory Management
P1 — User Attribution & Audit
P2 — Guardrails on Memory Storage
Impact
This affects any repository with multiple Copilot CLI users. Without these controls: