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

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go

調査の方向性

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.

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

説明

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.

主要言語
Go
スター
309
フォーク
29
平均マージ
15時間 56分
マージ済み PR(30日)
225

環境構築

はじめの一歩

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

stacklok/mecatl のほかの issue

stacklok/mecatl の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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