'ui_copy_locales', 'UiCopyEntry' => 'ui_copy_entries', 'UiCopyDraft' => 'ui_copy_drafts', 'UiCopyPublication' => 'ui_copy_publications', 'UiCopyRevisionItem' => 'ui_copy_revision_items', ]; foreach ($models as $class => $modelTable) { $model = file_get_contents($root . '/app/Models/' . $class . '.php'); $assert(is_string($model) && str_contains($model, "protected \$table = '" . $modelTable . "'"), 'UI copy model contract is missing: ' . $class); } $assert(str_contains($setup, "SCHEMA_VERSION = 'go-agent-wss-v39-ui-copy-catalog'") && str_contains($setup, "self::schema('ss.sql') . \"\\0\" . self::schema('cloud.sql')") && str_contains($setup, 'self::managedMainTables()'), 'Clean-break marker/fingerprint does not cover the UI copy schema.'); echo "UI copy catalog schema contracts passed.\n";