agent foundation

This commit is contained in:
2026-03-06 00:44:52 +01:00
parent 9819cba733
commit 9a08f96c11
199 changed files with 8522 additions and 1880 deletions

View File

@@ -23,6 +23,7 @@ class AuthorizationService
public function authorize(string $ability, array $context = []): AuthorizationDecision
{
// First matching policy wins. No match → 500 (misconfiguration, not a user error).
foreach ($this->policies as $policy) {
if (!$policy->supports($ability)) {
continue;