Modelling, Measuring, and Intervening on Goal-directed Behaviour in AI Systems — LessWrong