feat: classify guidance by enforcement category (for cpex)

Aperta
#37 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

@dhl123 ci sta già lavorando.

Dal 10/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
Python
Stelle
17
Fork
6
Merge medio
4g 31m
PR unite (30g)
16

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 IBM/smith

Tutte le issue di IBM/smith

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.