Make omitted Gateway protocolType mean unrestricted
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- aws, typescript
- 領域
- cli, infrastructure, release
調査の方向性
まず、古い CLI の作成およびインポートパス、プロジェクトベースのリファクタリングとスキーマのコピー、さらに AgentCore L3 Gateway の統合とテストを追跡します。動作を変更する前に、移行と依存関係のバージョン固定に関する要件を確認します。完了とは、既存の MCP プロジェクトが引き続き制限されたままであることを証明する回帰テストのカバレッジを含め、列挙されたすべての受け入れ基準に合格することです。
索引モデルが issue の本文から書いたものです。
説明
Description
Make an omitted Gateway protocolType consistently mean an unrestricted
Gateway across the old CLI, project schema, and L3 construct.
The current project contract has an unintuitive compatibility mapping:
agentcore.json value |
Current behavior |
|---|---|
| omitted | MCP-only |
"MCP" |
MCP-only |
"None" |
unrestricted; L3 omits the service field |
The AgentCore service itself uses omission for an unrestricted Gateway and
explicit "MCP" for an MCP-only Gateway. The CLI contract should align:
agentcore.json value |
Desired behavior |
|---|---|
| omitted | unrestricted |
"MCP" |
MCP-only |
"None" |
accepted as a legacy unrestricted value |
The command experience should be:
# Unrestricted; protocolType omitted
agentcore add gateway --name tools
# MCP-only
agentcore add gateway --name tools --protocol-type MCP
This needs a coordinated compatibility migration. Existing schema-v1 projects
with omitted protocolType historically mean MCP, and imported MCP Gateways are
currently persisted with the field omitted. Those projects must not silently
become unrestricted when the L3 default changes.
This was intentionally deferred from aws/agentcore-cli#2028 so that PR can
preserve the currently published schema and L3 behavior.
Acceptance Criteria
- Omitting
--protocol-typein the old CLI persists noprotocolTypefield and deploys an unrestricted Gateway. -
--protocol-type MCPpersists"protocolType": "MCP"and deploys an MCP-only Gateway. - The old CLI no longer needs customers to pass
--protocol-type None; existing"None"project values remain valid. - Importing an MCP Gateway persists explicit
"protocolType": "MCP". - Existing projects where omission historically meant MCP are migrated or normalized to explicit
"MCP"before consuming the new L3 behavior. - The L3 treats omitted
protocolTypeas unrestricted and explicit"MCP"as MCP-only. - Semantic-search protocol configuration remains usable on unrestricted Gateways when supported by the service.
- The old CLI, project-based refactor, schema copies, generated CDK, and L3 tests use the same contract.
- Release sequencing publishes the compatible L3 version before either CLI updates its exact L3 pin.
- Regression tests prove existing MCP projects do not silently widen to unrestricted access.
Additional Context
This is a cross-repository compatibility change involving:
- old CLI authoring, import, migration, generated CDK, and dependency pinning;
- project-based refactor command and schema behavior;
aws/agentcore-l3-cdk-constructsschema and Gateway synthesis.
- 主要言語
- TypeScript
- スター
- 291
- フォーク
- 96
- 平均マージ
- 20時間 50分
- マージ済み PR(30日)
- 214
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
aws/agentcore-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
aws/agentcore-cli#2395 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
aws/agentcore-cli#2392 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws/agentcore-cli#2267 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/agentcore-cli#2258 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
aws/agentcore-cli#2176 ·
メンテナーはふだん 1 日以内に返信
aws/agentcore-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
melgarafael/DeskcommCRM#1812 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
prisma/prisma-cli#309 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
gregwebs/pi-quota-dispatcher#26 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
openwatersio/slackwater.xyz#124 ·
メンテナーはふだん 1 日以内に返信
-
agent-reported area/browser area/docs documentation good first issue hacktoberfest help wanted P2
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 2 日以内に返信