As a Hoory admin, I want to be able to set a limit on the number of agents who can be simultaneously available in the Hoory system, so that I can manage the workload effectively and ensure optimal customer service.
Acceptance Criteria:
  1. Given that I am a Hoory administrator, when I access the system settings, I should see an option to configure the agent limit.
  2. When I enter a valid numeric value for the agent limit, the system should save and apply this limit.
  3. When the number of available agents exceeds the set limit, the system should prevent additional agents from becoming available.
  4. When the number of available agents drops below the set limit, the system should allow additional agents to become available.
  5. If the agent limit is set to zero, the system should not allow any agents to become available.
  6. The agent limit should be enforced across all Hoory channels and platforms.
  7. When the agent limit is reached and an agent attempts to become available, the system should display a message indicating that the limit has been reached and they cannot become available at the moment.
  8. If the agent limit is modified while agents are currently available, the system should automatically adjust the availability status of agents to comply with the new limit.
  9. The agent limit configuration should be persisted even after system restarts or updates.
  10. The agent limit should be displayed prominently in the Hoory administrator dashboard for easy reference.