Skip to main content

How risk is determined

Risk class comes from two sources — the highest wins:

Source 1: Autonomy level

Source 2: Project profile

From .complior/profile.json (created during complior init):

Resolution: highest wins

Example: HR recruitment agent + L3 autonomy.
  • Autonomy: L3 → limited
  • Profile: hr → high
  • Result: high (highest of the two)
Without profile (.complior/profile.json not found): only autonomy is used.

Dynamic applicable articles

Based on risk class, getApplicableArticles() returns: