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

Abierto
#2,920 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
62/100
Tipo de issue
Refactorización
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
aws, typescript

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
339
Forks
129
Merge medio
19 h 21 min
PR fusionados (30 d)
125

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de aws/agentcore-cli

Todos los issues de aws/agentcore-cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.