isFile() || $file->getExtension() !== 'php') { continue; } $source = file_get_contents($file->getPathname()); $assert(is_string($source) && !str_contains($source, 'CloudPublicNetworkTransitionGate'), 'Production service retained the legacy gate: ' . $file->getFilename()); } $assert(str_contains($deleteAuthority, 'CloudPublicNetworkAllocationService::currentClaimSet(') && str_contains($deleteAuthority, 'CloudPortableRestoreInstanceDeletion::releaseCommitted('), 'Deleting canonical instances lost dual-stack source authority.'); echo "Legacy public-network writers are retired.\n";