Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /dislovelhl_enhanced-agent-bus /maci /role_matrix_validator.py
| from __future__ import annotations | |
| from enhanced_agent_bus._compat.errors import MACIEnforcementError | |
| class RoleMatrixValidator: | |
| def validate(self, *, violations: list[str], strict_mode: bool) -> None: | |
| if not violations: | |
| return | |
| err = "; ".join(violations) | |
| if strict_mode: | |
| raise MACIEnforcementError( | |
| f"Invalid MACI role matrix: {err}", | |
| error_code="MACI_ROLE_MATRIX_INVALID", | |
| details={"violations": violations}, | |
| ) | |
Xet Storage Details
- Size:
- 529 Bytes
- Xet hash:
- 798732cee9a0508d0c468328b004ac17ea2d529f4f9e7678e7ad7710b80d1d02
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.