box: Write the Bedrock policy of each Box gateway for its own runtime's model

オープン
#2,920 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
62/100
issue の種類
リファクタリング
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
aws, typescript

調査の方向性

Start with agentcore/box-bedrock-policy.json and find where the Box gateways attach it through additionalPolicies. Copy the per-runtime pattern already used by box-telemetry-policy-<runtime>.json, then generate one box-bedrock-policy-<runtime>.json per boxed runtime and attach each only to that runtime's gateway. Done when each gateway's policy lists only its own runtime's modelId, and a runtime with no scopable modelId widens only its own gateway.

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

説明

Follow-up from #2911.

agentcore/box-bedrock-policy.json is one file that every Box gateway of a project attaches (additionalPolicies). With #2911 it allows only the models in the boxed runtimes' modelId, but it holds the models of all boxed runtimes, so each Box gateway can call the model of every other boxed runtime in the project. And one runtime without a scopable modelId puts every gateway back on the every-model policy.

Proposal: write one file per runtime, agentcore/box-bedrock-policy-<runtime>.json, as the telemetry policy already does (box-telemetry-policy-<runtime>.json), and attach each to its own runtime's Box gateway only. A runtime without a scopable modelId then widens only its own gateway.

主要言語
TypeScript
スター
339
フォーク
129
平均マージ
19時間 21分
マージ済み PR(30日)
125

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/agentcore-cli のほかの issue

aws/agentcore-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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