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
Your GitHub Copilot sessions build a searchable history of everything you work on. Ask natural language questions about past sessions, generate standup reports, get personalized tips, and search your coding history. With [session sync](/docs/copilot/chat/session-sync.md) active by default, queries draw from sessions across Copilot CLI, coding agent, code review, and VS Code.
9
+
Your GitHub Copilot sessions build a searchable history of everything you work on. Ask natural language questions about past sessions, generate standup reports, get personalized tips, and search your coding history.
10
10
11
11
## Chronicle commands
12
12
@@ -18,11 +18,11 @@ Use these commands in the chat input to query your session history:
18
18
|`/chronicle:tips`| Analyze your recent session history (typically 7 days) and suggest ways to use Copilot more effectively. Tips are grounded in your actual usage patterns: tools you rarely use, prompting patterns that lead to better results, or workflow improvements. |
19
19
|`/chronicle:cost-tips`| Analyze recent sessions to identify opportunities to reduce token usage and Copilot cost. |
20
20
|`/chronicle:search <query>`| Search sessions by keyword, file path, or PR or issue reference. Uses full-text indexing across session summaries, conversation turns, file paths, and checkpoint notes. Results include session IDs and timestamps so you can resume relevant sessions. |
21
-
|`/chronicle:reindex`| Rebuild the local session index and sync session data to your account. |
21
+
|`/chronicle:reindex`| Rebuild the local session index. |
22
22
23
23
## Free-form questions
24
24
25
-
You can also ask free-form questions about your session history directly in chat. For example, type "What files did I edit yesterday?" or "Have I worked on anything related to the payments API?" and Copilot searches your synced session history to answer. Unlike `/chronicle:search` which performs a direct content search, free-form questions use semantic understanding to find relevant sessions.
25
+
You can also ask free-form questions about your session history directly in chat. For example, type "What files did I edit yesterday?" or "Have I worked on anything related to the payments API?" and Copilot searches your local session history to answer. Unlike `/chronicle:search` which performs a direct content search, free-form questions use semantic understanding to find relevant sessions.
26
26
27
27
## What gets tracked
28
28
@@ -33,11 +33,11 @@ For each chat session, the local session store records:
33
33
***Files touched**: file paths from tool calls such as `replace_string_in_file`, `create_file`, `read_file`, and `apply_patch`.
34
34
***External references**: PR numbers, issue numbers, and commit SHAs extracted from GitHub MCP tool calls and terminal commands.
35
35
36
-
Data is stored in a local SQLite database. Secrets such as tokens, API keys, passwords, and connection strings are automatically filtered before data is synced to the cloud.
36
+
Data is stored in a local SQLite database.
37
37
38
38
## Reindex the session store
39
39
40
-
If sessions appear missing or the database becomes corrupted, rebuild the index. Reindexing also syncs your session data to your account.
40
+
If sessions appear missing or the database becomes corrupted, rebuild the index.
41
41
42
42
```prompt
43
43
/chronicle:reindex
@@ -50,10 +50,8 @@ Situations where reindexing helps:
50
50
* After restoring session files from a backup
51
51
* After an unexpected crash that prevented data from flushing to the store
52
52
* After manually deleting session directories
53
-
* After opting back into session sync
54
53
55
54
## Related content
56
55
57
-
*[Session sync](/docs/copilot/chat/session-sync.md) - Sync sessions to your GitHub account for cross-device access
58
56
*[Manage chat sessions](/docs/copilot/chat/chat-sessions.md) - Create and organize chat sessions
59
57
*[Settings reference](/docs/copilot/reference/copilot-settings.md) - All Copilot settings
Copy file name to clipboardExpand all lines: docs/copilot/reference/copilot-settings.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,8 +94,6 @@ The team is continuously working on improving Copilot in VS Code and adding new
94
94
|`setting(chat.utilitySmallModel)`<br/>Override the language model used for fast, lightweight [utility flows](/docs/copilot/customization/language-models.md#change-the-model-for-utility-tasks), such as commit messages, rename suggestions, and intent detection. A fast, inexpensive model is recommended. |`"Default"`|
95
95
|`setting(github.copilot.chat.edits.suggestRelatedFilesFromGitHistory)`_(Experimental)_<br/>Suggest related files from git history in chat context. |`true`|
96
96
|`setting(github.copilot.chat.localIndex.enabled)`<br/>Enable local session tracking for [session insights](/docs/copilot/chat/session-insights.md) and `/chronicle` commands. |`true`|
97
-
|`setting(chat.sessionSync.enabled)`<br/>Enable [session sync](/docs/copilot/chat/session-sync.md) to GitHub.com. When enabled, Copilot session data syncs to your GitHub account for cross-device access. Requires `setting(github.copilot.chat.localIndex.enabled)` to also be enabled. |`true`|
98
-
|`setting(chat.sessionSync.excludeRepositories)`<br/>Repository patterns to exclude from [session sync](/docs/copilot/chat/session-sync.md). Use exact `owner/repo` names or glob patterns like `my-org/*`. Sessions from matching repositories are stored locally only. |`[]`|
0 commit comments