'cloud-engine-readiness'"), 'The production gate is no longer a bounded signed engine health probe.'); $assert(str_contains($heartbeat, "'engine_readiness' => '等待私有引擎就绪'") && str_contains($heartbeat, "'engine_readiness_timeout'"), 'Readiness observations are not allowlisted by runtime health telemetry.'); $assert(str_contains($lifecycle, '$service->tick(200, $skipThisTick)') && substr_count($lifecycleService, 'if (!$skipEngineObservations)') === 2 && str_contains($lifecycleService, "observeFailure('engine_readiness_timeout')"), 'A readiness timeout can still run first-pass engine observations.'); foreach ([$lifecycle, $worker] as $source) { $assert(str_contains($source, 'if (!$once)') && str_contains($source, 'CloudEngineReadiness::wait()') && str_contains($source, "engine_readiness_timeout"), 'A long-running consumer lost its engine readiness gate.'); } $assert(str_contains($worker, 'self::deliverNotifications($heartbeat)') && str_contains($worker, '?callable $engineReadiness = null'), 'An engine-readiness failure can still suppress DB-backed notifications.'); echo "Engine consumer readiness checks passed.\n";