feat: enforce skip_review prohibition in forge_complete tool handler

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
go
領域
tooling

調査の方向性

internal/tools/forge/tools.go:361-374から始め、forge_completeハンドラーがskip_reviewをどのように読み取り、forge.Complete()に渡すかを追ってください。skip_review: trueに対して、要求されたツール境界での動作を追加し、その後、関連するテストを実行してください。完了条件は、ツールがレビューを省略して完了できず、その禁止を明確に報告すること(またはパラメーターを取り除いて警告をログに記録すること)です。

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

説明

enhancement

Context

PR #55 adds a prompt-level prohibition against passing skip_review: true to forge_complete. However, the tool handler at internal/tools/forge/tools.go:361-374 still accepts skip_review and skip_verification as schema parameters and passes them through to forge.Complete() with no guard.

A determined or confused agent can bypass the review gate by passing skip_review: true directly, since the prohibition is prompt-only.

Requested Change

Add code-level enforcement in the forge_complete tool handler:

  1. If skip_review: true is passed, return an error explaining that review cannot be skipped
  2. Alternatively, strip the parameter and log a warning

This ensures the review gate is enforced at the tool boundary, not just in the prompt.

References

  • PR #55 review thread: prompt-only prohibition flagged by @sonupreetam
  • Issue #47: forge review-before-complete ordering
  • File: internal/tools/forge/tools.go:361-374
主要言語
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 を短くまとめたダイジェスト。