option('clear-only')) { $overlay->flushCache(); $this->line('cleared SuperAdmin program-settings cache'); return self::SUCCESS; } $result = $overlay->refreshFromSuperAdmin(); if (! ($result['ok'] ?? false)) { $this->error('fetch from SuperAdmin failed — cache cleared; next HTTP request will retry'); return self::FAILURE; } $this->info('fetched '.(int) ($result['count'] ?? 0).' setting(s) from SuperAdmin'); if (($result['enable_automation'] ?? null) !== null) { $this->line('enable_automation='.$result['enable_automation']); } else { $this->warn('enable_automation missing in SuperAdmin response'); } return self::SUCCESS; } }