Capable Agent Theory (CAT)