Debug message in publishAgentState removed