<?php
declare(strict_types=1);
require __DIR__.'/bootstrap.php';$check(array_sum($counts())===0,'Config collision');$boundary=json_decode((string)file_get_contents($base.'/__poc_boundary'),true);
$check(($boundary['allowlist']??'')==='grade-plan-config-only'&&!empty($boundary['external_stubs'])&&!empty($boundary['all_external_calls_forbidden']),'Actual config boundary');
echo json_encode(['lane'=>$lane,'read_only'=>true,'business_dml'=>0,'metadata_gate_verified'=>true,'foreign_keys'=>0,'triggers'=>0,'owned_counts'=>$counts(),'boundary_verified'=>true]),"\n";
