app_queue: 'agent available' hint, cleanup restart, and initial state