| """ |
| ARF OSS constants – shared across modules. |
| """ |
|
|
| OSS_EDITION = "OSS" |
| OSS_LICENSE = "Apache 2.0" |
| ENTERPRISE_UPGRADE_URL = "https://huggingface.co/spaces/petter2025/agentic-reliability-framework?enterprise" |
| EXECUTION_ALLOWED = False |
|
|
| |
| MAX_SIMILARITY_CACHE = 100 |
| SIMILARITY_THRESHOLD = 0.7 |
| MAX_POLICY_VIOLATIONS = 10 |
| MAX_RISK_FACTORS = 20 |
| MAX_COST_PROJECTIONS = 5 |
| MAX_DECISION_TREE_DEPTH = 5 |
| MAX_ALTERNATIVE_ACTIONS = 5 |
|
|
| class OSSBoundaryError(Exception): |
| """Raised when OSS edition attempts an enterprise-only operation.""" |
| pass |