feat: classify guidance by enforcement category (for cpex)

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

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

@dhl123 がすでに取り組んでいます。

2026年9月10日 から。

評価

この issue はまだ評価されていません。

説明

enhancement
Summary

Add a deterministic classifier stage that reads decomposed policy specs and labels each item with an enforcement category (opa, apl), making it explicit which items are enforceable by OPA and which are not.

User Story 1
  • As a: policy engineer using Smith to test and refine an OPA policy
  • I want: each decomposed policy item to be labeled with an enforcement category
  • So that: I can use different policies to cover my full guidance. APL will be responsible for processing guidance that OPA cannot enforced.
Acceptance Criteria
Scenario: Classify enforcement for all policy items
  • Given a populated specs/ directory with decomposed policy items
  • When the user runs smith --flag classify_enforcement
  • Then each spec file is updated with an enforcement field (opa | apl) and a reason string
主要言語
Python
スター
17
フォーク
6
平均マージ
4日 31分
マージ済み PR(30日)
16

環境構築

はじめの一歩

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

IBM/smith のほかの issue

IBM/smith の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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