Step 4 of 7: Review and customize¶
The engine drafts; people decide. In this step you confirm what the engine found and add what only your organization knows.
1. Review the findings¶
Open review.md next to acme.opp.yaml. For each entry:
- Correct: change
status: proposedtostatus: certified. - Wrong class: change the
class, then certify it. - Not sensitive: delete the entry.
Certified entries are never overwritten when you regenerate with --merge.
2. Add what only you know¶
| You want to | Add | Example |
|---|---|---|
| Make a class stricter, under your own names | classifications |
revenue is restricted and lives in net_sales |
| Name a confidential topic the catalog lacks | concepts |
pricing exceptions agreed with key accounts |
| Recognize your ID formats anywhere | identifiers |
matter numbers M-[0-9]{4}-[0-9]{4} |
| Mark a codename as confidential in itself | terms |
Project Juniper |
concepts:
- id: org.pricing_exceptions
label: Pricing exceptions
description: Discounts and custom prices agreed with individual clients outside the price list.
extends: confidential.pricing
cues: [special discount, custom price]
status: certified
identifiers:
- {id: matter, label: Matter number, class: personal.record_identifier, pattern: "M-[0-9]{4}-[0-9]{4}", status: certified}
terms:
- {term: Project Juniper, class: confidential.deals, status: certified}
Nothing you add can make a class less protected than the catalog says. Details and more examples: Customize for your company.
3. Decide what may go where¶
Without rules, the default matrix applies: for example confidential data is
pseudonymized or blocked for outside AI, and restricted data is blocked. Add rules.overrides where your
organization decides differently. Since OPP 0.2 a rule can name a purpose and require a way of processing,
such as a verified enclave; such rules also need opp: "0.2.0.dev0" and a purposes list.
rules:
overrides:
- target: org.pricing_exceptions # never to outside AI, whatever protects it
destination: external_ai
action: block
reason: Commercially sensitive.
4. Validate and commit¶
Keep the model in git, change it through pull requests, and run opp validate in CI. When your sources
change, run step 3 again with --merge acme.opp.yaml.
Check that it worked¶
opp validate prints ok, and opp-engine explain acme.opp.yaml "Project Juniper" finds your term.