[Phase 3] Express the tool limit as generated Cedar policy

Aperta
#2,849 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

Read the linked sections in docs/drafts/agent-identity/mcp-authorization.md and docs/drafts/agent-identity/implementation.md, then inspect the existing tool-limit interface and the broker's cedar-go dependency. Implement deterministic policy generation from each admitted definition's resolved limit, source, and revision, deny on Cedar diagnostics, and include the generated policy revision in decision records. Done means the server/tool ceiling checks in the implementation document pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

agent-identity identity-broker security

Depends on: #2842 (tool limit), #2547, #2548 (exact definition versions)

Problem

The broker's tool limit is a plain check. The design selects Cedar for it, with policy generated from each admitted definition and its revision, so every decision records which policy version allowed or refused it.

Design

Requirements

  • Generate Cedar policy deterministically from each admitted definition's resolved limit, tied to its source and revision, and evaluate it behind the tool-limit interface. Any Cedar diagnostic error denies.
  • A broker adapter for Cedar with its own dependency rule; cedar-go is already a dependency.
  • Decision records name the generated policy revision.

Done when

The checks in implementation.md ("Cedar authorization and audit verification") for the server/tool ceiling pass.

Lingua principale
Go
Stelle
309
Fork
29
Merge medio
15h 56m
PR unite (30g)
225

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di stacklok/mecatl

Tutte le issue di stacklok/mecatl

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.