github / github/github-mcp-server

Add deterministic toolset resolution ordering for default and custom toolsets

オープン
#2,104 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
33k
フォーク
5k
平均マージ
2日 1時間
マージ済み PR(30日)
52

説明

Problem
Toolset resolution with overlapping include/exclude/default inputs can produce non-deterministic exposure ordering, making policy verification and reproducibility harder.

Why now
Predictable capability exposure is required for governance and deterministic client behavior.

Expected behavior
Given equivalent config, resolved toolset ordering is deterministic and testable.

Acceptance criteria
- Toolset resolution emits stable ordering for equivalent inputs.
- Overlapping include/exclude resolution remains semantically correct.
- Tests cover default+custom overlap scenarios.

Evidence packet
- Commit under test: bf6467855c13d3b8f5cf72f8dfd9c86f8336b20b
- Runtime environment: macOS Darwin 25.3.0 arm64, Go 1.25.7
- Minimal repro:
1. Resolve toolsets repeatedly with same include/exclude config.
2. Compare resolved tool list order.
- Expected: deterministic stable order.
- Actual: ordering is not guaranteed by contract/tests.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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