Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[W9.3] Enforce and expose confirmation requirements for MCP mutations

クローズ
#169 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
ruby
領域
cli, security, testing

調査の方向性

Start by reading the MCP tool discovery and execution paths, then trace how the confirmed argument is handled and where filesystem or manifest mutations occur. Classify tools by read behavior, generated file writes, and manifest changes; add confirmation metadata and enforce the gate before side effects. Add temporary-fixture regression tests for refused calls and the exact effects of confirmed calls, and run them through the W9.1 CI infrastructure.

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

説明

area: cli bug

Context

The server accepts a confirmed argument, but tools/list does not declare it in tool schemas or expose the catalog confirmation requirement. Once tools execute operations, clients need an explicit and testable confirmation contract.

Scope

  • Classify the supported tools by read behavior, file writes, and manifest mutations.

  • Declare confirmed as a boolean where required and describe the confirmation requirement in host-visible metadata.

  • Require the host to obtain explicit user confirmation before setting confirmed; do not treat a model-generated value as independent proof of consent.

  • Enforce the gate before any side effects, consistently across execution paths.

  • Document the scope and limitations of confirmation and add regression coverage.

  • Add confirmation tests in the same PR as enforcement: assert filesystem state is unchanged for missing/false/invalid confirmation and that confirmed calls on temporary fixtures perform only the requested mutation. Run the tests through the W9.1 CI infrastructure.

Acceptance criteria

  • Discovery makes confirmation requirements visible to clients.

  • Missing, false, or invalid confirmation values block gated tools before filesystem changes.

  • A confirmed operation on a temporary fixture performs only the requested mutation.

  • Descriptions and tests distinguish reading data, writing generated artifacts, and modifying manifests.

  • The enforcement PR includes passing tests proving refusal before side effects and the exact effects of a confirmed operation; confirmation coverage is not deferred to W9.6.

Related

Parent: #166.

主要言語
Ruby
スター
0
フォーク
0
平均マージ
11時間 37分
マージ済み PR(30日)
35

環境構築

はじめの一歩

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

opsd-io/opsd-cli のほかの issue

opsd-io/opsd-cli の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

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

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