## Summary - rebuild the public Tenantial homepage around an evidence-first Microsoft tenant governance narrative - replace the old hero visual with a new static dashboard preview and add dedicated Trust Bar and Feature Pillars sections - update the shared public shell, navigation, footer, dark design tokens, assets, and homepage content to match the new brand direction - align website smoke coverage and Spec 400 artifacts with the rebuilt homepage ## Testing - not run in this pass - updated website smoke specs under apps/website/tests/smoke ## Note - `website-dev` was pushed to `origin` so the requested PR base exists remotely - the remote `website-dev` branch is an ancestor of `origin/dev`, so this PR may also show upstream `dev` history relative to that base Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #387
37 lines
919 B
PHP
37 lines
919 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Support\Ai;
|
|
|
|
use App\Support\Audit\AuditActionId;
|
|
|
|
final readonly class AiExecutionDecision
|
|
{
|
|
/**
|
|
* @param list<string> $dataClassifications
|
|
* @param array<string, mixed> $auditMetadata
|
|
*/
|
|
public function __construct(
|
|
public string $outcome,
|
|
public AiDecisionReasonCode $reasonCode,
|
|
public string $workspaceAiPolicyMode,
|
|
public ?string $matchedOperationalControlScope,
|
|
public string $useCaseKey,
|
|
public string $requestedProviderClass,
|
|
public array $dataClassifications,
|
|
public string $sourceFamily,
|
|
public AuditActionId $auditAction,
|
|
public array $auditMetadata,
|
|
) {}
|
|
|
|
public function isAllowed(): bool
|
|
{
|
|
return $this->outcome === 'allowed';
|
|
}
|
|
|
|
public function isBlocked(): bool
|
|
{
|
|
return $this->outcome === 'blocked';
|
|
}
|
|
} |