Every time the prune tool is called, the agent changes to build. Mid session with a plan agent, it will call prune, change to build, and start implementing changes. Didn't notice it until I updated to 0.4.x today, will try reverting to 0.3.31 and see if it happens on that version.