feat: add caller identity validation for comms_release_all MCP tool
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- go
調査の方向性
Start with the comms_release_all handler at internal/tools/comms/tools.go:227-242 and read the forge-coordination constraint at internal/agentkit/content/skills/forge-coordination/SKILL.md line 15. Trace how the comms session registry represents caller identity. Done means calls from non-coordinators are rejected while coordinator calls can still release reservations.
索引モデルが issue の本文から書いたものです。
説明
Context
The comms_release_all MCP tool (at internal/tools/comms/tools.go:227-242) currently accepts calls from any agent without caller identity validation. The forge-coordination skill states that only coordinators MAY call comms_release_all(), but this constraint is enforced only at the prompt level — any agent can invoke the tool at the MCP protocol layer.
Problem
Prompt-only access control is insufficient for safety-critical operations like releasing all file reservations. A worker agent that ignores or fails to parse the skill constraint could call comms_release_all() and release all reservations across all agents, causing data corruption or lost work.
Proposed Solution
Add caller identity validation to the comms_release_all tool handler:
- Accept a
caller_roleoragent_nameparameter - Validate the caller against the comms session registry
- Reject calls from non-coordinator agents with an error response
Related
- Identified during PR #56 review by @sonupreetam
- Forge-coordination skill:
internal/agentkit/content/skills/forge-coordination/SKILL.mdline 15 - MCP tool:
internal/tools/comms/tools.go:227-242
- 主要言語
- Go
- スター
- 0
- フォーク
- 9
- 平均マージ
- 1日 14時間
- マージ済み PR(30日)
- 18
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
unbound-force/replicator のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
unbound-force/replicator#95 ·
メンテナーはふだん 1 日以内に返信
-
bug github_actions
難易度 2/5 1時間未満 初心者へのやさしさ 80/100
unbound-force/replicator#89 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
unbound-force/replicator#85 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
unbound-force/replicator#77 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
unbound-force/replicator#63 ·
メンテナーはふだん 1 日以内に返信
unbound-force/replicator の issue をすべて見る
似ている issue
-
area/networking kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
siderolabs/talos#14972 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
kubectl wait outputs cryptic "error: unrecognized condition: []" when --for is omitted対応中かも @muskan-creates352 が今日担当しました。 オープンkind/bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
kubernetes/kubectl#1910 · コメント 1 件 ·
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
stacklok/toolhive-catalog#1967 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
unbound-force/gaze#353 ·
メンテナーはふだん 1 日以内に返信