agent: prefer config over persisted services/checks (#497)