Split meta architecture contracts

This commit is contained in:
2026-03-19 18:52:36 +01:00
parent ac9cc4955a
commit b9f566c49f
12 changed files with 447 additions and 411 deletions

View File

@@ -0,0 +1,16 @@
<?php
namespace MintyPHP\Tests\Architecture;
trait AgentSystemContractSupport
{
/**
* @return array<string,mixed>
*/
private function decodeAgentJson(string $path): array
{
$decoded = json_decode($this->readProjectFile($path), true);
$this->assertIsArray($decoded, 'Invalid JSON in ' . $path);
return $decoded;
}
}