|
69 | 69 | # Commit 1 (Foundation) declares the constants; emission ships in Commit 2-3. |
70 | 70 |
|
71 | 71 | COMPLIANCE_LAYER_STARTED = "COMPLIANCE_LAYER_STARTED" |
72 | | -"""DCCL.evaluate() invoked. Payload: has_contract, has_structured_rules, evaluation_path_preference.""" |
| 72 | +"""DCCL.evaluate() invoked. |
| 73 | +Payload: has_contract, has_structured_rules, evaluation_path_preference.""" |
73 | 74 |
|
74 | 75 | COMPLIANCE_LAYER_VERDICT_MATCH = "COMPLIANCE_LAYER_VERDICT_MATCH" |
75 | | -"""DCCL returned MATCH. Payload: matched_rule_id, evaluation_path, confidence, duration_ms.""" |
| 76 | +"""DCCL returned MATCH. |
| 77 | +Payload: matched_rule_id, evaluation_path, confidence, duration_ms.""" |
76 | 78 |
|
77 | 79 | COMPLIANCE_LAYER_VERDICT_NO_MATCH = "COMPLIANCE_LAYER_VERDICT_NO_MATCH" |
78 | | -"""DCCL returned NO_MATCH. Payload: rationale_excerpt, evaluation_path, duration_ms, confidence.""" |
| 80 | +"""DCCL returned NO_MATCH. |
| 81 | +Payload: rationale_excerpt, evaluation_path, duration_ms, confidence.""" |
79 | 82 |
|
80 | 83 | COMPLIANCE_LAYER_VERDICT_SAFETY_OVERRIDE = "COMPLIANCE_LAYER_VERDICT_SAFETY_OVERRIDE" |
81 | | -"""DCCL returned SAFETY_OVERRIDE. Payload: safety_override_reason, rule_excerpt, duration_ms.""" |
| 84 | +"""DCCL returned SAFETY_OVERRIDE. |
| 85 | +Payload: safety_override_reason, rule_excerpt, duration_ms.""" |
82 | 86 |
|
83 | 87 | COMPLIANCE_LAYER_VERDICT_NO_CONTRACT = "COMPLIANCE_LAYER_VERDICT_NO_CONTRACT" |
84 | | -"""Request has no developer contract. Payload: empty.""" |
| 88 | +"""Request has no developer contract. |
| 89 | +Payload: empty.""" |
85 | 90 |
|
86 | 91 | CONTRACT_RULE_REJECTED = "CONTRACT_RULE_REJECTED" |
87 | | -"""A structured rule failed safety validation at contract loading. Payload: rule_id, reason, rejected_action_payload_excerpt.""" |
| 92 | +"""A structured rule failed safety validation at contract loading. |
| 93 | +Payload: rule_id, reason, rejected_action_payload_excerpt.""" |
88 | 94 |
|
89 | 95 | CONTRACT_RULES_LOADED = "CONTRACT_RULES_LOADED" |
90 | | -"""Contract loading complete. Payload: contract_hash, total_rules, accepted_rules, rejected_rules.""" |
| 96 | +"""Contract loading complete. |
| 97 | +Payload: contract_hash, total_rules, accepted_rules, rejected_rules.""" |
91 | 98 |
|
92 | 99 | MODULE_DEFERRED_TO_COMPLIANCE = "MODULE_DEFERRED_TO_COMPLIANCE" |
93 | | -"""A downstream module returned early due to ComplianceSignal(MATCH). Payload: module, reason, cycle, deferred_outcome_summary.""" |
| 100 | +"""A downstream module returned early due to ComplianceSignal(MATCH). |
| 101 | +Payload: module, reason, cycle, deferred_outcome_summary.""" |
94 | 102 |
|
95 | 103 | CONTRACT_INJECTION_DETECTED = "CONTRACT_INJECTION_DETECTED" |
96 | | -"""LLM detected a deployer-side prompt injection in the contract. Payload: detection_rationale, contract_hash.""" |
| 104 | +"""LLM detected a deployer-side prompt injection in the contract. |
| 105 | +Payload: detection_rationale, contract_hash.""" |
97 | 106 |
|
98 | 107 | COMPLIANCE_LAYER_TIMEOUT = "COMPLIANCE_LAYER_TIMEOUT" |
99 | 108 | """DCCL LLM call exceeded timeout. Payload: timeout_ms, evaluation_path.""" |
100 | 109 |
|
101 | 110 | CONTRACT_STRUCTURE_PROSE_CONFLICT = "CONTRACT_STRUCTURE_PROSE_CONFLICT" |
102 | | -"""structured_rules conflict with raw_text in the same contract. Payload: contract_hash, conflict_description.""" |
| 111 | +"""structured_rules conflict with raw_text in the same contract. |
| 112 | +Payload: contract_hash, conflict_description.""" |
103 | 113 |
|
104 | 114 | ALL_EVENT_TYPES: frozenset[str] = frozenset( |
105 | 115 | { |
|
0 commit comments