feat: enforce skip_review prohibition in forge_complete tool handler
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
internal/tools/forge/tools.go:361-374から始め、forge_completeハンドラーがskip_reviewをどのように読み取り、forge.Complete()に渡すかを追ってください。skip_review: trueに対して、要求されたツール境界での動作を追加し、その後、関連するテストを実行してください。完了条件は、ツールがレビューを省略して完了できず、その禁止を明確に報告すること(またはパラメーターを取り除いて警告をログに記録すること)です。
索引モデルが issue の本文から書いたものです。
説明
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:
- If
skip_review: trueis passed, return an error explaining that review cannot be skipped - 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
環境構築
- 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 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
unbound-force/replicator#52 ·
メンテナーはふだん 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 日以内に返信