github / github/copilot-cli

Cross-device sync for personal Copilot instructions

未关闭
#2,353 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:configuration
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

Personal instruction files are local to each machine. If I teach Copilot a lesson on one device (e.g. "always write Python scripts to a file instead of passing markdown through PowerShell inline"), that knowledge doesn't carry to my other machines. Since Copilot already authenticates via GitHub, personal instructions could be synced as a GitHub-backed user setting — similar to VS Code Settings Sync. This could be a private gist, a user-scoped API, or a dotfiles-style repo integration. Today the workarounds (symlinks to cloud storage, manually copying files) are fragile and easy to forget.

## Example prompts or workflows

1. I discover that PowerShell mangles backticks and emoji in API calls. I tell Copilot to remember this. On my laptop the next day, Copilot already knows.
2. I set a personal preference like "always use Python 3.12" or "prefer pnpm over npm". It applies on every device I use.
3. I build up a set of personal coding conventions over weeks. When I get a new machine, they're already there after `copilot /login`.
4. A team lead sets org-wide instructions via a repo. A developer supplements with personal preferences that roam with their GitHub account.

## Additional context

This has bitten me across three separate sessions — Copilot keeps re-learning the same PowerShell encoding lesson because session memory is local-only. The session store DB doesn't roam either.

贡献指南

打开贡献指南

调研方向

Start by examining how personal instruction files and the local session store DB are located and loaded, then trace the `copilot /login` authentication flow. Define the sync scope, storage approach, privacy and conflict behavior, and how personal settings should be restored on another device before implementation; done means instructions reliably roam between authenticated devices.

由索引模型根据 Issue 内容生成。

评估

技术栈
github, shell
领域
authentication, cli, cloud
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
冷清
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。