github / github/copilot-cli

Cross-Session Context Querying

オープン
#2,436 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
area:context-memory area:sessions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the feature or problem you'd like to solve

When working on a complex project, I often have multiple sessions approaching it from different angles. Session A may have already built deep context about the codebase or problem space, but Session B has no way to leverage that understanding — it must re-research everything from scratch or rely on summarized versions of the understanding.

### Proposed solution

Allow a session to semantically query another session's accumulated context — either live (if the target session
is idle) or from its stored checkpoints. This could look like:

1. Cross-session query command — e.g., /ask-session "how does the auth middleware work?"
2. Semantic session store index — vector/embedding-based search over session knowledge, not just keyword FTS5
3. Context export/import — a primitive to serialize a session's synthesized understanding into a portable artifact another session
can ingest cheaply
4. Session-as-agent — treat an idle session as a queryable sub-agent from another session (similar to how /fleet dispatches
background agents, but targeting existing sessions)

### Example prompts or workflows

Use case: Multi-perspective analysis workflows — one session deep-dives into architecture, another focuses on security review, a third
on implementation. Each should be able to tap into the others' findings without redundant exploration, similar to how a team of
engineers would collaborate.

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

この issue にはファイルやテストが指定されていません。まず既存の /fleet コマンドと、セッションのチェックポイントまたはストレージのパスを追跡し、その後、提案されている4つのアプローチのどれを対象とするのかを明確にしてください。完了条件には、ライブまたは保存済みのセッションコンテキストを問い合わせるための定義済みの動作と受け入れテストを含める必要があります。

索引モデルが issue の本文から書いたものです。

評価

領域
ai, cli
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
活発
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。