RFC: Deprecate `semcode-mcp --lazy` in favor of client-side tool discovery
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
Start by reading the CLI help and documentation entries for --lazy, then trace where Semcode builds its MCP initialization instructions. The issue proposes deprecating the flag while keeping it functional and shortening those instructions. Done means the deprecation and instruction changes are specified; the issue leaves the compatibility decision open and asks for user evidence, so the scope needs maintainer agreement.
索引モデルが issue の本文から書いたものです。
説明
--lazy was added to reduce the model context used by MCP tool schemas. It advertises three discovery and dispatch tools in place of Semcode’s individual tools. Clients that already support on-demand discovery can find tools such as find_function and grep_functions directly when Semcode advertises them. Original PR #12
| Client | MCP tool discovery | When it applies |
|---|---|---|
| Claude Code | Tool Search loads full tool definitions on demand. | On by default on supported models and deployments. Claude Code docs |
| Codex | Native tool_search discovers deferred MCP tools. |
Available on models that support tool search. Code Mode is optional. Tool discovery · Code Mode defaults |
| OpenCode | Code Mode provides a tool catalog and lookup on demand. | On by default in current main. Individual servers can opt out. OpenCode MCP docs |
| oh-my-pi | MCP tools appear in a Bash command catalog with schema-derived --help on demand. |
Tool commands are on by default and require Bash to be active. MCP tool authoring · Tool command defaults |
I propose marking --lazy deprecated in CLI help and the docs while keeping it functional. I also propose shortening the default MCP initialization instructions. Semcode currently sends the full usage guide in that field, which can still consume context when clients defer tool schemas. Related PR #104
Comments welcome, especially from anyone still using --lazy. Client versions, workflows that depend on it, and measured context savings would help determine whether to keep it as a compatibility option or remove it after a deprecation period.
- 主要言語
- Rust
- スター
- 187
- フォーク
- 53
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 79
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
facebookexperimental/semcode のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 71/100
facebookexperimental/semcode#195 ·
メンテナーはふだん 2 日以内に返信
-
extract: namespaced C++ this->m and parameter p->m accesses file under different container typesオープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
facebookexperimental/semcode#198 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
facebookexperimental/semcode#197 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
facebookexperimental/semcode#196 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
facebookexperimental/semcode#194 ·
メンテナーはふだん 2 日以内に返信
facebookexperimental/semcode の issue をすべて見る
似ている issue
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648対応中かも @flyingrobots が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
flyingrobots/edict#457 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
O-windows relnotes relnotes-needs-review relnotes-tracking-issue T-libs
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
approved
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
fritzprix/libr-agent#3266 ·
メンテナーはふだん 1 日以内に返信
-
Frame::second_to_frame truncates f32 product, causing periodic off-by-one frames対応中かも @ShamanicArts が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
dmtrKovalenko/fframes#296 ·
メンテナーはふだん 1 日以内に返信