Policy Engine
Path-scoped review rules
Define minimum stake and reviewer requirements per file glob. Enforced onchain by CompliancePolicy.sol — violations emit PolicyViolation events to your SIEM.
Active rules
—
Evaluated on every PR open / sync
Enforced by
CompliancePolicy.sol
Base L2 · Verified · 2/3 multisig
On violation
PR BlockSIEM AlertEAS Log
Configured rules
Path glob · Min stake · Min reviewers · KYC
Path patternMin stakeReviewersKYC
Contract reference
CompliancePolicy.solfunction checkPRCompliance( bytes32 orgSlug, string calldata filePath, uint256 prId, address[] calldata reviewers ) external view returns (bool compliant, string memory reason);
The GitHub App calls this read-only check on every PR. Failures append a comment, emit PolicyViolation, and block the merge until the stake threshold is met.