feat(core): mixed-provider policies — choose the provider per evaluator
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
調査の方向性
まず meta.required_provider、 evaluator のパース、provider/input-kind の検証を検索し、現在 policy がどのように provider を選択してチェックしているかを追跡します。1 つの input に対して terraform_plan evaluator と json evaluator を組み合わせる policy のための、対象を絞ったカバレッジを追加します。不一致の検証ケースも含めてください。各結果がそれぞれの provider に帰属した状態で評価が成功し、不一致がスキップされるのではなく検証エラーになることを確認できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Today meta.required_provider fixes one provider for every evaluator in a policy. Users need a
single policy whose evaluators use different providers over the same input — e.g. one evaluator
reading the plan through terraform_plan's typed operations, and another reaching a section the
typed provider doesn't expose through the json provider — with eval_expression combining their
results as it already does. Tracked on the public feedback board ("policy evaluations across
different tirith providers"); this is the substance of #223.
Proposal. Keep meta.required_provider as the policy-level default; allow each evaluator an
optional provider field overriding it. Validation checks that every provider used can read the
supplied input kind; the result model and eval_expression are unchanged. Distinct from "named
multi-input" (below), which adds several documents — this is several providers over one document,
and the multi-input work builds on it.
Acceptance. A policy mixing a terraform_plan evaluator and a json evaluator over one plan
file evaluates end to end, each result attributed to its provider; a provider/input-kind mismatch
is a validation error, not a runtime skip.
- 主要言語
- Python
- スター
- 167
- フォーク
- 47
- 平均マージ
- 2時間 44分
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
StackGuardian/tirith のほかの issue
-
good first issue hacktoberfest tests
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
StackGuardian/tirith#381 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
research
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
StackGuardian/tirith#356 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
StackGuardian/tirith#302 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
StackGuardian/tirith#299 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
StackGuardian/tirith#295 ·
メンテナーはふだん 1 日以内に返信
StackGuardian/tirith の issue をすべて見る
似ている issue
-
defect from-review v0.9.2
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
khuisman/mcp-gee-sweet#926 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1時間未満 初心者へのやさしさ 84/100
EtanHey/brainlayer#1164 ·
メンテナーはふだん 1 日以内に返信
-
bug security
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
yunaremaia/vibeguard#141 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
PrismorSec/prismor#599 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信