feat(mcp): ask the user mid-call when no index exists (elicitation)

オープン
#121 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
22/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go

調査の方向性

The payload names no source files, so start with the requirement MRTR-01 in the linked planning file and the open question about #74 (serve --mcp outside an indexed repo). Settle how the server negotiates client capability before any prompt is sent. Done means wire-oracle transcripts exist for a client that supports the prompt and one that does not, and both behave as specified.

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

説明

area:mcp feature priority:low spec-needed
What problem does this solve?

In an unindexed repo, the MCP server returns an empty tool set or an error, and the agent has to work out that codegraph init is the remedy.

What should it do?

Use resultType: "input_required" to ask "no index found here, initialize now?" and proceed on yes.

Which surface does this affect?

MCP (agent-facing tools)

Is this covered by an existing command or tool today?

No. Note the interaction with #74 (serve --mcp outside an indexed repo).

Acceptance criteria
  • Behavior behind client capability negotiation; wire-oracle transcripts for a client that supports it and one that does not.

Source (GSD planning files, archived at d384473e): .planning/milestones/v0.3.0-REQUIREMENTS.md:62 (MRTR-01); .planning/ROADMAP.md (Later)


🤖 Generated with Claude Code

https://claude.ai/code/session_01UNqdnC3q6U362BvyfxuKCF

主要言語
Go
スター
0
フォーク
0
平均マージ
7時間 42分
マージ済み PR(30日)
111

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

seanb4t/codegraph-go のほかの issue

seanb4t/codegraph-go の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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