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
{{ message }}
Repository navigation
Copilot telemetry hook write replaces all of ~/.copilot/hooks/aspire-telemetry.json #22218
CopilotAgentClient.ConfigureTelemetryHookAsync builds a new JSON object and writes it over the whole ~/.copilot/hooks/aspire-telemetry.json file. Any entries a user adds to that file by hand are lost each time aspire agent init runs, including a global refresh where no agents are selected. This whole-file write has been on main since #18009 and moved into CopilotAgentClient in #20946.
The file is named for Aspire and owned by it, and Copilot reads every file in ~/.copilot/hooks, so users can keep their own hooks in other files. Even so, merging into existing content (as the Claude settings.json path already does) would be safer.
Activity