orchestrata_contracts.governance
Reference › components › contracts › orchestrata_contracts › governance
orchestrata_contracts.governance package.
The governance subpackage of contracts holds the governance vocabulary, lifted from orchestrata_ultimate.governance. It has five protocols (i_policy_engine, i_constitutional_enforcer, i_ethical_boundary, i_dynamic_policy_manager, i_resource_access_controller); result and decision types (policy_decision, compliance_result, ethical_result, access_result, governance_validation_result, governance_metrics); the constitutional types article, article_priority, violation and violation_type; and the error types such as governance_error, policy_evaluation_error and safe_mode_error. The implementations live in the governance component, which depends only on contracts. See the governance narrative.
29 modules, 509 lines of code.
Modules
| Module | Summary | LOC | Lifted from |
|---|---|---|---|
__init__ |
orchestrata_contracts.governance package. | 2 | lifted from orchestrata_ultimate.governance |
access_result |
16 | ||
article |
17 | ||
article_priority |
13 | ||
audit_error |
7 | ||
cache_error |
7 | ||
compliance_result |
20 | ||
constitutional_violation_error |
12 | ||
decision_type |
13 | ||
ethical_result |
20 | ||
ethical_violation_error |
12 | ||
governance_error |
6 | ||
governance_metrics |
23 | ||
governance_validation_result |
14 | ||
harm_assessment |
16 | ||
i_constitutional_enforcer |
35 | ||
i_dynamic_policy_manager |
36 | ||
i_ethical_boundary |
35 | ||
i_policy_engine |
35 | ||
i_resource_access_controller |
40 | ||
policy_decision |
35 | ||
policy_evaluation_error |
7 | ||
policy_validation_error |
8 | ||
prolog_client_error |
8 | ||
resource_access_error |
8 | ||
safe_mode_error |
7 | ||
safe_mode_status |
17 | ||
violation |
26 | ||
violation_type |
14 |