bug: replicator_hivemind_store sends `tags` but Dewey store_learning requires `tag` (all calls fail -32602)

オープン 初心者向け
#95 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
go
領域
api

調査の方向性

エントリーポイント replicator_hivemind_store から始め、Dewey の呼び出し store_learning をどのように構築するかを調べてください。転送されるフィールドを、必須フィールド information と tag、および issue で説明されている category の許可値と比較してください。proxy が有効な tag を送信し、サポートされていないカテゴリを明確に処理できれば完了です。

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

説明

Summary

replicator_hivemind_store forwards only a tags (plural) field to Dewey's store_learning MCP tool. That tool's inputSchema requires tag (singular) and does not fall back to the deprecated tags. Every
call therefore fails:

JSON-RPC -32602: required: missing properties: "tag"

Impact

The hivemind store path is completely non-functional against current Dewey — learnings cannot be persisted through Replicator's tools. Had to work around by calling the Dewey HTTP MCP endpoint directly.

Suggested fix

Map the hivemind tags input to Dewey's required tag (send the first tag as tag, or join). Confirm the target Dewey store_learning schema (required: [information, tag]) and align the proxy.

Notes

  • Dewey store_learning category enum only accepts {decision, pattern, gotcha, context, reference} — the proxy should validate/map (e.g. review-insight → context) or surface the enum error clearly.
  • Dewey HTTP MCP handshake required for direct calls: initialize → capture Mcp-Session-Id header → notifications/initialized →tools/call; responses are SSE-framed (data: line).
主要言語
Go
スター
0
フォーク
9
平均マージ
1日 14時間
マージ済み PR(30日)
18

環境構築

はじめの一歩

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

unbound-force/replicator のほかの issue

unbound-force/replicator の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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